From ad10944b63330efdbe9854e92e668ffb96ef8e26 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Wed, 7 Apr 2021 18:43:37 +0530 Subject: [PATCH] Updated connectors.json --- docs/connectors.json | 27 +++++++++++++++++---------- hardhat.config.js | 12 +++++++++--- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/docs/connectors.json b/docs/connectors.json index b8df320e..6a585a8b 100644 --- a/docs/connectors.json +++ b/docs/connectors.json @@ -1,11 +1,18 @@ -{ - "1INCH-A": "0x6C7256cf7C003dD85683339F75DdE9971f98f2FD", - "AAVE-V1-A": "0x127d8cD0E2b2E0366D522DeA53A787bfE9002C14", - "AAVE-V2-A": "0x497Bc53507DF17e60F731e9534cff74E8BC9DBb8", - "AUTHORITY-A": "0x6CE3e607C808b4f4C26B7F6aDAeB619e49CAbb25", - "BASIC-A": "0x9926955e0Dd681Dc303370C52f4Ad0a4dd061687", - "COMP-A": "0x01fEF4d2B513C9F69E34b2f93Ef707FA9Ff60109", - "COMPOUND-A": "0xcD7661f786D5fd6b87ee33497Dd9cCD3b2702012", - "MAKERDAO-A": "0x839c2D3aDe63DF5b0b8F3E57D5e145057Ab41556", - "UNISWAP-A": "0xA4BF319968986D2352FA1c550D781bBFCCE3FcaB" +{ + "1" : { + "1INCH-A": "0x6C7256cf7C003dD85683339F75DdE9971f98f2FD", + "AAVE-V1-A": "0x127d8cD0E2b2E0366D522DeA53A787bfE9002C14", + "AAVE-V2-A": "0x497Bc53507DF17e60F731e9534cff74E8BC9DBb8", + "AUTHORITY-A": "0x6CE3e607C808b4f4C26B7F6aDAeB619e49CAbb25", + "BASIC-A": "0x9926955e0Dd681Dc303370C52f4Ad0a4dd061687", + "COMP-A": "0x01fEF4d2B513C9F69E34b2f93Ef707FA9Ff60109", + "COMPOUND-A": "0xcD7661f786D5fd6b87ee33497Dd9cCD3b2702012", + "MAKERDAO-A": "0x839c2D3aDe63DF5b0b8F3E57D5e145057Ab41556", + "UNISWAP-A": "0xA4BF319968986D2352FA1c550D781bBFCCE3FcaB" + }, + "137" : { + "AUTHORITY-A" : "0xf6474aD0dA75A0dE15D2c915e601D9f754B9e6fe", + "BASIC-A": "0x1cAF5EC802ca602E98139AD96A8f2B7BC524264E", + "AAVE-V2-A" : "0xE84d8010Afc3663919F44685cB53ED88866da3eE" + } } \ No newline at end of file diff --git a/hardhat.config.js b/hardhat.config.js index 784ffcff..273ac4c2 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -29,16 +29,16 @@ module.exports = { ] }, networks: { - default: "hardhat", + // default: "hardhat", kovan: { url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`, accounts: [`0x${PRIVATE_KEY}`] }, mainnet: { - url: `https://eth.alchemyapi.io/v2/${ALCHEMY_ID}`, + url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`, accounts: [`0x${PRIVATE_KEY}`], timeout: 150000, - gasPrice: parseInt(utils.parseUnits("161", "gwei")) + gasPrice: parseInt(utils.parseUnits("132", "gwei")) }, hardhat: { forking: { @@ -47,6 +47,12 @@ module.exports = { }, blockGasLimit: 12000000, }, + matic: { + url: "https://rpc-mainnet.maticvigil.com/", + accounts: [`0x${PRIVATE_KEY}`], + timeout: 150000, + gasPrice: parseInt(utils.parseUnits("1", "gwei")) + } }, etherscan: { apiKey: process.env.ETHERSCAN_API_KEY