IGuardian

Git Source

Functions

pauser

function to get the address of the pauser of arrakis protocol.

function pauser() external view returns (address);

Returns

NameTypeDescription
<none>addresspauser address that can pause the arrakis protocol.

setPauser

function to set the pauser of Arrakis protocol.

function setPauser(address newPauser_) external;

Events

LogSetPauser

event emitted when the pauser is set by the owner of the Guardian.

event LogSetPauser(address oldPauser, address newPauser);

Parameters

NameTypeDescription
oldPauseraddressaddress of the previous pauser.
newPauseraddressaddress of the current pauser.

Errors

AddressZero

error AddressZero();

SamePauser

error SamePauser();