Oracle

113e4160signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x106af997d180cf37a574c42c04179f267b9245cf221b1c57fb3e491137915de6 (QCOM/USDG, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80271888 to 80307561, about 2 hours before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

5,337,414,011,564,067,906,120,771,379

the spot price of v4 pool 0x106a…5de6 at the median of 9 blocks across the window: 5,337,414,011,564,067,906,120,771,379

5337414011564067906120771379 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x106af997d180cf37a574c42c04179f267b9245cf221b1c57fb3e491137915de6","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x106af997d180cf37a574c42c04179f267b9245cf221b1c57fb3e491137915de6 --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x106af997d180cf37a574c42c04179f267b9245cf221b1c57fb3e491137915de6: currency0 is QCOM 0x0f17206447090e464c277571124dd2688e48aea9, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 3500; no hook.
poolId
0x106af997d180cf37a574c42c04179f267b9245cf221b1c57fb3e491137915de6
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,271,888 to 80,307,561on Robinhood Chain
  2. answered144 of 144 agreed140 needed
    #9055,337,414,011,564,067,906,120,771,379
    #2935,337,414,011,564,067,906,120,771,379
    #595,337,414,011,564,067,906,120,771,379
    #8355,337,414,011,564,067,906,120,771,379
    #5105,337,414,011,564,067,906,120,771,379
    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
    0x35dee79b937dfec4d96501569900194d18590c50209836bcf5d77379d5e5fe1b17a3b5e5ad56a5176be66f867a1cff7fc66df58f712c7e947b509037d339faa11b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x9c56005c60159ec7e2bf88b883027a16a02baf49bc64c66a916df66573917c03
    answer type
    uint256
    consumer
    none named; signed for the zero address