Lite-B - Mainnet
Import Position InstaLite-Import-v1.0 connector on mainnet triggers methods like importPosition. 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.
ImportPosition
Supply a token into Instalite.
spells.add({ connector: "LITE-B", method: "importPosition", args: [flashTkn_, flashAmt_, route_, stEthAmt_, wethAmt_, getIds, setId]});
Parameter | Type | Description |
---|---|---|
flashTkn_ | address | Address of flash token. |
flashAmt_ | uint256 | Flash loan amount. |
route_ | uint256 | Flash loan route. |
stEthAmt_ | uint256 | Amount of astEthToken to be imported. |
wethAmt_ | uint256 | Amount of weth borrows to be imported. |
getIds | uint256[] | IDs to retrieve amt. |
setId | uint256 | ID to store balanceOf of iEth. |
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.