Oracle

2d74af1csigned

On Base, what was the Uniswap v4 spot price of pool 0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130 (ETH/BASEPAD, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52173398 to 52175197, about 45 minutes before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

5,964,317.54 ETH

the spot price of v4 pool 0x4786…2130 at the median of 9 blocks across the window: 5,964,317.54 ETH

5964317548908878145013303 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,173,398 to 52,175,197on Base
  2. answered140 of 140 agreed140 needed
    #5105,964,317.54 ETH
    #14095,964,317.54 ETH
    #8665,964,317.54 ETH
    #15745,964,317.54 ETH
    #7985,964,317.54 ETH
    135 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
    0x9d661d2a377ac2bc16ae9d65cc40837bca7d00a992a86f0832d19923ba2bfc6e38a80b3bff52a85a5a51f5c1333bcd4626d696de09af8fc7b49574031f26c1c41c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xa558d3b5a15e4059a00b9327be87b64591f1a4dcf9ad7ca3c50f6be85acdf4dd
    answer type
    uint256
    consumer
    none named; signed for the zero address