Submitted by ZanyBonzy
https://github.com/code-423n4/2024-10-superposition/blob/7ad51104a8514d46e5c3d756264564426f2927fe/pkg/sol/SeawaterAMM.sol#L160-L168 
https://github.com/code-423n4/2024-10-superposition/blob/7ad51104a8514d46e5c3d756264564426f2927fe/pkg/seawater/src/lib.rs#L802
SeaWaterAMM.sol holds the createPoolD650E2D0 which allows the admin to initialize a new pool. It calls the create_pool_D650_E2_D0 function in the stylus.
As can be seen from the create_pool_D650_E2_D0 function, it takes in the token address, sqrtPriceX96 and fee.
But createPoolD650E2D0s definition takens in more, token address, sqrtPriceX96, fee, tick spacing and maxLiquidityPerTick, causing a mismatch between the function definitions of the Solidity and Stylus contracts.
Calls to the function will always fail, breaking SeawaterAMM.sols functionality to create a pool position.
Remove the unneeded parameters.
Context
af-afk (Superposition) confirmed
0xsomeone (judge) increased severity to High and commented:
DadeKuma (warden) commented:
0xsomeone (judge) commented:
