Oracle

e52b38b6signed

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 52163948 to 52165747, about 6 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,263,819,182,375,658,522,973,313,572,118

the spot price of v4 pool 0xaf2b…41ac at the median of 5 blocks across the window: 1,263,819,182,375,658,522,973,313,572,118

1263819182375658522973313572118 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,163,948 to 52,165,747on Base
  2. answered140 of 140 agreed140 needed
    #5031,263,819,182,375,658,522,973,313,572,118
    #1151,263,819,182,375,658,522,973,313,572,118
    #8121,263,819,182,375,658,522,973,313,572,118
    #11741,263,819,182,375,658,522,973,313,572,118
    #18461,263,819,182,375,658,522,973,313,572,118
    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
    0x57ce1c2b102eb0c1533d397a28fb1fe950552371b65a6bdae90ecb28b95768b91fe96d552dc176b8601b2f1887492d49c448fe83f6f799f3c7c9522fd168de941c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x53c5e4fde4b3cdeeecd34f703083111149151dcf99301edcd8d45801592ac11a
    answer type
    uint256
    consumer
    none named; signed for the zero address