Skip to content

Commit

Permalink
updated deployed contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayJok3r committed May 21, 2024
1 parent 0480912 commit 36f4ecf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions deployment/celo-pool-contracts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ celo,1,juniorTranche,0xaB5Ee8465c8C8d51e2cCc7d52AC53c19AF201Fa4
celo,1,poolSafe,0x1C35194ca4AB4BA266362BAD25e4C7d2748371AD
celo,1,seniorTranche,0xc21a5485021C904Ed00b22BF774435a5B33c69bc
celo,1,creditManager,0x4cc72E971547A625b0119f3e72877A5572daEeBb
celo,1,credit,0x39EaCecFAE2A174Dacd10D10BBD09a6DD2541C18
2 changes: 1 addition & 1 deletion deployment/deployUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
15 changes: 15 additions & 0 deletions hardhat.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -47,6 +48,11 @@ const config: HardhatUserConfig = {
accounts: [deployer],
chainId: 84532,
},
amoy: {
url: amoyUrl,
accounts: [deployer],
chainId: 80002,
},
},
solidity: {
compilers: [
Expand All @@ -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: [
{
Expand All @@ -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: {
Expand Down

0 comments on commit 36f4ecf

Please sign in to comment.