Uniswap / UniswapX

🦄 Gasless ERC20 swap settlement protocol 🦄
GNU General Public License v3.0
383 stars 84 forks source link

audit(17): Omit bit masking before conversion #311

Closed alanhwu closed 1 month ago

alanhwu commented 1 month ago

In Uint16Array.sol, we can omit bit masking when retrieving a uint16 from a packed uint256