@instadapp/avocado-base 0.0.19 → 0.0.20
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 +11 -0
- package/utils/utils.d.ts +1 -0
package/package.json
CHANGED
package/utils/network.ts
CHANGED
|
@@ -10,6 +10,7 @@ export const networks: Network[] = [
|
|
|
10
10
|
zerionName: "ethereum",
|
|
11
11
|
chainId: 1,
|
|
12
12
|
explorerUrl: "https://etherscan.io",
|
|
13
|
+
color: "#5D5FEF",
|
|
13
14
|
get serverRpcUrl() {
|
|
14
15
|
return process.env?.MAINNET_RPC_URL || this.params.rpcUrls[0];
|
|
15
16
|
},
|
|
@@ -29,6 +30,7 @@ export const networks: Network[] = [
|
|
|
29
30
|
debankName: "matic",
|
|
30
31
|
ankrName: "polygon",
|
|
31
32
|
zerionName: "polygon",
|
|
33
|
+
color: "#7A4ADD",
|
|
32
34
|
chainId: 137,
|
|
33
35
|
balanceResolverAddress: "0x58632D23120b20650262b8A629a14e4F4043E0D9",
|
|
34
36
|
usdcAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
|
|
@@ -51,6 +53,7 @@ export const networks: Network[] = [
|
|
|
51
53
|
debankName: "arb",
|
|
52
54
|
ankrName: "arbitrum",
|
|
53
55
|
zerionName: "arbitrum",
|
|
56
|
+
color: "#2D374B",
|
|
54
57
|
chainId: 42161,
|
|
55
58
|
usdcAddress: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
56
59
|
balanceResolverAddress: "0xca5f37e6D8bB24c5A7958d5eccE7Bd9Aacc944f2",
|
|
@@ -73,6 +76,7 @@ export const networks: Network[] = [
|
|
|
73
76
|
debankName: "op",
|
|
74
77
|
ankrName: "optimism",
|
|
75
78
|
zerionName: "optimism",
|
|
79
|
+
color: "#FF0420",
|
|
76
80
|
chainId: 10,
|
|
77
81
|
usdcAddress: "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
|
|
78
82
|
balanceResolverAddress: "0xca5f37e6D8bB24c5A7958d5eccE7Bd9Aacc944f2",
|
|
@@ -95,6 +99,7 @@ export const networks: Network[] = [
|
|
|
95
99
|
debankName: "avax",
|
|
96
100
|
ankrName: "avalanche",
|
|
97
101
|
zerionName: "avalanche",
|
|
102
|
+
color: "#EB5757",
|
|
98
103
|
chainId: 43114,
|
|
99
104
|
usdcAddress: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
|
|
100
105
|
balanceResolverAddress: "0x63009f31D054E0ac9F321Cf0D642375236A4Bf1E",
|
|
@@ -117,6 +122,7 @@ export const networks: Network[] = [
|
|
|
117
122
|
debankName: "bsc",
|
|
118
123
|
ankrName: "bsc",
|
|
119
124
|
zerionName: "binance-smart-chain",
|
|
125
|
+
color: "#F3BA2F",
|
|
120
126
|
chainId: 56,
|
|
121
127
|
explorerUrl: "https://bscscan.com",
|
|
122
128
|
usdcAddress: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
|
|
@@ -138,6 +144,7 @@ export const networks: Network[] = [
|
|
|
138
144
|
name: "Gnosis",
|
|
139
145
|
debankName: "xdai",
|
|
140
146
|
zerionName: "xdai",
|
|
147
|
+
color: "#04795C",
|
|
141
148
|
chainId: 100,
|
|
142
149
|
balanceResolverAddress: "0xfaa244e276b1597f663975ed007ee4ff70d27849",
|
|
143
150
|
explorerUrl: "https://gnosisscan.io",
|
|
@@ -158,6 +165,7 @@ export const networks: Network[] = [
|
|
|
158
165
|
{
|
|
159
166
|
name: "Polygon zkEVM",
|
|
160
167
|
chainId: 1101,
|
|
168
|
+
color: "#8544f6",
|
|
161
169
|
explorerUrl: "https://zkevm.polygonscan.com",
|
|
162
170
|
balanceResolverAddress: "0x48D1Fa5Ee6691a1E0B45d2B515650997BEA27a01",
|
|
163
171
|
usdcAddress: "0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035",
|
|
@@ -201,6 +209,7 @@ export const networks: Network[] = [
|
|
|
201
209
|
zerionName: "fantom",
|
|
202
210
|
explorerUrl: "https://ftmscan.com",
|
|
203
211
|
ankrName: "fantom",
|
|
212
|
+
color: "#1969ff",
|
|
204
213
|
get serverRpcUrl() {
|
|
205
214
|
return process.env?.FANTOM_RPC_URL || this.params.rpcUrls[0];
|
|
206
215
|
},
|
|
@@ -221,6 +230,7 @@ export const networks: Network[] = [
|
|
|
221
230
|
chainId: AVO_PROD_CHAIN_ID,
|
|
222
231
|
isAvocado: true,
|
|
223
232
|
balanceResolverAddress: "",
|
|
233
|
+
color: "#16A34A",
|
|
224
234
|
usdcAddress: "",
|
|
225
235
|
serverRpcUrl: AVO_PROD_RPC_URL,
|
|
226
236
|
explorerUrl: AVO_PROD_EXPLORER_URL,
|
|
@@ -239,6 +249,7 @@ export const networks: Network[] = [
|
|
|
239
249
|
name: AVO_STAGING_CHAIN_NAME,
|
|
240
250
|
chainId: AVO_STAGING_CHAIN_ID,
|
|
241
251
|
serverRpcUrl: AVO_STAGING_RPC_URL,
|
|
252
|
+
color: "#16A34A",
|
|
242
253
|
explorerUrl: AVO_STAGING_EXPLORER_URL,
|
|
243
254
|
isAvocado: true,
|
|
244
255
|
balanceResolverAddress: "",
|