Oracle

31502db5signed

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

Answer

0.0000000000003

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

307069 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,210,526 to 52,212,325on Base
  2. answered142 of 142 agreed140 needed
    #1260.0000000000003
    #17050.0000000000003
    #150.0000000000003
    #2440.0000000000003
    #12070.0000000000003
    137 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x9d0747d42a6ed5cff460228b9aeb599f940b99c1eb8bd76598836dfd85850fc028e2d53857e86155bd4f46085a506613ce70e97075f5ba51da6ee0133b82f4341c
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x61ee1198aa6cd9469fae72722ad140dcd8dc26b92cebb8f5c98c8b30302ae8bf
    answer type
    uint256
    consumer
    none named; signed for the zero address