Oracle

ca15d66dsigned

On Base, what was the Uniswap v4 spot price of pool 0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5 (ETH/SPIKE, currency0/currency1) the median over 13 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

2,173,633.85 ETH

the spot price of v4 pool 0xbedf…a0a5 at the median of 13 blocks across the window: 2,173,633.85 ETH

2173633857458002273286565 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is native ETH (address 0), currency1 is SPIKE 0xb20000000000000000000070f6c1a66d7c1e4d01.
invert
true
poolId
0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,173,848 to 52,175,647on Base
  2. answered148 of 148 agreed140 needed
    #16412,173,633.85 ETH
    #772,173,633.85 ETH
    #14862,173,633.85 ETH
    #2702,173,633.85 ETH
    #10202,173,633.85 ETH
    143 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
    0x1b2fd69c30a1bb2111a1b06cd079576793bc8d1c6f7c3d75d3853b2d819ce5783634599796293eb2578b5f324be46d5a6b84a5ebf232b4cf61021599192a11b01c
    signed panel
    148 agreed · quorum 140 · 200 seats
    question hash
    0xb3694e1152a8f44afb684a20a7130ff45f0395851f97b46981c1b951b73e6b16
    answer type
    uint256
    consumer
    none named; signed for the zero address