


AAVE / aave-aptos-ctf
Everything you need to learn for the AAVE / aptos contest: 40 comprehensive code tours totaling over 600 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Cantina, 27 Jun → 09 Aug 2025
Everything you need to learn for the AAVE / aptos contest: 40 comprehensive code tours totaling over 600 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Cantina, 27 Jun → 09 Aug 2025
Everything you need to learn for the AAVE / aptos contest: 40 comprehensive code tours totaling over 600 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Cantina, 27 Jun → 09 Aug 2025
Code Tours
1.1 Aave V3 on Aptos: Codebase Overview
2.1 Config: Overview
2.2 Reserve Configuration
2.3 User Configuration
2.4 Supporting Config Files
3.1 ACL: Access Control Management
4.1 Oracle: Price Feeds and Data Structures
4.2 Oracle: Retrieving Asset Prices
4.3 Oracle: Price Capping Mechanism
4.4 Oracle: Administration and Events
5.1 Tokens: Overview
5.2 Fungible Asset Manager: Utility Wrappers
5.3 Token Base: Core Scaled-Balance Implementation
5.4 aToken Factory: Creating and Managing aTokens
5.5 Variable Debt Token Factory: Borrowed-Debt Tokens
6.1 Pool: Overview
6.2 Pool State: Core Data Structures
6.3 Pool Logic & Rates
6.4 Pool Configurator: Administrative Actions
6.5 Pool Data Provider: Querying State
6.6 Pool Fee Manager: Protocol Fees
6.7 Pool Token Logic: aTokens & Debt Tokens
7.1 Data: Overview
7.2 Data: Configuration Values
7.3 Data: Data Storage & Access
7.4 Data: Deployment & Configuration
8.1 Logic: Overview
8.2 Generic Logic: User Balances & Health
8.3 User Logic: Exposing Account Data
8.4 Supply Logic: Supply & Withdraw
8.5 Borrow Logic: Borrow & Repay
8.6 Liquidation Logic: Underwater Positions
8.7 Flashloan Logic: Atomic Liquidity
8.8 eMode Logic: Efficiency Mode
8.9 Isolation Mode Logic: Debt Ceiling
8.10 Validation Logic: Guarding Protocol Actions
9.1 Periphery: Overview
9.2 Periphery: UI Data Providers
9.3 Periphery: Collector
9.4 Periphery: Rewards System