Ownable
function owner
Ownable.owner() view
8da5cb5b
function transferOwnership
Ownable.transferOwnership(newOwner) nonpayable
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
Inputs
type | name | description |
---|---|---|
address | newOwner | The address to transfer ownership to. |
event OwnershipTransferred
Ownable.OwnershipTransferred(previousOwner, newOwner) 8be0079c
Arguments
type | name | description |
---|---|---|
address | previousOwner | indexed |
address | newOwner | indexed |