Rules · VellenGapWatch
A threshold rule the chain can check by itself.
Register “tell me when the gap passes x %”. Anyone can record a checkpoint; the contract reads NAV and the time-weighted pool prices itself, stores both ages, and says whether your rule is crossed. Alerts on top of it are planned.
The track for the live index
ConceptVellenGapWatch is built and tested but not deployed yet. Nothing below is read from it; this is the exact setup the first track will use.
- Index token
- 0x4B129357B164d65834bdBA935c3cD08FcB7e14DA
- Market side
- Basket: holdings at their pools (no pool trades the index token)
- Age source
- The index's oracle: oldest constituent price
- Time-weighted window
- 30 min
- Max NAV age
- 3.0 days (weekends)
- Max pool-activity age
- 1.0 days
Pools per constituent (deepest USDG pool with a readable TWAP, from the live reading)
- Reading…
What evaluate(rule) answers
TriggeredThe latest checkpoint crosses the rule and the cooldown has passed. Anyone can call fire() to record it once.
ClearThe gap is inside the threshold.
CooldownCrossed, but the rule fired less than its cooldown ago (or on this same checkpoint).
No market priceThe track has no market side (NAV only). Nothing to compare.
NAV stale / invalidThe oldest constituent price is older than the track allows, or the oracle flagged a price.
Price staleA pool has had no activity for longer than the track allows.
Holdings not coveredThe constituent list does not explain the index's totalAssets (within 0.1 %).