Oracle

68e7ebcdsigned

On Base, what was the Uniswap v4 spot price of pool 0xf75abf8b552feb6cc784c1432b731276f253dff4b72ec0b2162444efca39a4a9 (USDC/CAS, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52171148 to 52172947, about 2 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

202,787,371,525,839,124,716,046,807,366,875

the spot price of v4 pool 0xf75a…a4a9 at the median of 5 blocks across the window: 202,787,371,525,839,124,716,046,807,366,875

202787371525839124716046807366875 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xf75abf8b552feb6cc784c1432b731276f253dff4b72ec0b2162444efca39a4a9","invert":true,"samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 5.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, currency1 is CAS 0xf1070fd43cd11af8da18ff4edfb1a18279cd6f67.
invert
true
poolId
0xf75abf8b552feb6cc784c1432b731276f253dff4b72ec0b2162444efca39a4a9
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,171,148 to 52,172,947on Base
  2. answered144 of 144 agreed140 needed
    #683202,787,371,525,839,124,716,046,807,366,875
    #218202,787,371,525,839,124,716,046,807,366,875
    #1039202,787,371,525,839,124,716,046,807,366,875
    #1322202,787,371,525,839,124,716,046,807,366,875
    #61202,787,371,525,839,124,716,046,807,366,875
    139 more
  3. 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
    0x4055ed96ad8dac41d98917e006e5fa5570f078d00cb4ffffad78c292bcded523089d6d40b683aa26c03fe0a47a9c323650b880472df0cba2f6e5edf2852ea35c1c
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xf16d47db07216930e758b7bd0662726b49628b67b7171ad8442a9539665e044e
    answer type
    uint256
    consumer
    none named; signed for the zero address