Oracle

cb35322csigned

On Base, what was the Uniswap v4 spot price of pool 0xaf2baac6d043d22f9ce14439228fbbf90c108a1dc809e32ad4e7e9e13fc941ac (VIRTUAL/USDC, currency0/currency1) at the window's last block (blocks 52165748 to 52167547, about 5 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,230,200,650,711,684,136,518,448,803,496

the spot price of v4 pool 0xaf2b…41ac at the closing block: 1,230,200,650,711,684,136,518,448,803,496

1230200650711684136518448803496 uint256

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

Work

  1. pinnedblocks 52,165,748 to 52,167,547on Base
  2. answered141 of 141 agreed140 needed
    #8121,230,200,650,711,684,136,518,448,803,496
    #1741,230,200,650,711,684,136,518,448,803,496
    #16731,230,200,650,711,684,136,518,448,803,496
    #3281,230,200,650,711,684,136,518,448,803,496
    #19671,230,200,650,711,684,136,518,448,803,496
    136 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
    0xc32e57ffd888731ba4df558fe4464f09bfabbf09993cad503ca41c00a5a82ba568a44f8253af24267e1c0a5ba63cc4becd25267a3875a556adf958acdca3fc521b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x0a66ff5de73a555d124a37832a92154b9c03707912385a7f67795d09fec15d76
    answer type
    uint256
    consumer
    none named; signed for the zero address