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
Returns true if the contract is paused, and false otherwise.
Returns
Name
Type
Description
_0
bool
undefined
Events
Paused
Emitted when the pause is triggered by account
.
Parameters
Name
Type
Description
account
address
undefined
Unpaused
Emitted when the pause is lifted by account
.
Parameters
Name
Type
Description
account
address
undefined
Last updated