Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xaf9508fff3c574172210b8aa7f3aee5ba9d0c835c9af753ad11d3ee112e87237 (ETH/belly, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80970140 to 81005541, about 45 minutes before 81032093), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.00000011
the spot price of v4 pool 0xaf95…7237 at the median of 9 blocks across the window: 0.00000011
113104921012 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xaf9508fff3c574172210b8aa7f3aee5ba9d0c835c9af753ad11d3ee112e87237","samples":9} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xaf9508fff3c574172210b8aa7f3aee5ba9d0c835c9af753ad11d3ee112e87237: currency0 is native ETH (address 0) (18 decimals), currency1 is belly 0xba22ac78eba745c0a5dac01a42f27160c6a78d37 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xaf9508fff3c574172210b8aa7f3aee5ba9d0c835c9af753ad11d3ee112e87237 --samples 9
- poolId
- 0xaf9508fff3c574172210b8aa7f3aee5ba9d0c835c9af753ad11d3ee112e87237
- samples
- 9
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,970,140 to 81,005,541on 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
- 0x5e469a7917aff50856e6667885adf28d798a6dfd51a38eb647debc695ddd6ea10fc248547a1de8eb068b0ac86aafa004ef2d7a93db5681a67ec3157227fd05741c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x49b8e7248342a3bd55314311e2859d6aef3ad5ddef9451b4924df28c0010ae8a
- answer type
- uint256
- consumer
- none named; signed for the zero address