Ownable (Ownable.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↘ Derived Contracts: , , , ,
Ownable
The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions".
Constants & Variables
Events
Throws if called by any account other than the owner.
Arguments
Name
Type
Description
The Ownable constructor sets the original owner
of the contract to the sender account.
Arguments
Name
Type
Description
Returns
the address of the owner.
Arguments
Name
Type
Description
Returns
true if msg.sender
is the owner of the contract.
Arguments
Name
Type
Description
Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Arguments
Name
Type
Description
Allows the current owner to transfer control of the contract to a newOwner.
Arguments
Name
Type
Description
newOwner
address
The address to transfer ownership to.
Transfers control of the contract to a newOwner.
Arguments
Name
Type
Description
newOwner
address
The address to transfer ownership to.