Skip to main content
Avana logo

Hubs and Spokes

Avana runs on standard, unmodified Aave V4 Hubs and Spokes that the Aave DAO owns and configures. Avana's own contracts handle custody, valuation and liquidation around them.

Overview

Every Hub, Spoke, AaveOracle and configurator Avana uses is unmodified Aave V4 at a pinned release, deployed and owned by the Aave DAO. Avana proposes their configuration and checks it on-chain, but holds no role on them and is not a lender. Each chain Avana runs on has the same set of Aave-side contracts:

ContractHow manyRole
Avana HubOne per chainHolds the vault tokens of its markets and the debt-asset liquidity of its credit lines
CDP SpokeOne per risk tier and AMM protocol on each chain: Stable, Correlated, Blue-chip, Gov/DeFi and Stocks, across Uniswap v3, Uniswap v4 and Aerodrome SlipstreamLists several markets as collateral reserves and the approved debt reserves
Lend SpokeOne per chainSupply-only Spoke through which lenders and the Aave DAO's bootstrap supply fund the Hub
Coverage Spoke (Avana Umbrella)One per Hub and debt assetSupply-only Spoke holding the First-Loss Reserve that covers recorded deficits
Vault-token fee receiverOne per vault-token assetAave treasury Spoke registered with zero caps

Avana Hubs

An Avana Hub holds only one vault-token asset per market of its CDP Spokes and each credit-line asset the Lend Spoke supplies to it. Each chain has one Avana Hub, a standard Aave V4 Hub that holds every Spoke of that chain. Risk is separated by CDP Spoke instead: each Spoke groups the pools of one AMM protocol and one risk tier, such as stablecoin, blue-chip or correlated pools, and sets its own risk parameters.

HubChainPositions today
Avana Ethereum HubEthereumUniswap v3 and Uniswap v4 positions in stablecoin, blue-chip and correlated pools
Avana Base HubBaseUnstaked Aerodrome Slipstream positions in blue-chip, governance and DeFi token, and tokenized-stock pools

Each Hub has its own application pause state in Avana's MarketRegistry, and the token and depositor caps are counted per Hub across all of its CDP Spokes and markets. A market belongs to one Hub for life; a later Hub gets new markets, and users move by repaying, withdrawing and pledging again.

CDP Spokes

A CDP Spoke is one standard Aave V4 Spoke per chain, Hub, AMM protocol and risk tier, with exactly one home Hub. It lists several markets. A market is one pool with one exact position range, and each market is one non-borrowable vault-token reserve of its Spoke. The Spoke also lists the debt reserves recorded for it, such as GHO and USDC. Each account (one PositionProxy) holds exactly one market, so every market has its own health factor.

ChainHubExample CDP SpokesPositions
EthereumAvana Ethereum HubUniswap v3 Stable, Uniswap v4 StableUniswap v3 and Uniswap v4 positions from the canonical position managers, exact tick range
BaseAvana Base HubAero Slipstream Blue-chipUnstaked Aerodrome Slipstream positions, exact tick range

Configuration

  • One liquidation configuration per Spoke, shared by all of its markets. Avana recommends a target health factor of 1.10 and a minimum liquidation bonus of at least 2%; the Aave DAO decides both in the listing AIP. A market that needs a different target or bonus curve gets its own Spoke.
  • Debt reserves are listed before any vault-token reserve; in the examples GHO is reserve 0. A debt asset becomes borrowable on a Spoke only through the enable-debt-reserve operation, once the Aave DAO approves its credit line, caps, price source and swap routes.
  • Debt reserves are borrowable with collateral factor 0, and the Spoke has no supply cap on them, so outside supply of a debt asset cannot become collateral.
  • The Spoke's AaveOracle reads each market's LPOracle, Aave's fixed $1 source for GHO, and a DebtOracle for any other debt asset.
  • The per-account reserve limit is set by the Aave DAO and bounds how many debt reserves one account can hold.
  • No liquidation-manager Spoke variant is used: the only one available allows one collateral reserve per Spoke, which cannot hold several markets.

Deployment operations

Avana adds a CDP Spoke, a market or a debt reserve only through three AvanaTimelock operations at the normal delay of 5 days, each paired with the Aave DAO payload of the same listing and followed by a 12-hour activation that re-checks the live Aave configuration.

OperationWhat it does
deployCdpSpokeRegisters a standard Spoke and its AaveOracle, created by the Aave DAO payload, under a Hub with one AMM integration, after checking the three required settings and the Spoke implementation.
listCollateralMarketDeploys the market's vault token and LPOracle, records the exact range, binds the AMM integration's LPVault and wires the Spoke reserve.
enableDebtReserveRecords the funding Hub and asset, checks the credit-line sums, the flash-liquidity and route-depth bounds, the Coverage Spoke funding and the swap routes, and enables borrowing.

Lend Spoke

