2021-12-07 15:36:30 +08:00

16 lines
328 B
Solidity

pragma solidity ^0.5.12;
contract Ownable{
address payable internal _owner;
modifier onlyOwner(){
require(msg.sender == _owner,
"You need to be owner of the contract in order to access this functionality!");
_;
}
constructor() public{
_owner = msg.sender;
}
}