Skip to main content

Pausable.sol

Methods

acceptOwnership()

Solidity

function acceptOwnership() external nonpayable

lastPauseTime()

Solidity

function lastPauseTime() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

nominateNewOwner(address)

Solidity

function nominateNewOwner(address _owner) external nonpayable

Parameters

NameTypeDescription
_owneraddressundefined

nominatedOwner()

Solidity

function nominatedOwner() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

owner()

Solidity

function owner() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

paused()

Solidity

function paused() external view returns (bool)

Returns

NameTypeDescription
_0boolundefined

setPaused(bool)

Change the paused state of the contract

Solidity

function setPaused(bool _paused) external nonpayable
Details

Only the contract owner may call this.

Parameters

NameTypeDescription
_pausedboolundefined

Events

OwnerChanged

Solidity

event OwnerChanged(address oldOwner, address newOwner)

Parameters

NameTypeDescription
oldOwneraddressundefined
newOwneraddressundefined

OwnerNominated

Solidity

event OwnerNominated(address newOwner)

Parameters

NameTypeDescription
newOwneraddressundefined

PauseChanged

Solidity

event PauseChanged(bool isPaused)

Parameters

NameTypeDescription
isPausedboolundefined