Skip to content

Commit ba2b8b6

Browse files
authored
Merge pull request #1322 from AmbireTech/config/additional-networks
Feature / Mechanism to update network(s) config externally
2 parents e126925 + 0fa75e4 commit ba2b8b6

File tree

113 files changed

+2245
-1692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2245
-1692
lines changed

src/README.md

+26-16
Large diffs are not rendered by default.

src/consts/feeTokens.ts

+25-25
Original file line numberDiff line numberDiff line change
@@ -6,126 +6,126 @@ export default [
66
{
77
// wrapped eth
88
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
9-
networkId: 'ethereum'
9+
chainId: 1n
1010
},
1111
{
1212
// USDC
1313
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
14-
networkId: 'ethereum'
14+
chainId: 1n
1515
},
1616
{
1717
// USDT
1818
address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
19-
networkId: 'ethereum'
19+
chainId: 1n
2020
},
2121
{
2222
// DAI
2323
address: '0x6b175474e89094c44da98b954eedeac495271d0f',
24-
networkId: 'ethereum'
24+
chainId: 1n
2525
},
2626
{
2727
// wBTC
2828
address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599',
29-
networkId: 'ethereum'
29+
chainId: 1n
3030
},
3131
{
3232
// WALLET
3333
address: '0x88800092fF476844f74dC2FC427974BBee2794Ae',
34-
networkId: 'ethereum'
34+
chainId: 1n
3535
},
3636
{
3737
// Aave interest bearing USDC (aUSDC)
3838
address: '0xbcca60bb61934080951369a648fb03df4f96263c',
39-
networkId: 'ethereum'
39+
chainId: 1n
4040
},
4141
{
4242
// Aave interest bearing USDT (aUSDT)
4343
address: '0x3ed3b47dd13ec9a98b44e6204a523e766b225811',
44-
networkId: 'ethereum'
44+
chainId: 1n
4545
},
4646
{
4747
// Aave interest bearing WBTC (aWBTC)
4848
address: '0x9ff58f4ffb29fa2266ab25e75e2a8b3503311656',
49-
networkId: 'ethereum'
49+
chainId: 1n
5050
},
5151
{
5252
// Aave interest bearing WETH (aWETH)
5353
address: '0x030ba81f1c18d280636f32af80b9aad02cf0854e',
54-
networkId: 'ethereum'
54+
chainId: 1n
5555
},
5656
{
5757
// Fulcrum DAI iToken (iDAI)
5858
address: '0x493c57c4763932315a328269e1adad09653b9081',
59-
networkId: 'ethereum'
59+
chainId: 1n
6060
},
6161
{
6262
// BNT
6363
address: '0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c',
64-
networkId: 'ethereum'
64+
chainId: 1n
6565
},
6666
{
6767
// USDC
6868
address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E',
69-
networkId: 'avalanche'
69+
chainId: 43114n
7070
},
7171
{
7272
// USDC
7373
address: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
74-
networkId: 'polygon'
74+
chainId: 137n
7575
},
7676
{
7777
// USDC.e
7878
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
79-
networkId: 'polygon'
79+
chainId: 137n
8080
},
8181
{
8282
// USDT
8383
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
84-
networkId: 'polygon'
84+
chainId: 137n
8585
},
8686
{
8787
// USDT.e
8888
address: '0xc7198437980c041c805a1edcba50c1ce5db95118',
89-
networkId: 'avalanche'
89+
chainId: 43114n
9090
},
9191
{
9292
// USDT
9393
address: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58',
94-
networkId: 'optimism'
94+
chainId: 10n
9595
},
9696
{
9797
// USDC.e
9898
address: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
99-
networkId: 'optimism'
99+
chainId: 10n
100100
},
101101
{
102102
// USDC
103103
address: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
104-
networkId: 'optimism'
104+
chainId: 10n
105105
},
106106
{
107107
// DAI
108108
address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
109-
networkId: 'optimism'
109+
chainId: 10n
110110
},
111111
{
112112
// USDT
113113
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9',
114-
networkId: 'arbitrum'
114+
chainId: 42161n
115115
},
116116
{
117117
// USDC.e
118118
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
119-
networkId: 'arbitrum'
119+
chainId: 42161n
120120
},
121121
{
122122
// DAI
123123
address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
124-
networkId: 'arbitrum'
124+
chainId: 42161n
125125
},
126126
{
127127
// USDC
128128
address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
129-
networkId: 'arbitrum'
129+
chainId: 42161n
130130
}
131131
]

0 commit comments

Comments
 (0)