ISupplyVault

Git Source

Inherits: IERC4626Upgradeable

Functions

MORPHO

function MORPHO() external view returns (IMorpho);

recipient

function recipient() external view returns (address);

maxIterations

function maxIterations() external view returns (uint96);

skim

function skim(address[] calldata tokens) external;

setMaxIterations

function setMaxIterations(uint96 newMaxIterations) external;

setRecipient

function setRecipient(address newRecipient) external;

Events

MaxIterationsSet

Emitted when max iterations is set.

event MaxIterationsSet(uint96 maxIterations);

RecipientSet

Emitted when the recipient is set.

event RecipientSet(address indexed recipient);

Skimmed

Emitted when tokens are skimmed to recipient.

event Skimmed(address indexed token, address indexed recipient, uint256 amount);

Errors

AddressIsZero

Thrown when an address used as parameter is the zero address.

error AddressIsZero();

InitialDepositIsZero

Thrown when the initial deposit at initialization is zero.

error InitialDepositIsZero();