Instadapp Documentation

website·Indexed 35 days ago

https://docs.instadapp.io

Technical documentation for Instadapp, featuring guides on the Flashloan Aggregator, dsa-connect functions, and a comprehensive library of connectors and resolvers for protocols like Uniswap V3, Aave V2/V3, Compound III, and MakerDAO across Mainnet, Polygon, Optimism, and Arbitrum.

Tokens
76.8K
Snippets
675
Records
856
Agent score
64%

What's inside Instadapp

  1. Overview of Compound Mainnet Connector

    The Compound-v1.1 connector on mainnet allows for lending and borrowing operations. When using these methods, use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent ETH. To specify the maximum possible amount for a function, use -1 or dsa.maxValue. If the getId and setId arguments are unknown, they can be passed as 0.
  2. Overview of BASIC-C (ERC1155) Connector on Avalanche

    The BASIC-ERC1155-v1.0 connector on Avalanche allows for the deposit and withdrawal of ERC1155 tokens from a DSA.

    Key usage constraints:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent AVAX.
    • Use -1 or dsa.maxValue to specify the maximum amount in a function call.
    • If the getId and setId arguments are unknown, pass 0.
  3. Overview of Compound-III-Rewards connector on Polygon

    The CompoundV3-Polygon-Rewards-v1.0 connector on Polygon allows users to claim rewards and interests.

    General Constraints & Conventions:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent MATIC.
    • Use -1 or dsa.maxValue to specify the maximum amount in functions.
    • If the values for getId or setId are unknown, pass 0.
  4. Overview of Aave V3 Resolver on Avalanche

    The AaveV3-v1.0 resolver provides a set of methods to query Aave V3 data on the Avalanche network. The resolver contract is deployed at 0x7cdBD859f2EDA545289378112FD991571d6eb73e on Snowtrace.
  5. Overview of BASIC-C (ERC1155) connector on Optimism

    The BASIC-ERC1155-v1.0 connector on Optimism allows for the deposit and withdrawal of ERC1155 tokens from a DSA.

    Key usage constraints:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent ETH.
    • Use -1 or dsa.maxValue to specify the maximum amount in a function.
    • If the values for getId or setId are unknown, pass 0.
  6. Overview of Reflexer-v1 Mainnet Connector

    The Reflexer-v1 connector on Mainnet enables collateralized borrowing operations. When interacting with this connector, use the following conventions:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent ETH.
    • Use -1 or dsa.maxValue to specify the maximum possible amount in a function.
    • If the getId or setId arguments are unknown, pass 0.
  7. Overview of UniswapV3-v1 Resolver on Optimism

    The UniswapV3-v1 resolver on Optimism provides a set of view methods to interact with Uniswap V3 pools and positions. The contract is deployed on Optimistic Ethereum at 0x90D45f987bCad6DD7FB5fE0994124D455cf30Bca.
  8. Overview of Basic C (ERC1155) Mainnet Connector

    The BASIC-ERC1155-v1.0 connector on mainnet allows for the deposit and withdrawal of ERC1155 tokens from a DSA.

    Key Constraints and Conventions:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent ETH.
    • Use -1 or dsa.maxValue to specify the maximum amount in a function.
    • If the values for getId or setId are unknown, pass 0.
  9. Overview of QI (Benqi-Incentives-v1) Connector on Avalanche

    The QI-A connector allows users to interact with Benqi Incentives on the Avalanche network. Key usage constraints include:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent AVAX.
    • Use -1 or dsa.maxValue to specify the maximum amount in a function.
    • If the correct value for getId or setId is unknown, pass 0.
  10. Overview of Pangolin-v1 Connector on Avalanche

    The Pangolin-v1 connector allows developers to interact with the Pangolin Decentralized Exchange on the Avalanche network.

    General Constraints and Constants:

    • AVAX Address: Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent AVAX.
    • Maximum Amounts: Use -1 or dsa.maxValue to specify the maximum possible amount in a function.
    • ID Parameters: If the values for getId or setId are unknown, pass 0.
  11. Overview of DeFi Smart Account (DSA) Connectors

    Connectors are standard proxy logic contracts that enable DeFi Smart Accounts (DSA) to interact with various smart contracts and protocols. They facilitate cross-protocol interoperability and can be implemented as base protocol connectors, auth connectors, native liquidity pool connectors, or high-level connectors for specific use cases like optimized lending.
  12. Overview of MORPHO-COMPOUND-V2-A Mainnet Connector

    The MORPHO-COMPOUND-V2-A connector on Mainnet allows users to interact with Morpho-Compound-v1.0 for lending and collaterization.

    General Usage Notes:

    • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent ETH.
    • To specify the maximum amount in a function, use -1 or dsa.maxValue.
    • If the getId and setId arguments are unknown, pass 0.