DeFi Saver
Search
⌃K

InstPullTokens

Description

Action ID: 0xc3d495a2
Network mainnet: (Deployed address | Code)
Withdraw tokens from Instadapp DSA

SDK Action

const instPullTokenAction = new dfs.actions.insta.InstPullTokensAction(
dsaAddress,
tokens,
amounts,
to,
);

Contract

This is a DFS STANDARD_ACTION.
Proxy must be authorized to interact with specific DSA
Input:
/// @param dsaAddress The address of the DSA account to withdraw tokens from
/// @param tokens List of token addresses we want to withdraw from DSA
/// @param amounts List of amounts that we want to withdraw correlating with tokens list
/// @param to The address we are withdrawing tokens to
struct Params {
address dsaAddress;
address[] tokens;
uint256[] amounts;
address to;
}
Return value:
return bytes32(0);
Events:
Params memory _inputData
bytes memory logData = abi.encode(_inputData);
emit ActionEvent("InstPullTokens", logData);
logger.logActionDirectEvent("InstPullTokens", logData);