@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.
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +85 -139
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +27 -48
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +8 -14
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +90 -118
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +70 -92
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +86 -153
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +21 -38
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +34 -65
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +58 -101
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +36 -61
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +125 -224
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +31 -56
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +186 -300
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +43 -78
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +48 -82
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +18 -33
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +65 -118
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +133 -253
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +433 -713
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +69 -125
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +7 -12
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +87 -155
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +183 -326
- package/dist/src/_framework/util.d.ts +1 -1
- package/dist/src/_framework/vector.d.ts +12 -5
- package/dist/src/fetch.js +7 -7
- package/dist/src/index.js +16 -15
- package/dist/src/typus_perp/admin/structs.d.ts +85 -147
- package/dist/src/typus_perp/competition/structs.d.ts +16 -28
- package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
- package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
- package/dist/src/typus_perp/position/structs.d.ts +236 -395
- package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
- package/dist/src/typus_perp/tlp/structs.d.ts +10 -18
- package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
- package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
- package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
- package/dist/src/user/history.js +1 -1
- package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
- package/package.json +13 -4
|
@@ -31,21 +31,14 @@ export declare class StakePoolRegistry implements StructClass {
|
|
|
31
31
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolRegistry" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolRegistry">;
|
|
32
32
|
private static instantiateBcs;
|
|
33
33
|
private static cachedBcs;
|
|
34
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
35
|
-
id: {
|
|
36
|
-
id: {
|
|
37
|
-
bytes: string
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
num_pool: string
|
|
41
|
-
},
|
|
42
|
-
id: {
|
|
43
|
-
id: {
|
|
44
|
-
bytes: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
num_pool: string | number | bigint;
|
|
48
|
-
}>;
|
|
34
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
35
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
36
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
38
|
+
}, string>;
|
|
39
|
+
}, string>;
|
|
40
|
+
num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
41
|
+
}, string>;
|
|
49
42
|
static fromFields(fields: Record<string, any>): StakePoolRegistry;
|
|
50
43
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolRegistry;
|
|
51
44
|
static fromBcs(data: Uint8Array): StakePoolRegistry;
|
|
@@ -95,29 +88,35 @@ export declare class StakePool implements StructClass {
|
|
|
95
88
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePool" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePool">;
|
|
96
89
|
private static instantiateBcs;
|
|
97
90
|
private static cachedBcs;
|
|
98
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
99
|
-
id: {
|
|
100
|
-
id: {
|
|
101
|
-
bytes: string
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
pool_info: {
|
|
105
|
-
stake_token: {
|
|
106
|
-
name: {
|
|
107
|
-
bytes: number[]
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
91
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
92
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
93
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
94
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
95
|
+
}, string>;
|
|
96
|
+
}, string>;
|
|
97
|
+
pool_info: import("@mysten/sui/bcs").BcsStruct<{
|
|
98
|
+
stake_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
99
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
100
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
101
|
+
length: number;
|
|
102
|
+
}, string>;
|
|
103
|
+
}, string>;
|
|
104
|
+
}, string>;
|
|
105
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
106
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
107
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
108
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
109
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
110
|
+
length: number;
|
|
111
|
+
}, string>;
|
|
112
|
+
}, string>;
|
|
113
|
+
config: import("@mysten/sui/bcs").BcsStruct<{
|
|
114
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
115
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
116
|
+
length: number;
|
|
117
|
+
}, string>;
|
|
118
|
+
}, string>;
|
|
119
|
+
incentives: import("@mysten/sui/bcs").BcsType<{
|
|
121
120
|
token_type: {
|
|
122
121
|
name: {
|
|
123
122
|
bytes: number[];
|
|
@@ -135,37 +134,7 @@ export declare class StakePool implements StructClass {
|
|
|
135
134
|
unallocated_amount: string;
|
|
136
135
|
u64_padding: string[];
|
|
137
136
|
};
|
|
138
|
-
}[]
|
|
139
|
-
u64_padding: string[];
|
|
140
|
-
}, {
|
|
141
|
-
id: {
|
|
142
|
-
id: {
|
|
143
|
-
bytes: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
pool_info: {
|
|
147
|
-
stake_token: {
|
|
148
|
-
name: {
|
|
149
|
-
bytes: Iterable<number> & {
|
|
150
|
-
length: number;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
index: string | number | bigint;
|
|
155
|
-
next_user_share_id: string | number | bigint;
|
|
156
|
-
total_share: string | number | bigint;
|
|
157
|
-
active: boolean;
|
|
158
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
159
|
-
length: number;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
config: {
|
|
163
|
-
unlock_countdown_ts_ms: string | number | bigint;
|
|
164
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
165
|
-
length: number;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
incentives: Iterable<{
|
|
137
|
+
}[], Iterable<{
|
|
169
138
|
token_type: {
|
|
170
139
|
name: {
|
|
171
140
|
bytes: Iterable<number> & {
|
|
@@ -191,11 +160,11 @@ export declare class StakePool implements StructClass {
|
|
|
191
160
|
};
|
|
192
161
|
}> & {
|
|
193
162
|
length: number;
|
|
194
|
-
}
|
|
195
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
163
|
+
}, string>;
|
|
164
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
196
165
|
length: number;
|
|
197
|
-
}
|
|
198
|
-
}>;
|
|
166
|
+
}, string>;
|
|
167
|
+
}, string>;
|
|
199
168
|
static fromFields(fields: Record<string, any>): StakePool;
|
|
200
169
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakePool;
|
|
201
170
|
static fromBcs(data: Uint8Array): StakePool;
|
|
@@ -303,49 +272,31 @@ export declare class Incentive implements StructClass {
|
|
|
303
272
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::Incentive" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::Incentive">;
|
|
304
273
|
private static instantiateBcs;
|
|
305
274
|
private static cachedBcs;
|
|
306
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
307
|
-
token_type: {
|
|
308
|
-
name: {
|
|
309
|
-
bytes: number[]
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
config: {
|
|
313
|
-
period_incentive_amount: string;
|
|
314
|
-
incentive_interval_ts_ms: string;
|
|
315
|
-
u64_padding: string[];
|
|
316
|
-
};
|
|
317
|
-
info: {
|
|
318
|
-
active: boolean;
|
|
319
|
-
last_allocate_ts_ms: string;
|
|
320
|
-
incentive_price_index: string;
|
|
321
|
-
unallocated_amount: string;
|
|
322
|
-
u64_padding: string[];
|
|
323
|
-
};
|
|
324
|
-
}, {
|
|
325
|
-
token_type: {
|
|
326
|
-
name: {
|
|
327
|
-
bytes: Iterable<number> & {
|
|
275
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
276
|
+
token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
277
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
278
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
328
279
|
length: number;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
config: {
|
|
333
|
-
period_incentive_amount: string | number | bigint
|
|
334
|
-
incentive_interval_ts_ms: string | number | bigint
|
|
335
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
280
|
+
}, string>;
|
|
281
|
+
}, string>;
|
|
282
|
+
}, string>;
|
|
283
|
+
config: import("@mysten/sui/bcs").BcsStruct<{
|
|
284
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
285
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
286
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
336
287
|
length: number;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
info: {
|
|
340
|
-
active: boolean
|
|
341
|
-
last_allocate_ts_ms: string | number | bigint
|
|
342
|
-
incentive_price_index: string | number | bigint
|
|
343
|
-
unallocated_amount: string | number | bigint
|
|
344
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
288
|
+
}, string>;
|
|
289
|
+
}, string>;
|
|
290
|
+
info: import("@mysten/sui/bcs").BcsStruct<{
|
|
291
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
292
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
293
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
294
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
295
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
345
296
|
length: number;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}>;
|
|
297
|
+
}, string>;
|
|
298
|
+
}, string>;
|
|
299
|
+
}, string>;
|
|
349
300
|
static fromFields(fields: Record<string, any>): Incentive;
|
|
350
301
|
static fromFieldsWithTypes(item: FieldsWithTypes): Incentive;
|
|
351
302
|
static fromBcs(data: Uint8Array): Incentive;
|
|
@@ -423,33 +374,22 @@ export declare class StakePoolInfo implements StructClass {
|
|
|
423
374
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolInfo">;
|
|
424
375
|
private static instantiateBcs;
|
|
425
376
|
private static cachedBcs;
|
|
426
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
427
|
-
stake_token: {
|
|
428
|
-
name: {
|
|
429
|
-
bytes: number[]
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
index: string;
|
|
433
|
-
next_user_share_id: string;
|
|
434
|
-
total_share: string;
|
|
435
|
-
active: boolean;
|
|
436
|
-
u64_padding: string[];
|
|
437
|
-
}, {
|
|
438
|
-
stake_token: {
|
|
439
|
-
name: {
|
|
440
|
-
bytes: Iterable<number> & {
|
|
377
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
378
|
+
stake_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
379
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
380
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
441
381
|
length: number;
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
index: string | number | bigint
|
|
446
|
-
next_user_share_id: string | number | bigint
|
|
447
|
-
total_share: string | number | bigint
|
|
448
|
-
active: boolean
|
|
449
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
382
|
+
}, string>;
|
|
383
|
+
}, string>;
|
|
384
|
+
}, string>;
|
|
385
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
386
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
387
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
388
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
389
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
450
390
|
length: number;
|
|
451
|
-
}
|
|
452
|
-
}>;
|
|
391
|
+
}, string>;
|
|
392
|
+
}, string>;
|
|
453
393
|
static fromFields(fields: Record<string, any>): StakePoolInfo;
|
|
454
394
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolInfo;
|
|
455
395
|
static fromBcs(data: Uint8Array): StakePoolInfo;
|
|
@@ -505,15 +445,12 @@ export declare class StakePoolConfig implements StructClass {
|
|
|
505
445
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolConfig">;
|
|
506
446
|
private static instantiateBcs;
|
|
507
447
|
private static cachedBcs;
|
|
508
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
509
|
-
unlock_countdown_ts_ms: string
|
|
510
|
-
u64_padding: string[]
|
|
511
|
-
}, {
|
|
512
|
-
unlock_countdown_ts_ms: string | number | bigint;
|
|
513
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
448
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
449
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
450
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
514
451
|
length: number;
|
|
515
|
-
}
|
|
516
|
-
}>;
|
|
452
|
+
}, string>;
|
|
453
|
+
}, string>;
|
|
517
454
|
static fromFields(fields: Record<string, any>): StakePoolConfig;
|
|
518
455
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolConfig;
|
|
519
456
|
static fromBcs(data: Uint8Array): StakePoolConfig;
|
|
@@ -559,17 +496,13 @@ export declare class IncentiveConfig implements StructClass {
|
|
|
559
496
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveConfig">;
|
|
560
497
|
private static instantiateBcs;
|
|
561
498
|
private static cachedBcs;
|
|
562
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
563
|
-
period_incentive_amount: string
|
|
564
|
-
incentive_interval_ts_ms: string
|
|
565
|
-
u64_padding: string[]
|
|
566
|
-
}, {
|
|
567
|
-
period_incentive_amount: string | number | bigint;
|
|
568
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
569
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
499
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
500
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
501
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
502
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
570
503
|
length: number;
|
|
571
|
-
}
|
|
572
|
-
}>;
|
|
504
|
+
}, string>;
|
|
505
|
+
}, string>;
|
|
573
506
|
static fromFields(fields: Record<string, any>): IncentiveConfig;
|
|
574
507
|
static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveConfig;
|
|
575
508
|
static fromBcs(data: Uint8Array): IncentiveConfig;
|
|
@@ -621,21 +554,15 @@ export declare class IncentiveInfo implements StructClass {
|
|
|
621
554
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveInfo">;
|
|
622
555
|
private static instantiateBcs;
|
|
623
556
|
private static cachedBcs;
|
|
624
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
625
|
-
active: boolean
|
|
626
|
-
last_allocate_ts_ms: string
|
|
627
|
-
incentive_price_index: string
|
|
628
|
-
unallocated_amount: string
|
|
629
|
-
u64_padding: string[]
|
|
630
|
-
}, {
|
|
631
|
-
active: boolean;
|
|
632
|
-
last_allocate_ts_ms: string | number | bigint;
|
|
633
|
-
incentive_price_index: string | number | bigint;
|
|
634
|
-
unallocated_amount: string | number | bigint;
|
|
635
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
557
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
558
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
559
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
560
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
561
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
562
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
636
563
|
length: number;
|
|
637
|
-
}
|
|
638
|
-
}>;
|
|
564
|
+
}, string>;
|
|
565
|
+
}, string>;
|
|
639
566
|
static fromFields(fields: Record<string, any>): IncentiveInfo;
|
|
640
567
|
static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveInfo;
|
|
641
568
|
static fromBcs(data: Uint8Array): IncentiveInfo;
|
|
@@ -697,13 +624,13 @@ export declare class LpUserShare implements StructClass {
|
|
|
697
624
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::LpUserShare" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::LpUserShare">;
|
|
698
625
|
private static instantiateBcs;
|
|
699
626
|
private static cachedBcs;
|
|
700
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
701
|
-
user: string
|
|
702
|
-
user_share_id: string
|
|
703
|
-
stake_ts_ms: string
|
|
704
|
-
total_shares: string
|
|
705
|
-
active_shares: string
|
|
706
|
-
deactivating_shares: {
|
|
627
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
628
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
629
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
630
|
+
stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
631
|
+
total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
632
|
+
active_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
633
|
+
deactivating_shares: import("@mysten/sui/bcs").BcsType<{
|
|
707
634
|
shares: string;
|
|
708
635
|
unsubscribed_ts_ms: string;
|
|
709
636
|
unlocked_ts_ms: string;
|
|
@@ -718,25 +645,7 @@ export declare class LpUserShare implements StructClass {
|
|
|
718
645
|
}[];
|
|
719
646
|
};
|
|
720
647
|
u64_padding: string[];
|
|
721
|
-
}[]
|
|
722
|
-
last_incentive_price_index: {
|
|
723
|
-
contents: {
|
|
724
|
-
key: {
|
|
725
|
-
name: {
|
|
726
|
-
bytes: number[];
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
value: string;
|
|
730
|
-
}[];
|
|
731
|
-
};
|
|
732
|
-
u64_padding: string[];
|
|
733
|
-
}, {
|
|
734
|
-
user: string;
|
|
735
|
-
user_share_id: string | number | bigint;
|
|
736
|
-
stake_ts_ms: string | number | bigint;
|
|
737
|
-
total_shares: string | number | bigint;
|
|
738
|
-
active_shares: string | number | bigint;
|
|
739
|
-
deactivating_shares: Iterable<{
|
|
648
|
+
}[], Iterable<{
|
|
740
649
|
shares: string | number | bigint;
|
|
741
650
|
unsubscribed_ts_ms: string | number | bigint;
|
|
742
651
|
unlocked_ts_ms: string | number | bigint;
|
|
@@ -759,9 +668,16 @@ export declare class LpUserShare implements StructClass {
|
|
|
759
668
|
};
|
|
760
669
|
}> & {
|
|
761
670
|
length: number;
|
|
762
|
-
}
|
|
763
|
-
last_incentive_price_index: {
|
|
764
|
-
contents:
|
|
671
|
+
}, string>;
|
|
672
|
+
last_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
|
|
673
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
674
|
+
key: {
|
|
675
|
+
name: {
|
|
676
|
+
bytes: number[];
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
value: string;
|
|
680
|
+
}[], Iterable<{
|
|
765
681
|
key: {
|
|
766
682
|
name: {
|
|
767
683
|
bytes: Iterable<number> & {
|
|
@@ -772,12 +688,12 @@ export declare class LpUserShare implements StructClass {
|
|
|
772
688
|
value: string | number | bigint;
|
|
773
689
|
}> & {
|
|
774
690
|
length: number;
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
691
|
+
}, string>;
|
|
692
|
+
}, string>;
|
|
693
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
778
694
|
length: number;
|
|
779
|
-
}
|
|
780
|
-
}>;
|
|
695
|
+
}, string>;
|
|
696
|
+
}, string>;
|
|
781
697
|
static fromFields(fields: Record<string, any>): LpUserShare;
|
|
782
698
|
static fromFieldsWithTypes(item: FieldsWithTypes): LpUserShare;
|
|
783
699
|
static fromBcs(data: Uint8Array): LpUserShare;
|
|
@@ -879,27 +795,19 @@ export declare class DeactivatingShares implements StructClass {
|
|
|
879
795
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivatingShares" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivatingShares">;
|
|
880
796
|
private static instantiateBcs;
|
|
881
797
|
private static cachedBcs;
|
|
882
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
883
|
-
shares: string
|
|
884
|
-
unsubscribed_ts_ms: string
|
|
885
|
-
unlocked_ts_ms: string
|
|
886
|
-
unsubscribed_incentive_price_index: {
|
|
887
|
-
contents: {
|
|
798
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
799
|
+
shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
800
|
+
unsubscribed_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
801
|
+
unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
802
|
+
unsubscribed_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
|
|
803
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
888
804
|
key: {
|
|
889
805
|
name: {
|
|
890
806
|
bytes: number[];
|
|
891
807
|
};
|
|
892
808
|
};
|
|
893
809
|
value: string;
|
|
894
|
-
}[]
|
|
895
|
-
};
|
|
896
|
-
u64_padding: string[];
|
|
897
|
-
}, {
|
|
898
|
-
shares: string | number | bigint;
|
|
899
|
-
unsubscribed_ts_ms: string | number | bigint;
|
|
900
|
-
unlocked_ts_ms: string | number | bigint;
|
|
901
|
-
unsubscribed_incentive_price_index: {
|
|
902
|
-
contents: Iterable<{
|
|
810
|
+
}[], Iterable<{
|
|
903
811
|
key: {
|
|
904
812
|
name: {
|
|
905
813
|
bytes: Iterable<number> & {
|
|
@@ -910,12 +818,12 @@ export declare class DeactivatingShares implements StructClass {
|
|
|
910
818
|
value: string | number | bigint;
|
|
911
819
|
}> & {
|
|
912
820
|
length: number;
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
821
|
+
}, string>;
|
|
822
|
+
}, string>;
|
|
823
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
916
824
|
length: number;
|
|
917
|
-
}
|
|
918
|
-
}>;
|
|
825
|
+
}, string>;
|
|
826
|
+
}, string>;
|
|
919
827
|
static fromFields(fields: Record<string, any>): DeactivatingShares;
|
|
920
828
|
static fromFieldsWithTypes(item: FieldsWithTypes): DeactivatingShares;
|
|
921
829
|
static fromBcs(data: Uint8Array): DeactivatingShares;
|
|
@@ -983,53 +891,34 @@ export declare class NewStakePoolEvent implements StructClass {
|
|
|
983
891
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::NewStakePoolEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::NewStakePoolEvent">;
|
|
984
892
|
private static instantiateBcs;
|
|
985
893
|
private static cachedBcs;
|
|
986
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
987
|
-
sender: string
|
|
988
|
-
stake_pool_info: {
|
|
989
|
-
stake_token: {
|
|
990
|
-
name: {
|
|
991
|
-
bytes: number[]
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
index: string;
|
|
995
|
-
next_user_share_id: string;
|
|
996
|
-
total_share: string;
|
|
997
|
-
active: boolean;
|
|
998
|
-
u64_padding: string[];
|
|
999
|
-
};
|
|
1000
|
-
stake_pool_config: {
|
|
1001
|
-
unlock_countdown_ts_ms: string;
|
|
1002
|
-
u64_padding: string[];
|
|
1003
|
-
};
|
|
1004
|
-
u64_padding: string[];
|
|
1005
|
-
}, {
|
|
1006
|
-
sender: string;
|
|
1007
|
-
stake_pool_info: {
|
|
1008
|
-
stake_token: {
|
|
1009
|
-
name: {
|
|
1010
|
-
bytes: Iterable<number> & {
|
|
894
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
895
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
896
|
+
stake_pool_info: import("@mysten/sui/bcs").BcsStruct<{
|
|
897
|
+
stake_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
898
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
899
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1011
900
|
length: number;
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
index: string | number | bigint
|
|
1016
|
-
next_user_share_id: string | number | bigint
|
|
1017
|
-
total_share: string | number | bigint
|
|
1018
|
-
active: boolean
|
|
1019
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
901
|
+
}, string>;
|
|
902
|
+
}, string>;
|
|
903
|
+
}, string>;
|
|
904
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
905
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
906
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
907
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
908
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1020
909
|
length: number;
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
stake_pool_config: {
|
|
1024
|
-
unlock_countdown_ts_ms: string | number | bigint
|
|
1025
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
910
|
+
}, string>;
|
|
911
|
+
}, string>;
|
|
912
|
+
stake_pool_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
913
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
914
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1026
915
|
length: number;
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
916
|
+
}, string>;
|
|
917
|
+
}, string>;
|
|
918
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1030
919
|
length: number;
|
|
1031
|
-
}
|
|
1032
|
-
}>;
|
|
920
|
+
}, string>;
|
|
921
|
+
}, string>;
|
|
1033
922
|
static fromFields(fields: Record<string, any>): NewStakePoolEvent;
|
|
1034
923
|
static fromFieldsWithTypes(item: FieldsWithTypes): NewStakePoolEvent;
|
|
1035
924
|
static fromBcs(data: Uint8Array): NewStakePoolEvent;
|
|
@@ -1113,37 +1002,24 @@ export declare class AutoCompoundEvent implements StructClass {
|
|
|
1113
1002
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AutoCompoundEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AutoCompoundEvent">;
|
|
1114
1003
|
private static instantiateBcs;
|
|
1115
1004
|
private static cachedBcs;
|
|
1116
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1117
|
-
sender: string
|
|
1118
|
-
index: string
|
|
1119
|
-
incentive_token: {
|
|
1120
|
-
name: {
|
|
1121
|
-
bytes: number[]
|
|
1122
|
-
};
|
|
1123
|
-
};
|
|
1124
|
-
incentive_price_index: string;
|
|
1125
|
-
total_amount: string;
|
|
1126
|
-
compound_users: string;
|
|
1127
|
-
total_users: string;
|
|
1128
|
-
u64_padding: string[];
|
|
1129
|
-
}, {
|
|
1130
|
-
sender: string;
|
|
1131
|
-
index: string | number | bigint;
|
|
1132
|
-
incentive_token: {
|
|
1133
|
-
name: {
|
|
1134
|
-
bytes: Iterable<number> & {
|
|
1005
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1006
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1007
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1008
|
+
incentive_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1009
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1010
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1135
1011
|
length: number;
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
incentive_price_index: string | number | bigint
|
|
1140
|
-
total_amount: string | number | bigint
|
|
1141
|
-
compound_users: string | number | bigint
|
|
1142
|
-
total_users: string | number | bigint
|
|
1143
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1012
|
+
}, string>;
|
|
1013
|
+
}, string>;
|
|
1014
|
+
}, string>;
|
|
1015
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1016
|
+
total_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1017
|
+
compound_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1018
|
+
total_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1019
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1144
1020
|
length: number;
|
|
1145
|
-
}
|
|
1146
|
-
}>;
|
|
1021
|
+
}, string>;
|
|
1022
|
+
}, string>;
|
|
1147
1023
|
static fromFields(fields: Record<string, any>): AutoCompoundEvent;
|
|
1148
1024
|
static fromFieldsWithTypes(item: FieldsWithTypes): AutoCompoundEvent;
|
|
1149
1025
|
static fromBcs(data: Uint8Array): AutoCompoundEvent;
|
|
@@ -1211,57 +1087,36 @@ export declare class AddIncentiveTokenEvent implements StructClass {
|
|
|
1211
1087
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AddIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AddIncentiveTokenEvent">;
|
|
1212
1088
|
private static instantiateBcs;
|
|
1213
1089
|
private static cachedBcs;
|
|
1214
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1215
|
-
sender: string
|
|
1216
|
-
index: string
|
|
1217
|
-
incentive_token: {
|
|
1218
|
-
name: {
|
|
1219
|
-
bytes: number[]
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
incentive_info: {
|
|
1223
|
-
active: boolean;
|
|
1224
|
-
last_allocate_ts_ms: string;
|
|
1225
|
-
incentive_price_index: string;
|
|
1226
|
-
unallocated_amount: string;
|
|
1227
|
-
u64_padding: string[];
|
|
1228
|
-
};
|
|
1229
|
-
incentive_config: {
|
|
1230
|
-
period_incentive_amount: string;
|
|
1231
|
-
incentive_interval_ts_ms: string;
|
|
1232
|
-
u64_padding: string[];
|
|
1233
|
-
};
|
|
1234
|
-
u64_padding: string[];
|
|
1235
|
-
}, {
|
|
1236
|
-
sender: string;
|
|
1237
|
-
index: string | number | bigint;
|
|
1238
|
-
incentive_token: {
|
|
1239
|
-
name: {
|
|
1240
|
-
bytes: Iterable<number> & {
|
|
1090
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1091
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1092
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1093
|
+
incentive_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1094
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1095
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1241
1096
|
length: number;
|
|
1242
|
-
}
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
incentive_info: {
|
|
1246
|
-
active: boolean
|
|
1247
|
-
last_allocate_ts_ms: string | number | bigint
|
|
1248
|
-
incentive_price_index: string | number | bigint
|
|
1249
|
-
unallocated_amount: string | number | bigint
|
|
1250
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1097
|
+
}, string>;
|
|
1098
|
+
}, string>;
|
|
1099
|
+
}, string>;
|
|
1100
|
+
incentive_info: import("@mysten/sui/bcs").BcsStruct<{
|
|
1101
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
1102
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1103
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1104
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1105
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1251
1106
|
length: number;
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
incentive_config: {
|
|
1255
|
-
period_incentive_amount: string | number | bigint
|
|
1256
|
-
incentive_interval_ts_ms: string | number | bigint
|
|
1257
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1107
|
+
}, string>;
|
|
1108
|
+
}, string>;
|
|
1109
|
+
incentive_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
1110
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1111
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1112
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1258
1113
|
length: number;
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1114
|
+
}, string>;
|
|
1115
|
+
}, string>;
|
|
1116
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1262
1117
|
length: number;
|
|
1263
|
-
}
|
|
1264
|
-
}>;
|
|
1118
|
+
}, string>;
|
|
1119
|
+
}, string>;
|
|
1265
1120
|
static fromFields(fields: Record<string, any>): AddIncentiveTokenEvent;
|
|
1266
1121
|
static fromFieldsWithTypes(item: FieldsWithTypes): AddIncentiveTokenEvent;
|
|
1267
1122
|
static fromBcs(data: Uint8Array): AddIncentiveTokenEvent;
|
|
@@ -1341,29 +1196,20 @@ export declare class DeactivateIncentiveTokenEvent implements StructClass {
|
|
|
1341
1196
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivateIncentiveTokenEvent">;
|
|
1342
1197
|
private static instantiateBcs;
|
|
1343
1198
|
private static cachedBcs;
|
|
1344
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1345
|
-
sender: string
|
|
1346
|
-
index: string
|
|
1347
|
-
incentive_token: {
|
|
1348
|
-
name: {
|
|
1349
|
-
bytes: number[]
|
|
1350
|
-
};
|
|
1351
|
-
};
|
|
1352
|
-
u64_padding: string[];
|
|
1353
|
-
}, {
|
|
1354
|
-
sender: string;
|
|
1355
|
-
index: string | number | bigint;
|
|
1356
|
-
incentive_token: {
|
|
1357
|
-
name: {
|
|
1358
|
-
bytes: Iterable<number> & {
|
|
1199
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1200
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1201
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1202
|
+
incentive_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1203
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1204
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1359
1205
|
length: number;
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1206
|
+
}, string>;
|
|
1207
|
+
}, string>;
|
|
1208
|
+
}, string>;
|
|
1209
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1364
1210
|
length: number;
|
|
1365
|
-
}
|
|
1366
|
-
}>;
|
|
1211
|
+
}, string>;
|
|
1212
|
+
}, string>;
|
|
1367
1213
|
static fromFields(fields: Record<string, any>): DeactivateIncentiveTokenEvent;
|
|
1368
1214
|
static fromFieldsWithTypes(item: FieldsWithTypes): DeactivateIncentiveTokenEvent;
|
|
1369
1215
|
static fromBcs(data: Uint8Array): DeactivateIncentiveTokenEvent;
|
|
@@ -1419,29 +1265,20 @@ export declare class ActivateIncentiveTokenEvent implements StructClass {
|
|
|
1419
1265
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::ActivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::ActivateIncentiveTokenEvent">;
|
|
1420
1266
|
private static instantiateBcs;
|
|
1421
1267
|
private static cachedBcs;
|
|
1422
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1423
|
-
sender: string
|
|
1424
|
-
index: string
|
|
1425
|
-
incentive_token: {
|
|
1426
|
-
name: {
|
|
1427
|
-
bytes: number[]
|
|
1428
|
-
};
|
|
1429
|
-
};
|
|
1430
|
-
u64_padding: string[];
|
|
1431
|
-
}, {
|
|
1432
|
-
sender: string;
|
|
1433
|
-
index: string | number | bigint;
|
|
1434
|
-
incentive_token: {
|
|
1435
|
-
name: {
|
|
1436
|
-
bytes: Iterable<number> & {
|
|
1268
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1269
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1270
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1271
|
+
incentive_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1272
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1273
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1437
1274
|
length: number;
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1275
|
+
}, string>;
|
|
1276
|
+
}, string>;
|
|
1277
|
+
}, string>;
|
|
1278
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1442
1279
|
length: number;
|
|
1443
|
-
}
|
|
1444
|
-
}>;
|
|
1280
|
+
}, string>;
|
|
1281
|
+
}, string>;
|
|
1445
1282
|
static fromFields(fields: Record<string, any>): ActivateIncentiveTokenEvent;
|
|
1446
1283
|
static fromFieldsWithTypes(item: FieldsWithTypes): ActivateIncentiveTokenEvent;
|
|
1447
1284
|
static fromBcs(data: Uint8Array): ActivateIncentiveTokenEvent;
|
|
@@ -1499,31 +1336,21 @@ export declare class RemoveIncentiveTokenEvent implements StructClass {
|
|
|
1499
1336
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::RemoveIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::RemoveIncentiveTokenEvent">;
|
|
1500
1337
|
private static instantiateBcs;
|
|
1501
1338
|
private static cachedBcs;
|
|
1502
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1503
|
-
sender: string
|
|
1504
|
-
index: string
|
|
1505
|
-
incentive_token: {
|
|
1506
|
-
name: {
|
|
1507
|
-
bytes: number[]
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
incentive_balance_value: string;
|
|
1511
|
-
u64_padding: string[];
|
|
1512
|
-
}, {
|
|
1513
|
-
sender: string;
|
|
1514
|
-
index: string | number | bigint;
|
|
1515
|
-
incentive_token: {
|
|
1516
|
-
name: {
|
|
1517
|
-
bytes: Iterable<number> & {
|
|
1339
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1340
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1341
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1342
|
+
incentive_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1343
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1344
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1518
1345
|
length: number;
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
incentive_balance_value: string | number | bigint
|
|
1523
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1346
|
+
}, string>;
|
|
1347
|
+
}, string>;
|
|
1348
|
+
}, string>;
|
|
1349
|
+
incentive_balance_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1350
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1524
1351
|
length: number;
|
|
1525
|
-
}
|
|
1526
|
-
}>;
|
|
1352
|
+
}, string>;
|
|
1353
|
+
}, string>;
|
|
1527
1354
|
static fromFields(fields: Record<string, any>): RemoveIncentiveTokenEvent;
|
|
1528
1355
|
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveIncentiveTokenEvent;
|
|
1529
1356
|
static fromBcs(data: Uint8Array): RemoveIncentiveTokenEvent;
|
|
@@ -1583,21 +1410,15 @@ export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
|
|
|
1583
1410
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
1584
1411
|
private static instantiateBcs;
|
|
1585
1412
|
private static cachedBcs;
|
|
1586
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1587
|
-
sender: string
|
|
1588
|
-
index: string
|
|
1589
|
-
previous_unlock_countdown_ts_ms: string
|
|
1590
|
-
new_unlock_countdown_ts_ms: string
|
|
1591
|
-
u64_padding: string[]
|
|
1592
|
-
}, {
|
|
1593
|
-
sender: string;
|
|
1594
|
-
index: string | number | bigint;
|
|
1595
|
-
previous_unlock_countdown_ts_ms: string | number | bigint;
|
|
1596
|
-
new_unlock_countdown_ts_ms: string | number | bigint;
|
|
1597
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1413
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1414
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1415
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1416
|
+
previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1417
|
+
new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1418
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1598
1419
|
length: number;
|
|
1599
|
-
}
|
|
1600
|
-
}>;
|
|
1420
|
+
}, string>;
|
|
1421
|
+
}, string>;
|
|
1601
1422
|
static fromFields(fields: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
1602
1423
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateUnlockCountdownTsMsEvent;
|
|
1603
1424
|
static fromBcs(data: Uint8Array): UpdateUnlockCountdownTsMsEvent;
|
|
@@ -1653,41 +1474,27 @@ export declare class UpdateIncentiveConfigEvent implements StructClass {
|
|
|
1653
1474
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateIncentiveConfigEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateIncentiveConfigEvent">;
|
|
1654
1475
|
private static instantiateBcs;
|
|
1655
1476
|
private static cachedBcs;
|
|
1656
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1657
|
-
sender: string
|
|
1658
|
-
index: string
|
|
1659
|
-
previous_incentive_config: {
|
|
1660
|
-
period_incentive_amount: string
|
|
1661
|
-
incentive_interval_ts_ms: string
|
|
1662
|
-
u64_padding: string[]
|
|
1663
|
-
};
|
|
1664
|
-
new_incentive_config: {
|
|
1665
|
-
period_incentive_amount: string;
|
|
1666
|
-
incentive_interval_ts_ms: string;
|
|
1667
|
-
u64_padding: string[];
|
|
1668
|
-
};
|
|
1669
|
-
u64_padding: string[];
|
|
1670
|
-
}, {
|
|
1671
|
-
sender: string;
|
|
1672
|
-
index: string | number | bigint;
|
|
1673
|
-
previous_incentive_config: {
|
|
1674
|
-
period_incentive_amount: string | number | bigint;
|
|
1675
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
1676
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1477
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1478
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1479
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1480
|
+
previous_incentive_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
1481
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1482
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1483
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1677
1484
|
length: number;
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
new_incentive_config: {
|
|
1681
|
-
period_incentive_amount: string | number | bigint
|
|
1682
|
-
incentive_interval_ts_ms: string | number | bigint
|
|
1683
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1485
|
+
}, string>;
|
|
1486
|
+
}, string>;
|
|
1487
|
+
new_incentive_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
1488
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1489
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1490
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1684
1491
|
length: number;
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1492
|
+
}, string>;
|
|
1493
|
+
}, string>;
|
|
1494
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1688
1495
|
length: number;
|
|
1689
|
-
}
|
|
1690
|
-
}>;
|
|
1496
|
+
}, string>;
|
|
1497
|
+
}, string>;
|
|
1691
1498
|
static fromFields(fields: Record<string, any>): UpdateIncentiveConfigEvent;
|
|
1692
1499
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateIncentiveConfigEvent;
|
|
1693
1500
|
static fromBcs(data: Uint8Array): UpdateIncentiveConfigEvent;
|
|
@@ -1759,31 +1566,21 @@ export declare class DepositIncentiveEvent implements StructClass {
|
|
|
1759
1566
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DepositIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DepositIncentiveEvent">;
|
|
1760
1567
|
private static instantiateBcs;
|
|
1761
1568
|
private static cachedBcs;
|
|
1762
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1763
|
-
sender: string
|
|
1764
|
-
index: string
|
|
1765
|
-
incentive_token_type: {
|
|
1766
|
-
name: {
|
|
1767
|
-
bytes: number[]
|
|
1768
|
-
};
|
|
1769
|
-
};
|
|
1770
|
-
deposit_amount: string;
|
|
1771
|
-
u64_padding: string[];
|
|
1772
|
-
}, {
|
|
1773
|
-
sender: string;
|
|
1774
|
-
index: string | number | bigint;
|
|
1775
|
-
incentive_token_type: {
|
|
1776
|
-
name: {
|
|
1777
|
-
bytes: Iterable<number> & {
|
|
1569
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1570
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1571
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1572
|
+
incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1573
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1574
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1778
1575
|
length: number;
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
deposit_amount: string | number | bigint
|
|
1783
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1576
|
+
}, string>;
|
|
1577
|
+
}, string>;
|
|
1578
|
+
}, string>;
|
|
1579
|
+
deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1580
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1784
1581
|
length: number;
|
|
1785
|
-
}
|
|
1786
|
-
}>;
|
|
1582
|
+
}, string>;
|
|
1583
|
+
}, string>;
|
|
1787
1584
|
static fromFields(fields: Record<string, any>): DepositIncentiveEvent;
|
|
1788
1585
|
static fromFieldsWithTypes(item: FieldsWithTypes): DepositIncentiveEvent;
|
|
1789
1586
|
static fromBcs(data: Uint8Array): DepositIncentiveEvent;
|
|
@@ -1843,31 +1640,21 @@ export declare class WithdrawIncentiveEvent implements StructClass {
|
|
|
1843
1640
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::WithdrawIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::WithdrawIncentiveEvent">;
|
|
1844
1641
|
private static instantiateBcs;
|
|
1845
1642
|
private static cachedBcs;
|
|
1846
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1847
|
-
sender: string
|
|
1848
|
-
index: string
|
|
1849
|
-
incentive_token_type: {
|
|
1850
|
-
name: {
|
|
1851
|
-
bytes: number[]
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
withdrawal_amount: string;
|
|
1855
|
-
u64_padding: string[];
|
|
1856
|
-
}, {
|
|
1857
|
-
sender: string;
|
|
1858
|
-
index: string | number | bigint;
|
|
1859
|
-
incentive_token_type: {
|
|
1860
|
-
name: {
|
|
1861
|
-
bytes: Iterable<number> & {
|
|
1643
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1644
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1645
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1646
|
+
incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1647
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1648
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1862
1649
|
length: number;
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
}
|
|
1866
|
-
withdrawal_amount: string | number | bigint
|
|
1867
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1650
|
+
}, string>;
|
|
1651
|
+
}, string>;
|
|
1652
|
+
}, string>;
|
|
1653
|
+
withdrawal_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1654
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1868
1655
|
length: number;
|
|
1869
|
-
}
|
|
1870
|
-
}>;
|
|
1656
|
+
}, string>;
|
|
1657
|
+
}, string>;
|
|
1871
1658
|
static fromFields(fields: Record<string, any>): WithdrawIncentiveEvent;
|
|
1872
1659
|
static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawIncentiveEvent;
|
|
1873
1660
|
static fromBcs(data: Uint8Array): WithdrawIncentiveEvent;
|
|
@@ -1933,43 +1720,28 @@ export declare class StakeEvent implements StructClass {
|
|
|
1933
1720
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakeEvent">;
|
|
1934
1721
|
private static instantiateBcs;
|
|
1935
1722
|
private static cachedBcs;
|
|
1936
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1937
|
-
sender: string
|
|
1938
|
-
index: string
|
|
1939
|
-
lp_token_type: {
|
|
1940
|
-
name: {
|
|
1941
|
-
bytes: number[]
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1723
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1724
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1725
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1726
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1727
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1728
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1729
|
+
length: number;
|
|
1730
|
+
}, string>;
|
|
1731
|
+
}, string>;
|
|
1732
|
+
}, string>;
|
|
1733
|
+
stake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1734
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1735
|
+
stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1736
|
+
last_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
|
|
1737
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
1949
1738
|
key: {
|
|
1950
1739
|
name: {
|
|
1951
1740
|
bytes: number[];
|
|
1952
1741
|
};
|
|
1953
1742
|
};
|
|
1954
1743
|
value: string;
|
|
1955
|
-
}[]
|
|
1956
|
-
};
|
|
1957
|
-
u64_padding: string[];
|
|
1958
|
-
}, {
|
|
1959
|
-
sender: string;
|
|
1960
|
-
index: string | number | bigint;
|
|
1961
|
-
lp_token_type: {
|
|
1962
|
-
name: {
|
|
1963
|
-
bytes: Iterable<number> & {
|
|
1964
|
-
length: number;
|
|
1965
|
-
};
|
|
1966
|
-
};
|
|
1967
|
-
};
|
|
1968
|
-
stake_amount: string | number | bigint;
|
|
1969
|
-
user_share_id: string | number | bigint;
|
|
1970
|
-
stake_ts_ms: string | number | bigint;
|
|
1971
|
-
last_incentive_price_index: {
|
|
1972
|
-
contents: Iterable<{
|
|
1744
|
+
}[], Iterable<{
|
|
1973
1745
|
key: {
|
|
1974
1746
|
name: {
|
|
1975
1747
|
bytes: Iterable<number> & {
|
|
@@ -1980,12 +1752,12 @@ export declare class StakeEvent implements StructClass {
|
|
|
1980
1752
|
value: string | number | bigint;
|
|
1981
1753
|
}> & {
|
|
1982
1754
|
length: number;
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1755
|
+
}, string>;
|
|
1756
|
+
}, string>;
|
|
1757
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1986
1758
|
length: number;
|
|
1987
|
-
}
|
|
1988
|
-
}>;
|
|
1759
|
+
}, string>;
|
|
1760
|
+
}, string>;
|
|
1989
1761
|
static fromFields(fields: Record<string, any>): StakeEvent;
|
|
1990
1762
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakeEvent;
|
|
1991
1763
|
static fromBcs(data: Uint8Array): StakeEvent;
|
|
@@ -2061,17 +1833,13 @@ export declare class UpdatePoolInfoU64PaddingEvent implements StructClass {
|
|
|
2061
1833
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdatePoolInfoU64PaddingEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdatePoolInfoU64PaddingEvent">;
|
|
2062
1834
|
private static instantiateBcs;
|
|
2063
1835
|
private static cachedBcs;
|
|
2064
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2065
|
-
sender: string
|
|
2066
|
-
index: string
|
|
2067
|
-
u64_padding: string[]
|
|
2068
|
-
}, {
|
|
2069
|
-
sender: string;
|
|
2070
|
-
index: string | number | bigint;
|
|
2071
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1836
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1837
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1838
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1839
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2072
1840
|
length: number;
|
|
2073
|
-
}
|
|
2074
|
-
}>;
|
|
1841
|
+
}, string>;
|
|
1842
|
+
}, string>;
|
|
2075
1843
|
static fromFields(fields: Record<string, any>): UpdatePoolInfoU64PaddingEvent;
|
|
2076
1844
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdatePoolInfoU64PaddingEvent;
|
|
2077
1845
|
static fromBcs(data: Uint8Array): UpdatePoolInfoU64PaddingEvent;
|
|
@@ -2131,29 +1899,19 @@ export declare class SnapshotEvent implements StructClass {
|
|
|
2131
1899
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::SnapshotEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::SnapshotEvent">;
|
|
2132
1900
|
private static instantiateBcs;
|
|
2133
1901
|
private static cachedBcs;
|
|
2134
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2135
|
-
sender: string
|
|
2136
|
-
index: string
|
|
2137
|
-
user_share_id: string
|
|
2138
|
-
shares: string
|
|
2139
|
-
tlp_price: string
|
|
2140
|
-
last_ts_ms: string
|
|
2141
|
-
current_ts_ms: string
|
|
2142
|
-
exp: string
|
|
2143
|
-
u64_padding: string[]
|
|
2144
|
-
}, {
|
|
2145
|
-
sender: string;
|
|
2146
|
-
index: string | number | bigint;
|
|
2147
|
-
user_share_id: string | number | bigint;
|
|
2148
|
-
shares: string | number | bigint;
|
|
2149
|
-
tlp_price: string | number | bigint;
|
|
2150
|
-
last_ts_ms: string | number | bigint;
|
|
2151
|
-
current_ts_ms: string | number | bigint;
|
|
2152
|
-
exp: string | number | bigint;
|
|
2153
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1902
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1903
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1904
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1905
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1906
|
+
shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1907
|
+
tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1908
|
+
last_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1909
|
+
current_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1910
|
+
exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1911
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2154
1912
|
length: number;
|
|
2155
|
-
}
|
|
2156
|
-
}>;
|
|
1913
|
+
}, string>;
|
|
1914
|
+
}, string>;
|
|
2157
1915
|
static fromFields(fields: Record<string, any>): SnapshotEvent;
|
|
2158
1916
|
static fromFieldsWithTypes(item: FieldsWithTypes): SnapshotEvent;
|
|
2159
1917
|
static fromBcs(data: Uint8Array): SnapshotEvent;
|
|
@@ -2223,37 +1981,24 @@ export declare class UnsubscribeEvent implements StructClass {
|
|
|
2223
1981
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnsubscribeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnsubscribeEvent">;
|
|
2224
1982
|
private static instantiateBcs;
|
|
2225
1983
|
private static cachedBcs;
|
|
2226
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2227
|
-
sender: string
|
|
2228
|
-
index: string
|
|
2229
|
-
lp_token_type: {
|
|
2230
|
-
name: {
|
|
2231
|
-
bytes: number[]
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
2234
|
-
user_share_id: string;
|
|
2235
|
-
unsubscribed_shares: string;
|
|
2236
|
-
unsubscribe_ts_ms: string;
|
|
2237
|
-
unlocked_ts_ms: string;
|
|
2238
|
-
u64_padding: string[];
|
|
2239
|
-
}, {
|
|
2240
|
-
sender: string;
|
|
2241
|
-
index: string | number | bigint;
|
|
2242
|
-
lp_token_type: {
|
|
2243
|
-
name: {
|
|
2244
|
-
bytes: Iterable<number> & {
|
|
1984
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1985
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1986
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1987
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1988
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1989
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2245
1990
|
length: number;
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
user_share_id: string | number | bigint
|
|
2250
|
-
unsubscribed_shares: string | number | bigint
|
|
2251
|
-
unsubscribe_ts_ms: string | number | bigint
|
|
2252
|
-
unlocked_ts_ms: string | number | bigint
|
|
2253
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1991
|
+
}, string>;
|
|
1992
|
+
}, string>;
|
|
1993
|
+
}, string>;
|
|
1994
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1995
|
+
unsubscribed_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1996
|
+
unsubscribe_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1997
|
+
unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1998
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2254
1999
|
length: number;
|
|
2255
|
-
}
|
|
2256
|
-
}>;
|
|
2000
|
+
}, string>;
|
|
2001
|
+
}, string>;
|
|
2257
2002
|
static fromFields(fields: Record<string, any>): UnsubscribeEvent;
|
|
2258
2003
|
static fromFieldsWithTypes(item: FieldsWithTypes): UnsubscribeEvent;
|
|
2259
2004
|
static fromBcs(data: Uint8Array): UnsubscribeEvent;
|
|
@@ -2323,35 +2068,23 @@ export declare class UnstakeEvent implements StructClass {
|
|
|
2323
2068
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnstakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnstakeEvent">;
|
|
2324
2069
|
private static instantiateBcs;
|
|
2325
2070
|
private static cachedBcs;
|
|
2326
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2327
|
-
sender: string
|
|
2328
|
-
index: string
|
|
2329
|
-
lp_token_type: {
|
|
2330
|
-
name: {
|
|
2331
|
-
bytes: number[]
|
|
2332
|
-
};
|
|
2333
|
-
};
|
|
2334
|
-
user_share_id: string;
|
|
2335
|
-
unstake_amount: string;
|
|
2336
|
-
unstake_ts_ms: string;
|
|
2337
|
-
u64_padding: string[];
|
|
2338
|
-
}, {
|
|
2339
|
-
sender: string;
|
|
2340
|
-
index: string | number | bigint;
|
|
2341
|
-
lp_token_type: {
|
|
2342
|
-
name: {
|
|
2343
|
-
bytes: Iterable<number> & {
|
|
2071
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2072
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2073
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2074
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
2075
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2076
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2344
2077
|
length: number;
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
user_share_id: string | number | bigint
|
|
2349
|
-
unstake_amount: string | number | bigint
|
|
2350
|
-
unstake_ts_ms: string | number | bigint
|
|
2351
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2078
|
+
}, string>;
|
|
2079
|
+
}, string>;
|
|
2080
|
+
}, string>;
|
|
2081
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2082
|
+
unstake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2083
|
+
unstake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2084
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2352
2085
|
length: number;
|
|
2353
|
-
}
|
|
2354
|
-
}>;
|
|
2086
|
+
}, string>;
|
|
2087
|
+
}, string>;
|
|
2355
2088
|
static fromFields(fields: Record<string, any>): UnstakeEvent;
|
|
2356
2089
|
static fromFieldsWithTypes(item: FieldsWithTypes): UnstakeEvent;
|
|
2357
2090
|
static fromBcs(data: Uint8Array): UnstakeEvent;
|
|
@@ -2417,33 +2150,22 @@ export declare class HarvestPerUserShareEvent implements StructClass {
|
|
|
2417
2150
|
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::HarvestPerUserShareEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::HarvestPerUserShareEvent">;
|
|
2418
2151
|
private static instantiateBcs;
|
|
2419
2152
|
private static cachedBcs;
|
|
2420
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2421
|
-
sender: string
|
|
2422
|
-
index: string
|
|
2423
|
-
incentive_token_type: {
|
|
2424
|
-
name: {
|
|
2425
|
-
bytes: number[]
|
|
2426
|
-
};
|
|
2427
|
-
};
|
|
2428
|
-
harvest_amount: string;
|
|
2429
|
-
user_share_id: string;
|
|
2430
|
-
u64_padding: string[];
|
|
2431
|
-
}, {
|
|
2432
|
-
sender: string;
|
|
2433
|
-
index: string | number | bigint;
|
|
2434
|
-
incentive_token_type: {
|
|
2435
|
-
name: {
|
|
2436
|
-
bytes: Iterable<number> & {
|
|
2153
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2154
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2155
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2156
|
+
incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
2157
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2158
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2437
2159
|
length: number;
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
harvest_amount: string | number | bigint
|
|
2442
|
-
user_share_id: string | number | bigint
|
|
2443
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2160
|
+
}, string>;
|
|
2161
|
+
}, string>;
|
|
2162
|
+
}, string>;
|
|
2163
|
+
harvest_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2164
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2165
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2444
2166
|
length: number;
|
|
2445
|
-
}
|
|
2446
|
-
}>;
|
|
2167
|
+
}, string>;
|
|
2168
|
+
}, string>;
|
|
2447
2169
|
static fromFields(fields: Record<string, any>): HarvestPerUserShareEvent;
|
|
2448
2170
|
static fromFieldsWithTypes(item: FieldsWithTypes): HarvestPerUserShareEvent;
|
|
2449
2171
|
static fromBcs(data: Uint8Array): HarvestPerUserShareEvent;
|