Oracle

61629daasigned

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

Answer

0.000043

the spot price of v4 pool 0x5291…2a9a at the median of 9 blocks across the window: 0.000043

43468015206984 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,943,589 to 80,978,990on Robinhood Chain
  2. answered145 of 145 agreed140 needed
    #13130.000043
    #6060.000043
    #14990.000043
    #11680.000043
    #16730.000043
    140 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
    0x4e302f80ac8a0c9045b299b6f289f1c4551736ae0cf7b220bcec4844c63fa5f518a5364f6d2a83da4fdb2c694a8e873da872cf25e86e09cdd283024e677e269d1b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x1a21dc17ee66f880274a1cd83cfcd95389635106c4d7afab6ca6e35bafd0dd9e
    answer type
    uint256
    consumer
    none named; signed for the zero address