@typus/typus-perp-sdk 1.1.27 → 1.1.28-codegen

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 (60) 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/fetch.js +7 -7
  45. package/dist/src/index.js +16 -15
  46. package/dist/src/typus_perp/admin/structs.d.ts +85 -147
  47. package/dist/src/typus_perp/competition/structs.d.ts +16 -28
  48. package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
  49. package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
  50. package/dist/src/typus_perp/position/structs.d.ts +236 -395
  51. package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
  52. package/dist/src/typus_perp/tlp/structs.d.ts +10 -18
  53. package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
  54. package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
  55. package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
  56. package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
  57. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
  58. package/dist/src/user/history.js +1 -1
  59. package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
  60. package/package.json +13 -4
@@ -39,91 +39,54 @@ export declare class AddTradingSymbolEvent implements StructClass {
39
39
  static get r(): reified.StructClassReified<AddTradingSymbolEvent, AddTradingSymbolEventFields>;
40
40
  static phantom(): PhantomReified<ToTypeStr<AddTradingSymbolEvent>>;
41
41
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::AddTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::AddTradingSymbolEvent">;
42
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
43
- index: string;
44
- base_token_type: {
45
- name: {
46
- bytes: number[];
47
- };
48
- };
49
- market_info: {
50
- is_active: boolean;
51
- size_decimal: string;
52
- user_long_position_size: string;
53
- user_short_position_size: string;
54
- next_position_id: string;
55
- user_long_order_size: string;
56
- user_short_order_size: string;
57
- next_order_id: string;
58
- last_funding_ts_ms: string;
59
- cumulative_funding_rate_index_sign: boolean;
60
- cumulative_funding_rate_index: string;
61
- previous_last_funding_ts_ms: string;
62
- previous_cumulative_funding_rate_index_sign: boolean;
63
- previous_cumulative_funding_rate_index: string;
64
- u64_padding: string[];
65
- };
66
- market_config: {
67
- oracle_id: string;
68
- max_leverage_mbp: string;
69
- option_collateral_max_leverage_mbp: string;
70
- min_size: string;
71
- lot_size: string;
72
- trading_fee_config: string[];
73
- basic_funding_rate: string;
74
- funding_interval_ts_ms: string;
75
- exp_multiplier: string;
76
- u64_padding: string[];
77
- };
78
- u64_padding: string[];
79
- }, {
80
- index: string | number | bigint;
81
- base_token_type: {
82
- name: {
83
- bytes: Iterable<number> & {
42
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
43
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
44
+ base_token_type: import("@mysten/sui/bcs").BcsStruct<{
45
+ name: import("@mysten/sui/bcs").BcsStruct<{
46
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
84
47
  length: number;
85
- };
86
- };
87
- };
88
- market_info: {
89
- is_active: boolean;
90
- size_decimal: string | number | bigint;
91
- user_long_position_size: string | number | bigint;
92
- user_short_position_size: string | number | bigint;
93
- next_position_id: string | number | bigint;
94
- user_long_order_size: string | number | bigint;
95
- user_short_order_size: string | number | bigint;
96
- next_order_id: string | number | bigint;
97
- last_funding_ts_ms: string | number | bigint;
98
- cumulative_funding_rate_index_sign: boolean;
99
- cumulative_funding_rate_index: string | number | bigint;
100
- previous_last_funding_ts_ms: string | number | bigint;
101
- previous_cumulative_funding_rate_index_sign: boolean;
102
- previous_cumulative_funding_rate_index: string | number | bigint;
103
- u64_padding: Iterable<string | number | bigint> & {
48
+ }, string>;
49
+ }, string>;
50
+ }, string>;
51
+ market_info: import("@mysten/sui/bcs").BcsStruct<{
52
+ is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
53
+ size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
54
+ user_long_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
55
+ user_short_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
56
+ next_position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
57
+ user_long_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
58
+ user_short_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
59
+ next_order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
60
+ last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
61
+ cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
62
+ cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
63
+ previous_last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
64
+ previous_cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
65
+ previous_cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
66
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
104
67
  length: number;
105
- };
106
- };
107
- market_config: {
108
- oracle_id: string;
109
- max_leverage_mbp: string | number | bigint;
110
- option_collateral_max_leverage_mbp: string | number | bigint;
111
- min_size: string | number | bigint;
112
- lot_size: string | number | bigint;
113
- trading_fee_config: Iterable<string | number | bigint> & {
68
+ }, string>;
69
+ }, string>;
70
+ market_config: import("@mysten/sui/bcs").BcsStruct<{
71
+ oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
72
+ max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
73
+ option_collateral_max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
74
+ min_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
75
+ lot_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
76
+ trading_fee_config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
114
77
  length: number;
115
- };
116
- basic_funding_rate: string | number | bigint;
117
- funding_interval_ts_ms: string | number | bigint;
118
- exp_multiplier: string | number | bigint;
119
- u64_padding: Iterable<string | number | bigint> & {
78
+ }, string>;
79
+ basic_funding_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
80
+ funding_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
81
+ exp_multiplier: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
82
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
120
83
  length: number;
121
- };
122
- };
123
- u64_padding: Iterable<string | number | bigint> & {
84
+ }, string>;
85
+ }, string>;
86
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
124
87
  length: number;
125
- };
126
- }>;
88
+ }, string>;
89
+ }, string>;
127
90
  static fromFields(fields: Record<string, any>): AddTradingSymbolEvent;
128
91
  static fromFieldsWithTypes(item: FieldsWithTypes): AddTradingSymbolEvent;
129
92
  static fromBcs(data: Uint8Array): AddTradingSymbolEvent;
@@ -241,47 +204,30 @@ export declare class CancelTradingOrderEvent implements StructClass {
241
204
  static get r(): reified.StructClassReified<CancelTradingOrderEvent, CancelTradingOrderEventFields>;
242
205
  static phantom(): PhantomReified<ToTypeStr<CancelTradingOrderEvent>>;
243
206
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CancelTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CancelTradingOrderEvent">;
244
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
245
- user: string;
246
- market_index: string;
247
- order_id: string;
248
- trigger_price: string;
249
- collateral_token: {
250
- name: {
251
- bytes: number[];
252
- };
253
- };
254
- base_token: {
255
- name: {
256
- bytes: number[];
257
- };
258
- };
259
- released_collateral_amount: string;
260
- u64_padding: string[];
261
- }, {
262
- user: string;
263
- market_index: string | number | bigint;
264
- order_id: string | number | bigint;
265
- trigger_price: string | number | bigint;
266
- collateral_token: {
267
- name: {
268
- bytes: Iterable<number> & {
207
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
208
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
209
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
210
+ order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
211
+ trigger_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
212
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
213
+ name: import("@mysten/sui/bcs").BcsStruct<{
214
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
269
215
  length: number;
270
- };
271
- };
272
- };
273
- base_token: {
274
- name: {
275
- bytes: Iterable<number> & {
216
+ }, string>;
217
+ }, string>;
218
+ }, string>;
219
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
220
+ name: import("@mysten/sui/bcs").BcsStruct<{
221
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
276
222
  length: number;
277
- };
278
- };
279
- };
280
- released_collateral_amount: string | number | bigint;
281
- u64_padding: Iterable<string | number | bigint> & {
223
+ }, string>;
224
+ }, string>;
225
+ }, string>;
226
+ released_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
227
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
282
228
  length: number;
283
- };
284
- }>;
229
+ }, string>;
230
+ }, string>;
285
231
  static fromFields(fields: Record<string, any>): CancelTradingOrderEvent;
286
232
  static fromFieldsWithTypes(item: FieldsWithTypes): CancelTradingOrderEvent;
287
233
  static fromBcs(data: Uint8Array): CancelTradingOrderEvent;
@@ -373,77 +319,47 @@ export declare class CreateTradingOrderEvent implements StructClass {
373
319
  static get r(): reified.StructClassReified<CreateTradingOrderEvent, CreateTradingOrderEventFields>;
374
320
  static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderEvent>>;
375
321
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CreateTradingOrderEvent">;
376
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
377
- user: string;
378
- market_index: string;
379
- pool_index: string;
380
- collateral_token: {
381
- name: {
382
- bytes: number[];
383
- };
384
- };
385
- base_token: {
386
- name: {
387
- bytes: number[];
388
- };
389
- };
390
- order_id: string;
391
- linked_position_id: {
392
- vec: any[];
393
- };
394
- collateral_amount: string;
395
- leverage_mbp: string;
396
- reduce_only: boolean;
397
- is_long: boolean;
398
- is_stop_order: boolean;
399
- size: string;
400
- trigger_price: string;
401
- filled: boolean;
402
- filled_price: {
403
- vec: any[];
404
- };
405
- u64_padding: string[];
406
- }, {
407
- user: string;
408
- market_index: string | number | bigint;
409
- pool_index: string | number | bigint;
410
- collateral_token: {
411
- name: {
412
- bytes: Iterable<number> & {
322
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
323
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
324
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
325
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
326
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
327
+ name: import("@mysten/sui/bcs").BcsStruct<{
328
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
413
329
  length: number;
414
- };
415
- };
416
- };
417
- base_token: {
418
- name: {
419
- bytes: Iterable<number> & {
330
+ }, string>;
331
+ }, string>;
332
+ }, string>;
333
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
334
+ name: import("@mysten/sui/bcs").BcsStruct<{
335
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
420
336
  length: number;
421
- };
422
- };
423
- };
424
- order_id: string | number | bigint;
425
- linked_position_id: {
426
- vec: Iterable<any> & {
337
+ }, string>;
338
+ }, string>;
339
+ }, string>;
340
+ order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
341
+ linked_position_id: import("@mysten/sui/bcs").BcsStruct<{
342
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
427
343
  length: number;
428
- };
429
- };
430
- collateral_amount: string | number | bigint;
431
- leverage_mbp: string | number | bigint;
432
- reduce_only: boolean;
433
- is_long: boolean;
434
- is_stop_order: boolean;
435
- size: string | number | bigint;
436
- trigger_price: string | number | bigint;
437
- filled: boolean;
438
- filled_price: {
439
- vec: Iterable<any> & {
344
+ }, string>;
345
+ }, string>;
346
+ collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
347
+ leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
348
+ reduce_only: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
349
+ is_long: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
350
+ is_stop_order: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
351
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
352
+ trigger_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
353
+ filled: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
354
+ filled_price: import("@mysten/sui/bcs").BcsStruct<{
355
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
440
356
  length: number;
441
- };
442
- };
443
- u64_padding: Iterable<string | number | bigint> & {
357
+ }, string>;
358
+ }, string>;
359
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
444
360
  length: number;
