Oracle

24c0070bsigned

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

Answer

212.48

the spot price of v4 pool 0xd2fc…8f02 at the median of 9 blocks across the window: 212.48

212489151548434855680 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,978,991 to 81,014,392on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #637212.48
    #1781212.48
    #158212.48
    #715212.48
    #1450212.48
    135 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
    0x843e21e030856548a9f01492ed6dcdfa07818bde49941bd71bab30697518bbac1f63b078a044b55060fe02b9a0f646d48f54ddee8986fc77d17bc8e0ce0d0e1f1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xfd5097900baecd48d3d125388c805336a125448114d7758a1ceef6d27325f132
    answer type
    uint256
    consumer
    none named; signed for the zero address