@typus/typus-perp-sdk 1.0.52 → 1.0.53-upgrade

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 (112) hide show
  1. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +61 -0
  2. package/dist/src/_dependencies/source/0x2/bag/structs.js +229 -0
  3. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +88 -0
  4. package/dist/src/_dependencies/source/0x2/balance/structs.js +386 -0
  5. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +460 -0
  6. package/dist/src/_dependencies/source/0x2/coin/structs.js +1247 -0
  7. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +153 -0
  8. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +438 -0
  9. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +46 -0
  10. package/dist/src/_dependencies/source/0x2/sui/structs.js +222 -0
  11. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +61 -0
  12. package/dist/src/_dependencies/source/0x2/table/structs.js +248 -0
  13. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +68 -0
  14. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +274 -0
  15. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +449 -0
  16. package/dist/src/_dependencies/source/0x2/token/structs.js +1095 -0
  17. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +370 -0
  18. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +1091 -0
  19. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +53 -0
  20. package/dist/src/_dependencies/source/0x2/url/structs.js +223 -0
  21. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +489 -0
  22. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +1084 -0
  23. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +147 -0
  24. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +456 -0
  25. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +239 -0
  26. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +653 -0
  27. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +405 -0
  28. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +899 -0
  29. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +8 -0
  30. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +11 -0
  31. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +2 -0
  32. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +102 -0
  33. package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/keyed-big-vector/structs.d.ts +70 -70
  34. package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/keyed-big-vector/structs.js +174 -174
  35. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +699 -0
  36. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +1459 -0
  37. package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/linked-object-table/structs.d.ts +62 -62
  38. package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/linked-object-table/structs.js +170 -170
  39. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +147 -0
  40. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +430 -0
  41. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +1071 -0
  42. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +2261 -0
  43. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +279 -0
  44. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +733 -0
  45. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +328 -0
  46. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +892 -0
  47. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +88 -0
  48. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +263 -0
  49. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +347 -0
  50. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +591 -0
  51. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +73 -0
  52. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +258 -0
  53. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +876 -0
  54. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +1721 -0
  55. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +46 -0
  56. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +222 -0
  57. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +3 -0
  58. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +6 -0
  59. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +2 -0
  60. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +89 -0
  61. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +155 -0
  62. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +444 -0
  63. package/dist/src/_dependencies/source/{0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded → 0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274}/vault/structs.d.ts +84 -84
  64. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +446 -0
  65. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +844 -0
  66. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +6 -0
  67. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +9 -0
  68. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +2 -0
  69. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +69 -0
  70. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +94 -0
  71. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +376 -0
  72. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +454 -0
  73. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +881 -0
  74. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +68 -0
  75. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +274 -0
  76. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +1117 -0
  77. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +2387 -0
  78. package/dist/src/fetch.d.ts +1 -1
  79. package/dist/src/fetch.js +1 -1
  80. package/dist/src/index.js +18 -18
  81. package/dist/src/typus_perp/admin/structs.d.ts +67 -5
  82. package/dist/src/typus_perp/admin/structs.js +155 -1
  83. package/dist/src/typus_perp/escrow/functions.js +1 -1
  84. package/dist/src/typus_perp/escrow/structs.d.ts +2 -2
  85. package/dist/src/typus_perp/escrow/structs.js +1 -1
  86. package/dist/src/typus_perp/lp-pool/structs.d.ts +28 -28
  87. package/dist/src/typus_perp/position/functions.js +1 -1
  88. package/dist/src/typus_perp/position/structs.d.ts +6 -6
  89. package/dist/src/typus_perp/symbol/structs.d.ts +1 -1
  90. package/dist/src/typus_perp/tlp/structs.d.ts +2 -2
  91. package/dist/src/typus_perp/trading/functions.js +1 -1
  92. package/dist/src/typus_perp/trading/structs.d.ts +32 -32
  93. package/dist/src/typus_perp/trading/structs.js +2 -2
  94. package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
  95. package/dist/src/typus_stake_pool/admin/functions.d.ts +25 -25
  96. package/dist/src/typus_stake_pool/admin/functions.js +66 -53
  97. package/dist/src/typus_stake_pool/admin/structs.d.ts +191 -191
  98. package/dist/src/typus_stake_pool/admin/structs.js +179 -179
  99. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +50 -44
  100. package/dist/src/typus_stake_pool/stake-pool/functions.js +127 -88
  101. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +202 -202
  102. package/dist/src/typus_stake_pool/stake-pool/structs.js +432 -432
  103. package/dist/src/user/history.js +6 -4
  104. package/dist/src/user/order.js +34 -34
  105. package/package.json +1 -1
  106. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +0 -8
  107. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +0 -11
  108. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -3
  109. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -6
  110. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -3
  111. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +0 -6
  112. /package/dist/src/_dependencies/source/{0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded → 0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274}/vault/structs.js +0 -0
