Fig. 6 Aave Aave

Fluxo de Depósito de Fundos

Deposit workflow with aToken minting and interest accrual
Deposit workflow with aToken minting and interest accrual

Context

This figure appears at the start of Section 3.1 'Deposit' and illustrates the step-by-step workflow when a user deposits an asset into a reserve. It is described as the simplest of the seven LendingPool actions, requiring no special state checks. The diagram shows the sequence of contract calls triggered by a deposit transaction.

What This Figure Shows

The Deposit Funds workflow begins when a user calls deposit() on the LendingPool contract with a specified reserve and amount. The contract first updates the reserve state by cumulating the liquidity index and the variable borrow index to the current timestamp. It then transfers the underlying asset from the user's wallet into LendingPoolCore, which records the new deposit amount. In return, LendingPool mints a corresponding amount of aTokens to the depositor — these aTokens represent the deposit and begin accruing interest immediately based on the cumulated liquidity index (Ci). The aToken balance grows over time without any additional transactions, reflecting continuous interest accrual. The deposit also increases the reserve's total liquidity (Lt) and decreases the utilization rate (U), which may lower variable and stable borrow rates.

Significance

The deposit workflow is the entry point for all liquidity providers in the Aave ecosystem, making it the most frequently executed action. The automatic minting of aTokens and their continuous interest accrual mechanism is one of Aave's core innovations over earlier DeFi lending protocols. Understanding this flow is essential for grasping how the protocol sources its lendable capital and how it rewards depositors without requiring explicit yield claims.

Related Glossary Terms

Other Figures from Aave