Oracle

f6d051afsigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47 (USDC/USDT, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 26127188 to 26127486, about 2.5 hours before 26128234), as currency0 per 1e18 raw currency1 in raw units?

Answer

999,883,007,115.38

the spot price of v4 pool 0x8aa4…4e47 at the median of 5 blocks across the window: 999,883,007,115.38

999883007115382623 uint256, 6 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47","samples":5} — write recipe exactly this.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47: currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47 --samples 5
poolId
0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,127,188 to 26,127,486 to · on Ethereum mainnet
  2. answered145 of 145 agreed140 needed
    #1413999,883,007,115.38
    #1968999,883,007,115.38
    #280999,883,007,115.38
    #1924999,883,007,115.38
    #596999,883,007,115.38
    140 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xf3ee5828f68124eb7c0c5a4e5ceb58536ccf1050b1ac9d5b38467d0ddbcd77e259afdbee5bd40d622fa1886ed6bf7412cadcc45dd51dbc7b5957ef36be4f8eb01c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xd92ed8efc9308f2653619f5f77cdd59c10dd50d6e0c3e1618e196bf3f9e00a52
    answer type
    uint256
    consumer
    none named; signed for the zero address