Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAleksaOpacic committed Sep 25, 2024
1 parent e49fbc6 commit cf96db0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/core/demo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { shardNumber } from "@nilfoundation/hardhat-plugin/dist/utils/conversion";
import { waitTillCompleted } from "@nilfoundation/niljs";
import { task } from "hardhat/config";
import { encodeFunctionData } from "viem";
import type {
Currency,
UniswapV2Factory,
Expand All @@ -14,7 +15,6 @@ import {
} from "../util/currencyUtils";
import { deployNilContract } from "../util/deploy";
import { calculateOutputAmount } from "../util/math";
import { encodeFunctionData } from "viem";

task("demo", "Run demo for Uniswap Pairs and Factory").setAction(
async (taskArgs, hre) => {
Expand Down
2 changes: 1 addition & 1 deletion tasks/core/pair/burn.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { shardNumber } from "@nilfoundation/hardhat-plugin/dist/utils/conversion";
import { waitTillCompleted } from "@nilfoundation/niljs";
import { task } from "hardhat/config";
import { encodeFunctionData } from "viem";
import type { Currency, UniswapV2Pair } from "../../../typechain-types";
import { createClient } from "../../util/client";
import {encodeFunctionData} from "viem";

task("burn", "Burn liquidity tokens and print balances and reserves")
.addParam("pair", "The address of the pair contract")
Expand Down
2 changes: 1 addition & 1 deletion tasks/core/pair/mint.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { shardNumber } from "@nilfoundation/hardhat-plugin/dist/utils/conversion";
import { waitTillCompleted } from "@nilfoundation/niljs";
import { task } from "hardhat/config";
import { encodeFunctionData } from "viem";
import type { Currency, UniswapV2Pair } from "../../../typechain-types";
import { createClient } from "../../util/client";
import {encodeFunctionData} from "viem";

task("mint", "Mint currencies and add liquidity to the pair")
.addParam("pair", "The address of the pair contract")
Expand Down
2 changes: 1 addition & 1 deletion tasks/core/pair/swap.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { shardNumber } from "@nilfoundation/hardhat-plugin/dist/utils/conversion";
import { waitTillCompleted } from "@nilfoundation/niljs";
import { task } from "hardhat/config";
import { encodeFunctionData } from "viem";
import type { Currency, UniswapV2Pair } from "../../../typechain-types";
import { createClient } from "../../util/client";
import {encodeFunctionData} from "viem";

task("swap", "Swap currency0 for currency1 in the Uniswap pair")
.addParam("pair", "The address of the Uniswap pair contract")
Expand Down

0 comments on commit cf96db0

Please sign in to comment.