Oracle

c44113b8signed

On Base, what was the Uniswap v4 spot price of pool 0xaf2baac6d043d22f9ce14439228fbbf90c108a1dc809e32ad4e7e9e13fc941ac (VIRTUAL/USDC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52174298 to 52176097, about 15 minutes before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,181,640,296,299,753,098,345,216,559,430

the spot price of v4 pool 0xaf2b…41ac at the median of 5 blocks across the window: 1,181,640,296,299,753,098,345,216,559,430

1181640296299753098345216559430 uint256

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

Work

  1. pinnedblocks 52,174,298 to 52,176,097on Base
  2. answered143 of 143 agreed140 needed
    #6951,181,640,296,299,753,098,345,216,559,430
    #3871,181,640,296,299,753,098,345,216,559,430
    #18141,181,640,296,299,753,098,345,216,559,430
    #1241,181,640,296,299,753,098,345,216,559,430
    #10791,181,640,296,299,753,098,345,216,559,430
    138 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
    0xafb90184a37f417c2dee62180c9413b4bfcfdad2b2eb5b2642c7d04677766f5e1faf945b235da77191f332bbb0c71733bbc9598e2406ff91e72c44c285546a561c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x8b217e5cf20b673bccdcdd7a0375046dcb85282db59e84adbf86ce3b704cdadb
    answer type
    uint256
    consumer
    none named; signed for the zero address