@instadapp/avocado-base 0.0.26 → 0.0.28

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.26",
3
+ "version": "0.0.28",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
package/utils/metadata.ts CHANGED
@@ -42,6 +42,7 @@ const actionMetadataTypes = {
42
42
  "uint160 amount",
43
43
  "uint48 expiration",
44
44
  ],
45
+ castDetails: ["string castDetails"],
45
46
  };
46
47
 
47
48
  const encodeMetadata = (props: MetadataProps) => {
@@ -395,6 +396,13 @@ export const decodeMetadata = (data: string) => {
395
396
  remove: decodedData.remove,
396
397
  };
397
398
 
399
+ break;
400
+ case "castDetails":
401
+ payload = {
402
+ type,
403
+ castDetails: decodedData.castDetails,
404
+ };
405
+
398
406
  break;
399
407
  }
400
408
 
package/utils/network.ts CHANGED
@@ -114,7 +114,7 @@ export const networks: Network[] = [
114
114
  symbol: "AVAX",
115
115
  decimals: 18,
116
116
  },
117
- rpcUrls: ["https://api.avax.network/ext/bc/C/rpc"],
117
+ rpcUrls: ["https://rpc.ankr.com/avalanche"],
118
118
  },
119
119
  },
120
120
  {
@@ -174,7 +174,7 @@ export const networks: Network[] = [
174
174
  },
175
175
  params: {
176
176
  chainName: "polygon zkEVM",
177
- rpcUrls: ["https://rpc.ankr.com/polygon_zkevm"],
177
+ rpcUrls: ["https://zkevm-rpc.com"],
178
178
 
179
179
  nativeCurrency: {
180
180
  name: "Ethereum",