Skip to main content

PausableBase

Git Source - Generated with forge doc

Inherits: IPausableInterestRatePolicy, Ownable2Step

Title: PausableBase

Shared pause state and admin for IInterestRatePolicy variants.

Pausers (configured by the owner) can pause; only the owner can unpause.

State Variables

paused

bool public paused

isPauser

mapping(address => bool) public isPauser

Functions

constructor

constructor(address _owner) Ownable(_owner);

whenNotPaused

modifier whenNotPaused() ;

setPauser

function setPauser(address pauser, bool allowed) external onlyOwner;

pause

function pause() external;

unpause

function unpause() external onlyOwner;