@instadapp/avocado-base 0.0.27 → 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 +1 -1
- package/utils/metadata.ts +8 -0
package/package.json
CHANGED
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
|
|