Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d (ETH/V4, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80890486 to 80925887, about 3 hours before 81032093), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0000014
the spot price of v4 pool 0x3df1…cc1d at the median of 13 blocks across the window: 0.0000014
1491867938366 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d","samples":13} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d: currency0 is native ETH (address 0) (18 decimals), currency1 is V4 0xc60ba256b44334a0cd2c7242e98b88f031abb006 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d --samples 13
- poolId
- 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d
- samples
- 13
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,890,486 to 80,925,887on Robinhood Chain
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xdafce6c5574d5ba209a25414111cee0556dc3075ec797cacf4c09b017a194bd76f4027fdbb7ee4eb97f3e42a809f43f0584bf4a31517352a1211b942d21ffd991b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x4492264d3ba7e61e22935af49c830a46fd8e3cf88a2cce0bb996a3a71011cf29
- answer type
- uint256
- consumer
- none named; signed for the zero address