Pausable
contract Pausable
is Ownable
Base contract which allows children to implement an emergency stop mechanism.
Reference
Events
Pause
event Pause()Unpause
event Unpause()
Modifiers
whenNotPaused
modifier whenNotPaused()Modifier to make a function callable only when the contract is not paused.
whenPaused
modifier whenPaused()Modifier to make a function callable only when the contract is paused.
Functions
pause
function pause() publicCalled by the owner to pause, triggers stopped state.
- Modifiers:
- onlyOwner whenNotPaused
unpause
function unpause() publicCalled by the owner to unpause, returns to normal state.
- Modifiers:
- onlyOwner whenPaused
