chore: forge fmt
This commit is contained in:
@@ -42,13 +42,12 @@ contract MaverickV2Executor is IExecutor, RestrictTransferFrom {
|
|||||||
|
|
||||||
bool isTokenAIn = pool.tokenA() == tokenIn;
|
bool isTokenAIn = pool.tokenA() == tokenIn;
|
||||||
int32 tickLimit = isTokenAIn ? type(int32).max : type(int32).min;
|
int32 tickLimit = isTokenAIn ? type(int32).max : type(int32).min;
|
||||||
IMaverickV2Pool.SwapParams memory swapParams =
|
IMaverickV2Pool.SwapParams memory swapParams = IMaverickV2Pool.SwapParams({
|
||||||
IMaverickV2Pool.SwapParams({
|
amount: givenAmount,
|
||||||
amount: givenAmount,
|
tokenAIn: isTokenAIn,
|
||||||
tokenAIn: isTokenAIn,
|
exactOutput: false,
|
||||||
exactOutput: false,
|
tickLimit: tickLimit
|
||||||
tickLimit: tickLimit
|
});
|
||||||
});
|
|
||||||
|
|
||||||
_transfer(target, transferType, address(tokenIn), givenAmount);
|
_transfer(target, transferType, address(tokenIn), givenAmount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user