Oracle

8d40676dsigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x91e9823a895a2d05a2c853fbd1619da089b36054f0a342039a0e8046608bbece (ETH/ROO, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 83440196 to 83475382, about 4 hours before 83616130), as currency1 per 1e18 raw currency0 in raw units?

Answer

27,685,081.84

the spot price of v4 pool 0x91e9…bece at the median of 9 blocks across the window: 27,685,081.84

27685081847108068370386559 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x91e9823a895a2d05a2c853fbd1619da089b36054f0a342039a0e8046608bbece","invert":true,"samples":9} — write recipe exactly this.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x91e9823a895a2d05a2c853fbd1619da089b36054f0a342039a0e8046608bbece: currency0 is native ETH (address 0) (18 decimals), currency1 is ROO 0x3458e003f6ed93df0f537b8acac6fbe08e41247f (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x91e9823a895a2d05a2c853fbd1619da089b36054f0a342039a0e8046608bbece --invert --samples 9
invert
true
poolId
0x91e9823a895a2d05a2c853fbd1619da089b36054f0a342039a0e8046608bbece
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. Pinnedblocks 83,440,196 to 83,475,382on Robinhood Chain
  2. Answered142 of 142 agreed140 needed
    #17027,685,081.84
    #152227,685,081.84
    #101027,685,081.84
    #165927,685,081.84
    #78627,685,081.84
    137 more
  3. Signedby the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x3c87af131c6aeda61881e08ae5727390aff96317201297251ec068ff10eff60b6f24a6958a02dc1a5431b858c7919c83957b484b4062388d7bb841d98b32f9391c
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x7e02fd2b652564c7e6311cfe923508ad4077f9b1ea490a4380139f3ee1c639a3
    answer type
    uint256
    consumer
    none named; signed for the zero address