From 4bc106787be86205fb05ead7ba8a0685d34ead56 Mon Sep 17 00:00:00 2001 From: dappsar Date: Thu, 12 Oct 2023 18:37:54 -0300 Subject: [PATCH] updated contract handler name in scripts --- scripts/deployAllWithMock.ts | 2 +- scripts/deployHandler.ts | 2 +- scripts/deployHandlerWithProxy.ts | 2 +- scripts/interact-handler.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/deployAllWithMock.ts b/scripts/deployAllWithMock.ts index 7638e47..23803ee 100644 --- a/scripts/deployAllWithMock.ts +++ b/scripts/deployAllWithMock.ts @@ -27,7 +27,7 @@ async function main() { console.log("Gigacounts Token address:", token.address); // deploy handler - const ContractHandler = await ethers.getContractFactory("GigacountsContractHandlerV6"); + const ContractHandler = await ethers.getContractFactory("GigacountsContractHandler"); const contractHandler = await ContractHandler.deploy(); await contractHandler.deployed(); console.log("Gigacounts Contract Handler address:", contractHandler.address); diff --git a/scripts/deployHandler.ts b/scripts/deployHandler.ts index fadb58d..653e0d5 100644 --- a/scripts/deployHandler.ts +++ b/scripts/deployHandler.ts @@ -20,7 +20,7 @@ async function main() { console.log("Account balance:", (await deployer.getBalance()).toString()); - const ContractHandler = await ethers.getContractFactory("GigacountsContractHandlerV6"); + const ContractHandler = await ethers.getContractFactory("GigacountsContractHandler"); const contractHandler = await ContractHandler.deploy(); await contractHandler.deployed(); console.log("Gigacounts Contract Handler address:", contractHandler.address); diff --git a/scripts/deployHandlerWithProxy.ts b/scripts/deployHandlerWithProxy.ts index 84b1ef5..f78fdf1 100644 --- a/scripts/deployHandlerWithProxy.ts +++ b/scripts/deployHandlerWithProxy.ts @@ -20,7 +20,7 @@ async function main() { console.log("Account balance:", (await deployer.getBalance()).toString()); - const ContractHandler = await ethers.getContractFactory("GigacountsContractHandlerV6"); + const ContractHandler = await ethers.getContractFactory("GigacountsContractHandler"); const contractHandler = await ContractHandler.deploy(); await contractHandler.deployed(); console.log("Gigacounts Contract Handler address:", contractHandler.address); diff --git a/scripts/interact-handler.ts b/scripts/interact-handler.ts index 7735158..0c31aa3 100644 --- a/scripts/interact-handler.ts +++ b/scripts/interact-handler.ts @@ -14,7 +14,7 @@ async function main() { const tokenDecimals = await token.decimals(); console.log('Getting the Gigacounts handler contract...'); - const Handler = await ethers.getContractFactory('GigacountsContractHandlerV6'); + const Handler = await ethers.getContractFactory('GigacountsContractHandler'); const handler = await Handler.deploy() console.log('Getting Signers...');