Oracle

f0d54b32signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9 (ETH/STANDARD, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80925888 to 80961289, about 2 hours before 81032093), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.000074

the spot price of v4 pool 0xc73f…7ad9 at the median of 13 blocks across the window: 0.000074

74737939643475 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9","samples":13} — write recipe exactly this.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9: currency0 is native ETH (address 0) (18 decimals), currency1 is STANDARD 0x88ad8ddf1e3898412146a534538d418c6f8a9062 (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9 --samples 13
poolId
0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9
samples
13
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,925,888 to 80,961,289on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #2440.000074
    #2490.000074
    #1200.000074
    #17050.000074
    #610.000074
    135 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
    0xb12c463876fc69590fbc69698df5d0ceded7035a0d5487180beceb1e9004064914f15f444cf9c587465e4a2f25c9d8d5d5894f8c92beea07043774386b01251f1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x779716afebc74f6ec834be45074224cdb18b8dcc696c8e6ac68a944361759ef1
    answer type
    uint256
    consumer
    none named; signed for the zero address