Oracle

71231222signed

On Base, what was the Uniswap v4 spot price of pool 0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01 (USDC/PADCAT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52173848 to 52175647, about 30 minutes before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

68,543,657,962,813,835,220,495,679,017,341,219

the spot price of v4 pool 0xb800…cd01 at the median of 9 blocks across the window: 68,543,657,962,813,835,220,495,679,017,341,219

68543657962813835220495679017341219 uint256

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

Work

  1. pinnedblocks 52,173,848 to 52,175,647on Base
  2. answered141 of 141 agreed140 needed
    #24868,543,657,962,813,835,220,495,679,017,341,219
    #127568,543,657,962,813,835,220,495,679,017,341,219
    #48968,543,657,962,813,835,220,495,679,017,341,219
    #148668,543,657,962,813,835,220,495,679,017,341,219
    #57968,543,657,962,813,835,220,495,679,017,341,219
    136 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
    0x1dc62fc0a52023b3f4e9b101f5172631b3d99ea176f50ecedeed346d8cb6dbc2164d42478937fad1323a9f5c5d3f1c3ee464b53371c2a8f04869de6c6d5614101b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x2e952ada0209b4041393de40291d6975bdc8f3ae4139a1f63515b9c4e646aa65
    answer type
    uint256
    consumer
    none named; signed for the zero address