Oracle

12575195signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x2c2b6afc1db134173ef3c0c565e05eb5663b0c995868bf42f794f3ddf417f0a3 (ETH/ONDO, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.00018 ETH

the spot price of v4 pool 0x2c2b…f0a3 at the median of 5 blocks across the window: 0.00018 ETH

182054643115828 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x2c2b6afc1db134173ef3c0c565e05eb5663b0c995868bf42f794f3ddf417f0a3","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is ONDO 0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3.
poolId
0x2c2b6afc1db134173ef3c0c565e05eb5663b0c995868bf42f794f3ddf417f0a3
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered141 of 141 agreed140 needed
    #6370.00018 ETH
    #7050.00018 ETH
    #4690.00018 ETH
    #13100.00018 ETH
    #12950.00018 ETH
    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
    0x4a2e55378cf7adccb9b048a4f84cf811b71c675d8bfe7c9a36e2b6f931f1a2d67c58649e8d7dd9db9c1bee9708e202579bc250e394917ca9d0153b7c3329faeb1c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x778e645d98dd9a7f0bdf47d5d02a07f6e26e1d8ff13ad9c39796f3caafe087a1
    answer type
    uint256
    consumer
    none named; signed for the zero address