Oracle

53372240signed

On Base, what was the Uniswap v4 spot price of pool 0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01 (USDC/PADCAT, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52172048 to 52173847, about 1.5 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

70,085,314,955,851,874,243,528,079,295,255,026

the spot price of v4 pool 0xb800…cd01 at the median of 5 blocks across the window: 70,085,314,955,851,874,243,528,079,295,255,026

70085314955851874243528079295255026 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01","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 PADCAT 0x837f632a3b2e120874e0ba134f72688d197a00df.
invert
true
poolId
0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,172,048 to 52,173,847on Base
  2. answered145 of 145 agreed140 needed
    #73770,085,314,955,851,874,243,528,079,295,255,026
    #188470,085,314,955,851,874,243,528,079,295,255,026
    #9970,085,314,955,851,874,243,528,079,295,255,026
    #143470,085,314,955,851,874,243,528,079,295,255,026
    #30570,085,314,955,851,874,243,528,079,295,255,026
    140 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
    0x089a34fc6f0e880ee8f93dbf24ba2f39a8be807321977abe38528beca0be4fd91a869e709c1acf48c88a08348fd1e9e61d784b8068ee4ab436b2d1ddc5dc00f71c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x39153ddb66ac7cb545dcec754032a70e63e43648917bfa8c76fb7c43df980e46
    answer type
    uint256
    consumer
    none named; signed for the zero address