This contract enables you to create pausable mechanism to stop in case of emergency. (CustomPausable.sol)
↗ Extends: CustomAdmin ↘ Derived Contracts: VestingScheduleBase.
CustomPausable
Constants & Variables
bool public paused;
Events
event Pause();
event Unpause();
Verifies whether the contract is not paused.
modifier whenNotPaused() internal
Arguments
Name | Type | Description |
---|
Verifies whether the contract is paused.
modifier whenPaused() internal
Arguments
Name | Type | Description |
---|
Pauses the contract.
function pause() external onlyAdmin whenNotPaused
Unpauses the contract and returns to normal state.
function unpause() external onlyAdmin whenPaused