Aave V4 Hub

Coordinate multi-asset liquidity across Aave V4 Hub spokes in Solidity.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hub serves as the immutable central coordinator for liquidity management in Aave V4, coordinating assets, tracking shares, and enforcing robust accounting invariants.

Core Features & Use Cases

  • Centralized coordination of deposits, borrows, and repayments across multiple spokes
  • Asset management with per-asset metrics and real-time index updates
  • Spoke governance and configuration (addSpoke, draw, restore) across assets
  • Accurate interest accrual and fee accounting to preserve protocol health

Quick Start

Explain how to configure a hub with spokes for multiple assets and perform add, draw, and restore flows.

Frequently Asked Questions about Aave V4 Hub

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

FAQPage Schema
How does the Aave V4 Hub architecture manage multi-asset liquidity?

The Aave V4 Hub architecture manages multi-asset liquidity by serving as an immutable central coordinator that tracks shares, updates per-asset metrics, and enforces accounting invariants across multiple spokes.

What is the best way to configure an Aave V4 Hub with spokes for multiple assets?

Configuring an Aave V4 Hub with spokes requires using spoke governance functions to add spokes, followed by executing add, draw, and restore flows to coordinate deposits, borrows, and repayments across assets.

How do I handle interest accrual and fee accounting for borrowing against assets in Aave V4?

Interest accrual and fee accounting for borrowing against assets in Aave V4 are handled automatically by the Hub through real-time index updates and per-asset metric tracking to preserve protocol health.

Can I use the Aave V4 Hub to restore liquidity across multiple spokes for different assets?

Yes, you can restore liquidity across multiple spokes for different assets using the Hub's restore flow, which coordinates repayments and updates real-time asset indexes to maintain accurate accounting.

Why does the Aave V4 Hub enforce accounting invariants during deposits and borrows?

The Aave V4 Hub enforces accounting invariants during deposits and borrows to ensure accurate interest accrual, preserve protocol health, and maintain strict share tracking across all configured spokes.

What are the limitations of using an immutable central coordinator for Aave V4 liquidity management?

Using an immutable central coordinator for Aave V4 liquidity management means the Hub's core logic cannot be upgraded after deployment, requiring spoke governance and configuration changes to adapt the system.