@typus/typus-perp-sdk 1.1.29 → 1.1.30-testnet

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 (58) hide show
  1. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
  2. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +4 -6
  3. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +4 -6
  4. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
  5. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +8 -15
  6. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +6 -10
  7. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +85 -139
  8. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +27 -48
  9. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +8 -14
  10. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
  11. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +3 -5
  12. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +8 -15
  13. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +10 -19
  14. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +90 -118
  15. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +70 -92
  16. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +6 -10
  17. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
  18. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +4 -6
  19. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +86 -153
  20. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +21 -38
  21. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +34 -65
  22. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +58 -101
  23. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +36 -61
  24. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +125 -224
  25. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +31 -56
  26. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +26 -46
  27. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +186 -300
  28. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +43 -78
  29. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +48 -82
  30. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +18 -33
  31. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +65 -118
  32. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +10 -19
  33. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +133 -253
  34. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +3 -5
  35. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +26 -46
  36. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +433 -713
  37. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +69 -125
  38. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +7 -12
  39. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +87 -155
  40. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +10 -19
  41. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +183 -326
  42. package/dist/src/_framework/util.d.ts +1 -1
  43. package/dist/src/_framework/vector.d.ts +12 -5
  44. package/dist/src/typus_perp/admin/structs.d.ts +85 -147
  45. package/dist/src/typus_perp/competition/structs.d.ts +16 -28
  46. package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
  47. package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
  48. package/dist/src/typus_perp/position/structs.d.ts +236 -395
  49. package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
  50. package/dist/src/typus_perp/tlp/structs.d.ts +10 -18
  51. package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
  52. package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
  53. package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
  54. package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
  55. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
  56. package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
  57. package/dist/src/user/orderWithBidReceipt.js +1 -0
  58. package/package.json +4 -3
@@ -25,21 +25,14 @@ export declare class Table<K extends PhantomTypeArgument, V extends PhantomTypeA
25
25
  static get r(): typeof Table.reified;
26
26
  static phantom<K extends PhantomReified<PhantomTypeArgument>, V extends PhantomReified<PhantomTypeArgument>>(K: K, V: V): PhantomReified<ToTypeStr<Table<ToPhantomTypeArgument<K>, ToPhantomTypeArgument<V>>>>;
27
27
  static get p(): typeof Table.phantom;
28
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
29
- id: {
30
- id: {
31
- bytes: string;
32
- };
33
- };
34
- size: string;
35
- }, {
36
- id: {
37
- id: {
38
- bytes: string;
39
- };
40
- };
41
- size: string | number | bigint;
42
- }>;
28
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
29
+ id: import("@mysten/sui/bcs").BcsStruct<{
30
+ id: import("@mysten/sui/bcs").BcsStruct<{
31
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
32
+ }, string>;
33
+ }, string>;
34
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
35
+ }, string>;
43
36
  static fromFields<K extends PhantomReified<PhantomTypeArgument>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], fields: Record<string, any>): Table<ToPhantomTypeArgument<K>, ToPhantomTypeArgument<V>>;
44
37
  static fromFieldsWithTypes<K extends PhantomReified<PhantomTypeArgument>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], item: FieldsWithTypes): Table<ToPhantomTypeArgument<K>, ToPhantomTypeArgument<V>>;
45
38
  static fromBcs<K extends PhantomReified<PhantomTypeArgument>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], data: Uint8Array): Table<ToPhantomTypeArgument<K>, ToPhantomTypeArgument<V>>;
@@ -24,25 +24,16 @@ export declare class TableVec<Element extends PhantomTypeArgument> implements St
24
24
  static get r(): typeof TableVec.reified;
25
25
  static phantom<Element extends PhantomReified<PhantomTypeArgument>>(Element: Element): PhantomReified<ToTypeStr<TableVec<ToPhantomTypeArgument<Element>>>>;
26
26
  static get p(): typeof TableVec.phantom;
27
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
28
- contents: {
29
- id: {
30
- id: {
31
- bytes: string;
32
- };
33
- };
34
- size: string;
35
- };
36
- }, {
37
- contents: {
38
- id: {
39
- id: {
40
- bytes: string;
41
- };
42
- };
43
- size: string | number | bigint;
44
- };
45
- }>;
27
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
28
+ contents: import("@mysten/sui/bcs").BcsStruct<{
29
+ id: import("@mysten/sui/bcs").BcsStruct<{
30
+ id: import("@mysten/sui/bcs").BcsStruct<{
31
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
32
+ }, string>;
33
+ }, string>;
34
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
35
+ }, string>;
36
+ }, string>;
46
37
  static fromFields<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, fields: Record<string, any>): TableVec<ToPhantomTypeArgument<Element>>;