445
- };
446
- }>;
361
+ }, string>;
362
+ }, string>;
447
363
  static fromFields(fields: Record<string, any>): CreateTradingOrderEvent;
448
364
  static fromFieldsWithTypes(item: FieldsWithTypes): CreateTradingOrderEvent;
449
365
  static fromBcs(data: Uint8Array): CreateTradingOrderEvent;
@@ -547,65 +463,40 @@ export declare class CreateTradingOrderWithBidReceiptsEvent implements StructCla
547
463
  static get r(): reified.StructClassReified<CreateTradingOrderWithBidReceiptsEvent, CreateTradingOrderWithBidReceiptsEventFields>;
548
464
  static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderWithBidReceiptsEvent>>;
549
465
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderWithBidReceiptsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CreateTradingOrderWithBidReceiptsEvent">;
550
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
551
- user: string;
552
- market_index: string;
553
- pool_index: string;
554
- dov_index: string;
555
- collateral_token: {
556
- name: {
557
- bytes: number[];
558
- };
559
- };
560
- base_token: {
561
- name: {
562
- bytes: number[];
563
- };
564
- };
565
- order_id: string;
566
- collateral_in_deposit_token: string;
567
- is_long: boolean;
568
- size: string;
569
- trigger_price: string;
570
- filled: boolean;
571
- filled_price: {
572
- vec: any[];
573
- };
574
- u64_padding: string[];
575
- }, {
576
- user: string;
577
- market_index: string | number | bigint;
578
- pool_index: string | number | bigint;
579
- dov_index: string | number | bigint;
580
- collateral_token: {
581
- name: {
582
- bytes: Iterable<number> & {
466
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
467
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
468
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
469
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
470
+ dov_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
471
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
472
+ name: import("@mysten/sui/bcs").BcsStruct<{
473
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
583
474
  length: number;
584
- };
585
- };
586
- };
587
- base_token: {
588
- name: {
589
- bytes: Iterable<number> & {
475
+ }, string>;
476
+ }, string>;
477
+ }, string>;
478
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
479
+ name: import("@mysten/sui/bcs").BcsStruct<{
480
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
590
481
  length: number;
591
- };
592
- };
593
- };
594
- order_id: string | number | bigint;
595
- collateral_in_deposit_token: string | number | bigint;
596
- is_long: boolean;
597
- size: string | number | bigint;
598
- trigger_price: string | number | bigint;
599
- filled: boolean;
600
- filled_price: {
601
- vec: Iterable<any> & {
482
+ }, string>;
483
+ }, string>;
484
+ }, string>;
485
+ order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
486
+ collateral_in_deposit_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
487
+ is_long: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
488
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
489
+ trigger_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
490
+ filled: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
491
+ filled_price: import("@mysten/sui/bcs").BcsStruct<{
492
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
602
493
  length: number;
603
- };
604
- };
605
- u64_padding: Iterable<string | number | bigint> & {
494
+ }, string>;
495
+ }, string>;
496
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
606
497
  length: number;
607
- };
608
- }>;
498
+ }, string>;
499
+ }, string>;
609
500
  static fromFields(fields: Record<string, any>): CreateTradingOrderWithBidReceiptsEvent;
610
501
  static fromFieldsWithTypes(item: FieldsWithTypes): CreateTradingOrderWithBidReceiptsEvent;
611
502
  static fromBcs(data: Uint8Array): CreateTradingOrderWithBidReceiptsEvent;
@@ -685,49 +576,31 @@ export declare class ExpiredPositionInfo implements StructClass {
685
576
  static get r(): reified.StructClassReified<ExpiredPositionInfo, ExpiredPositionInfoFields>;
686
577
  static phantom(): PhantomReified<ToTypeStr<ExpiredPositionInfo>>;
687
578
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ExpiredPositionInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ExpiredPositionInfo">;
688
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
689
- position_id: string;
690
- dov_index: string;
691
- collateral_token: {
692
- name: {
693
- bytes: number[];
694
- };
695
- };
696
- bid_token: {
697
- name: {
698
- bytes: number[];
699
- };
700
- };
701
- base_token: {
702
- name: {
703
- bytes: number[];
704
- };
705
- };
706
- }, {
707
- position_id: string | number | bigint;
708
- dov_index: string | number | bigint;
709
- collateral_token: {
710
- name: {
711
- bytes: Iterable<number> & {
579
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
580
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
581
+ dov_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
582
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
583
+ name: import("@mysten/sui/bcs").BcsStruct<{
584
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
712
585
  length: number;
713
- };
714
- };
715
- };
716
- bid_token: {
717
- name: {
718
- bytes: Iterable<number> & {
586
+ }, string>;
587
+ }, string>;
588
+ }, string>;
589
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
590
+ name: import("@mysten/sui/bcs").BcsStruct<{
591
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
719
592
  length: number;
720
- };
721
- };
722
- };
723
- base_token: {
724
- name: {
725
- bytes: Iterable<number> & {
593
+ }, string>;
594
+ }, string>;
595
+ }, string>;
596
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
597
+ name: import("@mysten/sui/bcs").BcsStruct<{
598
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
726
599
  length: number;
727
- };
728
- };
729
- };
730
- }>;
600
+ }, string>;
601
+ }, string>;
602
+ }, string>;
603
+ }, string>;
731
604
  static fromFields(fields: Record<string, any>): ExpiredPositionInfo;
732
605
  static fromFieldsWithTypes(item: FieldsWithTypes): ExpiredPositionInfo;
733
606
  static fromBcs(data: Uint8Array): ExpiredPositionInfo;
@@ -801,49 +674,31 @@ export declare class IncreaseCollateralEvent implements StructClass {
801
674
  static get r(): reified.StructClassReified<IncreaseCollateralEvent, IncreaseCollateralEventFields>;
802
675
  static phantom(): PhantomReified<ToTypeStr<IncreaseCollateralEvent>>;
803
676
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::IncreaseCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::IncreaseCollateralEvent">;
804
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
805
- user: string;
806
- market_index: string;
807
- pool_index: string;
808
- position_id: string;
809
- collateral_token: {
810
- name: {
811
- bytes: number[];
812
- };
813
- };
814
- base_token: {
815
- name: {
816
- bytes: number[];
817
- };
818
- };
819
- increased_collateral_amount: string;
820
- remaining_collateral_amount: string;
821
- u64_padding: string[];
822
- }, {
823
- user: string;
824
- market_index: string | number | bigint;
825
- pool_index: string | number | bigint;
826
- position_id: string | number | bigint;
827
- collateral_token: {
828
- name: {
829
- bytes: Iterable<number> & {
677
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
678
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
679
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
680
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
681
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
682
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
683
+ name: import("@mysten/sui/bcs").BcsStruct<{
684
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
830
685
  length: number;
831
- };
832
- };
833
- };
834
- base_token: {
835
- name: {
836
- bytes: Iterable<number> & {
686
+ }, string>;
687
+ }, string>;
688
+ }, string>;
689
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
690
+ name: import("@mysten/sui/bcs").BcsStruct<{
691
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
837
692
  length: number;
838
- };
839
- };
840
- };
841
- increased_collateral_amount: string | number | bigint;
842
- remaining_collateral_amount: string | number | bigint;
843
- u64_padding: Iterable<string | number | bigint> & {
693
+ }, string>;
694
+ }, string>;
695
+ }, string>;
696
+ increased_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
697
+ remaining_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
698
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
844
699
  length: number;
845
- };
846
- }>;
700
+ }, string>;
701
+ }, string>;
847
702
  static fromFields(fields: Record<string, any>): IncreaseCollateralEvent;
848
703
  static fromFieldsWithTypes(item: FieldsWithTypes): IncreaseCollateralEvent;
849
704
  static fromBcs(data: Uint8Array): IncreaseCollateralEvent;
@@ -921,49 +776,31 @@ export declare class LiquidateEvent implements StructClass {
921
776
  static get r(): reified.StructClassReified<LiquidateEvent, LiquidateEventFields>;
922
777
  static phantom(): PhantomReified<ToTypeStr<LiquidateEvent>>;
923
778
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidateEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::LiquidateEvent">;
924
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
925
- user: string;
926
- collateral_token: {
927
- name: {
928
- bytes: number[];
929
- };
930
- };
931
- base_token: {
932
- name: {
933
- bytes: number[];
934
- };
935
- };
936
- position_id: string;
937
- collateral_price: string;
938
- trading_price: string;
939
- realized_liquidator_fee: string;
940
- realized_value_for_lp_pool: string;
941
- u64_padding: string[];
942
- }, {
943
- user: string;
944
- collateral_token: {
945
- name: {
946
- bytes: Iterable<number> & {
779
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
780
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
781
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
782
+ name: import("@mysten/sui/bcs").BcsStruct<{
783
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
947
784
  length: number;
948
- };
949
- };
950
- };
951
- base_token: {
952
- name: {
953
- bytes: Iterable<number> & {
785
+ }, string>;
786
+ }, string>;
787
+ }, string>;
788
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
789
+ name: import("@mysten/sui/bcs").BcsStruct<{
790
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
954
791
  length: number;
955
- };
956
- };
957
- };
958
- position_id: string | number | bigint;
959
- collateral_price: string | number | bigint;
960
- trading_price: string | number | bigint;
961
- realized_liquidator_fee: string | number | bigint;
962
- realized_value_for_lp_pool: string | number | bigint;
963
- u64_padding: Iterable<string | number | bigint> & {
792
+ }, string>;
793
+ }, string>;
794
+ }, string>;
795
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
796
+ collateral_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
797
+ trading_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
798
+ realized_liquidator_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
799
+ realized_value_for_lp_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
800
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
964
801
  length: number;
965
- };
966
- }>;
802
+ }, string>;
803
+ }, string>;
967
804
  static fromFields(fields: Record<string, any>): LiquidateEvent;
968
805
  static fromFieldsWithTypes(item: FieldsWithTypes): LiquidateEvent;
