Oracle

20394d00signed

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

Answer

305,728

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

305728 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,165,748 to 52,167,547on Base
  2. answered141 of 141 agreed140 needed
    #886305,728
    #138305,728
    #355305,728
    #963305,728
    #1219305,728
    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
    0xd0fc807019f83780f87d3fe2a5751f33165eaf1341c0ec160184d358c74b26b77c33b32bba09a5d1fd9185d5a44df99204593611585b33cd2850b8c604c42b621b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x0ea06b6cacfe1a113f3c9b89fdb1438982afd189aeed7c20fdbfef6eccf602a4
    answer type
    uint256
    consumer
    none named; signed for the zero address