Aave Documentation

website·Indexed 41 days ago

https://aave.com/docs/ecosystem/gho

Documentation for Aave, a decentralized liquidity protocol. Includes guides for Aave v3 and v4, covering the Hub & Spoke liquidity model, user positions (supply, borrow, repay, withdraw), and liquidations. Provides technical integration details for AaveKit via React, TypeScript, GraphQL, and Solidity, as well as references for the Aave v4 GraphQL API.

Tokens
181.4K
Snippets
888
Records
1.1K
Agent score
74%

What's inside Aave

  1. Overview of Aave V3 Incentives on Aptos

    The Aave incentives system distributes rewards to users who supply or borrow assets. Rewards accrue automatically for holders of incentivized assets (aTokens or variableDebtTokens) without requiring staking or locking. The system is composed of the rewards_controller (distribution logic), emission_manager (administrative configuration), and transfer_strategy (reward delivery).
  2. Overview of Aave Umbrella risk management

    Aave Umbrella is a modular, on-chain risk management system designed to automate bad debt coverage for Aave v3 pools. It replaces the legacy Safety Module with an automated staking system where users stake aTokens (e.g., aUSDC, aUSDT, aWETH) or GHO to protect the protocol. If a deficit occurs in a specific asset, the corresponding staked assets are burned to offset the bad debt without requiring governance intervention. Risk is isolated: staking aUSDC only covers bad debt for USDC on that specific network.
  3. Overview of Aave Protocol Markets

    The Aave Protocol is composed of markets deployed across various blockchain networks. Developers interact with these markets using specific market methods to retrieve data and execute core protocol operations, including supplying and borrowing assets.
  4. Overview of Aave v4 Position Swaps

    Position swaps in Aave v4 integrate swap functionality with User Position operations, allowing users to modify their positions without paying gas fees. These operations are gasless because users sign an intent that is executed by solvers via the CoW Protocol, providing MEV protection and optimal execution through batch auctions. Supported swap types include:

    • Swap Supply Asset: Convert a supplied position to a different token.
    • Swap Borrow Asset: Convert borrowed debt to a different token.
    • Repay with Supply: Use a supplied position to pay down debt directly.
    • Withdraw and Swap: Withdraw assets and receive a different token.
  5. Overview of Aave V3 Liquidity Pools

    A liquidity pool in Aave V3 is a market instance that allows users to act as suppliers or borrowers. These pools are governed by decentralized smart contracts and parameters approved by governance, such as reserve configurations and collateralization thresholds. Suppliers provide liquidity to the pool to earn interest, while borrowers access this liquidity by opening overcollateralized positions.
  6. Overview of ATokenVault

    The ATokenVault is an ERC-4626 compliant yield-bearing vault designed for Aave v3. It automates the supply and withdrawal of supported ERC-20 tokens within the Aave Protocol. The vault allows managers to collect a fee on the generated yield.
  7. Overview of AaveKit Swap Features

    AaveKit provides a modular provider architecture for swapping tokens, currently utilizing the CoW Protocol to offer MEV protection and optimal execution via batch auctions. The toolkit supports four primary swap-related tasks: exchanging tokens (market or limit orders), monitoring swap status, listing/filtering user swaps, and cancelling swaps in progress.
  8. Overview of the Wrapped Token Gateway

    The Aave Protocol exclusively uses ERC-20 reserve tokens. The WrappedTokenGateway (formerly WETHGateway) is a helper contract that enables native network gas tokens (e.g., ETH, POL) to be wrapped or unwrapped to perform core Aave Pool operations: Supply, Borrow, Repay, and Withdraw.
  9. Overview of PoolAddressesProvider

    The PoolAddressesProvider contract is the main registry of addresses connected to the Aave Protocol. It acts as a factory and administrator for proxy contracts, allowing the protocol to update implementations of various modules. It is owned by Aave Governance and specifies the initial holder of the DEFAULT_ADMIN_ROLE. Developers should always fetch the current Pool contract address from this provider rather than hardcoding it.
  10. Overview of Aave v3.3 on Aptos

    Aave v3.3 on Aptos is a faithful port of the Aave v3.3 protocol implemented using the Move language. It maintains the core financial logic and security properties of the original Solidity version while utilizing Aptos's object model and resource-oriented design to improve performance and composability. Key features include full supply and borrow functionality, variable interest rates, liquidations, collateral management, E-Mode (for correlated assets), and Isolation Mode (for risk containment of new assets).
  11. Overview of AaveKit BigDecimal

    AaveKit uses the BigDecimal type for all decimal numbers to ensure high-precision arithmetic for financial computations (balances, rates, amounts). BigDecimal is immutable; methods return a new instance rather than modifying the existing one. It is based on the big.js library and works consistently across Node.js and browser environments.
    // Import from AaveKit React
    import { bigDecimal, BigDecimal } from "@aave/react";
    
    // Import from AaveKit TypeScript
    import { bigDecimal, BigDecimal } from "@aave/client";
  12. Overview of GHO Stablecoin and Facilitator Model

    GHO is a decentralized, over-collateralized stablecoin pegged to the U.S. dollar and native to the Aave Protocol. It uses a facilitator model where specific contracts, approved by Aave Governance, are granted the ability to mint and burn GHO. Each facilitator is subject to a governance-defined mint cap (bucketCapacity).