@@ -7,188 +7,6 @@ import { FieldsWithTypes } from "../../_framework/util";
7
7
  import { Vector } from "../../_framework/vector";
8
8
  import { PKG_V1 } from "../index";
9
9
  import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
10
- export declare function isUnsubscribeEvent(type: string): boolean;
11
- export interface UnsubscribeEventFields {
12
- sender: ToField<"address">;
13
- index: ToField<"u64">;
14
- lpTokenType: ToField<TypeName>;
15
- userShareId: ToField<"u64">;
16
- unsubscribedShares: ToField<"u64">;
17
- unsubscribeTsMs: ToField<"u64">;
18
- unlockedTsMs: ToField<"u64">;
19
- u64Padding: ToField<Vector<"u64">>;
20
- }
21
- export type UnsubscribeEventReified = Reified<UnsubscribeEvent, UnsubscribeEventFields>;
22
- export declare class UnsubscribeEvent implements StructClass {
23
- __StructClass: true;
24
- static readonly $typeName: string;
25
- static readonly $numTypeParams = 0;
26
- static readonly $isPhantom: readonly [];
27
- readonly $typeName: string;
28
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnsubscribeEvent`;
29
- readonly $typeArgs: [];
30
- readonly $isPhantom: readonly [];
31
- readonly sender: ToField<"address">;
32
- readonly index: ToField<"u64">;
33
- readonly lpTokenType: ToField<TypeName>;
34
- readonly userShareId: ToField<"u64">;
35
- readonly unsubscribedShares: ToField<"u64">;
36
- readonly unsubscribeTsMs: ToField<"u64">;
37
- readonly unlockedTsMs: ToField<"u64">;
38
- readonly u64Padding: ToField<Vector<"u64">>;
39
- private constructor();
40
- static reified(): UnsubscribeEventReified;
41
- static get r(): reified.StructClassReified<UnsubscribeEvent, UnsubscribeEventFields>;
42
- static phantom(): PhantomReified<ToTypeStr<UnsubscribeEvent>>;
43
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnsubscribeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnsubscribeEvent">;
44
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
45
- sender: string;
46
- index: string;
47
- lp_token_type: {
48
- name: {
49
- bytes: number[];
50
- };
51
- };
52
- user_share_id: string;
53
- unsubscribed_shares: string;
54
- unsubscribe_ts_ms: string;
55
- unlocked_ts_ms: string;
56
- u64_padding: string[];
57
- }, {
58
- sender: string;
59
- index: string | number | bigint;
60
- lp_token_type: {
61
- name: {
62
- bytes: Iterable<number> & {
63
- length: number;
64
- };
65
- };
66
- };
67
- user_share_id: string | number | bigint;
68
- unsubscribed_shares: string | number | bigint;
69
- unsubscribe_ts_ms: string | number | bigint;
70
- unlocked_ts_ms: string | number | bigint;
71
- u64_padding: Iterable<string | number | bigint> & {
72
- length: number;
73
- };
74
- }>;
75
- static fromFields(fields: Record<string, any>): UnsubscribeEvent;
76
- static fromFieldsWithTypes(item: FieldsWithTypes): UnsubscribeEvent;
77
- static fromBcs(data: Uint8Array): UnsubscribeEvent;
78
- toJSONField(): {
79
- sender: string;
80
- index: string;
81
- lpTokenType: {
82
- name: string;
83
- };
84
- userShareId: string;
85
- unsubscribedShares: string;
86
- unsubscribeTsMs: string;
87
- unlockedTsMs: string;
88
- u64Padding: string[];
89
- };
90
- toJSON(): {
91
- sender: string;
92
- index: string;
93
- lpTokenType: {
94
- name: string;
95
- };
96
- userShareId: string;
97
- unsubscribedShares: string;
98
- unsubscribeTsMs: string;
99
- unlockedTsMs: string;
100
- u64Padding: string[];
101
- $typeName: string;
102
- $typeArgs: [];
103
- };
104
- static fromJSONField(field: any): UnsubscribeEvent;
105
- static fromJSON(json: Record<string, any>): UnsubscribeEvent;
106
- static fromSuiParsedData(content: SuiParsedData): UnsubscribeEvent;
107
- static fromSuiObjectData(data: SuiObjectData): UnsubscribeEvent;
108
- static fetch(client: SuiClient, id: string): Promise<UnsubscribeEvent>;
109
- }
110
- export declare function isWithdrawIncentiveEvent(type: string): boolean;
111
- export interface WithdrawIncentiveEventFields {
112
- sender: ToField<"address">;
113
- index: ToField<"u64">;
114
- incentiveTokenType: ToField<TypeName>;
115
- withdrawalAmount: ToField<"u64">;
116
- u64Padding: ToField<Vector<"u64">>;
117
- }
118
- export type WithdrawIncentiveEventReified = Reified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
119
- export declare class WithdrawIncentiveEvent implements StructClass {
120
- __StructClass: true;
121
- static readonly $typeName: string;
122
- static readonly $numTypeParams = 0;
123
- static readonly $isPhantom: readonly [];
124
- readonly $typeName: string;
125
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::WithdrawIncentiveEvent`;
126
- readonly $typeArgs: [];
127
- readonly $isPhantom: readonly [];
128
- readonly sender: ToField<"address">;
129
- readonly index: ToField<"u64">;
130
- readonly incentiveTokenType: ToField<TypeName>;
131
- readonly withdrawalAmount: ToField<"u64">;
132
- readonly u64Padding: ToField<Vector<"u64">>;
133
- private constructor();
134
- static reified(): WithdrawIncentiveEventReified;
135
- static get r(): reified.StructClassReified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
136
- static phantom(): PhantomReified<ToTypeStr<WithdrawIncentiveEvent>>;
137
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::WithdrawIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::WithdrawIncentiveEvent">;
138
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
139
- sender: string;
140
- index: string;
141
- incentive_token_type: {
142
- name: {
143
- bytes: number[];
144
- };
145
- };
146
- withdrawal_amount: string;
147
- u64_padding: string[];
148
- }, {
149
- sender: string;
150
- index: string | number | bigint;
151
- incentive_token_type: {
152
- name: {
153
- bytes: Iterable<number> & {
154
- length: number;
155
- };
156
- };
157
- };
158
- withdrawal_amount: string | number | bigint;
159
- u64_padding: Iterable<string | number | bigint> & {
160
- length: number;
161
- };
162
- }>;
163
- static fromFields(fields: Record<string, any>): WithdrawIncentiveEvent;
164
- static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawIncentiveEvent;
165
- static fromBcs(data: Uint8Array): WithdrawIncentiveEvent;
166
- toJSONField(): {
167
- sender: string;
168
- index: string;
169
- incentiveTokenType: {
170
- name: string;
171
- };
172
- withdrawalAmount: string;
173
- u64Padding: string[];
174
- };
175
- toJSON(): {
176
- sender: string;
177
- index: string;
178
- incentiveTokenType: {
179
- name: string;
180
- };
181
- withdrawalAmount: string;
182
- u64Padding: string[];
183
- $typeName: string;
184
- $typeArgs: [];
185
- };
186
- static fromJSONField(field: any): WithdrawIncentiveEvent;
187
- static fromJSON(json: Record<string, any>): WithdrawIncentiveEvent;
188
- static fromSuiParsedData(content: SuiParsedData): WithdrawIncentiveEvent;
189
- static fromSuiObjectData(data: SuiObjectData): WithdrawIncentiveEvent;
190
- static fetch(client: SuiClient, id: string): Promise<WithdrawIncentiveEvent>;
191
- }
192
10
  export declare function isActivateIncentiveTokenEvent(type: string): boolean;