47
38
  static fromFieldsWithTypes<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, item: FieldsWithTypes): TableVec<ToPhantomTypeArgument<Element>>;
48
39
  static fromBcs<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, data: Uint8Array): TableVec<ToPhantomTypeArgument<Element>>;
@@ -39,45 +39,44 @@ export declare class ActionRequest<T extends PhantomTypeArgument> implements Str
39
39
  static get r(): typeof ActionRequest.reified;
40
40
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<ActionRequest<ToPhantomTypeArgument<T>>>>;
41
41
  static get p(): typeof ActionRequest.phantom;
42
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
43
- name: {
44
- bytes: number[];
45
- };
46
- amount: string;
47
- sender: string;
48
- recipient: {
49
- vec: any[];
50
- };
51
- spent_balance: {
52
- vec: any[];
53
- };
54
- approvals: {
55
- contents: any[];
56
- };
57
- }, {
58
- name: {
59
- bytes: Iterable<number> & {
42
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
43
+ name: import("@mysten/sui/bcs").BcsStruct<{
44
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
60
45
  length: number;
61
- };
62
- };
63
- amount: string | number | bigint;
64
- sender: string;
65
- recipient: {
66
- vec: Iterable<any> & {
46
+ }, string>;
47
+ }, string>;
48
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
49
+ sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
50
+ recipient: import("@mysten/sui/bcs").BcsStruct<{
51
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
67
52
  length: number;
68
- };
69
- };
70
- spent_balance: {
71
- vec: Iterable<any> & {
53
+ }, string>;
54
+ }, string>;
55
+ spent_balance: import("@mysten/sui/bcs").BcsStruct<{
56
+ vec: import("@mysten/sui/bcs").BcsType<{
57
+ value: string;
58
+ }[], Iterable<{
59
+ value: string | number | bigint;
60
+ }> & {
72
61
  length: number;
73
- };
74
- };
75
- approvals: {
76
- contents: Iterable<any> & {
62
+ }, string>;
63
+ }, string>;
64
+ approvals: import("@mysten/sui/bcs").BcsStruct<{
65
+ contents: import("@mysten/sui/bcs").BcsType<{
66
+ name: {
67
+ bytes: number[];
68
+ };
69
+ }[], Iterable<{
70
+ name: {
71
+ bytes: Iterable<number> & {
72
+ length: number;
73
+ };
74
+ };
75
+ }> & {
77
76
  length: number;
78
- };
79
- };
80
- }>;
77
+ }, string>;
78
+ }, string>;
79
+ }, string>;
81
80
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): ActionRequest<ToPhantomTypeArgument<T>>;
82
81
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): ActionRequest<ToPhantomTypeArgument<T>>;
83
82
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): ActionRequest<ToPhantomTypeArgument<T>>;
@@ -137,11 +136,9 @@ export declare class RuleKey<T extends PhantomTypeArgument> implements StructCla
137
136
  static get r(): typeof RuleKey.reified;
138
137
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<RuleKey<ToPhantomTypeArgument<T>>>>;
139
138
  static get p(): typeof RuleKey.phantom;
140
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
141
- is_protected: boolean;
142
- }, {
143
- is_protected: boolean;
144
- }>;
139
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
140
+ is_protected: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
141
+ }, string>;
145
142
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): RuleKey<ToPhantomTypeArgument<T>>;
146
143
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): RuleKey<ToPhantomTypeArgument<T>>;
147
144
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): RuleKey<ToPhantomTypeArgument<T>>;
@@ -181,25 +178,16 @@ export declare class Token<T extends PhantomTypeArgument> implements StructClass
181
178
  static get r(): typeof Token.reified;
182
179
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Token<ToPhantomTypeArgument<T>>>>;
183
180
  static get p(): typeof Token.phantom;