969
806
  static fromBcs(data: Uint8Array): LiquidateEvent;
@@ -1029,27 +866,29 @@ export declare class LiquidationInfo implements StructClass {
1029
866
  static get r(): reified.StructClassReified<LiquidationInfo, LiquidationInfoFields>;
1030
867
  static phantom(): PhantomReified<ToTypeStr<LiquidationInfo>>;
1031
868
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidationInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::LiquidationInfo">;
1032
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1033
- position_id: string;
1034
- dov_index: {
1035
- vec: any[];
1036
- };
1037
- bid_token: {
1038
- vec: any[];
1039
- };
1040
- }, {
1041
- position_id: string | number | bigint;
1042
- dov_index: {
1043
- vec: Iterable<any> & {
869
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
870
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
871
+ dov_index: import("@mysten/sui/bcs").BcsStruct<{
872
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1044
873
  length: number;
1045
- };
1046
- };
1047
- bid_token: {
1048
- vec: Iterable<any> & {
874
+ }, string>;
875
+ }, string>;
876
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
877
+ vec: import("@mysten/sui/bcs").BcsType<{
878
+ name: {
879
+ bytes: number[];
880
+ };
881
+ }[], Iterable<{
882
+ name: {
883
+ bytes: Iterable<number> & {
884
+ length: number;
885
+ };
886
+ };
887
+ }> & {
1049
888
  length: number;
1050
- };
1051
- };
1052
- }>;
889
+ }, string>;
890
+ }, string>;
891
+ }, string>;
1053
892
  static fromFields(fields: Record<string, any>): LiquidationInfo;
1054
893
  static fromFieldsWithTypes(item: FieldsWithTypes): LiquidationInfo;
1055
894
  static fromBcs(data: Uint8Array): LiquidationInfo;
@@ -1109,59 +948,40 @@ export declare class ManagerCancelOrdersEvent implements StructClass {
1109
948
  static get r(): reified.StructClassReified<ManagerCancelOrdersEvent, ManagerCancelOrdersEventFields>;
1110
949
  static phantom(): PhantomReified<ToTypeStr<ManagerCancelOrdersEvent>>;
1111
950
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerCancelOrdersEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerCancelOrdersEvent">;
1112
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1113
- reason: {
1114
- bytes: number[];
1115
- };
1116
- collateral_token: {
1117
- name: {
1118
- bytes: number[];
1119
- };
1120
- };
1121
- base_token: {
1122
- name: {
1123
- bytes: number[];
1124
- };
1125
- };
1126
- order_type_tag: number;
1127
- order_ids: string[];
1128
- order_sizes: string[];
1129
- order_prices: string[];
1130
- u64_padding: string[];
1131
- }, {
1132
- reason: {
1133
- bytes: Iterable<number> & {
951
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
952
+ reason: import("@mysten/sui/bcs").BcsStruct<{
953
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1134
954
  length: number;
1135
- };
1136
- };
1137
- collateral_token: {
1138
- name: {
1139
- bytes: Iterable<number> & {
955
+ }, string>;
956
+ }, string>;
957
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
958
+ name: import("@mysten/sui/bcs").BcsStruct<{
959
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1140
960
  length: number;
1141
- };
1142
- };
1143
- };
1144
- base_token: {
1145
- name: {
1146
- bytes: Iterable<number> & {
961
+ }, string>;
962
+ }, string>;
963
+ }, string>;
964
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
965
+ name: import("@mysten/sui/bcs").BcsStruct<{
966
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1147
967
  length: number;
1148
- };
1149
- };
1150
- };
1151
- order_type_tag: number;
1152
- order_ids: Iterable<string | number | bigint> & {
968
+ }, string>;
969
+ }, string>;
970
+ }, string>;
971
+ order_type_tag: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
972
+ order_ids: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1153
973
  length: number;
1154
- };
1155
- order_sizes: Iterable<string | number | bigint> & {
974
+ }, string>;
975
+ order_sizes: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1156
976
  length: number;
1157
- };
1158
- order_prices: Iterable<string | number | bigint> & {
977
+ }, string>;
978
+ order_prices: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1159
979
  length: number;
1160
- };
1161
- u64_padding: Iterable<string | number | bigint> & {
980
+ }, string>;
981
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1162
982
  length: number;
1163
- };
1164
- }>;
983
+ }, string>;
984
+ }, string>;
1165
985
  static fromFields(fields: Record<string, any>): ManagerCancelOrdersEvent;
1166
986
  static fromFieldsWithTypes(item: FieldsWithTypes): ManagerCancelOrdersEvent;
1167
987
  static fromBcs(data: Uint8Array): ManagerCancelOrdersEvent;
@@ -1237,51 +1057,33 @@ export declare class ManagerCloseOptionPositionEvent implements StructClass {
1237
1057
  static get r(): reified.StructClassReified<ManagerCloseOptionPositionEvent, ManagerCloseOptionPositionEventFields>;
1238
1058
  static phantom(): PhantomReified<ToTypeStr<ManagerCloseOptionPositionEvent>>;
1239
1059
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerCloseOptionPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerCloseOptionPositionEvent">;
1240
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1241
- user: string;
1242
- collateral_token: {
1243
- name: {
1244
- bytes: number[];
1245
- };
1246
- };
1247
- base_token: {
1248
- name: {
1249
- bytes: number[];
1250
- };
1251
- };
1252
- position_id: string;
1253
- order_size: string;
1254
- collateral_price: string;
1255
- trading_price: string;
1256
- cancelled_order_ids: string[];
1257
- u64_padding: string[];
1258
- }, {
1259
- user: string;
1260
- collateral_token: {
1261
- name: {
1262
- bytes: Iterable<number> & {
1060
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1061
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
1062
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
1063
+ name: import("@mysten/sui/bcs").BcsStruct<{
1064
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1263
1065
  length: number;
1264
- };
1265
- };
1266
- };
1267
- base_token: {
1268
- name: {
1269
- bytes: Iterable<number> & {
1066
+ }, string>;
1067
+ }, string>;
1068
+ }, string>;
1069
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
1070
+ name: import("@mysten/sui/bcs").BcsStruct<{
1071
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1270
1072
  length: number;
1271
- };
1272
- };
1273
- };
1274
- position_id: string | number | bigint;
1275
- order_size: string | number | bigint;
1276
- collateral_price: string | number | bigint;
1277
- trading_price: string | number | bigint;
1278
- cancelled_order_ids: Iterable<string | number | bigint> & {
1073
+ }, string>;
1074
+ }, string>;
1075
+ }, string>;
1076
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1077
+ order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1078
+ collateral_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1079
+ trading_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1080
+ cancelled_order_ids: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1279
1081
  length: number;
1280
- };
1281
- u64_padding: Iterable<string | number | bigint> & {
1082
+ }, string>;
1083
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1282
1084
  length: number;
1283
- };
1284
- }>;
1085
+ }, string>;
1086
+ }, string>;
1285
1087
  static fromFields(fields: Record<string, any>): ManagerCloseOptionPositionEvent;
1286
1088
  static fromFieldsWithTypes(item: FieldsWithTypes): ManagerCloseOptionPositionEvent;
1287
1089
  static fromBcs(data: Uint8Array): ManagerCloseOptionPositionEvent;
@@ -1359,51 +1161,33 @@ export declare class ManagerReducePositionEvent implements StructClass {
1359
1161
  static get r(): reified.StructClassReified<ManagerReducePositionEvent, ManagerReducePositionEventFields>;
1360
1162
  static phantom(): PhantomReified<ToTypeStr<ManagerReducePositionEvent>>;
1361
1163
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerReducePositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerReducePositionEvent">;
1362
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1363
- user: string;
1364
- collateral_token: {
1365
- name: {
1366
- bytes: number[];
1367
- };
1368
- };
1369
- base_token: {
1370
- name: {
1371
- bytes: number[];
1372
- };
1373
- };
1374
- position_id: string;
1375
- reduced_size: string;
1376
- collateral_price: string;
1377
- trading_price: string;
1378
- cancelled_order_ids: string[];
1379
- u64_padding: string[];
1380
- }, {
1381
- user: string;
1382
- collateral_token: {
1383
- name: {
1384
- bytes: Iterable<number> & {
1164
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1165
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
1166
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
1167
+ name: import("@mysten/sui/bcs").BcsStruct<{
1168
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1385
1169
  length: number;
1386
- };
1387
- };
1388
- };
1389
- base_token: {
1390
- name: {
1391
- bytes: Iterable<number> & {
1170
+ }, string>;
1171
+ }, string>;
1172
+ }, string>;
1173
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
1174
+ name: import("@mysten/sui/bcs").BcsStruct<{
1175
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1392
1176
  length: number;
1393
- };
1394
- };
1395
- };
1396
- position_id: string | number | bigint;
1397
- reduced_size: string | number | bigint;
1398
- collateral_price: string | number | bigint;
1399
- trading_price: string | number | bigint;
1400
- cancelled_order_ids: Iterable<string | number | bigint> & {
1177
+ }, string>;
1178
+ }, string>;
1179
+ }, string>;
1180
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1181
+ reduced_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1182
+ collateral_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1183
+ trading_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1184
+ cancelled_order_ids: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1401
1185
  length: number;
1402
- };
1403
- u64_padding: Iterable<string | number | bigint> & {
1186
+ }, string>;
1187
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1404
1188
  length: number;
1405
- };
1406
- }>;
1189
+ }, string>;
1190
+ }, string>;
1407
1191
  static fromFields(fields: Record<string, any>): ManagerReducePositionEvent;
1408
1192
  static fromFieldsWithTypes(item: FieldsWithTypes): ManagerReducePositionEvent;
1409
1193
  static fromBcs(data: Uint8Array): ManagerReducePositionEvent;
@@ -1471,37 +1255,24 @@ export declare class ManagerUpdateProcessStatusAfterOrderEvent implements Struct
1471
1255
  static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterOrderEvent, ManagerUpdateProcessStatusAfterOrderEventFields>;
1472
1256
  static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterOrderEvent>>;