Each chain has one supply-only Lend Spoke, owned by the Aave DAO. Its reserves point to Hub and asset pairs and can list any asset. Anyone can supply a listed asset through it, beside the Aave DAO's bootstrap supply. Its supply cap, set by the DAO, bounds total supply and is separate from the credit line. Its draw cap is 0 on every asset.

Credit-line sizes, recall and growth are described in Lend Spoke.

Coverage Spokes

Each Hub and debt asset on each chain has one Coverage Spoke, the Avana Umbrella of that pair. Avana Umbrella is Avana's protocol safety module, named after Aave's Umbrella, whose design inspired it. It is a supply-only Spoke with draw cap 0, controlled by the Aave DAO and funded by Avana Labs in its own asset. Its supply is that pair's First-Loss Reserve.

  • Coverage Spokes are the only holders of the Hub's deficit-eliminator role. A Coverage Spoke burns its own shares to cover recorded deficits in its asset from every CDP Spoke that draws that asset from that Hub. A deficit is never covered with another asset's, Hub's or chain's reserve.
  • It is funded before any draw cap on its pair rises above 0, and must hold at least the coverage ratio times the sum of draw caps on that pair. The ratio and minimum are set in the funding ARFC with Aave's service providers; 20% is an illustrative guide only.
  • It receives what the pending settlement recovers for markets whose debt reserve that pair funds.
  • A Hub halt of a CDP Spoke does not stop coverage of that Spoke's deficit.
fundedBalance × 10⁴ ≥ coverageRatioBps × Σ drawCap

Vault-Token Fee Receiver

When the Aave DAO adds a vault token as a Hub asset, Aave registers the asset's fee receiver as a second Spoke on it with an unlimited supply cap. The listing payload sets that fee receiver's supply and draw caps to 0, and the vault-token asset has a liquidity fee of 0 and a valid interest-rate strategy, so the fee receiver never holds vault tokens.

Each vault-token asset therefore has exactly two registered Spokes: its CDP Spoke, the only one with non-zero caps, and the fee receiver. Both have draw cap 0, and the asset's drawn shares are 0. A second Spoke with caps on the asset could draw vault tokens out of the Hub and leave withdrawals and seizures unable to settle, so it counts as drift.

Required Settings

Liquidation of an Avana account is possible only through LPVaultSwap, because the vault token accepts seized collateral only to LPVaultSwap. The listing AIP sets three values on every vault-token reserve that keep this transfer rule the only gate:

SettingRequired valuePath it closes
receiveSharesEnabledfalseA liquidator taking Spoke supply shares instead of tokens, which moves no vault token
liquidationFee0, or a fee paid to Avana's fee recipientFee shares moving to another address with no token transfer
Reinvestment controllerNone (zero address)A sweep moving the Hub's vault tokens to an address the token refuses

Drift check

The RiskModule compares the live Aave configuration with the values Avana's sizing assumes on every new-account pledge, borrow, withdrawal with debt and market activation. Monitoring checks the same values continuously. The checks include:

  • The three required settings, and that the vault-token reserve is not borrowable.
  • Draw cap 0 for every Spoke on the vault-token asset, exactly two Spokes on it, and no reinvestment controller on any Avana Hub asset.
  • Each reserve's price source: the market's LPOracle, the fixed GHO source, or the asset's DebtOracle.
  • Collateral risk below the Spoke's risk-premium threshold.
  • The CDP Spoke implementation is the approved standard Spoke, and its borrowable reserves equal the debt reserves Avana recorded.
  • The collateral factor is at most Avana's expected factor, the bonus bound holds, and the target health factor equals the recorded value.

When a check fails, new-account pledges, borrowing and withdrawals with debt in the affected market stop. Top-ups to indebted accounts, repayment, fee collection, debt-free withdrawal and liquidation continue, and monitoring raises an alarm. A change by the Aave DAO that would admit another liquidator is drift: the playbook asks the DAO to revert it.

Credit Lines

Every borrowable asset comes from a capped credit line approved by the Aave DAO. A credit line is a draw cap per Hub, asset and CDP Spoke. For each debt asset on each funding Hub:

LendSpoke.addCap(hub, asset) = creditLine(hub, asset); Σ drawCap(hub, asset, spoke) ≤ creditLine(hub, asset)
  • Each debt reserve's draw cap is at most the flash liquidity of its asset in the chain's Aave V3 Pool and the depth of its swap routes, measured at listing, so every borrowed amount can be liquidated in one transaction.
  • CDP Spokes have supply cap 0 on debt assets; the Lend Spoke and the Coverage Spokes have draw cap 0.
  • The Hub admits a draw only if drawn debt, premium, uncovered deficit and the new amount fit under the draw cap, so interest and deficits use up capacity.
  • No Avana contract or role has authority over any Hub cap, interest rate or Lend Spoke position. Each cap is raised only by an Aave DAO proposal.
  • Monitoring alerts when the debt drawn on a reserve, including accrued interest and premium, reaches 90% of its draw cap.
