Skip to main content

IBosonPauseHandler

View Source: contracts/interfaces/handlers/IBosonPauseHandler.sol

↗ Extends: IBosonPauseEvents ↘ Derived Contracts: PauseHandlerFacet

IBosonPauseHandler

Handles pausing all or part of the protocol.
The ERC-165 identifier for this interface is: 0x9ddb8ca6

Functions

pause

Pauses some or all of the protocol.
Emits a ProtocolPaused event if successful.
Reverts if:
- Caller does not have PAUSER role
- No regions are specified
- Protocol is already paused
- A region is specified more than once

function pause(enum BosonTypes.PausableRegion[] _regions) 
external

Arguments

NameTypeDescription
_regionsenum BosonTypes.PausableRegion[]an array of regions to pause. See: {BosonTypes.PausableRegion}

unpause

Unpauses the protocol.
Emits a ProtocolUnpaused event if successful.
Reverts if:
- Caller does not have PAUSER role
- Protocol is not currently paused

function unpause() 
external