Oracle

99baa9f6signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x111dd59de31300bf3dab2ebb0d109beaa881cebddb8d5691c641cda39c3d372c (ETH/CLAUS, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 26127039 to 26127337, about 3 hours before 26128234), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000018

the spot price of v4 pool 0x111d…372c at the median of 9 blocks across the window: 0.0000018

1890356094436 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,127,039 to 26,127,337 to · on Ethereum mainnet
  2. answered147 of 147 agreed140 needed
    #4750.0000018
    #16490.0000018
    #10200.0000018
    #15420.0000018
    #5590.0000018
    142 more
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

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