Skip to content

Latest commit

 

History

History
81 lines (49 loc) · 1.67 KB

Ownable.md

File metadata and controls

81 lines (49 loc) · 1.67 KB

Ownable

function allowOwnership

Ownable.allowOwnership(allowedAddress) nonpayable 4bbc142c

Allows interface contracts to access contract methods (e.g. Storage contract)

Inputs

type name description
address allowedAddress The address of new owner

Outputs

type name description
bool success Returns true when successfully allowed ownership

function owner

Ownable.owner() view 666e1b39

Inputs

type name description
address undefined

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.

Outputs

type name description
bool success Returns true when successfully transferred ownership

event LogOwnershipTransferred

Ownable.LogOwnershipTransferred(previousOwner, newOwner) db6d05f3

Arguments

type name description
address previousOwner indexed
address newOwner indexed

event LogAllowOwnership

Ownable.LogAllowOwnership(allowedAddress) 5c65eb6a

Arguments

type name description
address allowedAddress indexed