193
11
  export interface ActivateIncentiveTokenEventFields {
194
12
  sender: ToField<"address">;
@@ -214,7 +32,7 @@ export declare class ActivateIncentiveTokenEvent implements StructClass {
214
32
  static reified(): ActivateIncentiveTokenEventReified;
215
33
  static get r(): reified.StructClassReified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
216
34
  static phantom(): PhantomReified<ToTypeStr<ActivateIncentiveTokenEvent>>;
217
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::ActivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::ActivateIncentiveTokenEvent">;
35
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::ActivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::ActivateIncentiveTokenEvent">;
218
36
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
219
37
  sender: string;
220
38
  index: string;
@@ -294,7 +112,7 @@ export declare class AddIncentiveTokenEvent implements StructClass {
294
112
  static reified(): AddIncentiveTokenEventReified;
295
113
  static get r(): reified.StructClassReified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
296
114
  static phantom(): PhantomReified<ToTypeStr<AddIncentiveTokenEvent>>;
297
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AddIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::AddIncentiveTokenEvent">;
115
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AddIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AddIncentiveTokenEvent">;
298
116
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
299
117
  sender: string;
300
118
  index: string;
@@ -422,7 +240,7 @@ export declare class DeactivateIncentiveTokenEvent implements StructClass {
422
240
  static reified(): DeactivateIncentiveTokenEventReified;
423
241
  static get r(): reified.StructClassReified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
424
242
  static phantom(): PhantomReified<ToTypeStr<DeactivateIncentiveTokenEvent>>;
425
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivateIncentiveTokenEvent">;
243
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivateIncentiveTokenEvent">;
426
244
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
427
245
  sender: string;
428
246
  index: string;
@@ -500,7 +318,7 @@ export declare class DeactivatingShares implements StructClass {
500
318
  static reified(): DeactivatingSharesReified;
501
319
  static get r(): reified.StructClassReified<DeactivatingShares, DeactivatingSharesFields>;
502
320
  static phantom(): PhantomReified<ToTypeStr<DeactivatingShares>>;
503
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivatingShares" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivatingShares">;
321
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivatingShares" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivatingShares">;
504
322
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
505
323
  shares: string;
506
324
  unsubscribed_ts_ms: string;
@@ -604,7 +422,7 @@ export declare class DepositIncentiveEvent implements StructClass {
604
422
  static reified(): DepositIncentiveEventReified;
605
423
  static get r(): reified.StructClassReified<DepositIncentiveEvent, DepositIncentiveEventFields>;
606
424
  static phantom(): PhantomReified<ToTypeStr<DepositIncentiveEvent>>;
607
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DepositIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DepositIncentiveEvent">;
425
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DepositIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DepositIncentiveEvent">;
608
426
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
609
427
  sender: string;
610
428
  index: string;
@@ -688,7 +506,7 @@ export declare class HarvestPerUserShareEvent implements StructClass {
688
506
  static reified(): HarvestPerUserShareEventReified;
689
507
  static get r(): reified.StructClassReified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
690
508
  static phantom(): PhantomReified<ToTypeStr<HarvestPerUserShareEvent>>;
691
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::HarvestPerUserShareEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::HarvestPerUserShareEvent">;
509
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::HarvestPerUserShareEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::HarvestPerUserShareEvent">;
692
510
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
693
511
  sender: string;
694
512
  index: string;
@@ -770,7 +588,7 @@ export declare class Incentive implements StructClass {
770
588
  static reified(): IncentiveReified;
771
589
  static get r(): reified.StructClassReified<Incentive, IncentiveFields>;
772
590
  static phantom(): PhantomReified<ToTypeStr<Incentive>>;
773
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::Incentive" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::Incentive">;
591
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::Incentive" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::Incentive">;
774
592
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
775
593
  token_type: {
776
594
  name: {
@@ -882,7 +700,7 @@ export declare class IncentiveConfig implements StructClass {
882
700
  static reified(): IncentiveConfigReified;
883
701
  static get r(): reified.StructClassReified<IncentiveConfig, IncentiveConfigFields>;
884
702
  static phantom(): PhantomReified<ToTypeStr<IncentiveConfig>>;
885
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveConfig">;
703
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveConfig">;
886
704
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
887
705
  period_incentive_amount: string;
888
706
  incentive_interval_ts_ms: string;
@@ -942,7 +760,7 @@ export declare class IncentiveInfo implements StructClass {
942
760
  static reified(): IncentiveInfoReified;
943
761
  static get r(): reified.StructClassReified<IncentiveInfo, IncentiveInfoFields>;
944
762
  static phantom(): PhantomReified<ToTypeStr<IncentiveInfo>>;
945
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveInfo">;
763
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveInfo">;
946
764
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
947
765
  active: boolean;
948
766
  last_allocate_ts_ms: string;
@@ -1016,7 +834,7 @@ export declare class LpUserShare implements StructClass {
1016
834
  static reified(): LpUserShareReified;
1017
835
  static get r(): reified.StructClassReified<LpUserShare, LpUserShareFields>;
1018
836
  static phantom(): PhantomReified<ToTypeStr<LpUserShare>>;
1019
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::LpUserShare" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::LpUserShare">;
837
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::LpUserShare" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::LpUserShare">;
1020
838
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1021
839
  user: string;
1022
840
  user_share_id: string;
@@ -1194,7 +1012,7 @@ export declare class NewStakePoolEvent implements StructClass {
1194
1012
  static reified(): NewStakePoolEventReified;
1195
1013
  static get r(): reified.StructClassReified<NewStakePoolEvent, NewStakePoolEventFields>;
1196
1014
  static phantom(): PhantomReified<ToTypeStr<NewStakePoolEvent>>;
1197
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::NewStakePoolEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::NewStakePoolEvent">;
1015
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::NewStakePoolEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::NewStakePoolEvent">;
1198
1016
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1199
1017
  sender: string;
1200
1018
  stake_pool_info: {
@@ -1316,7 +1134,7 @@ export declare class RemoveIncentiveTokenEvent implements StructClass {
1316
1134
  static reified(): RemoveIncentiveTokenEventReified;
1317
1135
  static get r(): reified.StructClassReified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
1318
1136
  static phantom(): PhantomReified<ToTypeStr<RemoveIncentiveTokenEvent>>;
1319
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::RemoveIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::RemoveIncentiveTokenEvent">;
1137
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::RemoveIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::RemoveIncentiveTokenEvent">;
1320
1138
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1321
1139
  sender: string;
1322
1140
  index: string;
@@ -1404,7 +1222,7 @@ export declare class StakeEvent implements StructClass {
1404
1222
  static reified(): StakeEventReified;
1405
1223
  static get r(): reified.StructClassReified<StakeEvent, StakeEventFields>;
1406
1224
  static phantom(): PhantomReified<ToTypeStr<StakeEvent>>;
1407
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakeEvent">;
1225
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakeEvent">;
1408
1226
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1409
1227
  sender: string;
1410
1228
  index: string;
@@ -1534,7 +1352,7 @@ export declare class StakePool implements StructClass {
1534
1352
  static reified(): StakePoolReified;
1535
1353
  static get r(): reified.StructClassReified<StakePool, StakePoolFields>;
1536
1354
  static phantom(): PhantomReified<ToTypeStr<StakePool>>;
1537
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePool" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePool">;
1355
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePool" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePool">;
1538
1356
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1539
1357
  id: {
1540
1358
  id: {
@@ -1738,7 +1556,7 @@ export declare class StakePoolConfig implements StructClass {
1738
1556
  static reified(): StakePoolConfigReified;
1739
1557
  static get r(): reified.StructClassReified<StakePoolConfig, StakePoolConfigFields>;
1740
1558
  static phantom(): PhantomReified<ToTypeStr<StakePoolConfig>>;
1741
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolConfig">;
1559
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolConfig">;
1742
1560
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1743
1561
  unlock_countdown_ts_ms: string;
1744
1562
  u64_padding: string[];
@@ -1796,7 +1614,7 @@ export declare class StakePoolInfo implements StructClass {
1796
1614
  static reified(): StakePoolInfoReified;
1797
1615
  static get r(): reified.StructClassReified<StakePoolInfo, StakePoolInfoFields>;
1798
1616
  static phantom(): PhantomReified<ToTypeStr<StakePoolInfo>>;
1799
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolInfo">;
1617
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolInfo">;
1800
1618
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1801
1619
  stake_token: {
1802
1620
  name: {
@@ -1876,7 +1694,7 @@ export declare class StakePoolRegistry implements StructClass {
1876
1694
  static reified(): StakePoolRegistryReified;
1877
1695
  static get r(): reified.StructClassReified<StakePoolRegistry, StakePoolRegistryFields>;
1878
1696
  static phantom(): PhantomReified<ToTypeStr<StakePoolRegistry>>;
1879
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolRegistry" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolRegistry">;
1697
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolRegistry" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolRegistry">;
1880
1698
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1881
1699
  id: {
1882
1700
  id: {
@@ -1942,7 +1760,7 @@ export declare class UnstakeEvent implements StructClass {
1942
1760
  static reified(): UnstakeEventReified;
1943
1761
  static get r(): reified.StructClassReified<UnstakeEvent, UnstakeEventFields>;
1944
1762
  static phantom(): PhantomReified<ToTypeStr<UnstakeEvent>>;
1945
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnstakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnstakeEvent">;
1763
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnstakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnstakeEvent">;
1946
1764
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
1947
1765
  sender: string;
1948
1766
  index: string;
@@ -2005,6 +1823,106 @@ export declare class UnstakeEvent implements StructClass {
2005
1823
  static fromSuiObjectData(data: SuiObjectData): UnstakeEvent;
2006
1824
  static fetch(client: SuiClient, id: string): Promise<UnstakeEvent>;
2007
1825
  }
1826
+ export declare function isUnsubscribeEvent(type: string): boolean;
1827
+ export interface UnsubscribeEventFields {
1828
+ sender: ToField<"address">;
1829
+ index: ToField<"u64">;
1830
+ lpTokenType: ToField<TypeName>;
1831
+ userShareId: ToField<"u64">;
1832
+ unsubscribedShares: ToField<"u64">;
1833
+ unsubscribeTsMs: ToField<"u64">;
1834
+ unlockedTsMs: ToField<"u64">;
1835
+ u64Padding: ToField<Vector<"u64">>;
1836
+ }
1837
+ export type UnsubscribeEventReified = Reified<UnsubscribeEvent, UnsubscribeEventFields>;
1838
+ export declare class UnsubscribeEvent implements StructClass {
1839
+ __StructClass: true;
1840
+ static readonly $typeName: string;
1841
+ static readonly $numTypeParams = 0;
1842
+ static readonly $isPhantom: readonly [];
1843
+ readonly $typeName: string;
1844
+ readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnsubscribeEvent`;
1845
+ readonly $typeArgs: [];
1846
+ readonly $isPhantom: readonly [];
1847
+ readonly sender: ToField<"address">;
1848
+ readonly index: ToField<"u64">;
1849
+ readonly lpTokenType: ToField<TypeName>;
1850
+ readonly userShareId: ToField<"u64">;
1851
+ readonly unsubscribedShares: ToField<"u64">;
1852
+ readonly unsubscribeTsMs: ToField<"u64">;
1853
+ readonly unlockedTsMs: ToField<"u64">;
1854
+ readonly u64Padding: ToField<Vector<"u64">>;
1855
+ private constructor();
1856
+ static reified(): UnsubscribeEventReified;
1857
+ static get r(): reified.StructClassReified<UnsubscribeEvent, UnsubscribeEventFields>;
1858
+ static phantom(): PhantomReified<ToTypeStr<UnsubscribeEvent>>;
1859
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnsubscribeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnsubscribeEvent">;
1860
+ static get bcs(): import("@mysten/sui/bcs").BcsType<{
1861
+ sender: string;
1862
+ index: string;
1863
+ lp_token_type: {
1864
+ name: {
1865
+ bytes: number[];
1866
+ };
1867
+ };
1868
+ user_share_id: string;
1869
+ unsubscribed_shares: string;
1870
+ unsubscribe_ts_ms: string;
1871
+ unlocked_ts_ms: string;
1872
+ u64_padding: string[];
1873
+ }, {
1874
+ sender: string;
1875
+ index: string | number | bigint;
1876
+ lp_token_type: {
1877
+ name: {
1878
+ bytes: Iterable<number> & {
1879
+ length: number;
1880
+ };
1881
+ };
1882
+ };
1883
+ user_share_id: string | number | bigint;
1884
+ unsubscribed_shares: string | number | bigint;
1885
+ unsubscribe_ts_ms: string | number | bigint;
1886
+ unlocked_ts_ms: string | number | bigint;
1887
+ u64_padding: Iterable<string | number | bigint> & {
1888
+ length: number;
1889
+ };
1890
+ }>;
1891
+ static fromFields(fields: Record<string, any>): UnsubscribeEvent;
1892
+ static fromFieldsWithTypes(item: FieldsWithTypes): UnsubscribeEvent;
1893
+ static fromBcs(data: Uint8Array): UnsubscribeEvent;
1894
+ toJSONField(): {
1895
+ sender: string;
1896
+ index: string;
1897
+ lpTokenType: {
1898
+ name: string;
1899
+ };
1900
+ userShareId: string;
1901
+ unsubscribedShares: string;
1902
+ unsubscribeTsMs: string;
1903
+ unlockedTsMs: string;
1904
+ u64Padding: string[];
1905
+ };
1906
+ toJSON(): {
1907
+ sender: string;
1908
+ index: string;
1909
+ lpTokenType: {
1910
+ name: string;
1911
+ };
1912
+ userShareId: string;
1913
+ unsubscribedShares: string;
1914
+ unsubscribeTsMs: string;
1915
+ unlockedTsMs: string;
1916
+ u64Padding: string[];
1917
+ $typeName: string;
1918
+ $typeArgs: [];
1919
+ };
1920
+ static fromJSONField(field: any): UnsubscribeEvent;
1921
+ static fromJSON(json: Record<string, any>): UnsubscribeEvent;
1922
+ static fromSuiParsedData(content: SuiParsedData): UnsubscribeEvent;
1923
+ static fromSuiObjectData(data: SuiObjectData): UnsubscribeEvent;
1924
+ static fetch(client: SuiClient, id: string): Promise<UnsubscribeEvent>;
1925
+ }
2008
1926
  export declare function isUpdateIncentiveConfigEvent(type: string): boolean;
2009
1927
  export interface UpdateIncentiveConfigEventFields {
2010
1928
  sender: ToField<"address">;
@@ -2032,7 +1950,7 @@ export declare class UpdateIncentiveConfigEvent implements StructClass {
2032
1950
  static reified(): UpdateIncentiveConfigEventReified;
2033
1951
  static get r(): reified.StructClassReified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
2034
1952
  static phantom(): PhantomReified<ToTypeStr<UpdateIncentiveConfigEvent>>;
2035
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateIncentiveConfigEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateIncentiveConfigEvent">;
1953
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateIncentiveConfigEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateIncentiveConfigEvent">;
2036
1954
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
2037
1955
  sender: string;
2038
1956
  index: string;
@@ -2136,7 +2054,7 @@ export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
2136
2054
  static reified(): UpdateUnlockCountdownTsMsEventReified;
2137
2055
  static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
2138
2056
  static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
2139
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateUnlockCountdownTsMsEvent">;
2057
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateUnlockCountdownTsMsEvent">;
2140
2058
  static get bcs(): import("@mysten/sui/bcs").BcsType<{
2141
2059
  sender: string;
2142
2060
  index: string;
@@ -2177,3 +2095,85 @@ export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
2177
2095
  static fromSuiObjectData(data: SuiObjectData): UpdateUnlockCountdownTsMsEvent;
2178
2096
  static fetch(client: SuiClient, id: string): Promise<UpdateUnlockCountdownTsMsEvent>;
2179
2097
  }
2098
+ export declare function isWithdrawIncentiveEvent(type: string): boolean;
2099
+ export interface WithdrawIncentiveEventFields {
2100
+ sender: ToField<"address">;
2101
+ index: ToField<"u64">;
2102
+ incentiveTokenType: ToField<TypeName>;
2103
+ withdrawalAmount: ToField<"u64">;
2104
+ u64Padding: ToField<Vector<"u64">>;
2105
+ }
2106
+ export type WithdrawIncentiveEventReified = Reified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
2107
+ export declare class WithdrawIncentiveEvent implements StructClass {
2108
+ __StructClass: true;
2109
+ static readonly $typeName: string;
2110
+ static readonly $numTypeParams = 0;
2111
+ static readonly $isPhantom: readonly [];
2112
+ readonly $typeName: string;
2113
+ readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::WithdrawIncentiveEvent`;
2114
+ readonly $typeArgs: [];
2115
+ readonly $isPhantom: readonly [];
2116
+ readonly sender: ToField<"address">;
2117
+ readonly index: ToField<"u64">;
2118
+ readonly incentiveTokenType: ToField<TypeName>;
2119
+ readonly withdrawalAmount: ToField<"u64">;
2120
+ readonly u64Padding: ToField<Vector<"u64">>;
2121
+ private constructor();
2122
+ static reified(): WithdrawIncentiveEventReified;
2123
+ static get r(): reified.StructClassReified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
2124
+ static phantom(): PhantomReified<ToTypeStr<WithdrawIncentiveEvent>>;
2125
+ static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::WithdrawIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::WithdrawIncentiveEvent">;
2126
+ static get bcs(): import("@mysten/sui/bcs").BcsType<{
2127
+ sender: string;
2128
+ index: string;
2129
+ incentive_token_type: {
2130
+ name: {
2131
+ bytes: number[];
2132
+ };
2133
+ };
2134
+ withdrawal_amount: string;
2135
+ u64_padding: string[];
2136
+ }, {
2137
+ sender: string;
2138
+ index: string | number | bigint;
2139
+ incentive_token_type: {
2140
+ name: {
2141
+ bytes: Iterable<number> & {
2142
+ length: number;
2143
+ };
2144
+ };
2145
+ };
2146
+ withdrawal_amount: string | number | bigint;
2147
+ u64_padding: Iterable<string | number | bigint> & {
2148
+ length: number;
2149
+ };
2150
+ }>;
2151
+ static fromFields(fields: Record<string, any>): WithdrawIncentiveEvent;
2152
+ static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawIncentiveEvent;
2153
+ static fromBcs(data: Uint8Array): WithdrawIncentiveEvent;
2154
+ toJSONField(): {
2155
+ sender: string;
2156
+ index: string;
2157
+ incentiveTokenType: {
2158
+ name: string;
2159
+ };
2160
+ withdrawalAmount: string;
2161
+ u64Padding: string[];
2162
+ };
2163
+ toJSON(): {
2164
+ sender: string;
2165
+ index: string;
2166
+ incentiveTokenType: {
2167
+ name: string;
2168
+ };
2169
+ withdrawalAmount: string;
2170
+ u64Padding: string[];
2171
+ $typeName: string;
2172
+ $typeArgs: [];
2173
+ };
2174
+ static fromJSONField(field: any): WithdrawIncentiveEvent;
2175
+ static fromJSON(json: Record<string, any>): WithdrawIncentiveEvent;
2176
+ static fromSuiParsedData(content: SuiParsedData): WithdrawIncentiveEvent;
2177
+ static fromSuiObjectData(data: SuiObjectData): WithdrawIncentiveEvent;
2178
+ static fetch(client: SuiClient, id: string): Promise<WithdrawIncentiveEvent>;
2179
+ }