Oracle

67e4fb46signed

On Base, what was the Uniswap v4 spot price of pool 0xe82fa069a5e01a6dc36c6736b5de4f721d726291b080c69b48e21b9c5a11a2ad (USDC/NVDAc, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52216826 to 52218625, about 30 minutes before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

2,311,428,527,555.37

the spot price of v4 pool 0xe82f…a2ad at the median of 9 blocks across the window: 2,311,428,527,555.37

2311428527555379215 uint256, 6 decimals

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

Work

  1. pinnedblocks 52,216,826 to 52,218,625on Base
  2. answered140 of 140 agreed140 needed
    #15812,311,428,527,555.37
    #12972,311,428,527,555.37
    #11682,311,428,527,555.37
    #3682,311,428,527,555.37
    #1912,311,428,527,555.37
    135 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
    0xce24ef9618df6c7b2ef45a8e6b1bdd151ee4612be721d819f582c67cbcd4acb8533da53244cacff1886079254d869f1a028a841694ea5382d2d010cc5a8ba5a71b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xe016737b2d417bed17f2cd2dbff3891346693269ccf34900e08387c8d6372a7f
    answer type
    uint256
    consumer
    none named; signed for the zero address