Example values; each market's parameters are set at listing. On Ethereum a 2,000,000 GHO line allows CDP Spoke draw caps of up to 2,000,000 in total; here one CDP Spoke has a draw cap of 2,000,000. If that Spoke has 1,900,000 GHO drawn, 3,000 GHO of premium and a 475 GHO uncovered deficit, a 100,000 GHO borrow needs 2,003,475 and reverts. The largest borrow that passes is 96,525 GHO.

Cross-Hub Lines

Each CDP Spoke has a home Hub for its collateral, and each debt reserve records its funding Hub. A debt reserve funded by its Spoke's home Hub is the normal case. A cross-Hub credit line, where the funding Hub differs from the home Hub, is fully specified and off at launch on every chain. While it is off, a debt reserve whose funding Hub is not its Spoke's home Hub is refused.

When enabled, the funding Hub owns the cap: one register in the chain's MarketRegistry sums every draw cap on that Hub and asset, whatever the drawing Spoke's home Hub. Each foreign draw cap is limited by its cross-Hub line, the total of cross-Hub lines is at most the funded balance of that pair's Coverage Spoke, a pause of the funding Hub stops every borrow of the line, and a line set to 0 closes at once while existing debt can still be repaid or liquidated.

Call Graph

Each callee accepts a call only from the caller shown. Wallets reach Aave only through the AaveAdapter, and liquidations reach Aave only through LPVaultSwap.

FlowWho calls whom
PledgeWallet approves the LPVault for one position, then calls the AaveAdapter. The AaveAdapter has the ProxyManager deploy the proxy on a first pledge and registers it in the vault token. Collateralization has the LPVault take custody, pokes the LPOracle and asks the RiskModule to check the pledge. The AaveAdapter mints vault tokens to the proxy, which supplies them to the CDP Spoke; the Spoke moves them into the Hub.
BorrowWallet calls the AaveAdapter. The RiskModule runs the borrow checks and pokes the oracles. The proxy calls the Spoke borrow; the funding Hub sends the debt asset to the proxy, which forwards it to the receiver. The RiskModule then checks the health factor.
RepayAny payer calls the AaveAdapter, which moves the amount to the proxy; the proxy repays the Spoke and refunds any unused amount to the payer.
WithdrawWallet calls the AaveAdapter. The proxy withdraws from the Spoke, the AaveAdapter burns the vault tokens, and Collateralization has the LPVault return the position to the depositor of record.
Fee collectionDepositor calls the AaveAdapter, which calls Collateralization, which has the LPVault collect fees to the depositor.
PricingThe Spoke reads its AaveOracle, which reads the LPOracle, the fixed GHO source or a DebtOracle. Anyone can poke the oracles.
LiquidationAny address that is not frozen calls LPVaultSwap's liquidate, directly or through a flash liquidation helper that flash-borrows the debt asset from the Aave V3 Pool. LPVaultSwap pulls the debt asset from its caller, has Collateralization snapshot the account and calls the Spoke liquidation. The Hub sends the seized vault tokens to LPVaultSwap, the AaveAdapter burns them, Collateralization debits the records and the LPVault unwinds the units to LPVaultSwap, which swaps through the swap routes and pays out: Avana's fee, any borrower surplus, then the rest to the caller.
Funding and coverageLenders and the Aave DAO's bootstrap supply go through the Lend Spoke. Avana Labs or LPVaultSwap funds a Coverage Spoke, which eliminates deficits on its Hub.
GovernanceThe governance multisig or the Aave governance executor schedules on the AvanaTimelock; anyone executes once ready. Guardians call the MarketRegistry for pauses, freezes, breaker trips and standby switches.

Asset Flows

Where each asset sits at each stage of a position's life, between transactions:

StagePositionVault tokensDebt asset
Before pledgeWalletNone exist for this positionWallet
After pledgeLPVault, recorded in Collateralization; liquidity stays in the poolIn the home Hub, credited to the proxyUnchanged
After borrowLPVaultHubWith the receiver; the funding Hub records the debt
After fee collectionLPVaultHubUnchanged; fees went to the depositor
After repayLPVaultHubBack in the funding Hub
After withdrawalDepositor of record, with all liquidity and uncollected feesBurnedUnchanged
After partial liquidationLPVault, with fewer credited unitsSeized units burned; the rest in the HubDebt reduced; payouts in the debt asset to the fee recipient, the caller and any borrower surplus
After full seizureLPVault, record open at 0 credited units with its feesNone for this positionAny remaining debt recorded as a deficit on the funding Hub
Deficit coverageNot involvedNot involvedCoverage Spoke shares burned against the deficit

A pledged position rests only in its LPVault. Vault tokens rest only in their market's home Hub. No Avana contract holds a debt asset between transactions except the payout escrow, for payouts a token refused, and none holds pool tokens except Collateralization, for the pending-settlement balance.