ILayerZeroOFTWrapper
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
| Name | Type | Description |
|---|---|---|
asset | address | The address of the token to deposit |
_amount | uint256 | The amount of tokens to deposit |
withdraw
Withdraw altRseth tokens from wrsETH
function withdraw(address asset, uint256 _amount) external;
Parameters
| Name | Type | Description |
|---|---|---|
asset | address | The address of the token to withdraw |
_amount | uint256 | The amount of tokens to withdraw |