Skip to Content
docs

Aave V3 Smart Contracts on Aptos

Aave V3 on Aptos is deprecated. Supplying and borrowing are disabled, but users can still repay debt and withdraw supplied assets. See the governance proposal.

Aave V3.3 on Aptos is architected using a modular design that leverages Move’s strengths. Each module encapsulates distinct functionality (from access control and configuration to data management and token operations), enabling isolated updates, robust permissioning, and scalable, secure protocol logic.

Differences from EVM Solidity:

  • Credit Delegation: not supported, since the Aptos Fungible Asset standard has no approve.
  • aToken Balances: read them with a_token_factory::balance_of(owner, metadata_address), not the wallet fungible asset balance. Transfer aTokens only through the Aave modules.

Modules

@aave-pool

Main pool implementation that coordinates reserve management and user interactions. Includes configurator modules for protocol admins to adjust parameters and data providers for external queries.

@aave-acl

Access Control List Manager that serves as the main registry of system roles and permissions. Implements role-based access control for various admin functions across the Aave protocol.

@aave-config

Configuration module that defines error codes and implements bitmap logic for reserve and user configurations. Provides utilities for managing protocol parameters like LTV ratios, liquidation thresholds, and borrowing limits.

@aave-oracle

Price oracle implementation that fetches and validates asset prices for the Aave protocol. Includes price cap adapters for stablecoins and sentinel functionality to handle oracle outages.

@aave-tokens

Token factory modules for creating and managing aTokens and variable debt tokens. Handles token minting, burning, and transfer operations with proper scaling based on interest accrual.

@aave-data

Data storage module that maintains protocol configuration values and token naming conventions. Stores interest rate strategies, E-Mode configurations, and other protocol parameters for both mainnet and testnet.

@aave-logic

Core business logic modules implementing liquidity pool operations like borrowing, supplying, and liquidations. Contains specialized logic for features like flash loans, E-Mode, and isolation mode.

@aave-periphery

Auxiliary modules that extend core functionality with features like rewards, emissions, and UI data providers. The collector module for protocol fees, coin migration utilities and the UI pool data provider are on the Periphery page.