1---2name: aave3description: Assist with Aave lending, borrowing, liquidations, and risk management across chains.4---56## Core Concepts7- Supply assets to earn interest — deposit, receive aTokens representing position8- Borrow against collateral — must supply first, then borrow up to limit9- aTokens accrue interest — balance grows over time automatically10- Health Factor determines liquidation risk — below 1.0 = liquidation11- Variable and stable rates available — stable costs more but predictable1213## Health Factor (Critical)14- Health Factor = (Collateral × Liquidation Threshold) / Borrowed15- Above 1.0 is safe — higher is safer16- At 1.0, liquidation begins — partial position closed17- Monitor actively during volatility — prices move, health factor changes18- Add collateral or repay debt to improve — before liquidation happens1920## Supplying (Lending)21- Deposit supported assets — ETH, stablecoins, various tokens22- Receive aTokens 1:1 — aETH, aUSDC, etc.23- Interest accrues in real-time — aToken balance grows24- Can withdraw anytime if liquidity available — high utilization may block withdrawals25- Enable as collateral to borrow against — optional per asset2627## Borrowing28- Must have collateral supplied first — can't borrow without29- Borrow up to LTV (Loan-to-Value) ratio — varies by asset, usually 70-85%30- Interest accrues on borrowed amount — must repay more than borrowed31- Variable rate changes with market — stable rate fixed but higher32- Debt tokens represent borrowing — not transferable3334## Liquidations35- Triggered when Health Factor < 1 — automated, permissionless36- Liquidators repay portion of debt — receive collateral + bonus37- Liquidation penalty 5-10% — you lose this bonus amount38- Up to 50% of debt liquidated at once — may need multiple liquidations39- Prevention: monitor and manage HF actively4041## Multi-Chain Deployment42- Aave V3 on Ethereum, Polygon, Arbitrum, Optimism, Avalanche, more43- Same interface, different markets — assets and rates differ44- Bridged assets may differ — USDC vs USDC.e45- Portals enable cross-chain — supply on one chain, borrow on another4647## E-Mode (Efficiency Mode)48- Higher LTV for correlated assets — stablecoins to stablecoins, ETH to stETH49- Up to 97% LTV in E-Mode — vs ~80% normally50- Only borrow assets in same E-Mode category — restricted but efficient51- Higher liquidation risk — narrow margin, monitor closely5253## GHO Stablecoin54- Aave's native stablecoin — minted by borrowing55- Backed by Aave collateral — overcollateralized56- Interest paid to Aave DAO — different from regular borrowing57- stkAAVE holders get discount — reduced borrow rate5859## AAVE Token60- Governance token — vote on proposals61- Staking in Safety Module — earn rewards, risk of slashing in shortfall62- stkAAVE for staking — represents staked position63- 10-day cooldown to unstake — plus 2-day unstake window6465## Risk Management66- Don't max out borrowing — leave buffer for price movements67- Diversify collateral — single asset concentration increases risk68- Use stablecoins for lower volatility — stable collateral = stable HF69- Set alerts for Health Factor — services like DefiSaver70- Consider automation — automatic deleveraging tools7172## Common Mistakes73- Borrowing at max LTV — immediate liquidation risk74- Ignoring variable rate changes — rates can spike quickly75- Not monitoring during volatility — HF changes fast with price76- Supplying without enabling collateral — can't borrow if not enabled77- Forgetting about interest — debt grows over time7879## Gas Considerations80- Approvals needed for each new asset — first-time gas cost81- Supply and borrow are separate transactions — plan gas for both82- L2 deployments much cheaper — Arbitrum, Optimism save significantly83- Batch operations where possible — some aggregators help8485## Integrations86- DefiSaver for automation — auto-repay, auto-leverage87- Instadapp for advanced management — DeFi dashboard88- 1inch, Paraswap for swaps — swap and supply in one transaction89- Flash loans for advanced users — borrow without collateral, repay in same tx