ILayerZeroOFTWrapper

Git Source

Functions

allowedTokens

The address of the alternative RsETH token mapping(address allowedToken => bool isAllowed) public allowedTokens;

function allowedTokens(address token) external view returns (bool);

deposit

Deposit altRsETH for wrsETH

function deposit(address asset, uint256 _amount) external;

Parameters

NameTypeDescription
assetaddressThe address of the token to deposit
_amountuint256The amount of tokens to deposit

withdraw

Withdraw altRseth tokens from wrsETH

function withdraw(address asset, uint256 _amount) external;

Parameters

NameTypeDescription
assetaddressThe address of the token to withdraw
_amountuint256The amount of tokens to withdraw