EULER-IMPORT-A - Mainnet
Import Euler position . Euler-Import-v1.0 connector on mainnet triggers methods like importEuler. You can view details like source code, ABIs on Etherscan.
- Use
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
to indicate ETH. - use -1 or
dsa.maxValue
for the maximum amount in function. - If not sure about the arguments
getId
andsetId
, pass 0.
ImportEuler
Import EOA's Euler position to DSA's Euler position
spells.add({ connector: "EULER-IMPORT-A", method: "importEuler", args: [userAccount, sourceId, targetId, inputData]});
Parameter | Type | Description |
---|---|---|
userAccount | address | EOA address |
sourceId | uint256 | Sub-account id of "EOA" from which the funds will be transferred |
targetId | uint256 | Sub-account id of "DSA" to which the funds will be transferred |
inputData | ImportInputData | The struct containing all the neccessary input data |
If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.
Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.