Oracle

7ed755a7signed

On Base, what was the Uniswap v4 spot price of pool 0xb36fe344f4a0d6ba4ce8cbff1ad862c3493f12a890ef95ce34e0b9359b2ef2b0 (LAVA/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52169348 to 52171147, about 3 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

75,664,603,516,024,948,121

the spot price of v4 pool 0xb36f…f2b0 at the median of 9 blocks across the window: 75,664,603,516,024,948,121

75664603516024948121 uint256

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

Work

  1. pinnedblocks 52,169,348 to 52,171,147on Base
  2. answered145 of 145 agreed140 needed
    #35175,664,603,516,024,948,121
    #46375,664,603,516,024,948,121
    #21175,664,603,516,024,948,121
    #29475,664,603,516,024,948,121
    #49575,664,603,516,024,948,121
    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
    0x60c35e963b282fe0fd2896c7369a876f80ad2a2189cd296cf279d966e6b6d69f03dac58e43c3616ea063e605160fda49e609f9a773f5f05b2c152604a9c38b501c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xbb151e5afa80fa79c6cffafbc86f2baaddd51f1242b27f423c3324bd923cc8d5
    answer type
    uint256
    consumer
    none named; signed for the zero address