Stopper
View Source: moc-governance/contracts/Stopper/Stopper.sol
↗ Extends: Ownable ↘ Derived Contracts: MockStopper
Stopper - version: 0.1.10
The contract in charge of handling the stoppability of the contract that define this contract as its stopper
Contract Members
Constants & Variables
uint256[50] private upgradeGap;
Functions
pause
Pause activeContract if it is stoppable
function pause(Stoppable activeContract) external nonpayable onlyOwner
Arguments
Name
Type
Description
activeContract
Stoppable
Contract to be paused
unpause
Unpause pausedContract if it is stoppable
function unpause(Stoppable pausedContract) external nonpayable onlyOwner
Arguments
Name
Type
Description
pausedContract
Stoppable
Contract to be unpaused
Last updated