Oracle

8729280asigned

On Base, what was the Uniswap v4 spot price of pool 0xfba2c4592d32a4e2e6393b8898f9110b4e272983f4bd416b38f81672a17fe3dc (USDC/USDT, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 52213226 to 52215025, about 2.5 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?

Answer

1,000,749,570,336.43

the spot price of v4 pool 0xfba2…e3dc at the median of 13 blocks across the window: 1,000,749,570,336.43

1000749570336436342 uint256, 6 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xfba2c4592d32a4e2e6393b8898f9110b4e272983f4bd416b38f81672a17fe3dc","invert":true,"samples":13} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xfba2c4592d32a4e2e6393b8898f9110b4e272983f4bd416b38f81672a17fe3dc: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xfba2c4592d32a4e2e6393b8898f9110b4e272983f4bd416b38f81672a17fe3dc --invert --samples 13
invert
true
poolId
0xfba2c4592d32a4e2e6393b8898f9110b4e272983f4bd416b38f81672a17fe3dc
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,213,226 to 52,215,025on Base
  2. answered141 of 141 agreed140 needed
    #4611,000,749,570,336.43
    #8491,000,749,570,336.43
    #61,000,749,570,336.43
    #2111,000,749,570,336.43
    #6061,000,749,570,336.43
    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
    0x1d71ed87cc500cae0dfe5ab645a732014508ac776e771c9f15dd236b92cfba414a7b203c9422e094cb882843ac045d8656a5de0c41b204084b4ddfad55925e841b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x4091b7df632798449c5550eee34acd25b545da2f29815ff597eca927fc42e870
    answer type
    uint256
    consumer
    none named; signed for the zero address