Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x238c13b309c22221ce1c14827438edb85378f1ec2417c6533fa90370b031599e (ETH/knightcat, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80855084 to 80890485, about 4 hours before 81032093), as currency1 per 1e18 raw currency0 in raw units?
Answer
999,927.11
the spot price of v4 pool 0x238c…599e at the median of 13 blocks across the window: 999,927.11
999927114757910108337748 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x238c13b309c22221ce1c14827438edb85378f1ec2417c6533fa90370b031599e","invert":true,"samples":13} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x238c13b309c22221ce1c14827438edb85378f1ec2417c6533fa90370b031599e: currency0 is native ETH (address 0) (18 decimals), currency1 is knightcat 0xeba916c94d75a5f48716913962356b3b6f41751b (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x238c13b309c22221ce1c14827438edb85378f1ec2417c6533fa90370b031599e --invert --samples 13
- invert
- true
- poolId
- 0x238c13b309c22221ce1c14827438edb85378f1ec2417c6533fa90370b031599e
- samples
- 13
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,855,084 to 80,890,485on Robinhood Chain
- answered144 of 144 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
- 0x08e2f53d0e95572e0c77f7bc9841774d2cd70c38c98b6a47d75a5d76e99d39731bca27c73a5df13c69b9804a2c968164662ae821e36fd9f1160d9bbedf04cf3a1b
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0xcf189c3f71824109a53279c9ef5a152cfb1e03d660671fb9d604005551d5e4f2
- answer type
- uint256
- consumer
- none named; signed for the zero address