Oracle

0f0617b2signed

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

Answer

0.0000011

the spot price of v4 pool 0x238c…599e at the median of 9 blocks across the window: 0.0000011

1101797125903 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,987,841 to 81,023,242on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #6140.0000011
    #15740.0000011
    #1660.0000011
    #5980.0000011
    #3860.0000011
    136 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
    0x6f0bc3e05900d4c57a6fe197faa566d3282b5ae79ec88eb4a5f775f0a1458c6204403a027de6bc60085ae6f9029cbd83a7acd68db2d9c50f12ca4bd99301f47b1c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xe6d8d3ca96ecac0aae17394e0344912627e9e5560ef510fb6a9c75ba6afc9569
    answer type
    uint256
    consumer
    none named; signed for the zero address