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() 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