Oracle

48edee3fsigned

On Base, what was the Uniswap v4 spot price of pool 0x636da53e0251b3cb0b4d10dbaff488b294f97bd5212b7e2a7c1bc3fb57fd6e31 (SOSO/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52172048 to 52173847, about 1.5 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

302,437

the spot price of v4 pool 0x636d…6e31 at the median of 9 blocks across the window: 302,437

302437 uint256

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

Work

  1. pinnedblocks 52,172,048 to 52,173,847on Base
  2. answered145 of 145 agreed140 needed
    #1376302,437
    #993302,437
    #1242302,437
    #1085302,437
    #862302,437
    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
    0x0a59db4d981cec6e5faf60c38515ca921c49d585d1f3a82c4068d94e5793a64a528157bda1d35b33380f47687fb5ad163996b88313d2c0c135b028288acf289a1b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x8d80a444520f0b9c1b1b92ca6e9edf56cb10d136493315904e0ba3f7e6eff86c
    answer type
    uint256
    consumer
    none named; signed for the zero address