This contract provides a mechanism to halt the execution of specific functions if a pause condition is activated.
event Paused(address account)
event Unpaused(address account)
error Pause()
error NotPaused()
function paused() external view returns (bool)
Check if the contract is paused
Name | Type | Description |
---|---|---|
[0] | bool | paused A boolean representing the pause status. True if paused, false otherwise. |