Oracle

5eda4fbasigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x93fbe38f4a30a4019e35a6dd84bd7e8a2978127c606f781a6c4551b92eb723b5 (ZC/USDC, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?

Answer

34,067

the spot price of v4 pool 0x93fb…23b5 at the median of 13 blocks across the window: 34,067

34067 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x93fbe38f4a30a4019e35a6dd84bd7e8a2978127c606f781a6c4551b92eb723b5","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is ZC 0x4e67db19044549ff420860834c91b45bad298722, currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
invert
true
poolId
0x93fbe38f4a30a4019e35a6dd84bd7e8a2978127c606f781a6c4551b92eb723b5
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered146 of 146 agreed140 needed
    #61334,067
    #71434,067
    #140134,067
    #52734,067
    #35534,067
    141 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
    0xd123bf6aa5d614253955d0f4cfbcc6f2d79f1e45bdb429997fa0b50f8058f49b24c6a122a1eb59c71b2a65308128da5127b07915fccc7f0f12b031ce05d5e1981b
    signed panel
    146 agreed · quorum 140 · 200 seats
    question hash
    0xc31a29d21105d4097fb08b6f09dfe4ce34a59dfd4a9de882c8498d6f3d462179
    answer type
    uint256
    consumer
    none named; signed for the zero address