Oracle

eb5bc451signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d (ETH/V4, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80855084 to 80890485, about 4 hours before 81032093), as currency1 per 1e18 raw currency0 in raw units?

Answer

768,663.43

the spot price of v4 pool 0x3df1…cc1d at the median of 9 blocks across the window: 768,663.43

768663438818921896173593 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d","invert":true,"samples":9} — write recipe exactly this.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d: currency0 is native ETH (address 0) (18 decimals), currency1 is V4 0xc60ba256b44334a0cd2c7242e98b88f031abb006 (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d --invert --samples 9
invert
true
poolId
0x3df16f271060e4941c0386047def159f42e629dc0455db623c5b363eeacbcc1d
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,855,084 to 80,890,485on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #1322768,663.43
    #709768,663.43
    #1081768,663.43
    #1965768,663.43
    #1746768,663.43
    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
    0xad9330f5fed08224bc261eb904638c92aaa7280a7b76f331c6b063a5222fe9c778f99e25ed1b9429041f95e823647b9f62c421f516b14c7b41fab5513128d6711b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xe69b20fb792585ea0836d42a3ae03deab71b60d9a3168ce90387c563f1c5c074
    answer type
    uint256
    consumer
    none named; signed for the zero address