Oracle

76d9acbasigned

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 52167548 to 52169347, about 4 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

5,450,097,734,221,796,991,122,474,874

the spot price of v4 pool 0x152a…46e5 at the median of 9 blocks across the window: 5,450,097,734,221,796,991,122,474,874

5450097734221796991122474874 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,167,548 to 52,169,347on Base
  2. answered141 of 141 agreed140 needed
    #7865,450,097,734,221,796,991,122,474,874
    #8425,450,097,734,221,796,991,122,474,874
    #17595,450,097,734,221,796,991,122,474,874
    #18125,450,097,734,221,796,991,122,474,874
    #1925,450,097,734,221,796,991,122,474,874
    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
    0xcb0ec579f127ae9870f7156ae0c3e9b44c62e853b3d25143c3a10b5cf4ee32b81bc23ebc8ff586c54689d10c924e4e147624e9f266c6bb285c378d5e6c481c291b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x8e3c0f8e0bbe3c4b48b494bf68ebbf8f033ecc837c32f1f3e1f1140e8647a491
    answer type
    uint256
    consumer
    none named; signed for the zero address