Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x72daf39b278fab80f18ad2adf73cc8b1ae63de1e508d36aa033285fff506f169 (USDC/mUSD, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120498 to 26120796, about 1 hour before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,980,038,917,276,436
the spot price of v4 pool 0x72da…f169 at the median of 5 blocks across the window: 999,980,038,917,276,436
999980038917276436 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x72daf39b278fab80f18ad2adf73cc8b1ae63de1e508d36aa033285fff506f169","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is mUSD 0xaca92e438df0b2401ff60da7e4337b687a2435da.
- poolId
- 0x72daf39b278fab80f18ad2adf73cc8b1ae63de1e508d36aa033285fff506f169
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xc98e44ad06ee533433541c8c31e0384bdd5f2a452f34dbdc694c7b077f6628cc256fd60a462a5b433cfe49e277064bf2eb2a8452fe0c6ade7b2bf0f8fe336ff21b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x37b5c7e038f42608994861870c5e8a5ba0e3905b182731effba757704cf69f59
- answer type
- uint256
- consumer
- none named; signed for the zero address