Oracle

f96f8b76signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xd57467b3114eb68dd57ee541875d157ec71ecd0fdb3fc5d3e87a91f0b7f9991a (QNT/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

3,925,807,622,547,280,058,046,426,031

the spot price of v4 pool 0xd574…991a at the median of 9 blocks across the window: 3,925,807,622,547,280,058,046,426,031

3925807622547280058046426031 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xd57467b3114eb68dd57ee541875d157ec71ecd0fdb3fc5d3e87a91f0b7f9991a","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is QNT 0x4a220e6096b25eadb88358cb44068a3248254675, currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
poolId
0xd57467b3114eb68dd57ee541875d157ec71ecd0fdb3fc5d3e87a91f0b7f9991a
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #15363,925,807,622,547,280,058,046,426,031
    #133,925,807,622,547,280,058,046,426,031
    #1433,925,807,622,547,280,058,046,426,031
    #14013,925,807,622,547,280,058,046,426,031
    #2153,925,807,622,547,280,058,046,426,031
    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
    0x320315566a78d8f7c1706acd41c6ffe4615d27548e5ffce8566c118360cce88b36873f806b140017c3a44ee498a0704c066717f14cbe9beb6f0b0af75fcbeb831c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x9efbde9eff92947053a8ea576349c70e03a3d77b20caa034d1cb870ac75a73c3
    answer type
    uint256
    consumer
    none named; signed for the zero address