Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyzhao451 committed Oct 3, 2024
1 parent 945d771 commit 5145305
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/viem/automan/automan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export async function requestMintOptimalV3<M extends keyof RpcReturnType>(
mintParams,
swapData,
token0FeeAmount,
token1FeeAmount
token1FeeAmount,
);
const { apertureAutomanV3 } = getAMMInfo(chainId, amm)!;
const [token0Overrides, token1Overrides] = await Promise.all([
Expand Down
4 changes: 2 additions & 2 deletions src/viem/automan/getAutomanCallData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function getAutomanV3MintOptimalCalldata(
mintParams: UniV3MintParams | SlipStreamMintParams,
swapData: Hex = '0x',
token0FeeAmount = BigInt(0),
token1FeeAmount = BigInt(0)
token1FeeAmount = BigInt(0),
): Hex {
if (amm === AutomatedMarketMakerEnum.enum.SLIPSTREAM) {
return encodeFunctionData({
Expand All @@ -59,7 +59,7 @@ export function getAutomanV3MintOptimalCalldata(
mintParams as UniV3MintParams,
swapData,
token0FeeAmount,
token1FeeAmount
token1FeeAmount,
] as const,
functionName: 'mintOptimal',
});
Expand Down
4 changes: 2 additions & 2 deletions src/viem/transaction/getOptimalMintTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export async function getOptimalMintV3Tx(
swapData: Hex,
liquidity: bigint,
token0FeeAmount = BigInt(0),
token1FeeAmount = BigInt(0)
token1FeeAmount = BigInt(0),
): Promise<{
tx: TransactionRequest;
amounts: SimulatedAmounts;
Expand Down Expand Up @@ -217,7 +217,7 @@ export async function getOptimalMintV3Tx(
mintParams,
swapData,
token0FeeAmount,
token1FeeAmount
token1FeeAmount,
);

return {
Expand Down

0 comments on commit 5145305

Please sign in to comment.