Aave V4 Architecture

Explain Aave V4's hub-and-spoke model and dynamic risk configuration.

Updated Nov 5, 2025
One-click install
npx skills add https://github.com/cyotee/crane --skill aave-v4-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Aave V4 Architecture
Source: https://github.com/cyotee/crane/tree/main/.claude/skills/aave-v4-architecture
Command: npx skills add https://github.com/cyotee/crane --skill aave-v4-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

A comprehensive overview of Aave V4 architecture focusing on the hub-and-spoke model, risk configuration, and share-based accounting to help engineers design and reason about the protocol.

Core Features & Use Cases

  • Hub-and-Spoke model: centralized liquidity management with multiple spokes for assets and risk profiles.
  • Share-based accounting: supplies, borrows, and premiums tracked as shares for scalable accounting.
  • Dynamic risk configuration: per-reserve risk knobs that adapt to market conditions and collateral quality.
  • Use Case: teams evaluating architecture decisions for liquidity provisioning and risk management in complex DeFi protocols.

Quick Start

Explain, in plain terms, how the Hub coordinates Spokes and how dynamic risk configuration influences asset behavior.

Frequently Asked Questions about Aave V4 Architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the Aave V4 hub-and-spoke architecture manage liquidity?

The Aave V4 hub-and-spoke architecture centralizes liquidity management by using the Hub to maintain asset and spoke mappings, while Spokes handle user-facing operations like supply, borrow, and repay.

What is share-based accounting in a modular DeFi protocol?

Share-based accounting in a modular DeFi protocol tracks supplies, borrows, and premiums as shares, providing a scalable method for calculating user balances and protocol liabilities.

How do dynamic risk parameters affect borrowing in Aave V4?

Dynamic risk parameters in Aave V4 adapt to market conditions and collateral quality, influencing protocol behavior by adjusting risk premiums and health factors to manage exposure.

Can I use the Aave V4 architecture model for complex DeFi risk management?

Yes, the Aave V4 architecture suits engineers and strategists evaluating architecture decisions for liquidity provisioning and complex risk management through its modular, per-reserve risk knobs.

What is the difference between the Hub and Spokes in DeFi protocol design?

In DeFi protocol design, the Hub coordinates centralized liquidity and mappings, whereas Spokes interact with users directly to execute specific operations like borrowing and repaying assets.