LendingPool Sözleşmesi
Context
This figure opens Section 3 'The LendingPool Contract' and shows the interface of the central user-facing contract that exposes all protocol actions. It is positioned immediately before the detailed description of each individual action (deposit, redeem, borrow, repay, swap rate, liquidation, flash loan). The diagram visually enumerates the callable functions of the LendingPool contract.
What This Figure Shows
The LendingPool Contract figure displays the contract's public interface, listing the core functions — deposit(), redeem(), borrow(), repay(), swapBorrowRateMode(), liquidationCall(), and flashLoan() — that allow users to interact with the protocol's reserves. The whitepaper explains that all actions follow a consistent sequence: validate inputs, update reserve state (cumulate indexes, recalculate rates), execute the transfer logic, and emit events. The tokenization of lending positions (aTokens) is also implemented within this contract. Each function delegates to LendingPoolCore for state reads and writes, and to LendingPoolDataProvider for higher-level checks like health factor validation before a borrow is permitted.
Significance
This figure serves as the practical entry point for any developer or user wanting to interact with Aave at the contract level. By presenting all available actions in one view, it makes explicit that a single contract is the gatekeeper for the entire protocol, keeping the user API surface small and auditable. The figure also sets up the detailed workflow diagrams that follow for each individual action (Figures 6 through 12).