Pausable.sol
Methods
acceptOwnership()
Solidity
function acceptOwnership() external nonpayable
lastPauseTime()
Solidity
function lastPauseTime() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
nominateNewOwner(address)
Solidity
function nominateNewOwner(address _owner) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_owner | address | undefined |
nominatedOwner()
Solidity
function nominatedOwner() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
owner()
Solidity
function owner() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
paused()
Solidity
function paused() external view returns (bool)
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
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
Name | Type | Description |
---|---|---|
_paused | bool | undefined |
Events
OwnerChanged
Solidity
event OwnerChanged(address oldOwner, address newOwner)
Parameters
Name | Type | Description |
---|---|---|
oldOwner | address | undefined |
newOwner | address | undefined |
OwnerNominated
Solidity
event OwnerNominated(address newOwner)
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
PauseChanged
Solidity
event PauseChanged(bool isPaused)
Parameters
Name | Type | Description |
---|---|---|
isPaused | bool | undefined |