@instadapp/avocado-base 0.0.90 → 0.0.92

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.90",
3
+ "version": "0.0.92",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
package/utils/network.ts CHANGED
@@ -354,6 +354,25 @@ export const networks: Network[] = [
354
354
  },
355
355
  },
356
356
  },
357
+ {
358
+ name: "Manta Pacific",
359
+ chainId: 169,
360
+ explorerUrl: "https://manta-pacific.l2scan.co",
361
+ params: {
362
+ rpcUrls: ["https://pacific-rpc.manta.network/http"],
363
+ chainName: "Manta Pacific",
364
+ nativeCurrency: {
365
+ name: "Ethereum",
366
+ symbol: "ETH",
367
+ decimals: 18,
368
+ },
369
+ },
370
+ color: "#78d64b",
371
+ fakeTransactionHash: "0x3fB128aA5AC254C8539996B11C587E521AE0d3ab",
372
+ get serverRpcUrl() {
373
+ return process.env?.MANTA_RPC_URL || this.params.rpcUrls[0];
374
+ },
375
+ },
357
376
  {
358
377
  name: AVO_PROD_CHAIN_NAME,
359
378
  chainId: AVO_PROD_CHAIN_ID,
package/utils/utils.d.ts CHANGED
@@ -15,7 +15,8 @@ declare global {
15
15
  | 122
16
16
  | 534352
17
17
  | 204
18
- | 63400;
18
+ | 63400
19
+ | 169;
19
20
 
20
21
  type ISlackMessageType = "danger" | "error" | "success" | "banner";
21
22