1473
1257
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerUpdateProcessStatusAfterOrderEvent">;
1474
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1475
- market_index: string;
1476
- pool_index: string;
1477
- liquidity_token: {
1478
- name: {
1479
- bytes: number[];
1480
- };
1481
- };
1482
- trading_base_token: {
1483
- name: {
1484
- bytes: number[];
1485
- };
1486
- };
1487
- }, {
1488
- market_index: string | number | bigint;
1489
- pool_index: string | number | bigint;
1490
- liquidity_token: {
1491
- name: {
1492
- bytes: Iterable<number> & {
1258
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1259
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1260
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1261
+ liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
1262
+ name: import("@mysten/sui/bcs").BcsStruct<{
1263
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1493
1264
  length: number;
1494
- };
1495
- };
1496
- };
1497
- trading_base_token: {
1498
- name: {
1499
- bytes: Iterable<number> & {
1265
+ }, string>;
1266
+ }, string>;
1267
+ }, string>;
1268
+ trading_base_token: import("@mysten/sui/bcs").BcsStruct<{
1269
+ name: import("@mysten/sui/bcs").BcsStruct<{
1270
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1500
1271
  length: number;
1501
- };
1502
- };
1503
- };
1504
- }>;
1272
+ }, string>;
1273
+ }, string>;
1274
+ }, string>;
1275
+ }, string>;
1505
1276
  static fromFields(fields: Record<string, any>): ManagerUpdateProcessStatusAfterOrderEvent;
1506
1277
  static fromFieldsWithTypes(item: FieldsWithTypes): ManagerUpdateProcessStatusAfterOrderEvent;
1507
1278
  static fromBcs(data: Uint8Array): ManagerUpdateProcessStatusAfterOrderEvent;
@@ -1559,37 +1330,24 @@ export declare class ManagerUpdateProcessStatusAfterPositionEvent implements Str
1559
1330
  static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterPositionEvent, ManagerUpdateProcessStatusAfterPositionEventFields>;
1560
1331
  static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterPositionEvent>>;
1561
1332
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerUpdateProcessStatusAfterPositionEvent">;
1562
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1563
- market_index: string;
1564
- pool_index: string;
1565
- liquidity_token: {
1566
- name: {
1567
- bytes: number[];
1568
- };
1569
- };
1570
- trading_base_token: {
1571
- name: {
1572
- bytes: number[];
1573
- };
1574
- };
1575
- }, {
1576
- market_index: string | number | bigint;
1577
- pool_index: string | number | bigint;
1578
- liquidity_token: {
1579
- name: {
1580
- bytes: Iterable<number> & {
1333
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1334
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1335
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1336
+ liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
1337
+ name: import("@mysten/sui/bcs").BcsStruct<{
1338
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1581
1339
  length: number;
1582
- };
1583
- };
1584
- };
1585
- trading_base_token: {
1586
- name: {
1587
- bytes: Iterable<number> & {
1340
+ }, string>;
1341
+ }, string>;
1342
+ }, string>;
1343
+ trading_base_token: import("@mysten/sui/bcs").BcsStruct<{
1344
+ name: import("@mysten/sui/bcs").BcsStruct<{
1345
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1588
1346
  length: number;
1589
- };
1590
- };
1591
- };
1592
- }>;
1347
+ }, string>;
1348
+ }, string>;
1349
+ }, string>;
1350
+ }, string>;
1593
1351
  static fromFields(fields: Record<string, any>): ManagerUpdateProcessStatusAfterPositionEvent;
1594
1352
  static fromFieldsWithTypes(item: FieldsWithTypes): ManagerUpdateProcessStatusAfterPositionEvent;
1595
1353
  static fromBcs(data: Uint8Array): ManagerUpdateProcessStatusAfterPositionEvent;
@@ -1659,33 +1417,22 @@ export declare class MarketConfig implements StructClass {
1659
1417
  static get r(): reified.StructClassReified<MarketConfig, MarketConfigFields>;
1660
1418
  static phantom(): PhantomReified<ToTypeStr<MarketConfig>>;
1661
1419
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketConfig" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketConfig">;
1662
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1663
- oracle_id: string;
1664
- max_leverage_mbp: string;
1665
- option_collateral_max_leverage_mbp: string;
1666
- min_size: string;
1667
- lot_size: string;
1668
- trading_fee_config: string[];
1669
- basic_funding_rate: string;
1670
- funding_interval_ts_ms: string;
1671
- exp_multiplier: string;
1672
- u64_padding: string[];
1673
- }, {
1674
- oracle_id: string;
1675
- max_leverage_mbp: string | number | bigint;
1676
- option_collateral_max_leverage_mbp: string | number | bigint;
1677
- min_size: string | number | bigint;
1678
- lot_size: string | number | bigint;
1679
- trading_fee_config: Iterable<string | number | bigint> & {
1420
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1421
+ oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
1422
+ max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1423
+ option_collateral_max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1424
+ min_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1425
+ lot_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1426
+ trading_fee_config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1680
1427
  length: number;
1681
- };
1682
- basic_funding_rate: string | number | bigint;
1683
- funding_interval_ts_ms: string | number | bigint;
1684
- exp_multiplier: string | number | bigint;
1685
- u64_padding: Iterable<string | number | bigint> & {
1428
+ }, string>;
1429
+ basic_funding_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1430
+ funding_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1431
+ exp_multiplier: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1432
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1686
1433
  length: number;
1687
- };
1688
- }>;
1434
+ }, string>;
1435
+ }, string>;
1689
1436
  static fromFields(fields: Record<string, any>): MarketConfig;
1690
1437
  static fromFieldsWithTypes(item: FieldsWithTypes): MarketConfig;
1691
1438
  static fromBcs(data: Uint8Array): MarketConfig;
@@ -1769,41 +1516,25 @@ export declare class MarketInfo implements StructClass {
1769
1516
  static get r(): reified.StructClassReified<MarketInfo, MarketInfoFields>;
1770
1517
  static phantom(): PhantomReified<ToTypeStr<MarketInfo>>;
1771
1518
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketInfo">;
1772
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1773
- is_active: boolean;
1774
- size_decimal: string;
1775
- user_long_position_size: string;
1776
- user_short_position_size: string;
1777
- next_position_id: string;
1778
- user_long_order_size: string;
1779
- user_short_order_size: string;
1780
- next_order_id: string;
1781
- last_funding_ts_ms: string;
1782
- cumulative_funding_rate_index_sign: boolean;
1783
- cumulative_funding_rate_index: string;
1784
- previous_last_funding_ts_ms: string;
1785
- previous_cumulative_funding_rate_index_sign: boolean;
1786
- previous_cumulative_funding_rate_index: string;
1787
- u64_padding: string[];
1788
- }, {
1789
- is_active: boolean;
1790
- size_decimal: string | number | bigint;
1791
- user_long_position_size: string | number | bigint;
1792
- user_short_position_size: string | number | bigint;
1793
- next_position_id: string | number | bigint;
1794
- user_long_order_size: string | number | bigint;
1795
- user_short_order_size: string | number | bigint;
1796
- next_order_id: string | number | bigint;
1797
- last_funding_ts_ms: string | number | bigint;
1798
- cumulative_funding_rate_index_sign: boolean;
1799
- cumulative_funding_rate_index: string | number | bigint;
1800
- previous_last_funding_ts_ms: string | number | bigint;
1801
- previous_cumulative_funding_rate_index_sign: boolean;
1802
- previous_cumulative_funding_rate_index: string | number | bigint;
1803
- u64_padding: Iterable<string | number | bigint> & {
1519
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1520
+ is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1521
+ size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1522
+ user_long_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1523
+ user_short_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1524
+ next_position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1525
+ user_long_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1526
+ user_short_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1527
+ next_order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1528
+ last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1529
+ cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1530
+ cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1531
+ previous_last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1532
+ previous_cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1533
+ previous_cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1534
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1804
1535
  length: number;
1805
- };
1806
- }>;
1536
+ }, string>;
1537
+ }, string>;
1807
1538
  static fromFields(fields: Record<string, any>): MarketInfo;
1808
1539
  static fromFieldsWithTypes(item: FieldsWithTypes): MarketInfo;
1809
1540
  static fromBcs(data: Uint8Array): MarketInfo;
