Skip to main content

IOverlayerWrapBacking

Interface for managing collateral backing for the OverlayerWrap token

supply​

function supply(uint256 amount, address collateral) external

Supply collateral to the backing contract

Parameters​

NameTypeDescription
amountuint256The amount of collateral to supply
collateraladdressThe address of the collateral token

withdraw​

function withdraw(uint256 amount, address collateral) external

Withdraw collateral from the backing contract

Parameters​

NameTypeDescription
amountuint256The amount of collateral to withdraw
collateraladdressThe address of the collateral token to withdraw