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