Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e (SPCX/USDG, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80316480 to 80352153, about 45 minutes before 80378909), as currency1 per 1e18 raw currency0 in raw units?
Answer
159,229,158
the spot price of v4 pool 0xfbc4…610e at the median of 13 blocks across the window: 159,229,158
159229158 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e --invert --samples 13.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 250; no hook.
- invert
- true
- poolId
- 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e
- samples
- 13
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,316,480 to 80,352,153on Robinhood Chain
- answered142 of 142 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xfaa484bf12e99629585422f7fb26003b7f703284983975b9650377f585535952447f4df368b040d98fba9209a27cd56efe028dc419109b388a79dcb9e689e7be1b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xd01ec0e1637781ca59eeadab6cb82a060d5f2ea50d290a585be4d54f03784156
- answer type
- uint256
- consumer
- none named; signed for the zero address