Ownable (IOwnable.sol)

View Source: contracts/interfaces/IOwnable.sol

IOwnable

The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions".

Functions

owner

Returns owner

function owner() external view
returns(ownerAddress address)

Arguments

Name

Type

Description

renounceOwnership

Allows the current owner to relinquish control of the contract.

function renounceOwnership() external nonpayable

Arguments

Name

Type

Description

transferOwnership

Allows the current owner to transfer control of the contract to a newOwner.

function transferOwnership(address _newOwner) external nonpayable

Arguments

Name

Type

Description

_newOwner

address

The address to transfer ownership to.

Last updated

Was this helpful?