@@ -1863,91 +1594,59 @@ export declare class MarketRegistry implements StructClass {
1863
1594
  static readonly $typeName: string;
1864
1595
  static readonly $numTypeParams = 0;
1865
1596
  static readonly $isPhantom: readonly [];
1866
- readonly $typeName: string;
1867
- readonly $fullTypeName: `${typeof PKG_V1}::trading::MarketRegistry`;
1868
- readonly $typeArgs: [];
1869
- readonly $isPhantom: readonly [];
1870
- readonly id: ToField<UID>;
1871
- readonly referralRegistry: ToField<UID>;
1872
- readonly markets: ToField<LinkedObjectTable<"u64", ToPhantom<Markets>>>;
1873
- readonly numMarket: ToField<"u64">;
1874
- readonly u64Padding: ToField<Vector<"u64">>;
1875
- private constructor();
1876
- static reified(): MarketRegistryReified;
1877
- static get r(): reified.StructClassReified<MarketRegistry, MarketRegistryFields>;
1878
- static phantom(): PhantomReified<ToTypeStr<MarketRegistry>>;
1879
- static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketRegistry" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketRegistry">;
1880
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1881
- id: {
1882
- id: {
1883
- bytes: string;
1884
- };
1885
- };
1886
- referral_registry: {
1887
- id: {
1888
- bytes: string;
1889
- };
1890
- };
1891
- markets: {
1892
- id: {
1893
- id: {
1894
- bytes: string;
1895
- };
1896
- };
1897
- vid: {
1898
- id: {
1899
- bytes: string;
1900
- };
1901
- };
1902
- size: string;
1903
- head: {
1904
- vec: any[];
1905
- };
1906
- tail: {
1907
- vec: any[];
1908
- };
1909
- };
1910
- num_market: string;
1911
- u64_padding: string[];
1912
- }, {
1913
- id: {
1914
- id: {
1915
- bytes: string;
1916
- };
1917
- };
1918
- referral_registry: {
1919
- id: {
1920
- bytes: string;
1921
- };
1922
- };
1923
- markets: {
1924
- id: {
1925
- id: {
1926
- bytes: string;
1927
- };
1928
- };
1929
- vid: {
1930
- id: {
1931
- bytes: string;
1932
- };
1933
- };
1934
- size: string | number | bigint;
1935
- head: {
1936
- vec: Iterable<any> & {
1597
+ readonly $typeName: string;
1598
+ readonly $fullTypeName: `${typeof PKG_V1}::trading::MarketRegistry`;
1599
+ readonly $typeArgs: [];
1600
+ readonly $isPhantom: readonly [];
1601
+ readonly id: ToField<UID>;
1602
+ readonly referralRegistry: ToField<UID>;
1603
+ readonly markets: ToField<LinkedObjectTable<"u64", ToPhantom<Markets>>>;
1604
+ readonly numMarket: ToField<"u64">;
1605
+ readonly u64Padding: ToField<Vector<"u64">>;
1606
+ private constructor();
1607
+ static reified(): MarketRegistryReified;
1608
+ static get r(): reified.StructClassReified<MarketRegistry, MarketRegistryFields>;
1609
+ static phantom(): PhantomReified<ToTypeStr<MarketRegistry>>;
1610
+ static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketRegistry" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketRegistry">;
1611
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1612
+ id: import("@mysten/sui/bcs").BcsStruct<{
1613
+ id: import("@mysten/sui/bcs").BcsStruct<{
1614
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1615
+ }, string>;
1616
+ }, string>;
1617
+ referral_registry: import("@mysten/sui/bcs").BcsStruct<{
1618
+ id: import("@mysten/sui/bcs").BcsStruct<{
1619
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1620
+ }, string>;
1621
+ }, string>;
1622
+ markets: import("@mysten/sui/bcs").BcsStruct<{
1623
+ id: import("@mysten/sui/bcs").BcsStruct<{
1624
+ id: import("@mysten/sui/bcs").BcsStruct<{
1625
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1626
+ }, string>;
1627
+ }, string>;
1628
+ vid: import("@mysten/sui/bcs").BcsStruct<{
1629
+ id: import("@mysten/sui/bcs").BcsStruct<{
1630
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1631
+ }, string>;
1632
+ }, string>;
1633
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1634
+ head: import("@mysten/sui/bcs").BcsStruct<{
1635
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1937
1636
  length: number;
1938
- };
1939
- };
1940
- tail: {
1941
- vec: Iterable<any> & {
1637
+ }, string>;
1638
+ }, string>;
1639
+ tail: import("@mysten/sui/bcs").BcsStruct<{
1640
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1942
1641
  length: number;
1943
- };
1944
- };
1945
- };
1946
- num_market: string | number | bigint;
1947
- u64_padding: Iterable<string | number | bigint> & {
1642
+ }, string>;
1643
+ }, string>;
1644
+ }, string>;
1645
+ num_market: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1646
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1948
1647
  length: number;
1949
- };
1950
- }>;
1648
+ }, string>;
1649
+ }, string>;
1951
1650
  static fromFields(fields: Record<string, any>): MarketRegistry;
1952
1651
  static fromFieldsWithTypes(item: FieldsWithTypes): MarketRegistry;
1953
1652
  static fromBcs(data: Uint8Array): MarketRegistry;
@@ -2021,63 +1720,34 @@ export declare class Markets implements StructClass {
2021
1720
  static get r(): reified.StructClassReified<Markets, MarketsFields>;
2022
1721
  static phantom(): PhantomReified<ToTypeStr<Markets>>;
2023
1722
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::Markets" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::Markets">;
2024
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2025
- id: {
2026
- id: {
2027
- bytes: string;
2028
- };
2029
- };
2030
- index: string;
2031
- lp_token_type: {
2032
- name: {
2033
- bytes: number[];
2034
- };
2035
- };
2036
- quote_token_type: {
2037
- name: {
2038
- bytes: number[];
2039
- };
2040
- };
2041
- is_active: boolean;
2042
- protocol_fee_share_bp: string;
2043
- symbols: {
2044
- name: {
2045
- bytes: number[];
2046
- };
2047
- }[];
2048
- symbol_markets: {
2049
- id: {
2050
- id: {
2051
- bytes: string;
2052
- };
2053
- };
2054
- size: string;
2055
- };
2056
- u64_padding: string[];
2057
- }, {
2058
- id: {
2059
- id: {
2060
- bytes: string;
2061
- };
2062
- };
2063
- index: string | number | bigint;
2064
- lp_token_type: {
2065
- name: {
2066
- bytes: Iterable<number> & {
1723
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1724
+ id: import("@mysten/sui/bcs").BcsStruct<{
1725
+ id: import("@mysten/sui/bcs").BcsStruct<{
1726
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1727
+ }, string>;
1728
+ }, string>;
1729
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1730
+ lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
1731
+ name: import("@mysten/sui/bcs").BcsStruct<{
1732
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2067
1733
  length: number;
2068
- };
2069
- };
2070
- };
2071
- quote_token_type: {
2072
- name: {
2073
- bytes: Iterable<number> & {
1734
+ }, string>;
1735
+ }, string>;
1736
+ }, string>;
1737
+ quote_token_type: import("@mysten/sui/bcs").BcsStruct<{
1738
+ name: import("@mysten/sui/bcs").BcsStruct<{
1739
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2074
1740
  length: number;
2075
- };
1741
+ }, string>;
1742
+ }, string>;
1743
+ }, string>;
1744
+ is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1745
+ protocol_fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1746
+ symbols: import("@mysten/sui/bcs").BcsType<{
1747
+ name: {
1748
+ bytes: number[];
2076
1749
  };
2077
- };
2078
- is_active: boolean;
2079
- protocol_fee_share_bp: string | number | bigint;
2080
- symbols: Iterable<{
1750
+ }[], Iterable<{
2081
1751
  name: {
2082
1752
  bytes: Iterable<number> & {
2083
1753
  length: number;
@@ -2085,19 +1755,19 @@ export declare class Markets implements StructClass {
2085
1755
  };
2086
1756
  }> & {
2087
1757
  length: number;
2088
- };
2089
- symbol_markets: {
2090
- id: {
2091
- id: {
2092
- bytes: string;
2093
- };
2094
- };
2095
- size: string | number | bigint;
2096
- };
2097
- u64_padding: Iterable<string | number | bigint> & {
1758
+ }, string>;
1759
+ symbol_markets: import("@mysten/sui/bcs").BcsStruct<{
1760
+ id: import("@mysten/sui/bcs").BcsStruct<{
1761
+ id: import("@mysten/sui/bcs").BcsStruct<{
1762
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1763
+ }, string>;
1764
+ }, string>;
1765
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1766
+ }, string>;
1767
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2098
1768
  length: number;
2099
- };
2100
- }>;
1769
+ }, string>;
1770
+ }, string>;
2101
1771
  static fromFields(fields: Record<string, any>): Markets;
2102
1772
  static fromFieldsWithTypes(item: FieldsWithTypes): Markets;
2103
1773
  static fromBcs(data: Uint8Array): Markets;
@@ -2175,41 +1845,28 @@ export declare class MatchTradingOrderEvent implements StructClass {
2175
1845
  static get r(): reified.StructClassReified<MatchTradingOrderEvent, MatchTradingOrderEventFields>;
2176
1846
  static phantom(): PhantomReified<ToTypeStr<MatchTradingOrderEvent>>;
2177
1847
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MatchTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MatchTradingOrderEvent">;
2178
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2179
- collateral_token: {
2180
- name: {
2181
- bytes: number[];
2182
- };
2183
- };
2184
- base_token: {
2185
- name: {
2186
- bytes: number[];
2187
- };
2188
- };
2189
- matched_order_ids: string[];
2190
- u64_padding: string[];
2191
- }, {
2192
- collateral_token: {
2193
- name: {
2194
- bytes: Iterable<number> & {
1848
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1849
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
1850
+ name: import("@mysten/sui/bcs").BcsStruct<{
1851
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2195
1852
  length: number;
2196
- };
2197
- };
2198
- };
2199
- base_token: {
2200
- name: {
2201
- bytes: Iterable<number> & {
1853
+ }, string>;
1854
+ }, string>;
1855
+ }, string>;
1856
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
1857
+ name: import("@mysten/sui/bcs").BcsStruct<{
1858
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2202
1859
  length: number;
2203
- };
2204
- };
2205
- };
2206
- matched_order_ids: Iterable<string | number | bigint> & {
1860
+ }, string>;
1861
+ }, string>;
1862
+ }, string>;
1863
+ matched_order_ids: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2207
1864
  length: number;
2208
- };
2209
- u64_padding: Iterable<string | number | bigint> & {
1865
+ }, string>;
1866
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2210
1867
  length: number;
2211
- };
2212
- }>;
1868
+ }, string>;
1869
+ }, string>;
2213
1870
  static fromFields(fields: Record<string, any>): MatchTradingOrderEvent;
2214
1871
  static fromFieldsWithTypes(item: FieldsWithTypes): MatchTradingOrderEvent;
2215
1872
  static fromBcs(data: Uint8Array): MatchTradingOrderEvent;
@@ -2269,41 +1926,27 @@ export declare class NewMarketsEvent implements StructClass {
2269
1926
  static get r(): reified.StructClassReified<NewMarketsEvent, NewMarketsEventFields>;
2270
1927
  static phantom(): PhantomReified<ToTypeStr<NewMarketsEvent>>;
2271
1928
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::NewMarketsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::NewMarketsEvent">;
2272
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2273
- index: string;
2274
- lp_token_type: {
2275
- name: {
2276
- bytes: number[];
2277
- };
2278
- };
2279
- quote_token_type: {
2280
- name: {
2281
- bytes: number[];
2282
- };
2283
- };
2284
- protocol_fee_share_bp: string;
2285
- u64_padding: string[];
2286
- }, {
2287
- index: string | number | bigint;
2288
- lp_token_type: {
2289
- name: {
2290
- bytes: Iterable<number> & {
1929
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1930
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1931
+ lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
1932
+ name: import("@mysten/sui/bcs").BcsStruct<{
1933
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2291
1934
  length: number;
2292
- };
2293
- };
2294
- };
2295
- quote_token_type: {
2296
- name: {
2297
- bytes: Iterable<number> & {
1935
+ }, string>;
1936
+ }, string>;
1937
+ }, string>;
1938
+ quote_token_type: import("@mysten/sui/bcs").BcsStruct<{
1939
+ name: import("@mysten/sui/bcs").BcsStruct<{
1940
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2298
1941
  length: number;
2299
- };
2300
- };
2301
- };
2302
- protocol_fee_share_bp: string | number | bigint;
2303
- u64_padding: Iterable<string | number | bigint> & {
1942
+ }, string>;
1943
+ }, string>;
1944
+ }, string>;
1945
+ protocol_fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1946
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2304
1947
  length: number;