184
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
185
- id: {
186
- id: {
187
- bytes: string;
188
- };
189
- };
190
- balance: {
191
- value: string;
192
- };
193
- }, {
194
- id: {
195
- id: {
196
- bytes: string;
197
- };
198
- };
199
- balance: {
200
- value: string | number | bigint;
201
- };
202
- }>;
181
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
182
+ id: import("@mysten/sui/bcs").BcsStruct<{
183
+ id: import("@mysten/sui/bcs").BcsStruct<{
184
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
185
+ }, string>;
186
+ }, string>;
187
+ balance: import("@mysten/sui/bcs").BcsStruct<{
188
+ value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
189
+ }, string>;
190
+ }, string>;
203
191
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): Token<ToPhantomTypeArgument<T>>;
204
192
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): Token<ToPhantomTypeArgument<T>>;
205
193
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): Token<ToPhantomTypeArgument<T>>;
@@ -247,51 +235,49 @@ export declare class TokenPolicy<T extends PhantomTypeArgument> implements Struc
247
235
  static get r(): typeof TokenPolicy.reified;
248
236
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicy<ToPhantomTypeArgument<T>>>>;
249
237
  static get p(): typeof TokenPolicy.phantom;
250
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
251
- id: {
252
- id: {
253
- bytes: string;
254
- };
255
- };
256
- spent_balance: {
257
- value: string;
258
- };
259
- rules: {
260
- contents: {
238
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
239
+ id: import("@mysten/sui/bcs").BcsStruct<{
240
+ id: import("@mysten/sui/bcs").BcsStruct<{
241
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
242
+ }, string>;
243
+ }, string>;
244
+ spent_balance: import("@mysten/sui/bcs").BcsStruct<{
245
+ value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
246
+ }, string>;
247
+ rules: import("@mysten/sui/bcs").BcsStruct<{
248
+ contents: import("@mysten/sui/bcs").BcsType<{
261
249
  key: {
262
250
  bytes: number[];
263
251
  };
264
252
  value: {
265
- contents: any[];
253
+ contents: {
254
+ name: {
255
+ bytes: number[];
256
+ };
257
+ }[];
266
258
  };
267
- }[];
268
- };
269
- }, {
270
- id: {
271
- id: {
272
- bytes: string;
273
- };
274
- };
275
- spent_balance: {
276
- value: string | number | bigint;
277
- };
278
- rules: {
279
- contents: Iterable<{
259
+ }[], Iterable<{
280
260
  key: {
281
261
  bytes: Iterable<number> & {
282
262
  length: number;
283
263
  };
284
264
  };
285
265
  value: {
286
- contents: Iterable<any> & {
266
+ contents: Iterable<{
267
+ name: {
268
+ bytes: Iterable<number> & {
269
+ length: number;
270
+ };
271
+ };
272
+ }> & {
287
273
  length: number;
288
274
  };
289
275
  };
290
276
  }> & {
291
277
  length: number;
292
- };
293
- };
294
- }>;
278
+ }, string>;
279
+ }, string>;
280
+ }, string>;
295
281
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicy<ToPhantomTypeArgument<T>>;
296
282
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicy<ToPhantomTypeArgument<T>>;
297
283
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicy<ToPhantomTypeArgument<T>>;
@@ -357,25 +343,16 @@ export declare class TokenPolicyCap<T extends PhantomTypeArgument> implements St
357
343
  static get r(): typeof TokenPolicyCap.reified;
358
344
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicyCap<ToPhantomTypeArgument<T>>>>;
359
345
  static get p(): typeof TokenPolicyCap.phantom;
360
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
361
- id: {
362
- id: {
363
- bytes: string;
364
- };
365
- };
366
- for: {
367
- bytes: string;
368
- };
369
- }, {
370
- id: {
371
- id: {
372
- bytes: string;
373
- };
374
- };
375
- for: {
376
- bytes: string;
377
- };
378
- }>;
346
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
347
+ id: import("@mysten/sui/bcs").BcsStruct<{
348
+ id: import("@mysten/sui/bcs").BcsStruct<{
349
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
350
+ }, string>;
351
+ }, string>;
352
+ for: import("@mysten/sui/bcs").BcsStruct<{
353
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
354
+ }, string>;
355
+ }, string>;
379
356
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicyCap<ToPhantomTypeArgument<T>>;
380
357
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicyCap<ToPhantomTypeArgument<T>>;
381
358
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicyCap<ToPhantomTypeArgument<T>>;
@@ -417,17 +394,12 @@ export declare class TokenPolicyCreated<T extends PhantomTypeArgument> implement
417
394
  static get r(): typeof TokenPolicyCreated.reified;
418
395
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicyCreated<ToPhantomTypeArgument<T>>>>;
419
396
  static get p(): typeof TokenPolicyCreated.phantom;
