From de4aec2804817174928ca17c7005f456392ed85c Mon Sep 17 00:00:00 2001 From: David Racero Date: Fri, 12 Mar 2021 18:06:15 +0100 Subject: [PATCH] Set configs for matic. Minor changes to polygon utils and tasks. --- helpers/polygon-utils.ts | 8 +------- markets/matic/commons.ts | 12 ++++++------ tasks/deployments/deploy-UiPoolDataProvider.ts | 2 +- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/helpers/polygon-utils.ts b/helpers/polygon-utils.ts index b832c754..555d2096 100644 --- a/helpers/polygon-utils.ts +++ b/helpers/polygon-utils.ts @@ -1,14 +1,8 @@ import axios from 'axios'; import { Contract } from 'ethers/lib/ethers'; import { HardhatRuntimeEnvironment } from 'hardhat/types'; -import { source } from 'lowdb/adapters/FileSync'; -import { file } from 'tmp-promise'; import { DRE } from './misc-utils'; -import { eEthereumNetwork, ePolygonNetwork, EthereumNetworkNames } from './types'; -import curlirize from 'axios-curlirize'; - -// Initialize Curlizie to add curl logs -curlirize(axios); +import { ePolygonNetwork, EthereumNetworkNames } from './types'; const TASK_FLATTEN_GET_FLATTENED_SOURCE = 'flatten:get-flattened-sources'; const TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS = 'compile:solidity:get-source-paths'; diff --git a/markets/matic/commons.ts b/markets/matic/commons.ts index 7dab44ad..04523db2 100644 --- a/markets/matic/commons.ts +++ b/markets/matic/commons.ts @@ -74,28 +74,28 @@ export const CommonsConfig: ICommonConfiguration = { }, LendingPool: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0xABdC61Cd16e5111f335f4135B7A0e65Cc7F86327', + [ePolygonNetwork.matic]: '', }, LendingPoolConfigurator: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0x17c4A170FFF882862F656597889016D3a6073534', + [ePolygonNetwork.matic]: '', }, EmergencyAdminIndex: 0, ProviderRegistry: { [ePolygonNetwork.mumbai]: '0x27453A916e91Fb922d309D92e637C0b6625846dF', // TEMP - [ePolygonNetwork.matic]: '0x28334e4791860a0c1eCF89a62B973ba04a5d643F', // TEMP + [ePolygonNetwork.matic]: '0x5572463B58087f2849309E863C63b7beb10f812D', }, ProviderRegistryOwner: { [ePolygonNetwork.mumbai]: '0xa6842C2C7fece4Cdc6a4aaaD331eb1c7910e419A', // TEMP - [ePolygonNetwork.matic]: '0x85e4A467343c0dc4aDAB74Af84448D9c45D8ae6F', // TEMP + [ePolygonNetwork.matic]: '0x7606c4AEca065d373b3F0b048536174908FcA853', }, LendingRateOracle: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '', + [ePolygonNetwork.matic]: '0xAD41Cb02f7BFb6D00e99F47cde6669e44c7C1CC0', }, LendingPoolCollateralManager: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0x9Af76e0575D139570D3B4c821567Fe935E8c25C5', + [ePolygonNetwork.matic]: '', }, TokenDistributor: { [ePolygonNetwork.mumbai]: '', diff --git a/tasks/deployments/deploy-UiPoolDataProvider.ts b/tasks/deployments/deploy-UiPoolDataProvider.ts index cfe5141a..370e9617 100644 --- a/tasks/deployments/deploy-UiPoolDataProvider.ts +++ b/tasks/deployments/deploy-UiPoolDataProvider.ts @@ -25,5 +25,5 @@ task(`deploy-${eContractid.UiPoolDataProvider}`, `Deploys the UiPoolDataProvider await verifyContract(eContractid.UiPoolDataProvider, uiPoolDataProvider, []); } - console.log(`\tFinished UiPoolDataProvider proxy and implementation deployment`); + console.log(`\tFinished UiPoolDataProvider deployment`); });