16 lines
328 B
Solidity
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;
|
|
}
|
|
} |