mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor fix
This commit is contained in:
parent
a4c6b685c7
commit
4d6fc66c68
|
@ -5,7 +5,7 @@ async function main() {
|
||||||
const accounts = await ethers.getSigners();
|
const accounts = await ethers.getSigners();
|
||||||
const wallet = accounts[0];
|
const wallet = accounts[0];
|
||||||
|
|
||||||
const connectMapping = {
|
const connectMapping: Record<string, string> = {
|
||||||
"1INCH-A": "ConnectV2OneInch",
|
"1INCH-A": "ConnectV2OneInch",
|
||||||
"1INCH-B": "ConnectV2OneProto",
|
"1INCH-B": "ConnectV2OneProto",
|
||||||
"AAVE-V1-A": "ConnectV2AaveV1",
|
"AAVE-V1-A": "ConnectV2AaveV1",
|
||||||
|
@ -21,7 +21,7 @@ async function main() {
|
||||||
"UNISWAP-A": "ConnectV2UniswapV2",
|
"UNISWAP-A": "ConnectV2UniswapV2",
|
||||||
};
|
};
|
||||||
|
|
||||||
const addressMapping = {};
|
const addressMapping: Record<string, string> = {};
|
||||||
|
|
||||||
for (const key in connectMapping) {
|
for (const key in connectMapping) {
|
||||||
addressMapping[key] = await deployConnector(connectMapping[key]);
|
addressMapping[key] = await deployConnector(connectMapping[key]);
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
"lib": ["es5", "es6"],
|
"lib": ["es5", "es6"],
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"noImplicitAny": true,
|
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user