Oracle

a868fb16signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93 (ETH/AI, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 79974212 to 80009874, about 5 hours before 80188189), as currency1 per 1e18 raw currency0 in raw units?

Answer

22,822.5 ETH

the spot price of v4 pool 0xe85f…fa93 at the median of 9 blocks across the window: 22,822.5 ETH

22822501851854871400559 uint256, 18 decimals

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

Work

  1. pinnedblocks 79,974,212 to 80,009,874on Robinhood Chain
  2. answered152 of 152 agreed140 needed
    #196922,822.5 ETH
    #67122,822.5 ETH
    #44622,822.5 ETH
    #81322,822.5 ETH
    #127422,822.5 ETH
    147 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
    0xd1a9985ae95f5fe2fb67f753329aca3485a1bddefffb477609b96e5ceb591fa67dd256abe532912a380919649a2bbdb86a1af12de00aac185830598bf5b4b9b11c
    signed panel
    152 agreed · quorum 140 · 200 seats
    question hash
    0x629b6434c62c21b6c1733cfeb3139911273503ca53a92ec8f7a9821d86d7cac4
    answer type
    uint256
    consumer
    none named; signed for the zero address