Oracle

670134b3signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x1a8ace16c0a6dd88f5588c71f2f9914c2314807264e3eddb065c2a1b38ea98e8 (ETH/CGNA, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 80125780 to 80161442, about 45 minutes before 80188189), as currency1 per 1e18 raw currency0 in raw units?

Answer

4,923,726.25 ETH

the spot price of v4 pool 0x1a8a…98e8 at the median of 5 blocks across the window: 4,923,726.25 ETH

4923726257282724310812411 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x1a8ace16c0a6dd88f5588c71f2f9914c2314807264e3eddb065c2a1b38ea98e8","invert":true,"samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 5.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; currency0 is native ETH (address 0), currency1 is CGNA 0x4c2f59ea682a90c16584a69db234967e1385f4cd.
invert
true
poolId
0x1a8ace16c0a6dd88f5588c71f2f9914c2314807264e3eddb065c2a1b38ea98e8
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,125,780 to 80,161,442on Robinhood Chain
  2. answered144 of 145 agreed140 needed
    #19264,923,726.25 ETH
    #5454,923,726.25 ETH
    #1264,923,726.25 ETH
    #4294,923,726.25 ETH
    #5244,923,726.25 ETH
    140 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
    0xa3d4d77e5f1e49966d867c01bee35ab28c268b307a078ea6ea1114f57240818c2d5deacca4e633f026fdf3abb8e8396d1c1522d1e9e9c20a93221228781d54041b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x29158fd53af10764a61c9957543ff2a5feed7e4af94f4eb66fac2f6ddddea9b8
    answer type
    uint256
    consumer
    none named; signed for the zero address