Skip to content

Commit

Permalink
fix: move path an address types to address file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lena Hierzi committed Oct 2, 2023
1 parent f06cddd commit cbf5662
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
11 changes: 11 additions & 0 deletions utils/addresses.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
interface IfcPoolAddresses {
BCT: string;
NCT: string;
}
interface IfcNetworkPoolAddresses {
celo: IfcPoolAddresses;
alfajores: IfcPoolAddresses;
polygon: IfcPoolAddresses;
mumbai: IfcPoolAddresses;
}

interface IfcOneNetworkAddresses {
BCT: string;
NCT: string;
Expand Down
15 changes: 5 additions & 10 deletions utils/paths.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
interface IfcPoolAddresses {
BCT: string;
NCT: string;
}
interface IfcTokenAddresses {
mcUSD?: string[];
cUSD?: string[];
Expand All @@ -16,12 +12,6 @@ interface IfcNetworkTokenAddresses {
polygon: IfcTokenAddresses;
mumbai: IfcTokenAddresses;
}
interface IfcNetworkPoolAddresses {
celo: IfcPoolAddresses;
alfajores: IfcPoolAddresses;
polygon: IfcPoolAddresses;
mumbai: IfcPoolAddresses;
}

const paths: IfcNetworkTokenAddresses = {
celo: {
Expand Down Expand Up @@ -56,6 +46,11 @@ const paths: IfcNetworkTokenAddresses = {
"0x874069Fa1Eb16D44d622F2e0Ca25eeA172369bC1",
"0x71DB38719f9113A36e14F409bAD4F07B58b4730b",
],
WETH: [
"0x48D380cb7de1da5d4cA0DAA696480943fD93B9fF",
"0x874069Fa1Eb16D44d622F2e0Ca25eeA172369bC1",
"0x71DB38719f9113A36e14F409bAD4F07B58b4730b",
],
},
polygon: {
USDC: ["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"],
Expand Down

0 comments on commit cbf5662

Please sign in to comment.