Oracle

1996e5bfsigned

On Base, what was the Uniswap v4 spot price of pool 0xc33b04272f95325a92becf481ff4f5d60b600e005830bfe14c0c6f4d93bd80cc (wARS/USDC, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52212326 to 52214125, about 3 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,611,381,747,276,327.88

the spot price of v4 pool 0xc33b…80cc at the median of 9 blocks across the window: 1,611,381,747,276,327.88

1611381747276327888078055863703784 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xc33b04272f95325a92becf481ff4f5d60b600e005830bfe14c0c6f4d93bd80cc","samples":9} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xc33b04272f95325a92becf481ff4f5d60b600e005830bfe14c0c6f4d93bd80cc: currency0 is wARS 0x0dc4f92879b7670e5f4e4e6e3c801d229129d90d (18 decimals), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xc33b04272f95325a92becf481ff4f5d60b600e005830bfe14c0c6f4d93bd80cc --samples 9
poolId
0xc33b04272f95325a92becf481ff4f5d60b600e005830bfe14c0c6f4d93bd80cc
samples
9
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,212,326 to 52,214,125on Base
  2. answered142 of 142 agreed140 needed
    #361,611,381,747,276,327.88
    #8611,611,381,747,276,327.88
    #11101,611,381,747,276,327.88
    #19691,611,381,747,276,327.88
    #10101,611,381,747,276,327.88
    137 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
    0xb08401f02e6f12a629d14af92f097ecedbdfec658729200536b89dd733e5357a427a82b9290105f8e42226b1e1688f403f58313ff5157674157c8148d1d3654f1b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0xbecc5db1cdb63a677bfd47b2fbc408b0f1cb94dc2989c0120a4e26282be646e0
    answer type
    uint256
    consumer
    none named; signed for the zero address