420
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
421
- id: {
422
- bytes: string;
423
- };
424
- is_mutable: boolean;
425
- }, {
426
- id: {
427
- bytes: string;
428
- };
429
- is_mutable: boolean;
430
- }>;
397
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
398
+ id: import("@mysten/sui/bcs").BcsStruct<{
399
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
400
+ }, string>;
401
+ is_mutable: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
402
+ }, string>;
431
403
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
432
404
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
433
405
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
@@ -28,11 +28,9 @@ export declare class RuleKey<T extends PhantomTypeArgument> implements StructCla
28
28
  static get r(): typeof RuleKey.reified;
29
29
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<RuleKey<ToPhantomTypeArgument<T>>>>;
30
30
  static get p(): typeof RuleKey.phantom;
31
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
32
- dummy_field: boolean;
33
- }, {
34
- dummy_field: boolean;
35
- }>;
31
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
32
+ dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
33
+ }, string>;
36
34
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): RuleKey<ToPhantomTypeArgument<T>>;
37
35
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): RuleKey<ToPhantomTypeArgument<T>>;
38
36
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): RuleKey<ToPhantomTypeArgument<T>>;
@@ -74,33 +72,31 @@ export declare class TransferPolicy<T extends PhantomTypeArgument> implements St
74
72
  static get r(): typeof TransferPolicy.reified;
75
73
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TransferPolicy<ToPhantomTypeArgument<T>>>>;
76
74
  static get p(): typeof TransferPolicy.phantom;
77
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
78
- id: {
79
- id: {
80
- bytes: string;
81
- };
82
- };
83
- balance: {
84
- value: string;
85
- };
86
- rules: {
87
- contents: any[];
88
- };
89
- }, {
90
- id: {
91
- id: {
92
- bytes: string;
93
- };
94
- };
95
- balance: {
96
- value: string | number | bigint;
97
- };
98
- rules: {
99
- contents: Iterable<any> & {
75
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
76
+ id: import("@mysten/sui/bcs").BcsStruct<{
77
+ id: import("@mysten/sui/bcs").BcsStruct<{
78
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
79
+ }, string>;
80
+ }, string>;
81
+ balance: import("@mysten/sui/bcs").BcsStruct<{
82
+ value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
83
+ }, string>;
84
+ rules: import("@mysten/sui/bcs").BcsStruct<{
85
+ contents: import("@mysten/sui/bcs").BcsType<{
86
+ name: {
87
+ bytes: number[];
88
+ };
89
+ }[], Iterable<{
90
+ name: {
91
+ bytes: Iterable<number> & {
92
+ length: number;
93
+ };
94
+ };
95
+ }> & {
100
96
  length: number;
101
- };
102
- };
103
- }>;
97
+ }, string>;
98
+ }, string>;
99
+ }, string>;
104
100
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TransferPolicy<ToPhantomTypeArgument<T>>;
105
101
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TransferPolicy<ToPhantomTypeArgument<T>>;
106
102
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TransferPolicy<ToPhantomTypeArgument<T>>;
@@ -156,25 +152,16 @@ export declare class TransferPolicyCap<T extends PhantomTypeArgument> implements
156
152
  static get r(): typeof TransferPolicyCap.reified;
157
153
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TransferPolicyCap<ToPhantomTypeArgument<T>>>>;
158
154
  static get p(): typeof TransferPolicyCap.phantom;
159
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
160
- id: {
161
- id: {
162
- bytes: string;
163
- };
164
- };
165
- policy_id: {
166
- bytes: string;
167
- };
168
- }, {
169
- id: {
170
- id: {
171
- bytes: string;
172
- };
173
- };
174
- policy_id: {
175
- bytes: string;
176
- };
177
- }>;
155
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
156
+ id: import("@mysten/sui/bcs").BcsStruct<{
157
+ id: import("@mysten/sui/bcs").BcsStruct<{
158
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
159
+ }, string>;
160
+ }, string>;
161
+ policy_id: import("@mysten/sui/bcs").BcsStruct<{
162
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
163
+ }, string>;
164
+ }, string>;
178
165
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TransferPolicyCap<ToPhantomTypeArgument<T>>;
179
166
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TransferPolicyCap<ToPhantomTypeArgument<T>>;
180
167
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TransferPolicyCap<ToPhantomTypeArgument<T>>;
@@ -214,15 +201,11 @@ export declare class TransferPolicyCreated<T extends PhantomTypeArgument> implem
214
201
  static get r(): typeof TransferPolicyCreated.reified;
