Skip to content

Latest commit

 

History

History
88 lines (60 loc) · 1.64 KB

CustomPausable.md

File metadata and controls

88 lines (60 loc) · 1.64 KB

This contract enables you to create pausable mechanism to stop in case of emergency. (CustomPausable.sol)

↗ Extends: CustomAdmin ↘ Derived Contracts: VestingScheduleBase.

CustomPausable

Contract Members

Constants & Variables

bool public paused;

Events

event Pause();
event Unpause();

Modifiers

whenNotPaused

Verifies whether the contract is not paused.

modifier whenNotPaused() internal

Arguments

Name Type Description

whenPaused

Verifies whether the contract is paused.

modifier whenPaused() internal

Arguments

Name Type Description

Functions

pause

Pauses the contract.

function pause() external onlyAdmin whenNotPaused

unpause

Unpauses the contract and returns to normal state.

function unpause() external onlyAdmin whenPaused

Contracts