Skip to content

Commit b667db2

Browse files
author
Lena Hierzi
committed
fix: move path an address types to address file
1 parent f98e5ef commit b667db2

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

utils/addresses.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
interface IfcPoolAddresses {
2+
BCT: string;
3+
NCT: string;
4+
}
5+
interface IfcNetworkPoolAddresses {
6+
celo: IfcPoolAddresses;
7+
alfajores: IfcPoolAddresses;
8+
polygon: IfcPoolAddresses;
9+
mumbai: IfcPoolAddresses;
10+
}
11+
112
interface IfcOneNetworkAddresses {
213
BCT: string;
314
NCT: string;

utils/paths.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
interface IfcPoolAddresses {
2-
BCT: string;
3-
NCT: string;
4-
}
51
interface IfcTokenAddresses {
62
mcUSD?: string[];
73
cUSD?: string[];
@@ -16,12 +12,6 @@ interface IfcNetworkTokenAddresses {
1612
polygon: IfcTokenAddresses;
1713
mumbai: IfcTokenAddresses;
1814
}
19-
interface IfcNetworkPoolAddresses {
20-
celo: IfcPoolAddresses;
21-
alfajores: IfcPoolAddresses;
22-
polygon: IfcPoolAddresses;
23-
mumbai: IfcPoolAddresses;
24-
}
2515

2616
const paths: IfcNetworkTokenAddresses = {
2717
celo: {
@@ -56,6 +46,11 @@ const paths: IfcNetworkTokenAddresses = {
5646
"0x874069Fa1Eb16D44d622F2e0Ca25eeA172369bC1",
5747
"0x71DB38719f9113A36e14F409bAD4F07B58b4730b",
5848
],
49+
WETH: [
50+
"0x48D380cb7de1da5d4cA0DAA696480943fD93B9fF",
51+
"0x874069Fa1Eb16D44d622F2e0Ca25eeA172369bC1",
52+
"0x71DB38719f9113A36e14F409bAD4F07B58b4730b",
53+
],
5954
},
6055
polygon: {
6156
USDC: ["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"],

0 commit comments

Comments
 (0)