Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xb55fdad9febbed32da87427414e176778736bb85df1a14d2514bafb23d7194be (ETH/LIEGE, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80925888 to 80961289, about 2 hours before 81032093), as currency1 per 1e18 raw currency0 in raw units?
Answer
1,966,644,875.52
the spot price of v4 pool 0xb55f…94be at the median of 9 blocks across the window: 1,966,644,875.52
1966644875527859380817673105 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xb55fdad9febbed32da87427414e176778736bb85df1a14d2514bafb23d7194be","invert":true,"samples":9} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xb55fdad9febbed32da87427414e176778736bb85df1a14d2514bafb23d7194be: currency0 is native ETH (address 0) (18 decimals), currency1 is LIEGE 0xf0ae41f3cb009cee6c0f0824a25d5e677983f645 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xb55fdad9febbed32da87427414e176778736bb85df1a14d2514bafb23d7194be --invert --samples 9
- invert
- true
- poolId
- 0xb55fdad9febbed32da87427414e176778736bb85df1a14d2514bafb23d7194be
- samples
- 9
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,925,888 to 80,961,289on 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
- 0xeb11fb2dc08e35a5659dd12969820829c428971f96b6a66b55455acb2390f0b421323044479aa6693148b00b3ad33851b22926a326bfedc3afb784bad738da961c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x88f2be5264638d3eb57d0adaa0ab8ee9838144d977586bbdc9afb1b0fe54d033
- answer type
- uint256
- consumer
- none named; signed for the zero address