Aave V3 has been forked with the contracts essentially unchanged. That means the replay work: scaled balances, index accrual, risk parameters, liquidation extraction: applies to a fork once it stops assuming one set of addresses.

What a deployment is

A deployment names three contracts: the Pool (where user actions are logged), the PoolConfigurator (where reserves and risk parameters are set) and the oracle. Every service takes one. Nothing else changes.

Currently live: Aave V3 and Spark.

How the addresses were established

Not from a list. Several forks emit the identical ReserveInitialized event, so we found every emitter of it and identified each by calling symbol() on its first aToken: Spark’s is spDAI, “Spark DAI”. The Pool came from aToken.POOL(), the oracle from ADDRESSES_PROVIDER().getPriceOracle().

rake aave:deployments:verify re-runs that check against the chain and fails loudly on a mismatch, so a wrong constant can’t sit unnoticed.

Spark’s health panel, and what its coverage statement says

A liquidation event carries its own amounts, so the record stands on its own: and where an asset’s price can’t be derived, the USD columns are blank rather than estimated.

A health factor is different: it needs a price for every asset in a position. Spark’s page now carries the same health panel sections as Aave’s (the distribution, the accounts closest to liquidation, the trend, the per-account composition), built by the same PanelBuilder against Spark’s own Pool, reserves, risk parameters and oracle, on the same schedule (Saturdays for the monthly cross-section, every morning for the daily one).

What makes it honest is the coverage statement. Of Spark’s priced assets only a few use an oracle family we replicate exactly (a Chainlink proxy or a capped stable feed); the rest are custom adapters. An account holding an adapter-priced asset is stored as adapter oracle instead of being given an approximate health factor, so the computed set is smaller than Aave’s by construction, and the card says exactly how much smaller: “N of M accounts computed; skipped: adapter oracle Z”, with the adapter count against the total next to it. The statement is persisted with the run that produced it, and the same lines open the CSV.

That is the general rule for forks: coverage follows the oracles, not the lending logic, and the page states the coverage rather than leaving you to infer it from an empty table.

Where Spark appears

Spark is a first-class deployment everywhere the pipeline reaches, not a footnote on Aave’s pages:

  • Its own tracking page and liquidations page, with the realized and configured bonus per event and the breakdown by collateral and month.
  • The aave_liquidations dataset with protocol = spark, on the Data Downloads form and over the API (GET /liquidations?protocol=spark; the API reference lists the parameter). Every query on the Aave-model tables filters on protocol: the same asset is a reserve in both deployments with different token addresses.
  • The MCP get_liquidations tool, with the same protocol argument.
  • The aave_health datasets with protocol = spark: Spark’s cross-sections, from the Saturday runs (cadence = monthly) and the daily ones (cadence = daily). An account holding an adapter-priced asset is a row whose skip_reason says so (unsupported_price, which the pages label adapter oracle) and whose health factor is not computed, never estimated.

Adding another fork

  1. Find its PoolConfigurator by its ReserveInitialized events and confirm the deployment by calling symbol() on an aToken.
  2. Register it in Aave::Deployment and verify with the rake task.
  3. Sync reserves, risk parameters and oracle sources for that deployment (the nightly reference-data job covers every registered deployment).
  4. Validate prices against its oracle before publishing anything derived from them.
  5. Extract liquidations and add the deployment to the nightly schedule in config/recurring.yml, twenty minutes clear of its neighbours.
  6. Add a monthly panel entry (RefreshAaveHealthPanelJob with the deployment key, on its own morning); the daily job covers every registered deployment without a schedule change. The coverage statement then says what the oracles allow, whatever that is.
  7. Expect the new deployment’s first daily cross-section to take longer than the rest. The daily series is built from the previous day’s state, so the first day needs that state built once by the full replay, shard by shard: a few hours for a deployment Aave’s size, spread over a few mornings by the job or run in one evening by hand (aave:panel:bootstrap). Every day after takes minutes.

Reserves, parameters and oracle sources are all stored per deployment. The same asset is a reserve in several of them with different token addresses, so every lookup is scoped: a fork’s aToken must never answer for Aave’s.