Oracle

6faa6cb1signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x8c2a353e3d633c3c4f3ee524a6e6f742e2f3a6882577198e6a404146efe06bad (ETH/ZC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26119601 to 26119899, about 4 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.000011 ETH

the spot price of v4 pool 0x8c2a…6bad at the median of 9 blocks across the window: 0.000011 ETH

11924376396527 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,119,601 to 26,119,899 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #2460.000011 ETH
    #16420.000011 ETH
    #2180.000011 ETH
    #5450.000011 ETH
    #1740.000011 ETH
    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
    0xcf3e2b8228429d4b936387477d9aea3e02949051c5154a5d24fa3e31f9485db701aff3f3b963e911ba6c53f973ea807197e004a0b1a20ca29ad94168d83d61371c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x22056d1fd42070e3c13e95d1c1cc5935d7be7768369bee861e5cfd3d663b8657
    answer type
    uint256
    consumer
    none named; signed for the zero address