Skip to content

Instantly share code, notes, and snippets.

View boxfox619's full-sized avatar
🎯
Focusing

김성래 - boxfox boxfox619

🎯
Focusing
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
uint data;
address owner;
@boxfox619
boxfox619 / with_jsx.jsx
Last active March 30, 2018 00:57
Original rendering code
class MainPage extends React.Component {
render() {
return (
<div>
Welecome to {this.props.title}
</div>
);
}
}
@boxfox619
boxfox619 / Solidityexample.sol
Last active June 15, 2018 15:17
Solidity Example
contract Sample
{
uint data;
address owner;
event logData(uint256 dataToLog);
modifier onlyOwner() {
if (msg.sender != owner) throw;
_;