@misofm/sdk 0.1.1 → 0.2.1

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.
Files changed (171) hide show
  1. package/README.md +138 -10
  2. package/dist/catalog.d.ts +30 -0
  3. package/dist/catalog.d.ts.map +1 -1
  4. package/dist/catalog.js +60 -1
  5. package/dist/catalog.js.map +1 -1
  6. package/dist/contracts/composition_credits/composition_credits.d.ts +181 -0
  7. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -0
  8. package/dist/contracts/composition_credits/composition_credits.js +109 -0
  9. package/dist/contracts/composition_credits/composition_credits.js.map +1 -0
  10. package/dist/contracts/composition_credits/composition_party_role.d.ts +119 -0
  11. package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -0
  12. package/dist/contracts/composition_credits/composition_party_role.js +139 -0
  13. package/dist/contracts/composition_credits/composition_party_role.js.map +1 -0
  14. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts +24 -0
  15. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -0
  16. package/dist/contracts/composition_credits/deps/miso_credit/credit.js +23 -0
  17. package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -0
  18. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts +37 -0
  19. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -0
  20. package/dist/contracts/composition_credits/deps/sui/vec_map.js +28 -0
  21. package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -0
  22. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +87 -0
  23. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -0
  24. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +80 -0
  25. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -0
  26. package/dist/contracts/cover_art/cover_art.d.ts +85 -0
  27. package/dist/contracts/cover_art/cover_art.d.ts.map +1 -0
  28. package/dist/contracts/cover_art/cover_art.js +68 -0
  29. package/dist/contracts/cover_art/cover_art.js.map +1 -0
  30. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts +52 -0
  31. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts.map +1 -0
  32. package/dist/contracts/cover_art/deps/ori/walrus_data.js +37 -0
  33. package/dist/contracts/cover_art/deps/ori/walrus_data.js.map +1 -0
  34. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts +24 -0
  35. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -0
  36. package/dist/contracts/recording_credits/deps/miso_credit/credit.js +23 -0
  37. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -0
  38. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts +37 -0
  39. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -0
  40. package/dist/contracts/recording_credits/deps/sui/vec_map.js +28 -0
  41. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -0
  42. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts +21 -0
  43. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -0
  44. package/dist/contracts/recording_credits/deps/sui/vec_set.js +20 -0
  45. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -0
  46. package/dist/contracts/recording_credits/recording_credits.d.ts +2313 -0
  47. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -0
  48. package/dist/contracts/recording_credits/recording_credits.js +270 -0
  49. package/dist/contracts/recording_credits/recording_credits.js.map +1 -0
  50. package/dist/contracts/recording_credits/recording_party_role.d.ts +1174 -0
  51. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -0
  52. package/dist/contracts/recording_credits/recording_party_role.js +692 -0
  53. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -0
  54. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +90 -0
  55. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -0
  56. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +80 -0
  57. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -0
  58. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts +52 -0
  59. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts.map +1 -0
  60. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js +37 -0
  61. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js.map +1 -0
  62. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +46 -0
  63. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -0
  64. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +21 -0
  65. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -0
  66. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts +33 -0
  67. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -0
  68. package/dist/contracts/release_cover_art/deps/per_track/per_track.js +32 -0
  69. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -0
  70. package/dist/contracts/release_cover_art/release_cover_art.d.ts +300 -0
  71. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -0
  72. package/dist/contracts/release_cover_art/release_cover_art.js +168 -0
  73. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -0
  74. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts +24 -0
  75. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -0
  76. package/dist/contracts/release_credits/deps/miso_credit/credit.js +23 -0
  77. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -0
  78. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts +37 -0
  79. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -0
  80. package/dist/contracts/release_credits/deps/sui/vec_map.js +28 -0
  81. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -0
  82. package/dist/contracts/release_credits/release_credits.d.ts +142 -0
  83. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -0
  84. package/dist/contracts/release_credits/release_credits.js +108 -0
  85. package/dist/contracts/release_credits/release_credits.js.map +1 -0
  86. package/dist/contracts/release_credits/release_party_role.d.ts +58 -0
  87. package/dist/contracts/release_credits/release_party_role.d.ts.map +1 -0
  88. package/dist/contracts/release_credits/release_party_role.js +66 -0
  89. package/dist/contracts/release_credits/release_party_role.js.map +1 -0
  90. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +18 -0
  91. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -0
  92. package/dist/contracts/royalty_pool/deps/std/type_name.js +20 -0
  93. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -0
  94. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +13 -0
  95. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -0
  96. package/dist/contracts/royalty_pool/deps/sui/balance.js +15 -0
  97. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -0
  98. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts +37 -0
  99. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -0
  100. package/dist/contracts/royalty_pool/deps/sui/vec_map.js +28 -0
  101. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -0
  102. package/dist/contracts/royalty_pool/pool.d.ts +358 -0
  103. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -0
  104. package/dist/contracts/royalty_pool/pool.js +352 -0
  105. package/dist/contracts/royalty_pool/pool.js.map +1 -0
  106. package/dist/contracts/royalty_pool/stake.d.ts +202 -0
  107. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -0
  108. package/dist/contracts/royalty_pool/stake.js +197 -0
  109. package/dist/contracts/royalty_pool/stake.js.map +1 -0
  110. package/dist/contracts.d.ts +16 -0
  111. package/dist/contracts.d.ts.map +1 -0
  112. package/dist/contracts.js +29 -0
  113. package/dist/contracts.js.map +1 -0
  114. package/dist/cover.d.ts +48 -0
  115. package/dist/cover.d.ts.map +1 -0
  116. package/dist/cover.js +68 -0
  117. package/dist/cover.js.map +1 -0
  118. package/dist/credits.d.ts +171 -0
  119. package/dist/credits.d.ts.map +1 -0
  120. package/dist/credits.js +362 -0
  121. package/dist/credits.js.map +1 -0
  122. package/dist/extensions/royalty-pool.d.ts +32 -0
  123. package/dist/extensions/royalty-pool.d.ts.map +1 -0
  124. package/dist/extensions/royalty-pool.js +33 -0
  125. package/dist/extensions/royalty-pool.js.map +1 -0
  126. package/dist/index.d.ts +4 -0
  127. package/dist/index.d.ts.map +1 -1
  128. package/dist/index.js +17 -3
  129. package/dist/index.js.map +1 -1
  130. package/dist/internal.d.ts +4 -0
  131. package/dist/internal.d.ts.map +1 -0
  132. package/dist/internal.js +18 -0
  133. package/dist/internal.js.map +1 -0
  134. package/dist/release-graph.d.ts.map +1 -1
  135. package/dist/release-graph.js +5 -4
  136. package/dist/release-graph.js.map +1 -1
  137. package/package.json +14 -2
  138. package/src/catalog.ts +118 -0
  139. package/src/contracts/composition_credits/composition_credits.ts +169 -0
  140. package/src/contracts/composition_credits/composition_party_role.ts +189 -0
  141. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +27 -0
  142. package/src/contracts/composition_credits/deps/sui/vec_map.ts +33 -0
  143. package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +135 -0
  144. package/src/contracts/cover_art/cover_art.ts +99 -0
  145. package/src/contracts/cover_art/deps/ori/walrus_data.ts +36 -0
  146. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +27 -0
  147. package/src/contracts/recording_credits/deps/sui/vec_map.ts +33 -0
  148. package/src/contracts/recording_credits/deps/sui/vec_set.ts +21 -0
  149. package/src/contracts/recording_credits/recording_credits.ts +458 -0
  150. package/src/contracts/recording_credits/recording_party_role.ts +1041 -0
  151. package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +138 -0
  152. package/src/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.ts +36 -0
  153. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +23 -0
  154. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +36 -0
  155. package/src/contracts/release_cover_art/release_cover_art.ts +251 -0
  156. package/src/contracts/release_credits/deps/miso_credit/credit.ts +27 -0
  157. package/src/contracts/release_credits/deps/sui/vec_map.ts +33 -0
  158. package/src/contracts/release_credits/release_credits.ts +156 -0
  159. package/src/contracts/release_credits/release_party_role.ts +87 -0
  160. package/src/contracts/royalty_pool/deps/std/type_name.ts +22 -0
  161. package/src/contracts/royalty_pool/deps/sui/balance.ts +17 -0
  162. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +33 -0
  163. package/src/contracts/royalty_pool/pool.ts +577 -0
  164. package/src/contracts/royalty_pool/stake.ts +317 -0
  165. package/src/contracts.ts +33 -0
  166. package/src/cover.ts +140 -0
  167. package/src/credits.ts +665 -0
  168. package/src/extensions/royalty-pool.ts +90 -0
  169. package/src/index.ts +19 -3
  170. package/src/internal.ts +19 -0
  171. package/src/release-graph.ts +5 -10
