Skip to content

Commit

Permalink
feat: updated fees
Browse files Browse the repository at this point in the history
  • Loading branch information
0x31 committed Jul 2, 2021
1 parent b51ef1e commit 1def747
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const config: HardhatUserConfig = {
},
networks: {
hardhat: {},
ethereum: {
ethereumMainnet: {
url: `https://mainnet.infura.io/v3/${INFURA_KEY}`,
accounts: {
mnemonic: MNEMONIC_MAINNET,
Expand Down
2 changes: 1 addition & 1 deletion scripts/1_deployGateways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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";
Expand Down
32 changes: 16 additions & 16 deletions scripts/networks.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -99,8 +99,8 @@ export const networks = {
feeRecipient: "0xE33417797d6b8Aec9171d0d6516E88002fbe23E7",
mintAuthority: "0x7f64e4e4b2d7589eb0ac8439c0e639856aeceee7",

mintFee: 25,
burnFee: 10,
mintFee: 0,
burnFee: 0,

tokenPrefix: "ren",
},
Expand Down Expand Up @@ -252,8 +252,8 @@ export const networks = {
// mintAuthority: "0x0d72570ea72626bcd049f43ced062e1ce67e616d",
mintAuthority: "0x1A5650DAd360803ea7912b7a0a747446b554a5BE",

mintFee: 25,
burnFee: 10,
mintFee: 0,
burnFee: 0,

tokenPrefix: "dev",
},
Expand Down Expand Up @@ -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",
},
Expand Down Expand Up @@ -666,8 +666,8 @@ export const networks = {
tokenPrefix: "dev",
chainName: "Fantom",

mintFee: 15,
burnFee: 15,
mintFee: 0,
burnFee: 0,
},
},

Expand Down Expand Up @@ -819,8 +819,8 @@ export const networks = {
tokenPrefix: "ren",
chainName: "Fantom",

mintFee: 15,
burnFee: 15,
mintFee: 0,
burnFee: 0,
},
},

Expand Down Expand Up @@ -971,8 +971,8 @@ export const networks = {
tokenPrefix: "ren",
chainName: "Polygon",

mintFee: 15,
burnFee: 15,
mintFee: 0,
burnFee: 0,
},
},

Expand Down Expand Up @@ -1123,8 +1123,8 @@ export const networks = {
tokenPrefix: "ren",
chainName: "Avalanche",

mintFee: 15,
burnFee: 15,
mintFee: 0,
burnFee: 0,
},
},

Expand Down

0 comments on commit 1def747

Please sign in to comment.