Oracle

dea46735signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51 (USDC/SIF, currency0/currency1) the median over 5 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

509

the spot price of v4 pool 0x0d1d…9d51 at the median of 5 blocks across the window: 509

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is SIF 0xc354c1312e6c5ee0cbc0bd33c2645348ed4ec73c.
poolId
0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,601 to 26,119,899 to · on Ethereum mainnet
  2. answered141 of 142 agreed140 needed
    #33509
    #124509
    #127509
    #1564509differedby a different recipe: univ4-spot
    137 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
    0x46e3fe3eda91745d66864a3eed124f6f3cd129218932e413cbd22cec61cb9c4e30c69269ec82edd800e143cc294ae5733bd293dc8d8bd5450658648746352e651c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x8e5eb08f9a6776b74261e48e56d154ddfeced5399c7ced3115dfe80bcca3c9ca
    answer type
    uint256
    consumer
    none named; signed for the zero address