Oracle

a8f8fd1esigned

On Base, what was the Uniswap v4 spot price of pool 0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72 (USDC/CNX, currency0/currency1) the median over 9 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

433,940,426,580,802,501,412,984,410,883,704

the spot price of v4 pool 0x2b1e…cf72 at the median of 9 blocks across the window: 433,940,426,580,802,501,412,984,410,883,704

433940426580802501412984410883704 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72","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 CNX 0x9557dd9e241bc9636732623b672b4090af519396.
invert
true
poolId
0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72
samples
9
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,171,148 to 52,172,947on Base
  2. answered141 of 141 agreed140 needed
    #1566433,940,426,580,802,501,412,984,410,883,704
    #1929433,940,426,580,802,501,412,984,410,883,704
    #1530433,940,426,580,802,501,412,984,410,883,704
    #4433,940,426,580,802,501,412,984,410,883,704
    #1038433,940,426,580,802,501,412,984,410,883,704
    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
    0x4a46f32aef4d584dcfbbc3cbfa9ef26aa4730c6bd535bd9c6040160eb50a9c954d7308995ff4d9cba214921e18d01ee38fc95a95a4195d24910c9a70ca7ca0131b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xd70a69e0124537c28dc506032084b78bed69338ce7a4d3707f126b2e6621fb74
    answer type
    uint256
    consumer
    none named; signed for the zero address