From 1def7477db2e869281104f69c9aa295b8f8b1b99 Mon Sep 17 00:00:00 2001 From: noiach Date: Fri, 2 Jul 2021 15:46:05 +1000 Subject: [PATCH] feat: updated fees --- hardhat.config.ts | 2 +- scripts/1_deployGateways.ts | 2 +- scripts/networks.ts | 32 ++++++++++++++++---------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 344c891..bc17a5b 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -40,7 +40,7 @@ const config: HardhatUserConfig = { }, networks: { hardhat: {}, - ethereum: { + ethereumMainnet: { url: `https://mainnet.infura.io/v3/${INFURA_KEY}`, accounts: { mnemonic: MNEMONIC_MAINNET, diff --git a/scripts/1_deployGateways.ts b/scripts/1_deployGateways.ts index 2a689b4..31e5a21 100644 --- a/scripts/1_deployGateways.ts +++ b/scripts/1_deployGateways.ts @@ -2,6 +2,7 @@ import { keccak256 } from "ethereumjs-util"; import { ethers } from "hardhat"; import { fromWei, toChecksumAddress } from "web3-utils"; +import chalk from "chalk"; import { BasicAdapter, BasicAdapter__factory, @@ -19,7 +20,6 @@ import { import { encodeCallData } from "./encode"; import { networks } from "./networks"; import { at, deploy, printDeployerInfo, sleep } from "./utils"; -import chalk from "chalk"; const NULL = "0x0000000000000000000000000000000000000000"; const NULL1 = "0x0000000000000000000000000000000000000001"; diff --git a/scripts/networks.ts b/scripts/networks.ts index b86a856..3f1d5e9 100644 --- a/scripts/networks.ts +++ b/scripts/networks.ts @@ -1,8 +1,8 @@ const config = { governanceAddress: "", // defaults to deployer mintAuthority: "", // RenVM public key - mintFee: 25, - burnFee: 10, + mintFee: 0, + burnFee: 0, // Overwritten by each network configuration. tokenPrefix: "mock", @@ -99,8 +99,8 @@ export const networks = { feeRecipient: "0xE33417797d6b8Aec9171d0d6516E88002fbe23E7", mintAuthority: "0x7f64e4e4b2d7589eb0ac8439c0e639856aeceee7", - mintFee: 25, - burnFee: 10, + mintFee: 0, + burnFee: 0, tokenPrefix: "ren", }, @@ -252,8 +252,8 @@ export const networks = { // mintAuthority: "0x0d72570ea72626bcd049f43ced062e1ce67e616d", mintAuthority: "0x1A5650DAd360803ea7912b7a0a747446b554a5BE", - mintFee: 25, - burnFee: 10, + mintFee: 0, + burnFee: 0, tokenPrefix: "dev", }, @@ -306,8 +306,8 @@ export const networks = { feeRecipient: "0xE33417797d6b8Aec9171d0d6516E88002fbe23E7", // defaults to deployer mintAuthority: "0x7f64e4e4b2d7589eb0ac8439c0e639856aeceee7", // defaults to deployer - mintFee: 25, - burnFee: 10, + mintFee: 0, + burnFee: 0, tokenPrefix: "ren", }, @@ -666,8 +666,8 @@ export const networks = { tokenPrefix: "dev", chainName: "Fantom", - mintFee: 15, - burnFee: 15, + mintFee: 0, + burnFee: 0, }, }, @@ -819,8 +819,8 @@ export const networks = { tokenPrefix: "ren", chainName: "Fantom", - mintFee: 15, - burnFee: 15, + mintFee: 0, + burnFee: 0, }, }, @@ -971,8 +971,8 @@ export const networks = { tokenPrefix: "ren", chainName: "Polygon", - mintFee: 15, - burnFee: 15, + mintFee: 0, + burnFee: 0, }, }, @@ -1123,8 +1123,8 @@ export const networks = { tokenPrefix: "ren", chainName: "Avalanche", - mintFee: 15, - burnFee: 15, + mintFee: 0, + burnFee: 0, }, },