From 36f4ecf19644e634a5839d53aaafb2adefa53876 Mon Sep 17 00:00:00 2001 From: PlayJoker Date: Mon, 20 May 2024 17:12:38 -0700 Subject: [PATCH] updated deployed contracts --- deployment/celo-pool-contracts.csv | 1 + deployment/deployUtils.ts | 2 +- hardhat.base.ts | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/deployment/celo-pool-contracts.csv b/deployment/celo-pool-contracts.csv index fee44081..59e55151 100644 --- a/deployment/celo-pool-contracts.csv +++ b/deployment/celo-pool-contracts.csv @@ -4,3 +4,4 @@ celo,1,juniorTranche,0xaB5Ee8465c8C8d51e2cCc7d52AC53c19AF201Fa4 celo,1,poolSafe,0x1C35194ca4AB4BA266362BAD25e4C7d2748371AD celo,1,seniorTranche,0xc21a5485021C904Ed00b22BF774435a5B33c69bc celo,1,creditManager,0x4cc72E971547A625b0119f3e72877A5572daEeBb +celo,1,credit,0x39EaCecFAE2A174Dacd10D10BBD09a6DD2541C18 diff --git a/deployment/deployUtils.ts b/deployment/deployUtils.ts index ee9fa268..697b30c4 100644 --- a/deployment/deployUtils.ts +++ b/deployment/deployUtils.ts @@ -6,7 +6,7 @@ import { BigNumber as BN, ethers } from "ethers"; import fs from "fs"; const DEPLOYED_PATH = "./deployment/"; -const MAX_FEE_PER_GAS = 5_000_000_000; +const MAX_FEE_PER_GAS = 2_000_000_000; const MAX_PRIORITY_FEE_PER_GAS = 0; const getContractAddressFile = async function (fileType = "deployed", network) { diff --git a/hardhat.base.ts b/hardhat.base.ts index cb0f3fbb..7d75a69b 100644 --- a/hardhat.base.ts +++ b/hardhat.base.ts @@ -16,6 +16,7 @@ const EMPTY_URL = "empty url"; const EMPTY_PRIVATE_KEY = "0x0000000000000000000000000000000000000000000000000000000000000000"; const sepoliaUrl = process.env["SEPOLIA_URL"] || EMPTY_URL; +const amoyUrl = process.env["AMOY_URL"] || EMPTY_URL; const deployer = process.env["DEPLOYER"] || EMPTY_PRIVATE_KEY; const config: HardhatUserConfig = { @@ -47,6 +48,11 @@ const config: HardhatUserConfig = { accounts: [deployer], chainId: 84532, }, + amoy: { + url: amoyUrl, + accounts: [deployer], + chainId: 80002, + }, }, solidity: { compilers: [ @@ -67,6 +73,7 @@ const config: HardhatUserConfig = { alfajores: process.env.CELOSCAN_API_KEY || "", celo: process.env.CELOSCAN_API_KEY || "", baseSepolia: process.env.BASESCAN_API_KEY || "", + amoy: process.env.ETHERSCAN_API_KEY || "", }, customChains: [ { @@ -93,6 +100,14 @@ const config: HardhatUserConfig = { browserURL: "https://sepolia.basescan.org/", }, }, + { + network: "amoy", + chainId: 80002, + urls: { + apiURL: "https://api-amoy.polygonscan.com/api", + browserURL: "https://amoy.polygonscan.com/", + }, + }, ], }, contractSizer: {