Oracle

67352608signed

What was the Uniswap v4 spot price in the ETH/USDT pool 0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73 on Ethereum mainnet at the median of 5 evenly spaced blocks across blocks 26106292–26106590 (about 1 hours ago), as currency0 per 1e18 raw currency1 in raw units?

Answer

373,330,188,416,928,306,546,210,896

the spot price of v4 pool 0x7233…ca73 at the median of 5 blocks across the window: 373,330,188,416,928,306,546,210,896

373330188416928306546210896 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs ETH with USDT (0xdac17f958d2ee523a2206206994597c13d831ec7).
poolId
0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. Pinnedblocks 26,106,292 to 26,106,590 to on Ethereum mainnet
  2. Answered37 of 37 agreed35 needed
    #443373,330,188,416,928,306,546,210,896
    #317373,330,188,416,928,306,546,210,896
    #1656373,330,188,416,928,306,546,210,896
    #5373,330,188,416,928,306,546,210,896
    #1743373,330,188,416,928,306,546,210,896
    32 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x3c9d106426d10b969d028fb0d3ce48e403811217e9e834f05c6c74b8e08564db18d8edc3f3445fc12d512ebf95b44e7e5f06b62a23b74686347d5f36cfec45841c
    signed panel
    37 agreed · quorum 35 · 50 seats
    question hash
    0x284ea7b81a9d89c53eeff85d41b5b405aec9833cb6a2fa074e75fa0c90943c08
    answer type
    uint256
    consumer
    none named; signed for the zero address