Oracle

584b3f6esigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x41242819331898fd61aa85a9dc36fe2072baee15778b9f640c31ac1dcefe1c4a (ETH/AAPL, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80325399 to 80361072, about 30 minutes before 80378909), as currency1 per 1e18 raw currency0 in raw units?

Answer

8.17 ETH

the spot price of v4 pool 0x4124…1c4a at the median of 9 blocks across the window: 8.17 ETH

8175838752991943458 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x41242819331898fd61aa85a9dc36fe2072baee15778b9f640c31ac1dcefe1c4a","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x41242819331898fd61aa85a9dc36fe2072baee15778b9f640c31ac1dcefe1c4a --invert --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x41242819331898fd61aa85a9dc36fe2072baee15778b9f640c31ac1dcefe1c4a: currency0 is native ETH (address 0), currency1 is AAPL 0xaf3d76f1834a1d425780943c99ea8a608f8a93f9; fee 800; no hook.
invert
true
poolId
0x41242819331898fd61aa85a9dc36fe2072baee15778b9f640c31ac1dcefe1c4a
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,325,399 to 80,361,072on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #10848.17 ETH
    #18198.17 ETH
    #13148.17 ETH
    #17438.17 ETH
    #5728.17 ETH
    138 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
    0x258489d39ee1b5f37f5bc74d0b79ad204575d114643949b58f1d0e7a20e5b7f91a591b0caac60a5761de56114cbb33401d1c1abb1f26030d0733eb4142ca9da51b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xc587a84805b2b57497634005c50333e29d1d84f9484d21bc214dccaebea06717
    answer type
    uint256
    consumer
    none named; signed for the zero address