Oracle

26811232signed

On Base, what was the Uniswap v4 spot price of pool 0x152a47222c4be783b1eaca2105fad5924b914e5c5846ffa814d4a4050af546e5 (wtCOIN/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52174298 to 52176097, about 15 minutes before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

5,438,215,666,945,978,153,171,859,409

the spot price of v4 pool 0x152a…46e5 at the median of 9 blocks across the window: 5,438,215,666,945,978,153,171,859,409

5438215666945978153171859409 uint256

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

Work

  1. pinnedblocks 52,174,298 to 52,176,097on Base
  2. answered143 of 143 agreed140 needed
    #5405,438,215,666,945,978,153,171,859,409
    #2955,438,215,666,945,978,153,171,859,409
    #11995,438,215,666,945,978,153,171,859,409
    #4345,438,215,666,945,978,153,171,859,409
    #13425,438,215,666,945,978,153,171,859,409
    138 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
    0x3529a7ad5997a556592d55c90fdec75c364b1570bf858ca57b1065499cce33b63fe0d7ad4913bacc52963c8dc37b413bc3bfcea446522242fc4b2d8b07a645141b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xb1d2f55c95f0a0f419bea472c6783ac0257d7050ff67ff30128ea80e0253bf0f
    answer type
    uint256
    consumer
    none named; signed for the zero address