DeFi SDK
Search
K

InteractiveAdapter

Functions

Deposit

function deposit(
address[] tokens,
uint256[] amounts,
AmountType[] amountTypes,
bytes data
)
public
payable
returns (address[])
Deposits tokens to the lending/swap/liquidity.

Withdraw

function withdraw(
address[] tokens,
uint256[] amounts,
AmountType[] amountTypes,
bytes data
)
public
payable
returns (address[])
Withdraws tokens from the lending/swap/liquidity.