You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
473 B
16 lines
473 B
Ownable
|
|
=============================================
|
|
|
|
Base contract with an owner.
|
|
|
|
Ownable( )
|
|
""""""""""""""""""""""""""""""""""""""
|
|
Sets the address of the creator of the contract as the owner.
|
|
|
|
modifier onlyOwner( )
|
|
""""""""""""""""""""""""""""""""""""""
|
|
Prevents function from running if it is called by anyone other than the owner.
|
|
|
|
transfer(address newOwner) onlyOwner
|
|
""""""""""""""""""""""""""""""""""""""
|
|
Transfers ownership of the contract to the passed address. |