Stopper

View Source: moc-governance/contracts/Stopper/Stopper.sol

↗ Extends: Ownable ↘ Derived Contracts: MockStopper

Stopper - version: 0.1.12

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

NameTypeDescription

activeContract

Stoppable

Contract to be paused

unpause

Unpause pausedContract if it is stoppable

function unpause(Stoppable pausedContract) external nonpayable onlyOwner 

Arguments

NameTypeDescription

pausedContract

Stoppable

Contract to be unpaused

Last updated