Oracle

133558a5signed

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

Answer

10,670.63 ETH

the spot price of v4 pool 0x29df…ec02 at the median of 9 blocks across the window: 10,670.63 ETH

10670638103453717272620 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x29dfcb94b1ab021ca46442d2b1a3ed3d2268fdc985d2fe9a3b67a6963670ec02","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 SYRUP 0x643c4e15d7d62ad0abec4a9bd4b001aa3ef52d66.
invert
true
poolId
0x29dfcb94b1ab021ca46442d2b1a3ed3d2268fdc985d2fe9a3b67a6963670ec02
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,302 to 26,119,600 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #88010,670.63 ETH
    #73510,670.63 ETH
    #73410,670.63 ETH
    #48010,670.63 ETH
    #143310,670.63 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
    0xa0bb8c0e0b30c611334d38954b4f1e1228bc1fe8a43255e020e41ebd3aa55037133c0301dfa2ce96de74947d394b4961cbc1c40c1afd447a6827fce1609b46151b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xf9265183cc45e83b758b59c9ed22bb9c69dc4ccec03b498985f364aea247e018
    answer type
    uint256
    consumer
    none named; signed for the zero address