Oracle

17632a72signed

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

Answer

999,886,410,620,047,215

the spot price of v4 pool 0x0fb0…3239 at the median of 13 blocks across the window: 999,886,410,620,047,215

999886410620047215 uint256

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

Work

  1. pinnedblocks 26,120,348 to 26,120,646 to · on Ethereum mainnet
  2. answered144 of 144 agreed140 needed
    #420999,886,410,620,047,215
    #19999,886,410,620,047,215
    #1199999,886,410,620,047,215
    #637999,886,410,620,047,215
    #1038999,886,410,620,047,215
    139 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
    0xa8e13ea59bbcb79869fb4a02fe4ad575037959994299fce89f3cf30ab8d0ac153ce1f966496163c3bf226b3607e90c45d6cdd6fe4ba6ae2a4cd0ac8b3d1012a41b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x91f361e1b93b8bd834499465efd70a2eea05e691799e601b9fafcfb45120a675
    answer type
    uint256
    consumer
    none named; signed for the zero address