Oracle
On Base, what was the Uniswap v4 spot price of pool 0xf0bac62dd4fd04dc26c9bc9ded68f16c515ab71c09bb87e8e546b7ce83c0ccb9 (USDC/CATALYST, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52212326 to 52214125, about 3 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?
Answer
1.38
the spot price of v4 pool 0xf0ba…ccb9 at the median of 9 blocks across the window: 1.38
1387539 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xf0bac62dd4fd04dc26c9bc9ded68f16c515ab71c09bb87e8e546b7ce83c0ccb9","samples":9} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xf0bac62dd4fd04dc26c9bc9ded68f16c515ab71c09bb87e8e546b7ce83c0ccb9: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is CATALYST 0xca7a1e31b36779cf32acb18714ab26982cf36b05 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xf0bac62dd4fd04dc26c9bc9ded68f16c515ab71c09bb87e8e546b7ce83c0ccb9 --samples 9
- poolId
- 0xf0bac62dd4fd04dc26c9bc9ded68f16c515ab71c09bb87e8e546b7ce83c0ccb9
- samples
- 9
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,212,326 to 52,214,125on Base
- answered145 of 145 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
- 0xfd602c2b5e2cf20f0d480566ab3ce9927f5f3a191af62fd23336133bf5d3b73118d547e6adda41f7914a3b41f17aed730620f172cff0fc32cd89b58ee35075061b
- signed panel
- 145 agreed · quorum 140 · 200 seats
- question hash
- 0x9a43442933f5c2a6b2487caa8c1eda080e6e90f3aeec605f90779d7ba7cb89c8
- answer type
- uint256
- consumer
- none named; signed for the zero address