removed state.nAssets
This commit is contained in:
@@ -73,7 +73,7 @@ contract PartyPoolSwapImpl is PartyPoolBase {
|
||||
) external pure returns (uint256 amountIn, uint256 amountOut, uint256 inFee) {
|
||||
// Compute internal maxima at the price limit
|
||||
(int128 amountInInternal, int128 amountOutInternal) = LMSRStabilized.swapAmountsForPriceLimit(
|
||||
bases.length, kappa, qInternal,
|
||||
kappa, qInternal,
|
||||
inputTokenIndex, outputTokenIndex, limitPrice);
|
||||
|
||||
// Convert input to uint (ceil) and output to uint (floor)
|
||||
|
||||
Reference in New Issue
Block a user