@instadapp/avocado-base 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/network.ts +9 -0
- package/utils/utils.d.ts +1 -0
package/package.json
CHANGED
package/utils/network.ts
CHANGED
|
@@ -7,6 +7,7 @@ export const networks: Network[] = [
|
|
|
7
7
|
name: "Mainnet",
|
|
8
8
|
debankName: "eth",
|
|
9
9
|
ankrName: "eth",
|
|
10
|
+
zerionName: "ethereum",
|
|
10
11
|
chainId: 1,
|
|
11
12
|
explorerUrl: "https://etherscan.io",
|
|
12
13
|
get serverRpcUrl() {
|
|
@@ -27,6 +28,7 @@ export const networks: Network[] = [
|
|
|
27
28
|
name: "Polygon",
|
|
28
29
|
debankName: "matic",
|
|
29
30
|
ankrName: "polygon",
|
|
31
|
+
zerionName: "polygon",
|
|
30
32
|
chainId: 137,
|
|
31
33
|
balanceResolverAddress: "0x58632D23120b20650262b8A629a14e4F4043E0D9",
|
|
32
34
|
usdcAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
|
|
@@ -48,6 +50,7 @@ export const networks: Network[] = [
|
|
|
48
50
|
name: "Arbitrum",
|
|
49
51
|
debankName: "arb",
|
|
50
52
|
ankrName: "arbitrum",
|
|
53
|
+
zerionName: "arbitrum",
|
|
51
54
|
chainId: 42161,
|
|
52
55
|
usdcAddress: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
53
56
|
balanceResolverAddress: "0xca5f37e6D8bB24c5A7958d5eccE7Bd9Aacc944f2",
|
|
@@ -69,6 +72,7 @@ export const networks: Network[] = [
|
|
|
69
72
|
name: "Optimism",
|
|
70
73
|
debankName: "op",
|
|
71
74
|
ankrName: "optimism",
|
|
75
|
+
zerionName: "optimism",
|
|
72
76
|
chainId: 10,
|
|
73
77
|
usdcAddress: "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
|
|
74
78
|
balanceResolverAddress: "0xca5f37e6D8bB24c5A7958d5eccE7Bd9Aacc944f2",
|
|
@@ -90,6 +94,7 @@ export const networks: Network[] = [
|
|
|
90
94
|
name: "Avalanche",
|
|
91
95
|
debankName: "avax",
|
|
92
96
|
ankrName: "avalanche",
|
|
97
|
+
zerionName: "avalanche",
|
|
93
98
|
chainId: 43114,
|
|
94
99
|
usdcAddress: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
|
|
95
100
|
balanceResolverAddress: "0x63009f31D054E0ac9F321Cf0D642375236A4Bf1E",
|
|
@@ -111,6 +116,7 @@ export const networks: Network[] = [
|
|
|
111
116
|
name: "BSC",
|
|
112
117
|
debankName: "bsc",
|
|
113
118
|
ankrName: "bsc",
|
|
119
|
+
zerionName: "binance-smart-chain",
|
|
114
120
|
chainId: 56,
|
|
115
121
|
explorerUrl: "https://bscscan.com",
|
|
116
122
|
usdcAddress: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
|
|
@@ -131,6 +137,7 @@ export const networks: Network[] = [
|
|
|
131
137
|
{
|
|
132
138
|
name: "Gnosis",
|
|
133
139
|
debankName: "xdai",
|
|
140
|
+
zerionName: "xdai",
|
|
134
141
|
chainId: 100,
|
|
135
142
|
balanceResolverAddress: "0xfaa244e276b1597f663975ed007ee4ff70d27849",
|
|
136
143
|
explorerUrl: "https://gnosisscan.io",
|
|
@@ -171,6 +178,7 @@ export const networks: Network[] = [
|
|
|
171
178
|
// {
|
|
172
179
|
// name: "Aurora",
|
|
173
180
|
// chainId: 1313161554,
|
|
181
|
+
// zerionName: "aurora",
|
|
174
182
|
// explorerUrl: "https://explorer.mainnet.aurora.dev",
|
|
175
183
|
// get serverRpcUrl() {
|
|
176
184
|
// return process.env?.AURORA_RPC_URL || this.params.rpcUrls[0];
|
|
@@ -190,6 +198,7 @@ export const networks: Network[] = [
|
|
|
190
198
|
{
|
|
191
199
|
name: "Fantom",
|
|
192
200
|
chainId: 250,
|
|
201
|
+
zerionName: "fantom",
|
|
193
202
|
explorerUrl: "https://ftmscan.com",
|
|
194
203
|
ankrName: "fantom",
|
|
195
204
|
get serverRpcUrl() {
|