Ownable (Ownable.sol)
View Source: openzeppelin-solidity/contracts/ownership/Ownable.sol
↘ Derived Contracts: MakerDAOOracle, ModuleFactory, ReclaimTokens, StableOracle, STFactory
Ownable
The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions".
Contract Members
Constants & Variables
Events
Modifiers
onlyOwner
Throws if called by any account other than the owner.
Arguments
Functions
The Ownable constructor sets the original owner
of the contract to the sender account.
Arguments
owner
Returns
the address of the owner.
Arguments
isOwner
Returns
true if msg.sender
is the owner of the contract.
Arguments
renounceOwnership
Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Arguments
transferOwnership
Allows the current owner to transfer control of the contract to a newOwner.
Arguments
_transferOwnership
Transfers control of the contract to a newOwner.
Arguments
Last updated