PausableFacet
PausableFacet
This facet implements the pausable functionality. It allows to pause and unpause the contract.
paused
function paused() public view virtual returns (bool status)
query whether contract is paused
Return Values
Name
Type
Description
status
bool
whether contract is paused
pause
function pause() external
pauses the contract
requires that the contract is not paused
unpause
function unpause() external
unpauses the contract
requires that the contract is paused
Was this helpful?