Oracle

322e5507signed

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

Answer

69,844,573,842,629,089,257,635,738,917

the spot price of v4 pool 0x58b6…9a8a at the median of 9 blocks across the window: 69,844,573,842,629,089,257,635,738,917

69844573842629089257635738917 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a --invert --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is RIVN 0xb1bf26c1d20ff267a4f93550d1e0d06ac40a114b; fee 2300; no hook.
invert
true
poolId
0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,254,051 to 80,289,724on Robinhood Chain
  2. answered144 of 144 agreed140 needed
    #36769,844,573,842,629,089,257,635,738,917
    #78369,844,573,842,629,089,257,635,738,917
    #150769,844,573,842,629,089,257,635,738,917
    #143369,844,573,842,629,089,257,635,738,917
    #3669,844,573,842,629,089,257,635,738,917
    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
    0x37fbef7b91d88cc8d95adf60d8667377ba9d97010d20ea41ff0abbee8b4b403d252950ca1762962f426b4d7f1349839555427898c281d4eca7c022d316d91d991b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xf9630d59f3c7f4104701e81dd747a52ac5cb908b4809f44648f42cd6ec3716f1
    answer type
    uint256
    consumer
    none named; signed for the zero address