Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d (ETH/V4, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 80908187 to 80943588, about 2.5 hours before 81032093), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0000017
the spot price of v4 pool 0x3df1…cc1d at the median of 5 blocks across the window: 0.0000017
1715115999478 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d","samples":5} — 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 5
- poolId
- 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,908,187 to 80,943,588on Robinhood Chain
- answered141 of 141 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
- 0xa2c225270085707a16645928b1bbbb6b0d147b47e31463f29319fee035a9116236dac6f8e50c52aa78aaa0185804260ddae5f7929719451eea413afbe77285a01c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x09ab2adf836815f44d73842517ecfc7cfd765856d7cdf9831d3b6435ddb5df72
- answer type
- uint256
- consumer
- none named; signed for the zero address