Oracle

6a35ddf2signed

On Base, what was the Uniswap v4 spot price of pool 0x61837b458644cddfafd6fb95a2c52574adf64e03d647d077c3f99aefdeaa85b3 (boar/USDC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52167548 to 52169347, about 4 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

9

the spot price of v4 pool 0x6183…85b3 at the median of 5 blocks across the window: 9

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

Work

  1. pinnedblocks 52,167,548 to 52,169,347on Base
  2. answered140 of 140 agreed140 needed
  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
    0x189b4a0304b8ab790fbe807c894c9b2a6f30433a8893ef81694660635eb305f6021d793fcfb6bd82a7af1e153e2442b23b78dcead71ac8ec08495ecbc9f41fbf1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x302fabb44aa3989a28db73f3bfac5b86aab67406475cfc1271198d36d7c02279
    answer type
    uint256
    consumer
    none named; signed for the zero address