From 6c382ff819dffd6c53ff7e3deb40575e9fa4fe5f Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 18 Jan 2022 15:13:41 +0100 Subject: [PATCH] fix: remove unused config (#353) --- src/helpers/config/types.ts | 1 - src/ui-config/networks.ts | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/helpers/config/types.ts b/src/helpers/config/types.ts index 27568b248..f964f3b5b 100644 --- a/src/helpers/config/types.ts +++ b/src/helpers/config/types.ts @@ -38,7 +38,6 @@ export type NetworkConfig = { rewardTokenSymbol: string; rewardTokenAddress: string; rewardTokenDecimals: number; - incentivePrecision: number; usdMarket?: boolean; // function returning a link to etherscan et al explorerLink: string; diff --git a/src/ui-config/networks.ts b/src/ui-config/networks.ts index 5a12a585c..cc94ad69f 100644 --- a/src/ui-config/networks.ts +++ b/src/ui-config/networks.ts @@ -22,7 +22,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'stkAAVE', rewardTokenAddress: '0xb597cd8d3217ea6477232f9217fa70837ff667af', rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://kovan.etherscan.io', rpcOnly: true, isTestnet: true, @@ -47,7 +46,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'stkAAVE', rewardTokenAddress: '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9', rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://etherscan.io', rpcOnly: false, }, @@ -69,7 +67,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'WMATIC', rewardTokenAddress: API_ETH_MOCK_ADDRESS, rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://polygonscan.com', rpcOnly: false, bridge: { @@ -95,7 +92,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'WMATIC', rewardTokenAddress: '0x9c3c9283d3e44854697cd22d3faa240cfb032889', rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://explorer-mumbai.maticvigil.com', rpcOnly: true, isTestnet: true, @@ -117,7 +113,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'WAVAX', rewardTokenAddress: API_ETH_MOCK_ADDRESS, rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://cchain.explorer.avax-test.network', rpcOnly: true, usdMarket: true, @@ -148,7 +143,6 @@ export const networkConfigs: Record = { rewardTokenSymbol: 'WAVAX', rewardTokenAddress: API_ETH_MOCK_ADDRESS, rewardTokenDecimals: 18, - incentivePrecision: 18, explorerLink: 'https://cchain.explorer.avax.network', rpcOnly: false, usdMarket: true,