Skip to content

Sky Protocol VAT Analysis

@dhr@dhr10 charts

Sky Protocol VAT Contract Analysis

Part of SKY Protocol Level 1 Analysis: Governance, Vaults & Accounting — The Atlas, The VAT & The VOW

Focus Areas:

  1. Vault Types,
  2. Vault Amounts,
  3. Liquidations,
  4. Surplus,
  5. DAI Backing

Analysis:Link[Link]

⚠️ Data caveat: “parameter drift” in safety/CR(Collateral Ratio)/LR(Liquidation Ratio/Buffer)

Why numbers can look “wrong” on Dune

  • At time t0 the urn was last read: (ink0, art0) with params (rate0, spot0, mat0).
  • Later at t1, params update (e.g., rate1 > rate0, or spot1 changes), but the urn isn’t re-read.
  • If a query mixes (ink0, art0) with (rate1, spot1, mat1), the computed safety/CR is not the true state at t0 or t1.

Mitigations used in this dashboard

  • As-of joins: for each day/month cutoff, take the latest ≤ cutoff for each source: Vat.urns, Vat.ilks (rate/spot), Spotter.ilks (mat).
  • Freshness guard: flag or drop urns whose last urns read is older than N days.
  • Family filter: exclude non-barkable systems (PSM/RWA/DIRECT/D3M/SPARK; LP ilks for market views).

Common pitfalls

  • Pulling LR from the wrong place (must use Spotter.ilks(ilk).mat).
  • Decoding ilk bytes32 incorrectly and grouping rows together.