Oracle

eb38fc8fsigned

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

Answer

889,295,053,904,133,387

the spot price of v4 pool 0xb2b9…3a17 at the median of 9 blocks across the window: 889,295,053,904,133,387

889295053904133387 uint256

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

Work

  1. pinnedblocks 26,120,199 to 26,120,497 to · on Ethereum mainnet
  2. answered144 of 144 agreed140 needed
    #879889,295,053,904,133,387
    #446889,295,053,904,133,387
    #55889,295,053,904,133,387
    #1506889,295,053,904,133,387
    #1746889,295,053,904,133,387
    139 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
    0xab7f631e792feb8bc782705bad604701d964df08965f9222207389edc17a303635be0349c46949f9a6f8eee263388af417f928590025dec301ae6465977f63141c
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x6bca97e62f2efeb01f6375569eba9be34cf116925d2d8a5600249d6bf5ef74f3
    answer type
    uint256
    consumer
    none named; signed for the zero address