Skip to main content

CoreRefPauseableLib

PauseableLib is a library that can be used to pause and unpause contracts, amont other utilities.

This library should only be used on contracts that implement CoreRef.

Functions

_requireUnpaused

function _requireUnpaused(
address _pausableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pausableCoreRefAddressaddress

_requirePaused

function _requirePaused(
address _pausableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pausableCoreRefAddressaddress

_ensureUnpaused

function _ensureUnpaused(
address _pausableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pausableCoreRefAddressaddress

_ensurePaused

function _ensurePaused(
address _pausableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pausableCoreRefAddressaddress

_pause

function _pause(
address _pauseableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pauseableCoreRefAddressaddress

_unpause

function _unpause(
address _pauseableCoreRefAddress
) internal

Parameters

NameTypeDescription
_pauseableCoreRefAddressaddress