2305
- };
2306
- }>;
1948
+ }, string>;
1949
+ }, string>;
2307
1950
  static fromFields(fields: Record<string, any>): NewMarketsEvent;
2308
1951
  static fromFieldsWithTypes(item: FieldsWithTypes): NewMarketsEvent;
2309
1952
  static fromBcs(data: Uint8Array): NewMarketsEvent;
@@ -2379,55 +2022,34 @@ export declare class RealizeOptionPositionEvent implements StructClass {
2379
2022
  static get r(): reified.StructClassReified<RealizeOptionPositionEvent, RealizeOptionPositionEventFields>;
2380
2023
  static phantom(): PhantomReified<ToTypeStr<RealizeOptionPositionEvent>>;
2381
2024
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::RealizeOptionPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::RealizeOptionPositionEvent">;
2382
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2383
- position_user: string;
2384
- position_id: string;
2385
- trading_symbol: {
2386
- name: {
2387
- bytes: number[];
2388
- };
2389
- };
2390
- realize_balance_token_type: {
2391
- name: {
2392
- bytes: number[];
2393
- };
2394
- };
2395
- exercise_balance_value: string;
2396
- user_remaining_value: string;
2397
- user_remaining_in_usd: string;
2398
- realized_loss_value: string;
2399
- fee_value: string;
2400
- realized_trading_fee: string;
2401
- realized_borrow_fee: string;
2402
- u64_padding: string[];
2403
- }, {
2404
- position_user: string;
2405
- position_id: string | number | bigint;
2406
- trading_symbol: {
2407
- name: {
2408
- bytes: Iterable<number> & {
2025
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2026
+ position_user: import("@mysten/sui/bcs").BcsType<string, string, string>;
2027
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2028
+ trading_symbol: import("@mysten/sui/bcs").BcsStruct<{
2029
+ name: import("@mysten/sui/bcs").BcsStruct<{
2030
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2409
2031
  length: number;
2410
- };
2411
- };
2412
- };
2413
- realize_balance_token_type: {
2414
- name: {
2415
- bytes: Iterable<number> & {
2032
+ }, string>;
2033
+ }, string>;
2034
+ }, string>;
2035
+ realize_balance_token_type: import("@mysten/sui/bcs").BcsStruct<{
2036
+ name: import("@mysten/sui/bcs").BcsStruct<{
2037
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2416
2038
  length: number;
2417
- };
2418
- };
2419
- };
2420
- exercise_balance_value: string | number | bigint;
2421
- user_remaining_value: string | number | bigint;
2422
- user_remaining_in_usd: string | number | bigint;
2423
- realized_loss_value: string | number | bigint;
2424
- fee_value: string | number | bigint;
2425
- realized_trading_fee: string | number | bigint;
2426
- realized_borrow_fee: string | number | bigint;
2427
- u64_padding: Iterable<string | number | bigint> & {
2039
+ }, string>;
2040
+ }, string>;
2041
+ }, string>;
2042
+ exercise_balance_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2043
+ user_remaining_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2044
+ user_remaining_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2045
+ realized_loss_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2046
+ fee_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2047
+ realized_trading_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2048
+ realized_borrow_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2049
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2428
2050
  length: number;
2429
- };
2430
- }>;
2051
+ }, string>;
2052
+ }, string>;
2431
2053
  static fromFields(fields: Record<string, any>): RealizeOptionPositionEvent;
2432
2054
  static fromFieldsWithTypes(item: FieldsWithTypes): RealizeOptionPositionEvent;
2433
2055
  static fromBcs(data: Uint8Array): RealizeOptionPositionEvent;
@@ -2511,49 +2133,31 @@ export declare class ReleaseCollateralEvent implements StructClass {
2511
2133
  static get r(): reified.StructClassReified<ReleaseCollateralEvent, ReleaseCollateralEventFields>;
2512
2134
  static phantom(): PhantomReified<ToTypeStr<ReleaseCollateralEvent>>;
2513
2135
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ReleaseCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ReleaseCollateralEvent">;
2514
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2515
- user: string;
2516
- market_index: string;
2517
- pool_index: string;
2518
- position_id: string;
2519
- collateral_token: {
2520
- name: {
2521
- bytes: number[];
2522
- };
2523
- };
2524
- base_token: {
2525
- name: {
2526
- bytes: number[];
2527
- };
2528
- };
2529
- released_collateral_amount: string;
2530
- remaining_collateral_amount: string;
2531
- u64_padding: string[];
2532
- }, {
2533
- user: string;
2534
- market_index: string | number | bigint;
2535
- pool_index: string | number | bigint;
2536
- position_id: string | number | bigint;
2537
- collateral_token: {
2538
- name: {
2539
- bytes: Iterable<number> & {
2136
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2137
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
2138
+ market_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2139
+ pool_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2140
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2141
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
2142
+ name: import("@mysten/sui/bcs").BcsStruct<{
2143
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2540
2144
  length: number;
2541
- };
2542
- };
2543
- };
2544
- base_token: {
2545
- name: {
2546
- bytes: Iterable<number> & {
2145
+ }, string>;
2146
+ }, string>;
2147
+ }, string>;
2148
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
2149
+ name: import("@mysten/sui/bcs").BcsStruct<{
2150
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2547
2151
  length: number;
2548
- };
2549
- };
2550
- };
2551
- released_collateral_amount: string | number | bigint;
2552
- remaining_collateral_amount: string | number | bigint;
2553
- u64_padding: Iterable<string | number | bigint> & {
2152
+ }, string>;
2153
+ }, string>;
2154
+ }, string>;
2155
+ released_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2156
+ remaining_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2157
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2554
2158
  length: number;
2555
- };
2556
- }>;
2159
+ }, string>;
2160
+ }, string>;
2557
2161
  static fromFields(fields: Record<string, any>): ReleaseCollateralEvent;
2558
2162
  static fromFieldsWithTypes(item: FieldsWithTypes): ReleaseCollateralEvent;
2559
2163
  static fromBcs(data: Uint8Array): ReleaseCollateralEvent;
@@ -2617,15 +2221,12 @@ export declare class ResumeMarketEvent implements StructClass {
2617
2221
  static get r(): reified.StructClassReified<ResumeMarketEvent, ResumeMarketEventFields>;
2618
2222
  static phantom(): PhantomReified<ToTypeStr<ResumeMarketEvent>>;
2619
2223
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeMarketEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ResumeMarketEvent">;
2620
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2621
- index: string;
2622
- u64_padding: string[];
2623
- }, {
2624
- index: string | number | bigint;
2625
- u64_padding: Iterable<string | number | bigint> & {
2224
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2225
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2226
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2626
2227
  length: number;
2627
- };
2628
- }>;
2228
+ }, string>;
2229
+ }, string>;
2629
2230
  static fromFields(fields: Record<string, any>): ResumeMarketEvent;
2630
2231
  static fromFieldsWithTypes(item: FieldsWithTypes): ResumeMarketEvent;
2631
2232
  static fromBcs(data: Uint8Array): ResumeMarketEvent;
@@ -2669,27 +2270,19 @@ export declare class ResumeTradingSymbolEvent implements StructClass {
2669
2270
  static get r(): reified.StructClassReified<ResumeTradingSymbolEvent, ResumeTradingSymbolEventFields>;
2670
2271
  static phantom(): PhantomReified<ToTypeStr<ResumeTradingSymbolEvent>>;
2671
2272
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ResumeTradingSymbolEvent">;
2672
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2673
- index: string;
2674
- resumed_base_token: {
2675
- name: {
2676
- bytes: number[];
2677
- };
2678
- };
2679
- u64_padding: string[];
2680
- }, {
2681
- index: string | number | bigint;
2682
- resumed_base_token: {
2683
- name: {
2684
- bytes: Iterable<number> & {
2273
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2274
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2275
+ resumed_base_token: import("@mysten/sui/bcs").BcsStruct<{
2276
+ name: import("@mysten/sui/bcs").BcsStruct<{
2277
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2685
2278
  length: number;
2686
- };
2687
- };
2688
- };
2689
- u64_padding: Iterable<string | number | bigint> & {
2279
+ }, string>;
2280
+ }, string>;
2281
+ }, string>;
2282
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2690
2283
  length: number;
2691
- };
2692
- }>;
2284
+ }, string>;
2285
+ }, string>;
2693
2286
  static fromFields(fields: Record<string, any>): ResumeTradingSymbolEvent;
2694
2287
  static fromFieldsWithTypes(item: FieldsWithTypes): ResumeTradingSymbolEvent;
2695
2288
  static fromBcs(data: Uint8Array): ResumeTradingSymbolEvent;
@@ -2751,49 +2344,31 @@ export declare class SettleReceiptCollateralEvent implements StructClass {
2751
2344
  static get r(): reified.StructClassReified<SettleReceiptCollateralEvent, SettleReceiptCollateralEventFields>;
2752
2345
  static phantom(): PhantomReified<ToTypeStr<SettleReceiptCollateralEvent>>;
2753
2346
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SettleReceiptCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SettleReceiptCollateralEvent">;
2754
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2755
- user: string;
2756
- collateral_token: {
2757
- name: {
2758
- bytes: number[];
2759
- };
2760
- };
2761
- bid_token: {
2762
- name: {
2763
- bytes: number[];
2764
- };
2765
- };
2766
- position_id: string;
2767
- realized_liquidator_fee: string;
2768
- remaining_unrealized_sign: boolean;
2769
- remaining_unrealized_value: string;
2770
- remaining_value_for_lp_pool: string;
2771
- u64_padding: string[];
2772
- }, {
2773
- user: string;
2774
- collateral_token: {
2775
- name: {
2776
- bytes: Iterable<number> & {
2347
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2348
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
2349
+ collateral_token: import("@mysten/sui/bcs").BcsStruct<{
2350
+ name: import("@mysten/sui/bcs").BcsStruct<{
2351
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2777
2352
  length: number;
2778
- };
2779
- };
2780
- };
2781
- bid_token: {
2782
- name: {
2783
- bytes: Iterable<number> & {
2353
+ }, string>;
2354
+ }, string>;
2355
+ }, string>;
2356
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
2357
+ name: import("@mysten/sui/bcs").BcsStruct<{
2358
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2784
2359
  length: number;
2785
- };
2786
- };
2787
- };
2788
- position_id: string | number | bigint;
2789
- realized_liquidator_fee: string | number | bigint;
2790
- remaining_unrealized_sign: boolean;
2791
- remaining_unrealized_value: string | number | bigint;
2792
- remaining_value_for_lp_pool: string | number | bigint;
2793
- u64_padding: Iterable<string | number | bigint> & {
2360
+ }, string>;
2361
+ }, string>;
2362
+ }, string>;
2363
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2364
+ realized_liquidator_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2365
+ remaining_unrealized_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2366
+ remaining_unrealized_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2367
+ remaining_value_for_lp_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2368
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2794
2369
  length: number;