@@ -0,0 +1,85 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * The evolvable cover art value used by the recording/release cover art
6
+ * extensions.
7
+ *
8
+ * CoverArt format changes over time (static-only → +animated → future formats).
9
+ * Keeping it in an extension rather than immutable core means a new format is a
10
+ * republish of this small package (or a brand-new cover art standard), not of the
11
+ * frozen protocol. `CoverArt` references external storage via `ori::WalrusData`.
12
+ */
13
+ import { MoveStruct } from '../utils/index.js';
14
+ import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
15
+ export declare const CoverArt: MoveStruct<{
16
+ still: import("../utils/index.js").MoveEnum<{
17
+ Blob: import("../utils/index.js").MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, import("../utils/index.js").MoveEnum<{
18
+ Unencrypted: null;
19
+ Encrypted: MoveStruct<{
20
+ dek: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
21
+ length: number;
22
+ }, string>;
23
+ }, "Confidentiality.Encrypted">;
24
+ }, "ori::walrus_data::Confidentiality">], "WalrusData.Blob">;
25
+ QuiltPatch: import("../utils/index.js").MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, import("@mysten/sui/bcs").BcsType<number, number, "u8">, import("@mysten/sui/bcs").BcsType<number, number, "u16">, import("@mysten/sui/bcs").BcsType<number, number, "u16">], "WalrusData.QuiltPatch">;
26
+ }, "ori::walrus_data::WalrusData">;
27
+ animated: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
28
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
29
+ Unencrypted: true;
30
+ Encrypted: {
31
+ dek: number[];
32
+ };
33
+ }, "Unencrypted" | "Encrypted">];
34
+ QuiltPatch: [string, number, number, number];
35
+ }, "Blob" | "QuiltPatch"> | null, import("@mysten/bcs").EnumInputShape<{
36
+ Blob: readonly [string | number | bigint, import("@mysten/bcs").EnumInputShape<{
37
+ Unencrypted: boolean | object | null;
38
+ Encrypted: {
39
+ dek: Iterable<number> & {
40
+ length: number;
41
+ };
42
+ };
43
+ }>];
44
+ QuiltPatch: readonly [string | number | bigint, number, number, number];
45
+ }> | null | undefined, "Option<ori::walrus_data::WalrusData>">;
46
+ }, "@local-pkg/cover_art::cover_art::CoverArt">;
47
+ export interface NewArguments {
48
+ still: TransactionArgument;
49
+ animated: TransactionArgument;
50
+ }
51
+ export interface NewOptions {
52
+ package?: string;
53
+ arguments: NewArguments | [
54
+ still: TransactionArgument,
55
+ animated: TransactionArgument
56
+ ];
57
+ }
58
+ /**
59
+ * Creates cover art with a still image and optional animated version. Both
60
+ * references must be Walrus blobs.
61
+ */
62
+ export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
63
+ export interface StillArguments {
64
+ self: TransactionArgument;
65
+ }
66
+ export interface StillOptions {
67
+ package?: string;
68
+ arguments: StillArguments | [
69
+ self: TransactionArgument
70
+ ];
71
+ }
72
+ /** Returns a reference to the still image data. */
73
+ export declare function still(options: StillOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
74
+ export interface AnimatedArguments {
75
+ self: TransactionArgument;
76
+ }
77
+ export interface AnimatedOptions {
78
+ package?: string;
79
+ arguments: AnimatedArguments | [
80
+ self: TransactionArgument
81
+ ];
82
+ }
83
+ /** Returns a reference to the optional animated cover art data. */
84
+ export declare function animated(options: AnimatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
85
+ //# sourceMappingURL=cover_art.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cover_art.d.ts","sourceRoot":"","sources":["../../../src/contracts/cover_art/cover_art.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAA0B,MAAM,mBAAmB,CAAC;AAEvE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGtF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAGb,CAAC;AACT,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;CACjC;AACD,MAAM,WAAW,UAAU;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,YAAY,GAAG;QACtB,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,mBAAmB;KAChC,CAAC;CACL;AACD;;;GAGG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,UAAU,IAO5B,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,YAAY;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,cAAc,GAAG;QACxB,IAAI,EAAE,mBAAmB;KAC5B,CAAC;CACL;AACD,mDAAmD;AACnD,wBAAgB,KAAK,CAAC,OAAO,EAAE,YAAY,IAM/B,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,iBAAiB,GAAG;QAC3B,IAAI,EAAE,mBAAmB;KAC5B,CAAC;CACL;AACD,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,OAAO,EAAE,eAAe,IAMrC,IAAI,WAAW,0DAM1B"}
@@ -0,0 +1,68 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * The evolvable cover art value used by the recording/release cover art
6
+ * extensions.
7
+ *
8
+ * CoverArt format changes over time (static-only → +animated → future formats).
9
+ * Keeping it in an extension rather than immutable core means a new format is a
10
+ * republish of this small package (or a brand-new cover art standard), not of the
11
+ * frozen protocol. `CoverArt` references external storage via `ori::WalrusData`.
12
+ */
13
+ import { MoveStruct, normalizeMoveArguments } from '../utils/index.js';
14
+ import { bcs } from '@mysten/sui/bcs';
15
+ import {} from '@mysten/sui/transactions';
16
+ import * as walrus_data from './deps/ori/walrus_data.js';
17
+ const $moduleName = '@local-pkg/cover_art::cover_art';
18
+ export const CoverArt = new MoveStruct({ name: `${$moduleName}::CoverArt`, fields: {
19
+ still: walrus_data.WalrusData,
20
+ animated: bcs.option(walrus_data.WalrusData)
21
+ } });
22
+ /**
23
+ * Creates cover art with a still image and optional animated version. Both
24
+ * references must be Walrus blobs.
25
+ */
26
+ export function _new(options) {
27
+ const packageAddress = options.package ?? '@local-pkg/cover_art';
28
+ const argumentsTypes = [
29
+ null,
30
+ null
31
+ ];
32
+ const parameterNames = ["still", "animated"];
33
+ return (tx) => tx.moveCall({
34
+ package: packageAddress,
35
+ module: 'cover_art',
36
+ function: 'new',
37
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
38
+ });
39
+ }
40
+ /** Returns a reference to the still image data. */
41
+ export function still(options) {
42
+ const packageAddress = options.package ?? '@local-pkg/cover_art';
43
+ const argumentsTypes = [
44
+ null
45
+ ];
46
+ const parameterNames = ["self"];
47
+ return (tx) => tx.moveCall({
48
+ package: packageAddress,
49
+ module: 'cover_art',
50
+ function: 'still',
51
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
52
+ });
53
+ }
54
+ /** Returns a reference to the optional animated cover art data. */
55
+ export function animated(options) {
56
+ const packageAddress = options.package ?? '@local-pkg/cover_art';
57
+ const argumentsTypes = [
58
+ null
59
+ ];
60
+ const parameterNames = ["self"];
61
+ return (tx) => tx.moveCall({
62
+ package: packageAddress,
63
+ module: 'cover_art',
64
+ function: 'animated',
65
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
66
+ });
67
+ }
68
+ //# sourceMappingURL=cover_art.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cover_art.js","sourceRoot":"","sources":["../../../src/contracts/cover_art/cover_art.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAA8C,MAAM,0BAA0B,CAAC;AACtF,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,MAAM,WAAW,GAAG,iCAAiC,CAAC;AACtD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,EAAE,MAAM,EAAE;QAC3E,KAAK,EAAE,WAAW,CAAC,UAAU;QAC7B,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC;KAC/C,EAAE,CAAC,CAAC;AAYT;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,OAAmB;IACpC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,sBAAsB,CAAC;IACjE,MAAM,cAAc,GAAG;QACnB,IAAI;QACJ,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,KAAK;QACf,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC;AAUD,mDAAmD;AACnD,MAAM,UAAU,KAAK,CAAC,OAAqB;IACvC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,sBAAsB,CAAC;IACjE,MAAM,cAAc,GAAG;QACnB,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,OAAO;QACjB,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC;AAUD,mEAAmE;AACnE,MAAM,UAAU,QAAQ,CAAC,OAAwB;IAC7C,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,sBAAsB,CAAC;IACjE,MAAM,cAAc,GAAG;QACnB,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,UAAU;QACpB,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { MoveEnum, MoveStruct, MoveTuple } from '../../../utils/index.js';
5
+ /**
6
+ * Confidentiality of a stored blob: cleartext, or encrypted with an access policy.
7
+ * Only applies to standalone blobs — a quilt patch is a slice of a shared quilt
8
+ * blob and can never be the direct product of an encryption.
9
+ */
10
+ export declare const Confidentiality: MoveEnum<{
11
+ /** The blob is stored in the clear. */
12
+ Unencrypted: null;
13
+ /**
14
+ * The blob is AES-encrypted. `dek` is the AES data-encryption key sealed via Seal
15
+ * — a small ciphertext stored on-chain, not the blob bytes. The sealed DEK is
16
+ * itself a Seal `EncryptedObject`, which already carries the decryption-policy
17
+ * package id, so no separate policy field is stored here. Decryption is gated by
18
+ * that policy package's `seal_approve`, not by this library.
19
+ */
20
+ Encrypted: MoveStruct<{
21
+ dek: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
22
+ length: number;
23
+ }, string>;
24
+ }, "Confidentiality.Encrypted">;
25
+ }, "ori::walrus_data::Confidentiality">;
26
+ /** Represents either a standalone Walrus blob or a patch within a quilt. */
27
+ export declare const WalrusData: MoveEnum<{
28
+ /** A standalone Walrus blob. Fields: blob_id, confidentiality. */
29
+ Blob: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, MoveEnum<{
30
+ /** The blob is stored in the clear. */
31
+ Unencrypted: null;
32
+ /**
33
+ * The blob is AES-encrypted. `dek` is the AES data-encryption key sealed via Seal
34
+ * — a small ciphertext stored on-chain, not the blob bytes. The sealed DEK is
35
+ * itself a Seal `EncryptedObject`, which already carries the decryption-policy
36
+ * package id, so no separate policy field is stored here. Decryption is gated by
37
+ * that policy package's `seal_approve`, not by this library.
38
+ */
39
+ Encrypted: MoveStruct<{
40
+ dek: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
41
+ length: number;
42
+ }, string>;
43
+ }, "Confidentiality.Encrypted">;
44
+ }, "ori::walrus_data::Confidentiality">], "WalrusData.Blob">;
45
+ /**
46
+ * A patch within a Walrus quilt. Fields: quilt_id, version, start_index,
47
+ * end_index. Always a plaintext reference into a (possibly separately encrypted)
48
+ * quilt blob.
49
+ */
50
+ QuiltPatch: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, import("@mysten/sui/bcs").BcsType<number, number, "u8">, import("@mysten/sui/bcs").BcsType<number, number, "u16">, import("@mysten/sui/bcs").BcsType<number, number, "u16">], "WalrusData.QuiltPatch">;
51
+ }, "ori::walrus_data::WalrusData">;
52
+ //# sourceMappingURL=walrus_data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walrus_data.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/cover_art/deps/ori/walrus_data.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,eAAe;IACpB,uCAAuC;;IAEvC;;;;;;OAMG;;;;;;uCAIH,CAAC;AACT,4EAA4E;AAC5E,eAAO,MAAM,UAAU;IACf,kEAAkE;;QAflE,uCAAuC;;QAEvC;;;;;;WAMG;;;;;;;IASH;;;;OAIG;;kCAEH,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { MoveEnum, MoveStruct, MoveTuple } from '../../../utils/index.js';
5
+ import { bcs } from '@mysten/sui/bcs';
6
+ const $moduleName = 'ori::walrus_data';
7
+ /**
8
+ * Confidentiality of a stored blob: cleartext, or encrypted with an access policy.
9
+ * Only applies to standalone blobs — a quilt patch is a slice of a shared quilt
10
+ * blob and can never be the direct product of an encryption.
11
+ */
12
+ export const Confidentiality = new MoveEnum({ name: `${$moduleName}::Confidentiality`, fields: {
13
+ /** The blob is stored in the clear. */
14
+ Unencrypted: null,
15
+ /**
16
+ * The blob is AES-encrypted. `dek` is the AES data-encryption key sealed via Seal
17
+ * — a small ciphertext stored on-chain, not the blob bytes. The sealed DEK is
18
+ * itself a Seal `EncryptedObject`, which already carries the decryption-policy
19
+ * package id, so no separate policy field is stored here. Decryption is gated by
20
+ * that policy package's `seal_approve`, not by this library.
21
+ */
22
+ Encrypted: new MoveStruct({ name: `Confidentiality.Encrypted`, fields: {
23
+ dek: bcs.vector(bcs.u8())
24
+ } })
25
+ } });
26
+ /** Represents either a standalone Walrus blob or a patch within a quilt. */
27
+ export const WalrusData = new MoveEnum({ name: `${$moduleName}::WalrusData`, fields: {
28
+ /** A standalone Walrus blob. Fields: blob_id, confidentiality. */
29
+ Blob: new MoveTuple({ name: `WalrusData.Blob`, fields: [bcs.u256(), Confidentiality] }),
30
+ /**
31
+ * A patch within a Walrus quilt. Fields: quilt_id, version, start_index,
32
+ * end_index. Always a plaintext reference into a (possibly separately encrypted)
33
+ * quilt blob.
34
+ */
35
+ QuiltPatch: new MoveTuple({ name: `WalrusData.QuiltPatch`, fields: [bcs.u256(), bcs.u8(), bcs.u16(), bcs.u16()] })
36
+ } });
37
+ //# sourceMappingURL=walrus_data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walrus_data.js","sourceRoot":"","sources":["../../../../../src/contracts/cover_art/deps/ori/walrus_data.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,MAAM,WAAW,GAAG,kBAAkB,CAAC;AACvC;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,QAAQ,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,mBAAmB,EAAE,MAAM,EAAE;QACvF,uCAAuC;QACvC,WAAW,EAAE,IAAI;QACjB;;;;;;WAMG;QACH,SAAS,EAAE,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,MAAM,EAAE;gBAC/D,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;aAC5B,EAAE,CAAC;KACX,EAAE,CAAC,CAAC;AACT,4EAA4E;AAC5E,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,QAAQ,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,cAAc,EAAE,MAAM,EAAE;QAC7E,kEAAkE;QAClE,IAAI,EAAE,IAAI,SAAS,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,eAAe,CAAC,EAAE,CAAC;QACvF;;;;WAIG;QACH,UAAU,EAAE,IAAI,SAAS,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;KACrH,EAAE,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * Represents a party's credit on a work or activity. A credit pairs a display name
6
+ * with one or more roles, identifying how a party contributed to the work.
7
+ */
8
+ import { type BcsType } from '@mysten/sui/bcs';
9
+ import { MoveStruct } from '../../../utils/index.js';
10
+ /**
11
+ * A credit attributing roles to a party on a work. Generic over the role type to
12
+ * support domain-specific roles.
13
+ */
14
+ export declare function Credit<Role extends BcsType<any>>(...typeParameters: [
15
+ Role
16
+ ]): MoveStruct<{
17
+ /** Human-readable name to display for this credit. */
18
+ display_name: BcsType<string, string, "string">;
19
+ /** Roles assigned to the credited party. */
20
+ roles: BcsType<import("@mysten/bcs").InferBcsType<Role>[], Iterable<import("@mysten/bcs").InferBcsInput<Role>> & {
21
+ length: number;
22
+ }, string>;
23
+ }, `miso_credit::credit::Credit<${Role["name"]}>`>;
24
+ //# sourceMappingURL=credit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/miso_credit/credit.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;GAGG;AAEH,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD;;;GAGG;AACH,wBAAgB,MAAM,CAAC,IAAI,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACjE,IAAI;CACP;IAEW,sDAAsD;;IAEtD,4CAA4C;;;;mDAGvD"}
@@ -0,0 +1,23 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * Represents a party's credit on a work or activity. A credit pairs a display name
6
+ * with one or more roles, identifying how a party contributed to the work.
7
+ */
8
+ import { bcs } from '@mysten/sui/bcs';
9
+ import { MoveStruct } from '../../../utils/index.js';
10
+ const $moduleName = 'miso_credit::credit';
11
+ /**
12
+ * A credit attributing roles to a party on a work. Generic over the role type to
13
+ * support domain-specific roles.
14
+ */
15
+ export function Credit(...typeParameters) {
16
+ return new MoveStruct({ name: `${$moduleName}::Credit<${typeParameters[0].name}>`, fields: {
17
+ /** Human-readable name to display for this credit. */
18
+ display_name: bcs.string(),
19
+ /** Roles assigned to the credited party. */
20
+ roles: bcs.vector(typeParameters[0])
21
+ } });
22
+ }
23
+ //# sourceMappingURL=credit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/miso_credit/credit.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;GAGG;AAEH,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAC1C;;;GAGG;AACH,MAAM,UAAU,MAAM,CAA4B,GAAG,cAEpD;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAoB,GAAG,EAAE,MAAM,EAAE;YACnG,sDAAsD;YACtD,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE;YAC1B,4CAA4C;YAC5C,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SACvC,EAAE,CAAC,CAAC;AACb,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { type BcsType } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from '../../../utils/index.js';
6
+ /** An entry in the map */
7
+ export declare function Entry<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
8
+ K,
9
+ V
10
+ ]): MoveStruct<{
11
+ key: K;
12
+ value: V;
13
+ }, `0x2::vec_map::Entry<${K["name"]}, ${V["name"]}>`>;
14
+ /**
15
+ * A map data structure backed by a vector. The map is guaranteed not to contain
16
+ * duplicate keys, but entries are _not_ sorted by key--entries are included in
17
+ * insertion order. All operations are O(N) in the size of the map--the intention
18
+ * of this data structure is only to provide the convenience of programming against
19
+ * a map API. Large maps should use handwritten parent/child relationships instead.
20
+ * Maps that need sorted iteration rather than insertion order iteration should
21
+ * also be handwritten.
22
+ */
23
+ export declare function VecMap<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
24
+ K,
25
+ V
26
+ ]): MoveStruct<{
27
+ contents: BcsType<{
28
+ key: K extends BcsType<infer U, any, string> ? U : never;
29
+ value: V extends BcsType<infer U, any, string> ? U : never;
30
+ }[], Iterable<{
31
+ key: K extends BcsType<any, infer U_1, string> ? U_1 : never;
32
+ value: V extends BcsType<any, infer U_1, string> ? U_1 : never;
33
+ }> & {
34
+ length: number;
35
+ }, string>;
36
+ }, `0x2::vec_map::VecMap<${K["name"]}, ${V["name"]}>`>;
37
+ //# sourceMappingURL=vec_map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_map.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,0BAA0B;AAC1B,wBAAgB,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACrF,CAAC;IACD,CAAC;CACJ;;;sDAKA;AACD;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACtF,CAAC;IACD,CAAC;CACJ;;;;;;;;;;uDAIA"}
@@ -0,0 +1,28 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { bcs } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from '../../../utils/index.js';
6
+ const $moduleName = '0x2::vec_map';
7
+ /** An entry in the map */
8
+ export function Entry(...typeParameters) {
9
+ return new MoveStruct({ name: `${$moduleName}::Entry<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
10
+ key: typeParameters[0],
11
+ value: typeParameters[1]
12
+ } });
13
+ }
14
+ /**
15
+ * A map data structure backed by a vector. The map is guaranteed not to contain
16
+ * duplicate keys, but entries are _not_ sorted by key--entries are included in
17
+ * insertion order. All operations are O(N) in the size of the map--the intention
18
+ * of this data structure is only to provide the convenience of programming against
19
+ * a map API. Large maps should use handwritten parent/child relationships instead.
20
+ * Maps that need sorted iteration rather than insertion order iteration should
21
+ * also be handwritten.
22
+ */
23
+ export function VecMap(...typeParameters) {
24
+ return new MoveStruct({ name: `${$moduleName}::VecMap<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
25
+ contents: bcs.vector(Entry(typeParameters[0], typeParameters[1]))
26
+ } });
27
+ }
28
+ //# sourceMappingURL=vec_map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_map.js","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,cAAc,CAAC;AACnC,0BAA0B;AAC1B,MAAM,UAAU,KAAK,CAAiD,GAAG,cAGxE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,WAAW,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACvI,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC;YACtB,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC;SAC3B,EAAE,CAAC,CAAC;AACb,CAAC;AACD;;;;;;;;GAQG;AACH,MAAM,UAAU,MAAM,CAAiD,GAAG,cAGzE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACxI,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;SACpE,EAAE,CAAC,CAAC;AACb,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { type BcsType } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from '../../../utils/index.js';
6
+ /**
7
+ * A set data structure backed by a vector. The set is guaranteed not to contain
8
+ * duplicate keys. All operations are O(N) in the size of the set
9
+ *
10
+ * - the intention of this data structure is only to provide the convenience of
11
+ * programming against a set API. Sets that need sorted iteration rather than
12
+ * insertion order iteration should be handwritten.
13
+ */
14
+ export declare function VecSet<K extends BcsType<any>>(...typeParameters: [
15
+ K
16
+ ]): MoveStruct<{
17
+ contents: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
18
+ length: number;
19
+ }, string>;
20
+ }, `0x2::vec_set::VecSet<${K["name"]}>`>;
21
+ //# sourceMappingURL=vec_set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_set.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/sui/vec_set.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IAC9D,CAAC;CACJ;;;;yCAIA"}
@@ -0,0 +1,20 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { bcs } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from '../../../utils/index.js';
6
+ const $moduleName = '0x2::vec_set';
7
+ /**
8
+ * A set data structure backed by a vector. The set is guaranteed not to contain
9
+ * duplicate keys. All operations are O(N) in the size of the set
10
+ *
11
+ * - the intention of this data structure is only to provide the convenience of
12
+ * programming against a set API. Sets that need sorted iteration rather than
13
+ * insertion order iteration should be handwritten.
14
+ */
15
+ export function VecSet(...typeParameters) {
16
+ return new MoveStruct({ name: `${$moduleName}::VecSet<${typeParameters[0].name}>`, fields: {
17
+ contents: bcs.vector(typeParameters[0])
18
+ } });
19
+ }
20
+ //# sourceMappingURL=vec_set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_set.js","sourceRoot":"","sources":["../../../../../src/contracts/recording_credits/deps/sui/vec_set.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,cAAc,CAAC;AACnC;;;;;;;GAOG;AACH,MAAM,UAAU,MAAM,CAAyB,GAAG,cAEjD;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YAChG,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SAC1C,EAAE,CAAC,CAAC;AACb,CAAC"}