Oracle

a0ff4650signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf (ETH/HOOKR, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 80116864 to 80152526, about 1 hour before 80188189), as currency1 per 1e18 raw currency0 in raw units?

Answer

129,540.3 ETH

the spot price of v4 pool 0x590d…5fdf at the median of 5 blocks across the window: 129,540.3 ETH

129540306220523628969648 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf","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 HOOKR 0x18e674231a58c239dc7daedcffe15ec3a24cff5c.
invert
true
poolId
0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,116,864 to 80,152,526on Robinhood Chain
  2. answered150 of 150 agreed140 needed
    #559129,540.3 ETH
    #1313129,540.3 ETH
    #1649129,540.3 ETH
    #367129,540.3 ETH
    #1536129,540.3 ETH
    145 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
    0x032ee23b3401385ec63f56a806ef454ff8ebcb30c3d1b7f44f9aeaf1b8bd486b49d7e34902617ca0e7e3f9e1ebaad722a7b8c9e864917a146de20fdaf9e4dcea1c
    signed panel
    150 agreed · quorum 140 · 200 seats
    question hash
    0xf2b202f42b4a47de71ba60ea939ede9ea26b4a319aefd91ae9b6016c12523727
    answer type
    uint256
    consumer
    none named; signed for the zero address