215
202
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TransferPolicyCreated<ToPhantomTypeArgument<T>>>>;
216
203
  static get p(): typeof TransferPolicyCreated.phantom;
217
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
218
- id: {
219
- bytes: string;
220
- };
221
- }, {
222
- id: {
223
- bytes: string;
224
- };
225
- }>;
204
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
205
+ id: import("@mysten/sui/bcs").BcsStruct<{
206
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
207
+ }, string>;
208
+ }, string>;
226
209
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TransferPolicyCreated<ToPhantomTypeArgument<T>>;
227
210
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TransferPolicyCreated<ToPhantomTypeArgument<T>>;
228
211
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TransferPolicyCreated<ToPhantomTypeArgument<T>>;
@@ -260,15 +243,11 @@ export declare class TransferPolicyDestroyed<T extends PhantomTypeArgument> impl
260
243
  static get r(): typeof TransferPolicyDestroyed.reified;
261
244
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TransferPolicyDestroyed<ToPhantomTypeArgument<T>>>>;
262
245
  static get p(): typeof TransferPolicyDestroyed.phantom;
263
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
264
- id: {
265
- bytes: string;
266
- };
267
- }, {
268
- id: {
269
- bytes: string;
270
- };
271
- }>;
246
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
247
+ id: import("@mysten/sui/bcs").BcsStruct<{
248
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
249
+ }, string>;
250
+ }, string>;
272
251
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TransferPolicyDestroyed<ToPhantomTypeArgument<T>>;
273
252
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TransferPolicyDestroyed<ToPhantomTypeArgument<T>>;
274
253
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TransferPolicyDestroyed<ToPhantomTypeArgument<T>>;
@@ -312,31 +291,30 @@ export declare class TransferRequest<T extends PhantomTypeArgument> implements S
312
291
  static get r(): typeof TransferRequest.reified;
313
292
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TransferRequest<ToPhantomTypeArgument<T>>>>;
314
293
  static get p(): typeof TransferRequest.phantom;
315
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
316
- item: {
317
- bytes: string;
318
- };
319
- paid: string;
320
- from: {
321
- bytes: string;
322
- };
323
- receipts: {
324
- contents: any[];
325
- };
326
- }, {
327
- item: {
328
- bytes: string;
329
- };
330
- paid: string | number | bigint;
331
- from: {
332
- bytes: string;
333
- };
334
- receipts: {
335
- contents: Iterable<any> & {
294
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
295
+ item: import("@mysten/sui/bcs").BcsStruct<{
296
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
297
+ }, string>;
298
+ paid: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
299
+ from: import("@mysten/sui/bcs").BcsStruct<{
300
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
301
+ }, string>;
302
+ receipts: import("@mysten/sui/bcs").BcsStruct<{
303
+ contents: import("@mysten/sui/bcs").BcsType<{
304
+ name: {
305
+ bytes: number[];
306
+ };
307
+ }[], Iterable<{
308
+ name: {
309
+ bytes: Iterable<number> & {
310
+ length: number;
311
+ };
312
+ };
313
+ }> & {
336
314
  length: number;
337
- };
338
- };
339
- }>;
315
+ }, string>;
316
+ }, string>;
317
+ }, string>;
340
318
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TransferRequest<ToPhantomTypeArgument<T>>;
341
319
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TransferRequest<ToPhantomTypeArgument<T>>;
342
320
  static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TransferRequest<ToPhantomTypeArgument<T>>;
@@ -23,17 +23,13 @@ export declare class Url implements StructClass {
23
23
  static get r(): import("../../../../_framework/reified").StructClassReified<Url, UrlFields>;
24
24
  static phantom(): PhantomReified<ToTypeStr<Url>>;
25
25
  static get p(): PhantomReified<"0x2::url::Url">;
26
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
27
- url: {
28
- bytes: number[];
29
- };
30
- }, {
31
- url: {
32
- bytes: Iterable<number> & {
26
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
27
+ url: import("@mysten/sui/bcs").BcsStruct<{
28
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
33
29
  length: number;
34
- };
35
- };
36
- }>;
30
+ }, string>;
31
+ }, string>;
32
+ }, string>;
37
33
  static fromFields(fields: Record<string, any>): Url;
38
34
  static fromFieldsWithTypes(item: FieldsWithTypes): Url;
39
35
  static fromBcs(data: Uint8Array): Url;
