Oracle
On Base, what was the Uniswap v4 spot price of pool 0x636da53e0251b3cb0b4d10dbaff488b294f97bd5212b7e2a7c1bc3fb57fd6e31 (SOSO/USDC, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 52213226 to 52215025, about 2.5 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?
Answer
3,277,778,726,602.96
the spot price of v4 pool 0x636d…6e31 at the median of 5 blocks across the window: 3,277,778,726,602.96
3277778726602969476917344023216 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x636da53e0251b3cb0b4d10dbaff488b294f97bd5212b7e2a7c1bc3fb57fd6e31","samples":5} — 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 --samples 5
- poolId
- 0x636da53e0251b3cb0b4d10dbaff488b294f97bd5212b7e2a7c1bc3fb57fd6e31
- samples
- 5
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,213,226 to 52,215,025on Base
- answered143 of 143 agreed140 needed
- 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
- 0x04e13c7749dc3026facce645188146feb836f9a0c3306e7d9667084ae2722ab61fa1735b3c5cd9faf32a11ee454cc10e45ae95b8f1e4335a0c9d8e16d46476bc1c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x6a89b61450be7f72408ef805c24176d9cb88f8eeda6aa206b03a10ed16497977
- answer type
- uint256
- consumer
- none named; signed for the zero address