From c4540ee5e2cf76a6e911867399fda25504dfd49f Mon Sep 17 00:00:00 2001 From: rolaman Date: Thu, 26 Sep 2024 16:36:18 +0300 Subject: [PATCH] demo-router: contract + task --- tasks/core/demo-router.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/core/demo-router.ts b/tasks/core/demo-router.ts index f90f8e4..c607a8a 100644 --- a/tasks/core/demo-router.ts +++ b/tasks/core/demo-router.ts @@ -166,7 +166,8 @@ task("demo-router", "Run demo with Uniswap Router").setAction( // 3. ROUTER: ADD LIQUIDITY const pairArtifact = await hre.artifacts.readArtifact("UniswapV2Pair"); - const routerArtifact = await hre.artifacts.readArtifact("UniswapV2Router01"); + const routerArtifact = + await hre.artifacts.readArtifact("UniswapV2Router01"); // Mint liquidity console.log("Adding liquidity...");