2795
- };
2796
- }>;
2370
+ }, string>;
2371
+ }, string>;
2797
2372
  static fromFields(fields: Record<string, any>): SettleReceiptCollateralEvent;
2798
2373
  static fromFieldsWithTypes(item: FieldsWithTypes): SettleReceiptCollateralEvent;
2799
2374
  static fromBcs(data: Uint8Array): SettleReceiptCollateralEvent;
@@ -2857,15 +2432,12 @@ export declare class SuspendMarketEvent implements StructClass {
2857
2432
  static get r(): reified.StructClassReified<SuspendMarketEvent, SuspendMarketEventFields>;
2858
2433
  static phantom(): PhantomReified<ToTypeStr<SuspendMarketEvent>>;
2859
2434
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendMarketEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SuspendMarketEvent">;
2860
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2861
- index: string;
2862
- u64_padding: string[];
2863
- }, {
2864
- index: string | number | bigint;
2865
- u64_padding: Iterable<string | number | bigint> & {
2435
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2436
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2437
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2866
2438
  length: number;
2867
- };
2868
- }>;
2439
+ }, string>;
2440
+ }, string>;
2869
2441
  static fromFields(fields: Record<string, any>): SuspendMarketEvent;
2870
2442
  static fromFieldsWithTypes(item: FieldsWithTypes): SuspendMarketEvent;
2871
2443
  static fromBcs(data: Uint8Array): SuspendMarketEvent;
@@ -2909,27 +2481,19 @@ export declare class SuspendTradingSymbolEvent implements StructClass {
2909
2481
  static get r(): reified.StructClassReified<SuspendTradingSymbolEvent, SuspendTradingSymbolEventFields>;
2910
2482
  static phantom(): PhantomReified<ToTypeStr<SuspendTradingSymbolEvent>>;
2911
2483
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SuspendTradingSymbolEvent">;
2912
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2913
- index: string;
2914
- suspended_base_token: {
2915
- name: {
2916
- bytes: number[];
2917
- };
2918
- };
2919
- u64_padding: string[];
2920
- }, {
2921
- index: string | number | bigint;
2922
- suspended_base_token: {
2923
- name: {
2924
- bytes: Iterable<number> & {
2484
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2485
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2486
+ suspended_base_token: import("@mysten/sui/bcs").BcsStruct<{
2487
+ name: import("@mysten/sui/bcs").BcsStruct<{
2488
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2925
2489
  length: number;
2926
- };
2927
- };
2928
- };
2929
- u64_padding: Iterable<string | number | bigint> & {
2490
+ }, string>;
2491
+ }, string>;
2492
+ }, string>;
2493
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2930
2494
  length: number;
2931
- };
2932
- }>;
2495
+ }, string>;
2496
+ }, string>;
2933
2497
  static fromFields(fields: Record<string, any>): SuspendTradingSymbolEvent;
2934
2498
  static fromFieldsWithTypes(item: FieldsWithTypes): SuspendTradingSymbolEvent;
2935
2499
  static fromBcs(data: Uint8Array): SuspendTradingSymbolEvent;
@@ -2985,147 +2549,82 @@ export declare class SymbolMarket implements StructClass {
2985
2549
  static get r(): reified.StructClassReified<SymbolMarket, SymbolMarketFields>;
2986
2550
  static phantom(): PhantomReified<ToTypeStr<SymbolMarket>>;
2987
2551
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SymbolMarket" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SymbolMarket">;
2988
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2989
- id: {
2990
- id: {
2991
- bytes: string;
2992
- };
2993
- };
2994
- user_positions: {
2995
- id: {
2996
- id: {
2997
- bytes: string;
2998
- };
2999
- };
3000
- key_type: {
3001
- name: {
3002
- bytes: number[];
3003
- };
3004
- };
3005
- value_type: {
3006
- name: {
3007
- bytes: number[];
3008
- };
3009
- };
3010
- slice_idx: number;
3011
- slice_size: number;
3012
- length: string;
3013
- };
3014
- token_collateral_orders: {
3015
- id: {
3016
- bytes: string;
3017
- };
3018
- };
3019
- option_collateral_orders: {
3020
- id: {
3021
- bytes: string;
3022
- };
3023
- };
3024
- market_info: {
3025
- is_active: boolean;
3026
- size_decimal: string;
3027
- user_long_position_size: string;
3028
- user_short_position_size: string;
3029
- next_position_id: string;
3030
- user_long_order_size: string;
3031
- user_short_order_size: string;
3032
- next_order_id: string;
3033
- last_funding_ts_ms: string;
3034
- cumulative_funding_rate_index_sign: boolean;
3035
- cumulative_funding_rate_index: string;
3036
- previous_last_funding_ts_ms: string;
3037
- previous_cumulative_funding_rate_index_sign: boolean;
3038
- previous_cumulative_funding_rate_index: string;
3039
- u64_padding: string[];
3040
- };
3041
- market_config: {
3042
- oracle_id: string;
3043
- max_leverage_mbp: string;
3044
- option_collateral_max_leverage_mbp: string;
3045
- min_size: string;
3046
- lot_size: string;
3047
- trading_fee_config: string[];
3048
- basic_funding_rate: string;
3049
- funding_interval_ts_ms: string;
3050
- exp_multiplier: string;
3051
- u64_padding: string[];
3052
- };
3053
- }, {
3054
- id: {
3055
- id: {
3056
- bytes: string;
3057
- };
3058
- };
3059
- user_positions: {
3060
- id: {
3061
- id: {
3062
- bytes: string;
3063
- };
3064
- };
3065
- key_type: {
3066
- name: {
3067
- bytes: Iterable<number> & {
2552
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2553
+ id: import("@mysten/sui/bcs").BcsStruct<{
2554
+ id: import("@mysten/sui/bcs").BcsStruct<{
2555
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
2556
+ }, string>;
2557
+ }, string>;
2558
+ user_positions: import("@mysten/sui/bcs").BcsStruct<{
2559
+ id: import("@mysten/sui/bcs").BcsStruct<{
2560
+ id: import("@mysten/sui/bcs").BcsStruct<{
2561
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
2562
+ }, string>;
2563
+ }, string>;
2564
+ key_type: import("@mysten/sui/bcs").BcsStruct<{
2565
+ name: import("@mysten/sui/bcs").BcsStruct<{
2566
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
3068
2567
  length: number;
3069
- };
3070
- };
3071
- };
3072
- value_type: {
3073
- name: {
3074
- bytes: Iterable<number> & {
2568
+ }, string>;
2569
+ }, string>;
2570
+ }, string>;
2571
+ value_type: import("@mysten/sui/bcs").BcsStruct<{
2572
+ name: import("@mysten/sui/bcs").BcsStruct<{
2573
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
3075
2574
  length: number;
3076
- };
3077
- };
3078
- };
3079
- slice_idx: number;
3080
- slice_size: number;
3081
- length: string | number | bigint;
3082
- };
3083
- token_collateral_orders: {
3084
- id: {
3085
- bytes: string;
3086
- };
3087
- };
3088
- option_collateral_orders: {
3089
- id: {
3090
- bytes: string;
3091
- };
3092
- };
3093
- market_info: {
3094
- is_active: boolean;
3095
- size_decimal: string | number | bigint;
3096
- user_long_position_size: string | number | bigint;
3097
- user_short_position_size: string | number | bigint;
3098
- next_position_id: string | number | bigint;
3099
- user_long_order_size: string | number | bigint;
3100
- user_short_order_size: string | number | bigint;
3101
- next_order_id: string | number | bigint;
3102
- last_funding_ts_ms: string | number | bigint;
3103
- cumulative_funding_rate_index_sign: boolean;
3104
- cumulative_funding_rate_index: string | number | bigint;
3105
- previous_last_funding_ts_ms: string | number | bigint;
3106
- previous_cumulative_funding_rate_index_sign: boolean;
3107
- previous_cumulative_funding_rate_index: string | number | bigint;
3108
- u64_padding: Iterable<string | number | bigint> & {
2575
+ }, string>;
2576
+ }, string>;
2577
+ }, string>;
2578
+ slice_idx: import("@mysten/sui/bcs").BcsType<number, number, "u16">;
2579
+ slice_size: import("@mysten/sui/bcs").BcsType<number, number, "u32">;
2580
+ length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2581
+ }, string>;
2582
+ token_collateral_orders: import("@mysten/sui/bcs").BcsStruct<{
2583
+ id: import("@mysten/sui/bcs").BcsStruct<{
2584
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
2585
+ }, string>;
2586
+ }, string>;
2587
+ option_collateral_orders: import("@mysten/sui/bcs").BcsStruct<{
2588
+ id: import("@mysten/sui/bcs").BcsStruct<{
2589
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
2590
+ }, string>;
2591
+ }, string>;
2592
+ market_info: import("@mysten/sui/bcs").BcsStruct<{
2593
+ is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2594
+ size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2595
+ user_long_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2596
+ user_short_position_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2597
+ next_position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2598
+ user_long_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2599
+ user_short_order_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2600
+ next_order_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2601
+ last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2602
+ cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2603
+ cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2604
+ previous_last_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2605
+ previous_cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2606
+ previous_cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2607
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3109
2608
  length: number;
3110
- };
3111
- };
3112
- market_config: {
3113
- oracle_id: string;
3114
- max_leverage_mbp: string | number | bigint;
3115
- option_collateral_max_leverage_mbp: string | number | bigint;
3116
- min_size: string | number | bigint;
3117
- lot_size: string | number | bigint;
3118
- trading_fee_config: Iterable<string | number | bigint> & {
2609
+ }, string>;
2610
+ }, string>;
2611
+ market_config: import("@mysten/sui/bcs").BcsStruct<{
2612
+ oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
2613
+ max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2614
+ option_collateral_max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2615
+ min_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2616
+ lot_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2617
+ trading_fee_config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3119
2618
  length: number;
3120
- };
3121
- basic_funding_rate: string | number | bigint;
3122
- funding_interval_ts_ms: string | number | bigint;
3123
- exp_multiplier: string | number | bigint;
3124
- u64_padding: Iterable<string | number | bigint> & {
2619
+ }, string>;
2620
+ basic_funding_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2621
+ funding_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2622
+ exp_multiplier: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2623
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3125
2624
  length: number;
