Utility contract to allow pausing and unpausing of certain functions (Pausable.sol)

View Source: contracts/Pausable.solarrow-up-right

↘ Derived Contracts: BlacklistTransferManagerProxyarrow-up-right, CappedSTOProxyarrow-up-right, CountTransferManagerProxyarrow-up-right, DummySTOProxyarrow-up-right, ERC20DividendCheckpointProxyarrow-up-right, EtherDividendCheckpointProxyarrow-up-right, GeneralPermissionManagerProxyarrow-up-right, GeneralTransferManagerProxyarrow-up-right, LockUpTransferManagerProxyarrow-up-right, ManualApprovalTransferManagerProxyarrow-up-right, Modulearrow-up-right, PercentageTransferManagerProxyarrow-up-right, PLCRVotingCheckpointProxyarrow-up-right, PreSaleSTOProxyarrow-up-right, USDTieredSTOProxyarrow-up-right, VestingEscrowWalletProxyarrow-up-right, VolumeRestrictionTMProxyarrow-up-right, WeightedVoteCheckpointProxyarrow-up-right

Pausable

Contract Members

Constants & Variables

bool public paused;

Events

event Pause(address  account);
event Unpause(address  account);

Modifiers

whenNotPaused

Modifier to make a function callable only when the contract is not paused.

modifier whenNotPaused() internal

Arguments

Name

Type

Description

whenPaused

Modifier to make a function callable only when the contract is paused.

Arguments

Name

Type

Description

Functions

_pause

Called by the owner to pause, triggers stopped state

Arguments

Name

Type

Description

_unpause

Called by the owner to unpause, returns to normal state

Arguments

Name

Type

Description

Last updated

Was this helpful?