01 / How it works
- Every 5 minutes the collector stores the raw offers it used, as one JSON record: /v1/raw,
/v1/raw/{ts}. Its SHA-256 is fixed at that moment. - Each oracle push (on a 2% move, at least hourly) appends a root to its transaction input: SHA-256 over the lines
ts:hashof every run since the previous push. The contract ignores those bytes; the chain keeps them forever. - To check: read the root from the transaction, hash the list of runs, hash each raw run, recompute the index of the pushed run (median per provider, one-hour smoothing, median of providers) and compare with the prices the same transaction wrote.
git clone https://github.com/flopx-xyz/flopx && cd flopx && npm install node scripts/verify.mjs # latest anchored push node scripts/verify.mjs 0x<tx> # any oracle transaction
Tail of the transaction input: "FLPX" 0x01, root (32 bytes), first run (uint64, unix ms), last run (uint64, unix ms). Raw runs are kept 90 days; anyone can mirror them. Anchoring started with method v2; a run in the first hour after that has no raw history for smoothing and will not recompute exactly.
02 / Latest anchors on Robinhood Chain
| Runs | From | To | Root | Transaction |
|---|---|---|---|---|
| Loading… | ||||
Data: /v1/anchors. Oracle contract: docs.