3126
- };
3127
- };
3128
- }>;
2625
+ }, string>;
2626
+ }, string>;
2627
+ }, string>;
3129
2628
  static fromFields(fields: Record<string, any>): SymbolMarket;
3130
2629
  static fromFieldsWithTypes(item: FieldsWithTypes): SymbolMarket;
3131
2630
  static fromBcs(data: Uint8Array): SymbolMarket;
@@ -3249,11 +2748,9 @@ export declare class USD implements StructClass {
3249
2748
  static get r(): reified.StructClassReified<USD, USDFields>;
3250
2749
  static phantom(): PhantomReified<ToTypeStr<USD>>;
3251
2750
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::USD" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::USD">;
3252
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
3253
- dummy_field: boolean;
3254
- }, {
3255
- dummy_field: boolean;
3256
- }>;
2751
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2752
+ dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2753
+ }, string>;
3257
2754
  static fromFields(fields: Record<string, any>): USD;
3258
2755
  static fromFieldsWithTypes(item: FieldsWithTypes): USD;
3259
2756
  static fromBcs(data: Uint8Array): USD;
@@ -3305,37 +2802,24 @@ export declare class UpdateFundingRateEvent implements StructClass {
3305
2802
  static get r(): reified.StructClassReified<UpdateFundingRateEvent, UpdateFundingRateEventFields>;
3306
2803
  static phantom(): PhantomReified<ToTypeStr<UpdateFundingRateEvent>>;
3307
2804
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateFundingRateEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateFundingRateEvent">;
3308
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
3309
- base_token: {
3310
- name: {
3311
- bytes: number[];
3312
- };
3313
- };
3314
- new_funding_ts_ms: string;
3315
- intervals_count: string;
3316
- previous_cumulative_funding_rate_index_sign: boolean;
3317
- previous_cumulative_funding_rate_index: string;
3318
- cumulative_funding_rate_index_sign: boolean;
3319
- cumulative_funding_rate_index: string;
3320
- u64_padding: string[];
3321
- }, {
3322
- base_token: {
3323
- name: {
3324
- bytes: Iterable<number> & {
2805
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2806
+ base_token: import("@mysten/sui/bcs").BcsStruct<{
2807
+ name: import("@mysten/sui/bcs").BcsStruct<{
2808
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
3325
2809
  length: number;
3326
- };
3327
- };
3328
- };
3329
- new_funding_ts_ms: string | number | bigint;
3330
- intervals_count: string | number | bigint;
3331
- previous_cumulative_funding_rate_index_sign: boolean;
3332
- previous_cumulative_funding_rate_index: string | number | bigint;
3333
- cumulative_funding_rate_index_sign: boolean;
3334
- cumulative_funding_rate_index: string | number | bigint;
3335
- u64_padding: Iterable<string | number | bigint> & {
2810
+ }, string>;
2811
+ }, string>;
2812
+ }, string>;
2813
+ new_funding_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2814
+ intervals_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2815
+ previous_cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2816
+ previous_cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2817
+ cumulative_funding_rate_index_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2818
+ cumulative_funding_rate_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2819
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3336
2820
  length: number;
3337
- };
3338
- }>;
2821
+ }, string>;
2822
+ }, string>;
3339
2823
  static fromFields(fields: Record<string, any>): UpdateFundingRateEvent;
3340
2824
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateFundingRateEvent;
3341
2825
  static fromBcs(data: Uint8Array): UpdateFundingRateEvent;
@@ -3399,83 +2883,51 @@ export declare class UpdateMarketConfigEvent implements StructClass {
3399
2883
  static get r(): reified.StructClassReified<UpdateMarketConfigEvent, UpdateMarketConfigEventFields>;
3400
2884
  static phantom(): PhantomReified<ToTypeStr<UpdateMarketConfigEvent>>;
3401
2885
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateMarketConfigEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateMarketConfigEvent">;
3402
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
3403
- index: string;
3404
- base_token_type: {
3405
- name: {
3406
- bytes: number[];
3407
- };
3408
- };
3409
- previous_market_config: {
3410
- oracle_id: string;
3411
- max_leverage_mbp: string;
3412
- option_collateral_max_leverage_mbp: string;
3413
- min_size: string;
3414
- lot_size: string;
3415
- trading_fee_config: string[];
3416
- basic_funding_rate: string;
3417
- funding_interval_ts_ms: string;
3418
- exp_multiplier: string;
3419
- u64_padding: string[];
3420
- };
3421
- new_market_config: {
3422
- oracle_id: string;
3423
- max_leverage_mbp: string;
3424
- option_collateral_max_leverage_mbp: string;
3425
- min_size: string;
3426
- lot_size: string;
3427
- trading_fee_config: string[];
3428
- basic_funding_rate: string;
3429
- funding_interval_ts_ms: string;
3430
- exp_multiplier: string;
3431
- u64_padding: string[];
3432
- };
3433
- u64_padding: string[];
3434
- }, {
3435
- index: string | number | bigint;
3436
- base_token_type: {
3437
- name: {
3438
- bytes: Iterable<number> & {
2886
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2887
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2888
+ base_token_type: import("@mysten/sui/bcs").BcsStruct<{
2889
+ name: import("@mysten/sui/bcs").BcsStruct<{
2890
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
3439
2891
  length: number;
3440
- };
3441
- };
3442
- };
3443
- previous_market_config: {
3444
- oracle_id: string;
3445
- max_leverage_mbp: string | number | bigint;
3446
- option_collateral_max_leverage_mbp: string | number | bigint;
3447
- min_size: string | number | bigint;
3448
- lot_size: string | number | bigint;
3449
- trading_fee_config: Iterable<string | number | bigint> & {
2892
+ }, string>;
2893
+ }, string>;
2894
+ }, string>;
2895
+ previous_market_config: import("@mysten/sui/bcs").BcsStruct<{
2896
+ oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
2897
+ max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2898
+ option_collateral_max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2899
+ min_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2900
+ lot_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2901
+ trading_fee_config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3450
2902
  length: number;
3451
- };
3452
- basic_funding_rate: string | number | bigint;
3453
- funding_interval_ts_ms: string | number | bigint;
3454
- exp_multiplier: string | number | bigint;
3455
- u64_padding: Iterable<string | number | bigint> & {
2903
+ }, string>;
2904
+ basic_funding_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2905
+ funding_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2906
+ exp_multiplier: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2907
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3456
2908
  length: number;
3457
- };
3458
- };
3459
- new_market_config: {
3460
- oracle_id: string;
3461
- max_leverage_mbp: string | number | bigint;
3462
- option_collateral_max_leverage_mbp: string | number | bigint;
3463
- min_size: string | number | bigint;
3464
- lot_size: string | number | bigint;
3465
- trading_fee_config: Iterable<string | number | bigint> & {
2909
+ }, string>;
2910
+ }, string>;
2911
+ new_market_config: import("@mysten/sui/bcs").BcsStruct<{
2912
+ oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
2913
+ max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2914
+ option_collateral_max_leverage_mbp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2915
+ min_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2916
+ lot_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2917
+ trading_fee_config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3466
2918
  length: number;
3467
- };
3468
- basic_funding_rate: string | number | bigint;
3469
- funding_interval_ts_ms: string | number | bigint;
3470
- exp_multiplier: string | number | bigint;
3471
- u64_padding: Iterable<string | number | bigint> & {
2919
+ }, string>;
2920
+ basic_funding_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2921
+ funding_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2922
+ exp_multiplier: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2923
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3472
2924
  length: number;
3473
- };
3474
- };
3475
- u64_padding: Iterable<string | number | bigint> & {
2925
+ }, string>;
2926
+ }, string>;
2927
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3476
2928
  length: number;
3477
- };
3478
- }>;
2929
+ }, string>;
2930
+ }, string>;
3479
2931
  static fromFields(fields: Record<string, any>): UpdateMarketConfigEvent;
3480
2932
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateMarketConfigEvent;
3481
2933
  static fromBcs(data: Uint8Array): UpdateMarketConfigEvent;
@@ -3575,19 +3027,14 @@ export declare class UpdateProtocolFeeShareBpEvent implements StructClass {
3575
3027
  static get r(): reified.StructClassReified<UpdateProtocolFeeShareBpEvent, UpdateProtocolFeeShareBpEventFields>;
3576
3028
  static phantom(): PhantomReified<ToTypeStr<UpdateProtocolFeeShareBpEvent>>;
3577
3029
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateProtocolFeeShareBpEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateProtocolFeeShareBpEvent">;
3578
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
3579
- index: string;
3580
- previous_protocol_fee_share_bp: string;
3581
- new_protocol_fee_share_bp: string;
3582
- u64_padding: string[];
3583
- }, {
3584
- index: string | number | bigint;
3585
- previous_protocol_fee_share_bp: string | number | bigint;
3586
- new_protocol_fee_share_bp: string | number | bigint;
3587
- u64_padding: Iterable<string | number | bigint> & {
3030
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
3031
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
3032
+ previous_protocol_fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
3033
+ new_protocol_fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
3034
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
3588
3035
  length: number;
3589
- };
3590
- }>;
3036
+ }, string>;
3037
+ }, string>;
3591
3038
  static fromFields(fields: Record<string, any>): UpdateProtocolFeeShareBpEvent;
3592
3039
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateProtocolFeeShareBpEvent;
3593
3040
  static fromBcs(data: Uint8Array): UpdateProtocolFeeShareBpEvent;