@@ -27,13 +27,10 @@ export declare class Entry<K extends TypeArgument, V extends TypeArgument> imple
27
27
  static get r(): typeof Entry.reified;
28
28
  static phantom<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(K: K, V: V): PhantomReified<ToTypeStr<Entry<ToTypeArgument<K>, ToTypeArgument<V>>>>;
29
29
  static get p(): typeof Entry.phantom;
30
- static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => BcsType<{
31
- key: K extends BcsType<infer U, any> ? U : never;
32
- value: V extends BcsType<infer U, any> ? U : never;
33
- }, {
34
- key: K extends BcsType<any, infer U_1> ? U_1 : never;
35
- value: V extends BcsType<any, infer U_1> ? U_1 : never;
36
- }>;
30
+ static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => import("@mysten/sui/bcs").BcsStruct<{
31
+ key: K;
32
+ value: V;
33
+ }, string>;
37
34
  static fromFields<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], fields: Record<string, any>): Entry<ToTypeArgument<K>, ToTypeArgument<V>>;
38
35
  static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], item: FieldsWithTypes): Entry<ToTypeArgument<K>, ToTypeArgument<V>>;
39
36
  static fromBcs<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], data: Uint8Array): Entry<ToTypeArgument<K>, ToTypeArgument<V>>;
@@ -73,19 +70,17 @@ export declare class VecMap<K extends TypeArgument, V extends TypeArgument> impl
73
70
  static get r(): typeof VecMap.reified;
74
71
  static phantom<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(K: K, V: V): PhantomReified<ToTypeStr<VecMap<ToTypeArgument<K>, ToTypeArgument<V>>>>;
75
72
  static get p(): typeof VecMap.phantom;
76
- static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => BcsType<{
77
- contents: {
78
- key: K extends BcsType<infer U, any> ? U : never;
79
- value: V extends BcsType<infer U, any> ? U : never;
80
- }[];
81
- }, {
82
- contents: Iterable<{
83
- key: K extends BcsType<any, infer U_1> ? U_1 : never;
84
- value: V extends BcsType<any, infer U_1> ? U_1 : never;
73
+ static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => import("@mysten/sui/bcs").BcsStruct<{
74
+ contents: BcsType<{
75
+ key: K extends BcsType<infer U, any, string> ? U : never;
76
+ value: V extends BcsType<infer U, any, string> ? U : never;
77
+ }[], Iterable<{
78
+ key: K extends BcsType<any, infer U_1, string> ? U_1 : never;
79
+ value: V extends BcsType<any, infer U_1, string> ? U_1 : never;
85
80
  }> & {
86
81
  length: number;
87
- };
88
- }>;
82
+ }, string>;
83
+ }, string>;
89
84
  static fromFields<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], fields: Record<string, any>): VecMap<ToTypeArgument<K>, ToTypeArgument<V>>;
90
85
  static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], item: FieldsWithTypes): VecMap<ToTypeArgument<K>, ToTypeArgument<V>>;
91
86
  static fromBcs<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], data: Uint8Array): VecMap<ToTypeArgument<K>, ToTypeArgument<V>>;
@@ -25,13 +25,11 @@ export declare class VecSet<K extends TypeArgument> implements StructClass {
25
25
  static get r(): typeof VecSet.reified;
26
26
  static phantom<K extends Reified<TypeArgument, any>>(K: K): PhantomReified<ToTypeStr<VecSet<ToTypeArgument<K>>>>;
27
27
  static get p(): typeof VecSet.phantom;
28
- static get bcs(): <K extends BcsType<any>>(K: K) => BcsType<{
29
- contents: any[];
30
- }, {
31
- contents: Iterable<any> & {
28
+ static get bcs(): <K extends BcsType<any>>(K: K) => import("@mysten/sui/bcs").BcsStruct<{
29
+ contents: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
32
30
  length: number;
33
- };
34
- }>;
31
+ }, string>;
32
+ }, string>;
35
33
  static fromFields<K extends Reified<TypeArgument, any>>(typeArg: K, fields: Record<string, any>): VecSet<ToTypeArgument<K>>;
36
34
  static fromFieldsWithTypes<K extends Reified<TypeArgument, any>>(typeArg: K, item: FieldsWithTypes): VecSet<ToTypeArgument<K>>;
37
35
  static fromBcs<K extends Reified<TypeArgument, any>>(typeArg: K, data: Uint8Array): VecSet<ToTypeArgument<K>>;