From 637a89516d1b09a87877ee304592a02b3ccb0ada Mon Sep 17 00:00:00 2001 From: Yudi Levi Date: Thu, 28 Dec 2023 13:45:05 +0000 Subject: [PATCH] fixed references in enableTrading script --- scripts/enableTrading.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/enableTrading.ts b/scripts/enableTrading.ts index d5625573..772a4f4e 100644 --- a/scripts/enableTrading.ts +++ b/scripts/enableTrading.ts @@ -13,7 +13,6 @@ interface EnvOptions { } const { ENABLE_TRADING: enableTrading }: EnvOptions = process.env as any as EnvOptions; - interface TokenData { address: string; ethVirtualBalance: Decimal; @@ -144,8 +143,8 @@ const main = async () => { args: [ token, { - ethAmount: ethVirtualBalance.toFixed().toString(), - tokenAmount: tokenVirtualBalance.toFixed().toString() + sourceAmount: ethVirtualBalance.toFixed().toString(), + targetAmount: tokenVirtualBalance.toFixed().toString() } ], from: deployer.address