Skip to content

Latest commit

 

History

History
198 lines (183 loc) · 6.26 KB

WithPausability.md

File metadata and controls

198 lines (183 loc) · 6.26 KB

WithPausability.sol

View Source: contracts/core/token/WithPausability.sol

↗ Extends: Pausable, Ownable ↘ Derived Contracts: NPM

WithPausability

Functions

pause

Pauses or unpauses this contract.

function pause(bool flag) external nonpayable onlyOwner 

Arguments

Name Type Description
flag bool
Source Code
function pause(bool flag) external onlyOwner {
    if (flag) {
      super._pause();
      return;
    }

    super._unpause();
  }

Contracts