Oracle

66caf8f0signed

On Base, what was the Uniswap v4 spot price of pool 0x61837b458644cddfafd6fb95a2c52574adf64e03d647d077c3f99aefdeaa85b3 (boar/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52169348 to 52171147, about 3 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

105,355,609,239,746,261,833,455,212,316,515,424

the spot price of v4 pool 0x6183…85b3 at the median of 9 blocks across the window: 105,355,609,239,746,261,833,455,212,316,515,424

105355609239746261833455212316515424 uint256

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

Work

  1. pinnedblocks 52,169,348 to 52,171,147on Base
  2. answered145 of 145 agreed140 needed
    #969105,355,609,239,746,261,833,455,212,316,515,424
    #1003105,355,609,239,746,261,833,455,212,316,515,424
    #1743105,355,609,239,746,261,833,455,212,316,515,424
    #781105,355,609,239,746,261,833,455,212,316,515,424
    #13105,355,609,239,746,261,833,455,212,316,515,424
    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
    0x32e0fa75b3ea230c7239f2bcb071dc8ebf8ee667ffe8c64b18e5f4be5de0508f17fe67105f3f31de7db1534966d597f84a71fb2c4d9f3cca033b43811b5547a41b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xa7406b3e68f25e2a9ebaf962b5107d699555daa34d129b10d9f3ac232bf03c9b
    answer type
    uint256
    consumer
    none named; signed for the zero address