IGuardian
Functions
pauser
function to get the address of the pauser of arrakis protocol.
function pauser() external view returns (address);
Returns
Name | Type | Description |
---|---|---|
<none> | address | pauser 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
Name | Type | Description |
---|---|---|
oldPauser | address | address of the previous pauser. |
newPauser | address | address of the current pauser. |
Errors
AddressZero
error AddressZero();
SamePauser
error SamePauser();