This contract enables you to create pausable mechanism to stop in case of emergency. (CustomPausable.sol)
contract CustomPausable is CustomAdmin
CustomPausable
Constants & Variables
bool public paused;Events
event Paused();
event Unpaused();Verifies whether the contract is not paused.
modifier whenNotPaused() internalArguments
| Name | Type | Description |
|---|
Verifies whether the contract is paused.
modifier whenPaused() internalArguments
| Name | Type | Description |
|---|
Pauses the contract.
function pause() external onlyAdmin whenNotPausedUnpauses the contract and returns to normal state.
function unpause() external onlyAdmin whenPaused