Skip to main content

IReserveWrapper

Git Source

Title: IReserveWrapper

Interface for the ReserveWrapper policy

Functions

getReserve

Returns the address of the reserve token

function getReserve() external view returns (address);

getSReserve

Returns the address of the sReserve token

function getSReserve() external view returns (address);

Events

ReserveWrapped

event ReserveWrapped(address indexed reserve, address indexed sReserve, uint256 amount);

Errors

ReserveWrapper_ZeroAddress

error ReserveWrapper_ZeroAddress();

ReserveWrapper_AssetMismatch

error ReserveWrapper_AssetMismatch();