Pausable Upgradeable

Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers whenNotPaused and whenPaused, which can be applied to the functions of your contract. Note that they will not be pausable by simply including this module, only once the modifiers are put in place.

Methods

paused

function paused() external view returns (bool)

Returns true if the contract is paused, and false otherwise.

Returns

NameTypeDescription

_0

bool

undefined

Events

Paused

event Paused(address account)

Emitted when the pause is triggered by account.

Parameters

NameTypeDescription

account

address

undefined

Unpaused

event Unpaused(address account)

Emitted when the pause is lifted by account.

Parameters

NameTypeDescription

account

address

undefined

Last updated