Utility contract to allow pausing and unpausing of certain functions (Pausable.sol)
View Source: contracts/Pausable.sol
↘ Derived Contracts: BlacklistTransferManagerProxy, CappedSTOProxy, CountTransferManagerProxy, DummySTOProxy, ERC20DividendCheckpointProxy, EtherDividendCheckpointProxy, GeneralPermissionManagerProxy, GeneralTransferManagerProxy, LockUpTransferManagerProxy, ManualApprovalTransferManagerProxy, Module, PercentageTransferManagerProxy, PLCRVotingCheckpointProxy, PreSaleSTOProxy, USDTieredSTOProxy, VestingEscrowWalletProxy, VolumeRestrictionTMProxy, WeightedVoteCheckpointProxy
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.
modifier whenPaused() internal
Arguments
Name
Type
Description
Functions
_pause
Called by the owner to pause, triggers stopped state
function _pause() internal nonpayable whenNotPaused
Arguments
Name
Type
Description
_unpause
Called by the owner to unpause, returns to normal state
function _unpause() internal nonpayable whenPaused
Arguments
Name
Type
Description
Last updated
Was this helpful?