Oracle

a01186fesigned

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

Answer

17 ETH

the spot price of v4 pool 0x5419…7168 at the median of 5 blocks across the window: 17 ETH

17007993164548143430 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,334,317 to 80,369,990on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #157417 ETH
    #75917 ETH
    #34117 ETH
    #5917 ETH
    #142717 ETH
    138 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x7a76aa2ba310f94af40cdea0ae0f28a02d8f9291471561a60804c1066f2ec1261880e2ba923cfe65be47530174d39ed65fd590169b223c8cf007eb1d23f233da1c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x8c0fa330b7573c9975d2e3a6ff76c276b01d1609d5945134e7943a81b208edd0
    answer type
    uint256
    consumer
    none named; signed for the zero address