Oracle

7bbc3a8dsigned

On Base, what was the Uniswap v4 spot price of pool 0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01 (USDC/PADCAT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52167548 to 52169347, about 4 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

16

the spot price of v4 pool 0xb800…cd01 at the median of 9 blocks across the window: 16

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, currency1 is PADCAT 0x837f632a3b2e120874e0ba134f72688d197a00df.
poolId
0xb8004c87395d79fd05615d5e0339c173f97aa856ce2afc046d76afdbb55bcd01
samples
9
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,167,548 to 52,169,347on Base
  2. answered145 of 145 agreed140 needed
    #6416
    140 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
    0x7793930d0df58a08cea6a07100dc2d0ff72c45ced4c945a94626edc9904aa8ed4a7c8eaec29f82638fd88b8b04d3a1a434d46d81f7f2df0a737d7db0cb6361c21c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x4910aaac5d1817b24ea74a7d65d72917dbfcb3c36f7b8f8c7efd83c3862dba7b
    answer type
    uint256
    consumer
    none named; signed for the zero address