Oracle

07b0ca82signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xf6e8088529094bc485561fa2a03e3d19c9a60f5d99a997e8fe16ab4ca2db277a (DAI/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

999,886,325,094,689,921,031,054,952,803

the spot price of v4 pool 0xf6e8…277a at the median of 9 blocks across the window: 999,886,325,094,689,921,031,054,952,803

999886325094689921031054952803 uint256

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

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered145 of 145 agreed140 needed
    #341999,886,325,094,689,921,031,054,952,803
    #1929999,886,325,094,689,921,031,054,952,803
    #1673999,886,325,094,689,921,031,054,952,803
    #718999,886,325,094,689,921,031,054,952,803
    #1168999,886,325,094,689,921,031,054,952,803
    140 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
    0x72ee00ce9c4f33b8e5617851feb9d10d81f403a7cc77002aed89a8f7cb05be1e39f835cf3ce8a92922ff9b531020cb42fb030803fcdea4bd395985b11ff1313e1c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x84c0aedf3b71a8b7eb26385eb43d501c40d623e4f6ef8978189c8a1b243e92d2
    answer type
    uint256
    consumer
    none named; signed for the zero address