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