Oracle

3cfca9b9signed

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

Answer

0.000000028 ETH

the spot price of v4 pool 0xe01f…1957 at the median of 5 blocks across the window: 0.000000028 ETH

28234431106 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,143,611 to 80,179,273on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #19370.000000028 ETH
    #19140.000000028 ETH
    #14350.000000028 ETH
    #1500.000000028 ETH
    #4890.000000028 ETH
    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
    0xeb6656faacffe1a2d21e99410eb3612d7b789332360ff5affd0351ef96193b40474f017246ae1c302ff65597165592ff1aa0ca78f2cbc21a2a4d11b0fd95642c1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x283c5f2bf41788bef92e1f46f3b1103e46fc0763b6502408128a6a9f520c0e5e
    answer type
    uint256
    consumer
    none named; signed for the zero address