@instadapp/avocado-base 0.0.12 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instadapp/avocado-base",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
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,7 +137,7 @@ export const networks: Network[] = [
131
137
  {
132
138
  name: "Gnosis",
133
139
  debankName: "xdai",
134
- ankrName: "gnosis",
140
+ zerionName: "xdai",
135
141
  chainId: 100,
136
142
  balanceResolverAddress: "0xfaa244e276b1597f663975ed007ee4ff70d27849",
137
143
  explorerUrl: "https://gnosisscan.io",
@@ -172,6 +178,7 @@ export const networks: Network[] = [
172
178
  // {
173
179
  // name: "Aurora",
174
180
  // chainId: 1313161554,
181
+ // zerionName: "aurora",
175
182
  // explorerUrl: "https://explorer.mainnet.aurora.dev",
176
183
  // get serverRpcUrl() {
177
184
  // return process.env?.AURORA_RPC_URL || this.params.rpcUrls[0];
@@ -191,6 +198,7 @@ export const networks: Network[] = [
191
198
  {
192
199
  name: "Fantom",
193
200
  chainId: 250,
201
+ zerionName: "fantom",
194
202
  explorerUrl: "https://ftmscan.com",
195
203
  ankrName: "fantom",
196
204
  get serverRpcUrl() {
package/utils/utils.d.ts CHANGED
@@ -18,6 +18,7 @@ interface Network {
18
18
  name: string;
19
19
  debankName?: string;
20
20
  ankrName?: string;
21
+ zerionName?: string;
21
22
  chainId: ChainId;
22
23
  isAvocado?: boolean;
23
24
  serverRpcUrl: string | undefined;