Oracle

b796aceesigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xdb4c4d91f12ce76f5c9ac0eae193cf3b4d6684cd5f09bf35d03dd9ae6d8a43b1 (ETH/CTM, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120722 to 26121020, about 15 minutes before 26121095), as currency1 per 1e18 raw currency0 in raw units?

Answer

11,782.03 ETH

the spot price of v4 pool 0xdb4c…43b1 at the median of 9 blocks across the window: 11,782.03 ETH

11782037530018801933311 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,120,722 to 26,121,020 to · on Ethereum mainnet
  2. answered143 of 143 agreed140 needed
    #27011,782.03 ETH
    #73511,782.03 ETH
    #97311,782.03 ETH
    #196911,782.03 ETH
    #29311,782.03 ETH
    138 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
    0xdd2023faf0a7bfeb8d57ad203be0ca2356833cb2e01bde9fe9e9e9e78ac912622e1cd84b1bb39da5e64fdfc1ed9b572320e4b87aea3e7537d18b4b66748e8d201c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xea3fff74915b715db038486c4fd2835ba926239bb9d4a6a73856349617a906c3
    answer type
    uint256
    consumer
    none named; signed for the zero address