@typus/typus-perp-sdk 1.1.29 → 1.1.30-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/orderWithBidReceipt.d.ts +1 -0
- package/dist/src/user/orderWithBidReceipt.js +1 -0
- package/package.json +4 -3
|
@@ -38,121 +38,71 @@ export declare class AddLiquidityTokenEvent implements StructClass {
|
|
|
38
38
|
static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
39
39
|
static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
|
|
40
40
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::AddLiquidityTokenEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::AddLiquidityTokenEvent">;
|
|
41
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
42
|
-
sender: string
|
|
43
|
-
index: string
|
|
44
|
-
token_type: {
|
|
45
|
-
name: {
|
|
46
|
-
bytes: number[]
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
config: {
|
|
50
|
-
oracle_id: string;
|
|
51
|
-
liquidity_token_decimal: string;
|
|
52
|
-
spot_config: {
|
|
53
|
-
min_deposit: string;
|
|
54
|
-
max_capacity: string;
|
|
55
|
-
target_weight_bp: string;
|
|
56
|
-
basic_mint_fee_bp: string;
|
|
57
|
-
additional_mint_fee_bp: string;
|
|
58
|
-
basic_burn_fee_bp: string;
|
|
59
|
-
additional_burn_fee_bp: string;
|
|
60
|
-
swap_fee_bp: string;
|
|
61
|
-
swap_fee_protocol_share_bp: string;
|
|
62
|
-
lending_protocol_share_bp: string;
|
|
63
|
-
u64_padding: string[];
|
|
64
|
-
};
|
|
65
|
-
margin_config: {
|
|
66
|
-
basic_borrow_rate_0: string;
|
|
67
|
-
basic_borrow_rate_1: string;
|
|
68
|
-
basic_borrow_rate_2: string;
|
|
69
|
-
utilization_threshold_bp_0: string;
|
|
70
|
-
utilization_threshold_bp_1: string;
|
|
71
|
-
borrow_interval_ts_ms: string;
|
|
72
|
-
max_order_reserve_ratio_bp: string;
|
|
73
|
-
u64_padding: string[];
|
|
74
|
-
};
|
|
75
|
-
u64_padding: string[];
|
|
76
|
-
};
|
|
77
|
-
state: {
|
|
78
|
-
liquidity_amount: string;
|
|
79
|
-
value_in_usd: string;
|
|
80
|
-
reserved_amount: string;
|
|
81
|
-
update_ts_ms: string;
|
|
82
|
-
is_active: boolean;
|
|
83
|
-
last_borrow_rate_ts_ms: string;
|
|
84
|
-
cumulative_borrow_rate: string;
|
|
85
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
86
|
-
previous_cumulative_borrow_rate: string;
|
|
87
|
-
current_lending_amount: string[];
|
|
88
|
-
u64_padding: string[];
|
|
89
|
-
};
|
|
90
|
-
u64_padding: string[];
|
|
91
|
-
}, {
|
|
92
|
-
sender: string;
|
|
93
|
-
index: string | number | bigint;
|
|
94
|
-
token_type: {
|
|
95
|
-
name: {
|
|
96
|
-
bytes: Iterable<number> & {
|
|
41
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
42
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
43
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
44
|
+
token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
45
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
46
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
97
47
|
length: number;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
config: {
|
|
102
|
-
oracle_id: string
|
|
103
|
-
liquidity_token_decimal: string | number | bigint
|
|
104
|
-
spot_config: {
|
|
105
|
-
min_deposit: string | number | bigint
|
|
106
|
-
max_capacity: string | number | bigint
|
|
107
|
-
target_weight_bp: string | number | bigint
|
|
108
|
-
basic_mint_fee_bp: string | number | bigint
|
|
109
|
-
additional_mint_fee_bp: string | number | bigint
|
|
110
|
-
basic_burn_fee_bp: string | number | bigint
|
|
111
|
-
additional_burn_fee_bp: string | number | bigint
|
|
112
|
-
swap_fee_bp: string | number | bigint
|
|
113
|
-
swap_fee_protocol_share_bp: string | number | bigint
|
|
114
|
-
lending_protocol_share_bp: string | number | bigint
|
|
115
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
48
|
+
}, string>;
|
|
49
|
+
}, string>;
|
|
50
|
+
}, string>;
|
|
51
|
+
config: import("@mysten/sui/bcs").BcsStruct<{
|
|
52
|
+
oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
53
|
+
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
54
|
+
spot_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
55
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
56
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
57
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
58
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
59
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
60
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
61
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
62
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
63
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
64
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
65
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
116
66
|
length: number;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
margin_config: {
|
|
120
|
-
basic_borrow_rate_0: string | number | bigint
|
|
121
|
-
basic_borrow_rate_1: string | number | bigint
|
|
122
|
-
basic_borrow_rate_2: string | number | bigint
|
|
123
|
-
utilization_threshold_bp_0: string | number | bigint
|
|
124
|
-
utilization_threshold_bp_1: string | number | bigint
|
|
125
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
126
|
-
max_order_reserve_ratio_bp: string | number | bigint
|
|
127
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
67
|
+
}, string>;
|
|
68
|
+
}, string>;
|
|
69
|
+
margin_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
70
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
71
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
72
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
73
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
74
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
75
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
76
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
77
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
128
78
|
length: number;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
79
|
+
}, string>;
|
|
80
|
+
}, string>;
|
|
81
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
132
82
|
length: number;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
state: {
|
|
136
|
-
liquidity_amount: string | number | bigint
|
|
137
|
-
value_in_usd: string | number | bigint
|
|
138
|
-
reserved_amount: string | number | bigint
|
|
139
|
-
update_ts_ms: string | number | bigint
|
|
140
|
-
is_active: boolean
|
|
141
|
-
last_borrow_rate_ts_ms: string | number | bigint
|
|
142
|
-
cumulative_borrow_rate: string | number | bigint
|
|
143
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint
|
|
144
|
-
previous_cumulative_borrow_rate: string | number | bigint
|
|
145
|
-
current_lending_amount: Iterable<string | number | bigint> & {
|
|
83
|
+
}, string>;
|
|
84
|
+
}, string>;
|
|
85
|
+
state: import("@mysten/sui/bcs").BcsStruct<{
|
|
86
|
+
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
87
|
+
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
88
|
+
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
89
|
+
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
90
|
+
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
91
|
+
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
92
|
+
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
93
|
+
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
+
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
95
|
+
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
146
96
|
length: number;
|
|
147
|
-
}
|
|
148
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
97
|
+
}, string>;
|
|
98
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
149
99
|
length: number;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
100
|
+
}, string>;
|
|
101
|
+
}, string>;
|
|
102
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
153
103
|
length: number;
|
|
154
|
-
}
|
|
155
|
-
}>;
|
|
104
|
+
}, string>;
|
|
105
|
+
}, string>;
|
|
156
106
|
static fromFields(fields: Record<string, any>): AddLiquidityTokenEvent;
|
|
157
107
|
static fromFieldsWithTypes(item: FieldsWithTypes): AddLiquidityTokenEvent;
|
|
158
108
|
static fromBcs(data: Uint8Array): AddLiquidityTokenEvent;
|
|
@@ -298,49 +248,31 @@ export declare class BurnLpEvent implements StructClass {
|
|
|
298
248
|
static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
|
|
299
249
|
static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
|
|
300
250
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::BurnLpEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::BurnLpEvent">;
|
|
301
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
302
|
-
sender: string
|
|
303
|
-
index: string
|
|
304
|
-
lp_token_type: {
|
|
305
|
-
name: {
|
|
306
|
-
bytes: number[]
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
burn_lp_amount: string;
|
|
310
|
-
burn_amount_usd: string;
|
|
311
|
-
burn_fee_usd: string;
|
|
312
|
-
liquidity_token_type: {
|
|
313
|
-
name: {
|
|
314
|
-
bytes: number[];
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
withdraw_token_amount: string;
|
|
318
|
-
u64_padding: string[];
|
|
319
|
-
}, {
|
|
320
|
-
sender: string;
|
|
321
|
-
index: string | number | bigint;
|
|
322
|
-
lp_token_type: {
|
|
323
|
-
name: {
|
|
324
|
-
bytes: Iterable<number> & {
|
|
251
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
252
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
253
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
254
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
255
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
256
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
325
257
|
length: number;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
burn_lp_amount: string | number | bigint
|
|
330
|
-
burn_amount_usd: string | number | bigint
|
|
331
|
-
burn_fee_usd: string | number | bigint
|
|
332
|
-
liquidity_token_type: {
|
|
333
|
-
name: {
|
|
334
|
-
bytes: Iterable<number> & {
|
|
258
|
+
}, string>;
|
|
259
|
+
}, string>;
|
|
260
|
+
}, string>;
|
|
261
|
+
burn_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
262
|
+
burn_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
263
|
+
burn_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
264
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
265
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
266
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
335
267
|
length: number;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
withdraw_token_amount: string | number | bigint
|
|
340
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
268
|
+
}, string>;
|
|
269
|
+
}, string>;
|
|
270
|
+
}, string>;
|
|
271
|
+
withdraw_token_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
272
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
341
273
|
length: number;
|
|
342
|
-
}
|
|
343
|
-
}>;
|
|
274
|
+
}, string>;
|
|
275
|
+
}, string>;
|
|
344
276
|
static fromFields(fields: Record<string, any>): BurnLpEvent;
|
|
345
277
|
static fromFieldsWithTypes(item: FieldsWithTypes): BurnLpEvent;
|
|
346
278
|
static fromBcs(data: Uint8Array): BurnLpEvent;
|
|
@@ -420,51 +352,32 @@ export declare class CompleteRebalancingEvent implements StructClass {
|
|
|
420
352
|
static get r(): reified.StructClassReified<CompleteRebalancingEvent, CompleteRebalancingEventFields>;
|
|
421
353
|
static phantom(): PhantomReified<ToTypeStr<CompleteRebalancingEvent>>;
|
|
422
354
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::CompleteRebalancingEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::CompleteRebalancingEvent">;
|
|
423
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
424
|
-
index: string
|
|
425
|
-
from_token: {
|
|
426
|
-
name: {
|
|
427
|
-
bytes: number[]
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
to_token: {
|
|
431
|
-
name: {
|
|
432
|
-
bytes: number[];
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
from_token_oracle_price: string;
|
|
436
|
-
to_token_oracle_price: string;
|
|
437
|
-
swapped_back_usd: string;
|
|
438
|
-
tvl_usd: string;
|
|
439
|
-
from_token_liquidity_amount: string;
|
|
440
|
-
to_token_liquidity_amount: string;
|
|
441
|
-
u64_padding: string[];
|
|
442
|
-
}, {
|
|
443
|
-
index: string | number | bigint;
|
|
444
|
-
from_token: {
|
|
445
|
-
name: {
|
|
446
|
-
bytes: Iterable<number> & {
|
|
355
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
356
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
357
|
+
from_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
358
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
359
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
447
360
|
length: number;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
to_token: {
|
|
452
|
-
name: {
|
|
453
|
-
bytes: Iterable<number> & {
|
|
361
|
+
}, string>;
|
|
362
|
+
}, string>;
|
|
363
|
+
}, string>;
|
|
364
|
+
to_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
365
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
366
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
454
367
|
length: number;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
from_token_oracle_price: string | number | bigint
|
|
459
|
-
to_token_oracle_price: string | number | bigint
|
|
460
|
-
swapped_back_usd: string | number | bigint
|
|
461
|
-
tvl_usd: string | number | bigint
|
|
462
|
-
from_token_liquidity_amount: string | number | bigint
|
|
463
|
-
to_token_liquidity_amount: string | number | bigint
|
|
464
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
368
|
+
}, string>;
|
|
369
|
+
}, string>;
|
|
370
|
+
}, string>;
|
|
371
|
+
from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
372
|
+
to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
373
|
+
swapped_back_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
374
|
+
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
375
|
+
from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
376
|
+
to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
377
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
465
378
|
length: number;
|
|
466
|
-
}
|
|
467
|
-
}>;
|
|
379
|
+
}, string>;
|
|
380
|
+
}, string>;
|
|
468
381
|
static fromFields(fields: Record<string, any>): CompleteRebalancingEvent;
|
|
469
382
|
static fromFieldsWithTypes(item: FieldsWithTypes): CompleteRebalancingEvent;
|
|
470
383
|
static fromBcs(data: Uint8Array): CompleteRebalancingEvent;
|
|
@@ -536,31 +449,21 @@ export declare class CompleteRemoveLiquidityTokenProcessEvent implements StructC
|
|
|
536
449
|
static get r(): reified.StructClassReified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
|
|
537
450
|
static phantom(): PhantomReified<ToTypeStr<CompleteRemoveLiquidityTokenProcessEvent>>;
|
|
538
451
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
539
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
540
|
-
index: string
|
|
541
|
-
liquidity_token: {
|
|
542
|
-
name: {
|
|
543
|
-
bytes: number[]
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
removed_usd: string;
|
|
547
|
-
repaid_usd: string;
|
|
548
|
-
u64_padding: string[];
|
|
549
|
-
}, {
|
|
550
|
-
index: string | number | bigint;
|
|
551
|
-
liquidity_token: {
|
|
552
|
-
name: {
|
|
553
|
-
bytes: Iterable<number> & {
|
|
452
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
453
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
454
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
455
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
456
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
554
457
|
length: number;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
removed_usd: string | number | bigint
|
|
559
|
-
repaid_usd: string | number | bigint
|
|
560
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
458
|
+
}, string>;
|
|
459
|
+
}, string>;
|
|
460
|
+
}, string>;
|
|
461
|
+
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
462
|
+
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
463
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
561
464
|
length: number;
|
|
562
|
-
}
|
|
563
|
-
}>;
|
|
465
|
+
}, string>;
|
|
466
|
+
}, string>;
|
|
564
467
|
static fromFields(fields: Record<string, any>): CompleteRemoveLiquidityTokenProcessEvent;
|
|
565
468
|
static fromFieldsWithTypes(item: FieldsWithTypes): CompleteRemoveLiquidityTokenProcessEvent;
|
|
566
469
|
static fromBcs(data: Uint8Array): CompleteRemoveLiquidityTokenProcessEvent;
|
|
@@ -618,67 +521,40 @@ export declare class Config implements StructClass {
|
|
|
618
521
|
static get r(): reified.StructClassReified<Config, ConfigFields>;
|
|
619
522
|
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
620
523
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::Config" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::Config">;
|
|
621
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
622
|
-
oracle_id: string
|
|
623
|
-
liquidity_token_decimal: string
|
|
624
|
-
spot_config: {
|
|
625
|
-
min_deposit: string
|
|
626
|
-
max_capacity: string
|
|
627
|
-
target_weight_bp: string
|
|
628
|
-
basic_mint_fee_bp: string
|
|
629
|
-
additional_mint_fee_bp: string
|
|
630
|
-
basic_burn_fee_bp: string
|
|
631
|
-
additional_burn_fee_bp: string
|
|
632
|
-
swap_fee_bp: string
|
|
633
|
-
swap_fee_protocol_share_bp: string
|
|
634
|
-
lending_protocol_share_bp: string
|
|
635
|
-
u64_padding: string[]
|
|
636
|
-
};
|
|
637
|
-
margin_config: {
|
|
638
|
-
basic_borrow_rate_0: string;
|
|
639
|
-
basic_borrow_rate_1: string;
|
|
640
|
-
basic_borrow_rate_2: string;
|
|
641
|
-
utilization_threshold_bp_0: string;
|
|
642
|
-
utilization_threshold_bp_1: string;
|
|
643
|
-
borrow_interval_ts_ms: string;
|
|
644
|
-
max_order_reserve_ratio_bp: string;
|
|
645
|
-
u64_padding: string[];
|
|
646
|
-
};
|
|
647
|
-
u64_padding: string[];
|
|
648
|
-
}, {
|
|
649
|
-
oracle_id: string;
|
|
650
|
-
liquidity_token_decimal: string | number | bigint;
|
|
651
|
-
spot_config: {
|
|
652
|
-
min_deposit: string | number | bigint;
|
|
653
|
-
max_capacity: string | number | bigint;
|
|
654
|
-
target_weight_bp: string | number | bigint;
|
|
655
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
656
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
657
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
658
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
659
|
-
swap_fee_bp: string | number | bigint;
|
|
660
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
661
|
-
lending_protocol_share_bp: string | number | bigint;
|
|
662
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
524
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
525
|
+
oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
526
|
+
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
527
|
+
spot_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
528
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
529
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
530
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
531
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
532
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
533
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
534
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
535
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
536
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
537
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
538
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
663
539
|
length: number;
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
margin_config: {
|
|
667
|
-
basic_borrow_rate_0: string | number | bigint
|
|
668
|
-
basic_borrow_rate_1: string | number | bigint
|
|
669
|
-
basic_borrow_rate_2: string | number | bigint
|
|
670
|
-
utilization_threshold_bp_0: string | number | bigint
|
|
671
|
-
utilization_threshold_bp_1: string | number | bigint
|
|
672
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
673
|
-
max_order_reserve_ratio_bp: string | number | bigint
|
|
674
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
540
|
+
}, string>;
|
|
541
|
+
}, string>;
|
|
542
|
+
margin_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
543
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
544
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
545
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
546
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
547
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
548
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
549
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
550
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
675
551
|
length: number;
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
552
|
+
}, string>;
|
|
553
|
+
}, string>;
|
|
554
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
679
555
|
length: number;
|
|
680
|
-
}
|
|
681
|
-
}>;
|
|
556
|
+
}, string>;
|
|
557
|
+
}, string>;
|
|
682
558
|
static fromFields(fields: Record<string, any>): Config;
|
|
683
559
|
static fromFieldsWithTypes(item: FieldsWithTypes): Config;
|
|
684
560
|
static fromBcs(data: Uint8Array): Config;
|
|
@@ -772,23 +648,16 @@ export declare class DeactivatingShares<TOKEN extends PhantomTypeArgument> imple
|
|
|
772
648
|
static get r(): typeof DeactivatingShares.reified;
|
|
773
649
|
static phantom<TOKEN extends PhantomReified<PhantomTypeArgument>>(TOKEN: TOKEN): PhantomReified<ToTypeStr<DeactivatingShares<ToPhantomTypeArgument<TOKEN>>>>;
|
|
774
650
|
static get p(): typeof DeactivatingShares.phantom;
|
|
775
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
776
|
-
balance: {
|
|
777
|
-
value: string
|
|
778
|
-
}
|
|
779
|
-
redeem_ts_ms: string
|
|
780
|
-
unlock_ts_ms: string
|
|
781
|
-
u64_padding: string[]
|
|
782
|
-
}, {
|
|
783
|
-
balance: {
|
|
784
|
-
value: string | number | bigint;
|
|
785
|
-
};
|
|
786
|
-
redeem_ts_ms: string | number | bigint;
|
|
787
|
-
unlock_ts_ms: string | number | bigint;
|
|
788
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
651
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
652
|
+
balance: import("@mysten/sui/bcs").BcsStruct<{
|
|
653
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
654
|
+
}, string>;
|
|
655
|
+
redeem_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
656
|
+
unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
657
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
789
658
|
length: number;
|
|
790
|
-
}
|
|
791
|
-
}>;
|
|
659
|
+
}, string>;
|
|
660
|
+
}, string>;
|
|
792
661
|
static fromFields<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, fields: Record<string, any>): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
793
662
|
static fromFieldsWithTypes<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, item: FieldsWithTypes): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
794
663
|
static fromBcs<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, data: Uint8Array): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
@@ -852,24 +721,34 @@ export declare class LiquidityPool implements StructClass {
|
|
|
852
721
|
static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
|
|
853
722
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
|
|
854
723
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::LiquidityPool" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::LiquidityPool">;
|
|
855
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
856
|
-
id: {
|
|
857
|
-
id: {
|
|
858
|
-
bytes: string
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
index: string
|
|
862
|
-
lp_token_type: {
|
|
724
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
725
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
726
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
727
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
728
|
+
}, string>;
|
|
729
|
+
}, string>;
|
|
730
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
731
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
732
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
733
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
734
|
+
length: number;
|
|
735
|
+
}, string>;
|
|
736
|
+
}, string>;
|
|
737
|
+
}, string>;
|
|
738
|
+
liquidity_tokens: import("@mysten/sui/bcs").BcsType<{
|
|
863
739
|
name: {
|
|
864
740
|
bytes: number[];
|
|
865
741
|
};
|
|
866
|
-
}
|
|
867
|
-
liquidity_tokens: {
|
|
742
|
+
}[], Iterable<{
|
|
868
743
|
name: {
|
|
869
|
-
bytes: number
|
|
744
|
+
bytes: Iterable<number> & {
|
|
745
|
+
length: number;
|
|
746
|
+
};
|
|
870
747
|
};
|
|
871
|
-
}
|
|
872
|
-
|
|
748
|
+
}> & {
|
|
749
|
+
length: number;
|
|
750
|
+
}, string>;
|
|
751
|
+
token_pools: import("@mysten/sui/bcs").BcsType<{
|
|
873
752
|
token_type: {
|
|
874
753
|
name: {
|
|
875
754
|
bytes: number[];
|
|
@@ -916,70 +795,7 @@ export declare class LiquidityPool implements StructClass {
|
|
|
916
795
|
current_lending_amount: string[];
|
|
917
796
|
u64_padding: string[];
|
|
918
797
|
};
|
|
919
|
-
}[]
|
|
920
|
-
pool_info: {
|
|
921
|
-
lp_token_decimal: string;
|
|
922
|
-
total_share_supply: string;
|
|
923
|
-
tvl_usd: string;
|
|
924
|
-
is_active: boolean;
|
|
925
|
-
};
|
|
926
|
-
liquidated_unsettled_receipts: {
|
|
927
|
-
receipt: {
|
|
928
|
-
id: {
|
|
929
|
-
id: {
|
|
930
|
-
bytes: string;
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
vid: {
|
|
934
|
-
bytes: string;
|
|
935
|
-
};
|
|
936
|
-
index: string;
|
|
937
|
-
metadata: {
|
|
938
|
-
bytes: number[];
|
|
939
|
-
};
|
|
940
|
-
u64_padding: string[];
|
|
941
|
-
}[];
|
|
942
|
-
position_id: string;
|
|
943
|
-
user: string;
|
|
944
|
-
token_types: {
|
|
945
|
-
name: {
|
|
946
|
-
bytes: number[];
|
|
947
|
-
};
|
|
948
|
-
}[];
|
|
949
|
-
unrealized_pnl_sign: boolean;
|
|
950
|
-
unrealized_pnl: string;
|
|
951
|
-
unrealized_trading_fee: string;
|
|
952
|
-
unrealized_borrow_fee: string;
|
|
953
|
-
unrealized_funding_fee_sign: boolean;
|
|
954
|
-
unrealized_funding_fee: string;
|
|
955
|
-
unrealized_liquidator_fee: string;
|
|
956
|
-
}[];
|
|
957
|
-
u64_padding: string[];
|
|
958
|
-
bcs_padding: number[];
|
|
959
|
-
}, {
|
|
960
|
-
id: {
|
|
961
|
-
id: {
|
|
962
|
-
bytes: string;
|
|
963
|
-
};
|
|
964
|
-
};
|
|
965
|
-
index: string | number | bigint;
|
|
966
|
-
lp_token_type: {
|
|
967
|
-
name: {
|
|
968
|
-
bytes: Iterable<number> & {
|
|
969
|
-
length: number;
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
};
|
|
973
|
-
liquidity_tokens: Iterable<{
|
|
974
|
-
name: {
|
|
975
|
-
bytes: Iterable<number> & {
|
|
976
|
-
length: number;
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
}> & {
|
|
980
|
-
length: number;
|
|
981
|
-
};
|
|
982
|
-
token_pools: Iterable<{
|
|
798
|
+
}[], Iterable<{
|
|
983
799
|
token_type: {
|
|
984
800
|
name: {
|
|
985
801
|
bytes: Iterable<number> & {
|
|
@@ -1040,14 +856,44 @@ export declare class LiquidityPool implements StructClass {
|
|
|
1040
856
|
};
|
|
1041
857
|
}> & {
|
|
1042
858
|
length: number;
|
|
1043
|
-
}
|
|
1044
|
-
pool_info: {
|
|
1045
|
-
lp_token_decimal: string | number | bigint
|
|
1046
|
-
total_share_supply: string | number | bigint
|
|
1047
|
-
tvl_usd: string | number | bigint
|
|
1048
|
-
is_active: boolean
|
|
1049
|
-
}
|
|
1050
|
-
liquidated_unsettled_receipts:
|
|
859
|
+
}, string>;
|
|
860
|
+
pool_info: import("@mysten/sui/bcs").BcsStruct<{
|
|
861
|
+
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
862
|
+
total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
863
|
+
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
864
|
+
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
865
|
+
}, string>;
|
|
866
|
+
liquidated_unsettled_receipts: import("@mysten/sui/bcs").BcsType<{
|
|
867
|
+
receipt: {
|
|
868
|
+
id: {
|
|
869
|
+
id: {
|
|
870
|
+
bytes: string;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
vid: {
|
|
874
|
+
bytes: string;
|
|
875
|
+
};
|
|
876
|
+
index: string;
|
|
877
|
+
metadata: {
|
|
878
|
+
bytes: number[];
|
|
879
|
+
};
|
|
880
|
+
u64_padding: string[];
|
|
881
|
+
}[];
|
|
882
|
+
position_id: string;
|
|
883
|
+
user: string;
|
|
884
|
+
token_types: {
|
|
885
|
+
name: {
|
|
886
|
+
bytes: number[];
|
|
887
|
+
};
|
|
888
|
+
}[];
|
|
889
|
+
unrealized_pnl_sign: boolean;
|
|
890
|
+
unrealized_pnl: string;
|
|
891
|
+
unrealized_trading_fee: string;
|
|
892
|
+
unrealized_borrow_fee: string;
|
|
893
|
+
unrealized_funding_fee_sign: boolean;
|
|
894
|
+
unrealized_funding_fee: string;
|
|
895
|
+
unrealized_liquidator_fee: string;
|
|
896
|
+
}[], Iterable<{
|
|
1051
897
|
receipt: Iterable<{
|
|
1052
898
|
id: {
|
|
1053
899
|
id: {
|
|
@@ -1089,14 +935,14 @@ export declare class LiquidityPool implements StructClass {
|
|
|
1089
935
|
unrealized_liquidator_fee: string | number | bigint;
|
|
1090
936
|
}> & {
|
|
1091
937
|
length: number;
|
|
1092
|
-
}
|
|
1093
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
938
|
+
}, string>;
|
|
939
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1094
940
|
length: number;
|
|
1095
|
-
}
|
|
1096
|
-
bcs_padding: Iterable<number> & {
|
|
941
|
+
}, string>;
|
|
942
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1097
943
|
length: number;
|
|
1098
|
-
}
|
|
1099
|
-
}>;
|
|
944
|
+
}, string>;
|
|
945
|
+
}, string>;
|
|
1100
946
|
static fromFields(fields: Record<string, any>): LiquidityPool;
|
|
1101
947
|
static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPool;
|
|
1102
948
|
static fromBcs(data: Uint8Array): LiquidityPool;
|
|
@@ -1304,17 +1150,12 @@ export declare class LiquidityPoolInfo implements StructClass {
|
|
|
1304
1150
|
static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
1305
1151
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
|
|
1306
1152
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::LiquidityPoolInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::LiquidityPoolInfo">;
|
|
1307
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1308
|
-
lp_token_decimal: string
|
|
1309
|
-
total_share_supply: string
|
|
1310
|
-
tvl_usd: string
|
|
1311
|
-
is_active: boolean
|
|
1312
|
-
},
|
|
1313
|
-
lp_token_decimal: string | number | bigint;
|
|
1314
|
-
total_share_supply: string | number | bigint;
|
|
1315
|
-
tvl_usd: string | number | bigint;
|
|
1316
|
-
is_active: boolean;
|
|
1317
|
-
}>;
|
|
1153
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1154
|
+
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1155
|
+
total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1156
|
+
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1157
|
+
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
1158
|
+
}, string>;
|
|
1318
1159
|
static fromFields(fields: Record<string, any>): LiquidityPoolInfo;
|
|
1319
1160
|
static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPoolInfo;
|
|
1320
1161
|
static fromBcs(data: Uint8Array): LiquidityPoolInfo;
|
|
@@ -1362,33 +1203,21 @@ export declare class ManagerDepositReceipt implements StructClass {
|
|
|
1362
1203
|
static get r(): reified.StructClassReified<ManagerDepositReceipt, ManagerDepositReceiptFields>;
|
|
1363
1204
|
static phantom(): PhantomReified<ToTypeStr<ManagerDepositReceipt>>;
|
|
1364
1205
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerDepositReceipt" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerDepositReceipt">;
|
|
1365
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1366
|
-
id: {
|
|
1367
|
-
id: {
|
|
1368
|
-
bytes: string
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
token_type: {
|
|
1372
|
-
name: {
|
|
1373
|
-
bytes: number[]
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
amount: string;
|
|
1377
|
-
}, {
|
|
1378
|
-
id: {
|
|
1379
|
-
id: {
|
|
1380
|
-
bytes: string;
|
|
1381
|
-
};
|
|
1382
|
-
};
|
|
1383
|
-
token_type: {
|
|
1384
|
-
name: {
|
|
1385
|
-
bytes: Iterable<number> & {
|
|
1206
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1207
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
1208
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
1209
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1210
|
+
}, string>;
|
|
1211
|
+
}, string>;
|
|
1212
|
+
token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1213
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1214
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1386
1215
|
length: number;
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
amount: string | number | bigint
|
|
1391
|
-
}>;
|
|
1216
|
+
}, string>;
|
|
1217
|
+
}, string>;
|
|
1218
|
+
}, string>;
|
|
1219
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1220
|
+
}, string>;
|
|
1392
1221
|
static fromFields(fields: Record<string, any>): ManagerDepositReceipt;
|
|
1393
1222
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerDepositReceipt;
|
|
1394
1223
|
static fromBcs(data: Uint8Array): ManagerDepositReceipt;
|
|
@@ -1442,39 +1271,25 @@ export declare class ManagerDepositReceiptV2 implements StructClass {
|
|
|
1442
1271
|
static get r(): reified.StructClassReified<ManagerDepositReceiptV2, ManagerDepositReceiptV2Fields>;
|
|
1443
1272
|
static phantom(): PhantomReified<ToTypeStr<ManagerDepositReceiptV2>>;
|
|
1444
1273
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerDepositReceiptV2" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerDepositReceiptV2">;
|
|
1445
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1446
|
-
id: {
|
|
1447
|
-
id: {
|
|
1448
|
-
bytes: string
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
index: string
|
|
1452
|
-
token_type: {
|
|
1453
|
-
name: {
|
|
1454
|
-
bytes: number[]
|
|
1455
|
-
};
|
|
1456
|
-
};
|
|
1457
|
-
amount: string;
|
|
1458
|
-
u64_padding: string[];
|
|
1459
|
-
}, {
|
|
1460
|
-
id: {
|
|
1461
|
-
id: {
|
|
1462
|
-
bytes: string;
|
|
1463
|
-
};
|
|
1464
|
-
};
|
|
1465
|
-
index: string | number | bigint;
|
|
1466
|
-
token_type: {
|
|
1467
|
-
name: {
|
|
1468
|
-
bytes: Iterable<number> & {
|
|
1274
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1275
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
1276
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
1277
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1278
|
+
}, string>;
|
|
1279
|
+
}, string>;
|
|
1280
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1281
|
+
token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1282
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1283
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1469
1284
|
length: number;
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
amount: string | number | bigint
|
|
1474
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1285
|
+
}, string>;
|
|
1286
|
+
}, string>;
|
|
1287
|
+
}, string>;
|
|
1288
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1289
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1475
1290
|
length: number;
|
|
1476
|
-
}
|
|
1477
|
-
}>;
|
|
1291
|
+
}, string>;
|
|
1292
|
+
}, string>;
|
|
1478
1293
|
static fromFields(fields: Record<string, any>): ManagerDepositReceiptV2;
|
|
1479
1294
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerDepositReceiptV2;
|
|
1480
1295
|
static fromBcs(data: Uint8Array): ManagerDepositReceiptV2;
|
|
@@ -1532,31 +1347,21 @@ export declare class ManagerEmergencyDepositEvent implements StructClass {
|
|
|
1532
1347
|
static get r(): reified.StructClassReified<ManagerEmergencyDepositEvent, ManagerEmergencyDepositEventFields>;
|
|
1533
1348
|
static phantom(): PhantomReified<ToTypeStr<ManagerEmergencyDepositEvent>>;
|
|
1534
1349
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerEmergencyDepositEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerEmergencyDepositEvent">;
|
|
1535
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1536
|
-
sender: string
|
|
1537
|
-
index: string
|
|
1538
|
-
liquidity_token_type: {
|
|
1539
|
-
name: {
|
|
1540
|
-
bytes: number[]
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
|
-
amount: string;
|
|
1544
|
-
u64_padding: string[];
|
|
1545
|
-
}, {
|
|
1546
|
-
sender: string;
|
|
1547
|
-
index: string | number | bigint;
|
|
1548
|
-
liquidity_token_type: {
|
|
1549
|
-
name: {
|
|
1550
|
-
bytes: Iterable<number> & {
|
|
1350
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1351
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1352
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1353
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1354
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1355
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1551
1356
|
length: number;
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
amount: string | number | bigint
|
|
1556
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1357
|
+
}, string>;
|
|
1358
|
+
}, string>;
|
|
1359
|
+
}, string>;
|
|
1360
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1361
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1557
1362
|
length: number;
|
|
1558
|
-
}
|
|
1559
|
-
}>;
|
|
1363
|
+
}, string>;
|
|
1364
|
+
}, string>;
|
|
1560
1365
|
static fromFields(fields: Record<string, any>): ManagerEmergencyDepositEvent;
|
|
1561
1366
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerEmergencyDepositEvent;
|
|
1562
1367
|
static fromBcs(data: Uint8Array): ManagerEmergencyDepositEvent;
|
|
@@ -1614,31 +1419,21 @@ export declare class ManagerEmergencyWithdrawEvent implements StructClass {
|
|
|
1614
1419
|
static get r(): reified.StructClassReified<ManagerEmergencyWithdrawEvent, ManagerEmergencyWithdrawEventFields>;
|
|
1615
1420
|
static phantom(): PhantomReified<ToTypeStr<ManagerEmergencyWithdrawEvent>>;
|
|
1616
1421
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerEmergencyWithdrawEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerEmergencyWithdrawEvent">;
|
|
1617
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1618
|
-
sender: string
|
|
1619
|
-
index: string
|
|
1620
|
-
liquidity_token_type: {
|
|
1621
|
-
name: {
|
|
1622
|
-
bytes: number[]
|
|
1623
|
-
};
|
|
1624
|
-
};
|
|
1625
|
-
amount: string;
|
|
1626
|
-
u64_padding: string[];
|
|
1627
|
-
}, {
|
|
1628
|
-
sender: string;
|
|
1629
|
-
index: string | number | bigint;
|
|
1630
|
-
liquidity_token_type: {
|
|
1631
|
-
name: {
|
|
1632
|
-
bytes: Iterable<number> & {
|
|
1422
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1423
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1424
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1425
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1426
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1427
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1633
1428
|
length: number;
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
amount: string | number | bigint
|
|
1638
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1429
|
+
}, string>;
|
|
1430
|
+
}, string>;
|
|
1431
|
+
}, string>;
|
|
1432
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1433
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1639
1434
|
length: number;
|
|
1640
|
-
}
|
|
1641
|
-
}>;
|
|
1435
|
+
}, string>;
|
|
1436
|
+
}, string>;
|
|
1642
1437
|
static fromFields(fields: Record<string, any>): ManagerEmergencyWithdrawEvent;
|
|
1643
1438
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerEmergencyWithdrawEvent;
|
|
1644
1439
|
static fromBcs(data: Uint8Array): ManagerEmergencyWithdrawEvent;
|
|
@@ -1700,35 +1495,23 @@ export declare class ManagerFlashRemoveLiquidityEvent implements StructClass {
|
|
|
1700
1495
|
static get r(): reified.StructClassReified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
|
|
1701
1496
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRemoveLiquidityEvent>>;
|
|
1702
1497
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerFlashRemoveLiquidityEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
1703
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1704
|
-
index: string
|
|
1705
|
-
liquidity_token: {
|
|
1706
|
-
name: {
|
|
1707
|
-
bytes: number[]
|
|
1708
|
-
};
|
|
1709
|
-
};
|
|
1710
|
-
price: string;
|
|
1711
|
-
price_decimal: string;
|
|
1712
|
-
remove_amount: string;
|
|
1713
|
-
removed_usd: string;
|
|
1714
|
-
u64_padding: string[];
|
|
1715
|
-
}, {
|
|
1716
|
-
index: string | number | bigint;
|
|
1717
|
-
liquidity_token: {
|
|
1718
|
-
name: {
|
|
1719
|
-
bytes: Iterable<number> & {
|
|
1498
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1499
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1500
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1501
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1502
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1720
1503
|
length: number;
|
|
1721
|
-
}
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
price: string | number | bigint
|
|
1725
|
-
price_decimal: string | number | bigint
|
|
1726
|
-
remove_amount: string | number | bigint
|
|
1727
|
-
removed_usd: string | number | bigint
|
|
1728
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1504
|
+
}, string>;
|
|
1505
|
+
}, string>;
|
|
1506
|
+
}, string>;
|
|
1507
|
+
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1508
|
+
price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1509
|
+
remove_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1510
|
+
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1511
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1729
1512
|
length: number;
|
|
1730
|
-
}
|
|
1731
|
-
}>;
|
|
1513
|
+
}, string>;
|
|
1514
|
+
}, string>;
|
|
1732
1515
|
static fromFields(fields: Record<string, any>): ManagerFlashRemoveLiquidityEvent;
|
|
1733
1516
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerFlashRemoveLiquidityEvent;
|
|
1734
1517
|
static fromBcs(data: Uint8Array): ManagerFlashRemoveLiquidityEvent;
|
|
@@ -1794,35 +1577,23 @@ export declare class ManagerFlashRepayLiquidityEvent implements StructClass {
|
|
|
1794
1577
|
static get r(): reified.StructClassReified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
|
|
1795
1578
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRepayLiquidityEvent>>;
|
|
1796
1579
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ManagerFlashRepayLiquidityEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
1797
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1798
|
-
index: string
|
|
1799
|
-
liquidity_token: {
|
|
1800
|
-
name: {
|
|
1801
|
-
bytes: number[]
|
|
1802
|
-
};
|
|
1803
|
-
};
|
|
1804
|
-
price: string;
|
|
1805
|
-
price_decimal: string;
|
|
1806
|
-
repaid_amount: string;
|
|
1807
|
-
repaid_usd: string;
|
|
1808
|
-
u64_padding: string[];
|
|
1809
|
-
}, {
|
|
1810
|
-
index: string | number | bigint;
|
|
1811
|
-
liquidity_token: {
|
|
1812
|
-
name: {
|
|
1813
|
-
bytes: Iterable<number> & {
|
|
1580
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1581
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1582
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1583
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1584
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
1814
1585
|
length: number;
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
price: string | number | bigint
|
|
1819
|
-
price_decimal: string | number | bigint
|
|
1820
|
-
repaid_amount: string | number | bigint
|
|
1821
|
-
repaid_usd: string | number | bigint
|
|
1822
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1586
|
+
}, string>;
|
|
1587
|
+
}, string>;
|
|
1588
|
+
}, string>;
|
|
1589
|
+
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1590
|
+
price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1591
|
+
repaid_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1592
|
+
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1593
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1823
1594
|
length: number;
|
|
1824
|
-
}
|
|
1825
|
-
}>;
|
|
1595
|
+
}, string>;
|
|
1596
|
+
}, string>;
|
|
1826
1597
|
static fromFields(fields: Record<string, any>): ManagerFlashRepayLiquidityEvent;
|
|
1827
1598
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerFlashRepayLiquidityEvent;
|
|
1828
1599
|
static fromBcs(data: Uint8Array): ManagerFlashRepayLiquidityEvent;
|
|
@@ -1890,27 +1661,18 @@ export declare class MarginConfig implements StructClass {
|
|
|
1890
1661
|
static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
|
|
1891
1662
|
static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
|
|
1892
1663
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::MarginConfig" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::MarginConfig">;
|
|
1893
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1894
|
-
basic_borrow_rate_0: string
|
|
1895
|
-
basic_borrow_rate_1: string
|
|
1896
|
-
basic_borrow_rate_2: string
|
|
1897
|
-
utilization_threshold_bp_0: string
|
|
1898
|
-
utilization_threshold_bp_1: string
|
|
1899
|
-
borrow_interval_ts_ms: string
|
|
1900
|
-
max_order_reserve_ratio_bp: string
|
|
1901
|
-
u64_padding: string[]
|
|
1902
|
-
}, {
|
|
1903
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
1904
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
1905
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
1906
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
1907
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
1908
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
1909
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
1910
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1664
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1665
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1666
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1667
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1668
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1669
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1670
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1671
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1672
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1911
1673
|
length: number;
|
|
1912
|
-
}
|
|
1913
|
-
}>;
|
|
1674
|
+
}, string>;
|
|
1675
|
+
}, string>;
|
|
1914
1676
|
static fromFields(fields: Record<string, any>): MarginConfig;
|
|
1915
1677
|
static fromFieldsWithTypes(item: FieldsWithTypes): MarginConfig;
|
|
1916
1678
|
static fromBcs(data: Uint8Array): MarginConfig;
|
|
@@ -1978,49 +1740,31 @@ export declare class MintLpEvent implements StructClass {
|
|
|
1978
1740
|
static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
|
|
1979
1741
|
static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
|
|
1980
1742
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::MintLpEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::MintLpEvent">;
|
|
1981
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1982
|
-
sender: string
|
|
1983
|
-
index: string
|
|
1984
|
-
liquidity_token_type: {
|
|
1985
|
-
name: {
|
|
1986
|
-
bytes: number[]
|
|
1987
|
-
};
|
|
1988
|
-
};
|
|
1989
|
-
deposit_amount: string;
|
|
1990
|
-
deposit_amount_usd: string;
|
|
1991
|
-
mint_fee_usd: string;
|
|
1992
|
-
lp_token_type: {
|
|
1993
|
-
name: {
|
|
1994
|
-
bytes: number[];
|
|
1995
|
-
};
|
|
1996
|
-
};
|
|
1997
|
-
minted_lp_amount: string;
|
|
1998
|
-
u64_padding: string[];
|
|
1999
|
-
}, {
|
|
2000
|
-
sender: string;
|
|
2001
|
-
index: string | number | bigint;
|
|
2002
|
-
liquidity_token_type: {
|
|
2003
|
-
name: {
|
|
2004
|
-
bytes: Iterable<number> & {
|
|
1743
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1744
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1745
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1746
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1747
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1748
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2005
1749
|
length: number;
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
}
|
|
2009
|
-
deposit_amount: string | number | bigint
|
|
2010
|
-
deposit_amount_usd: string | number | bigint
|
|
2011
|
-
mint_fee_usd: string | number | bigint
|
|
2012
|
-
lp_token_type: {
|
|
2013
|
-
name: {
|
|
2014
|
-
bytes: Iterable<number> & {
|
|
1750
|
+
}, string>;
|
|
1751
|
+
}, string>;
|
|
1752
|
+
}, string>;
|
|
1753
|
+
deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1754
|
+
deposit_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1755
|
+
mint_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1756
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1757
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1758
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2015
1759
|
length: number;
|
|
2016
|
-
}
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
minted_lp_amount: string | number | bigint
|
|
2020
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1760
|
+
}, string>;
|
|
1761
|
+
}, string>;
|
|
1762
|
+
}, string>;
|
|
1763
|
+
minted_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1764
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2021
1765
|
length: number;
|
|
2022
|
-
}
|
|
2023
|
-
}>;
|
|
1766
|
+
}, string>;
|
|
1767
|
+
}, string>;
|
|
2024
1768
|
static fromFields(fields: Record<string, any>): MintLpEvent;
|
|
2025
1769
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintLpEvent;
|
|
2026
1770
|
static fromBcs(data: Uint8Array): MintLpEvent;
|
|
@@ -2083,38 +1827,28 @@ export declare class NewLiquidityPoolEvent implements StructClass {
|
|
|
2083
1827
|
readonly sender: ToField<"address">;
|
|
2084
1828
|
readonly index: ToField<"u64">;
|
|
2085
1829
|
readonly lpTokenType: ToField<TypeName>;
|
|
2086
|
-
readonly lpTokenDecimal: ToField<"u64">;
|
|
2087
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2088
|
-
private constructor();
|
|
2089
|
-
static reified(): NewLiquidityPoolEventReified;
|
|
2090
|
-
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
2091
|
-
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
2092
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::NewLiquidityPoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::NewLiquidityPoolEvent">;
|
|
2093
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2094
|
-
sender: string
|
|
2095
|
-
index: string
|
|
2096
|
-
lp_token_type: {
|
|
2097
|
-
name: {
|
|
2098
|
-
bytes: number[]
|
|
2099
|
-
};
|
|
2100
|
-
};
|
|
2101
|
-
lp_token_decimal: string;
|
|
2102
|
-
u64_padding: string[];
|
|
2103
|
-
}, {
|
|
2104
|
-
sender: string;
|
|
2105
|
-
index: string | number | bigint;
|
|
2106
|
-
lp_token_type: {
|
|
2107
|
-
name: {
|
|
2108
|
-
bytes: Iterable<number> & {
|
|
1830
|
+
readonly lpTokenDecimal: ToField<"u64">;
|
|
1831
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1832
|
+
private constructor();
|
|
1833
|
+
static reified(): NewLiquidityPoolEventReified;
|
|
1834
|
+
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1835
|
+
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
1836
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::NewLiquidityPoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::NewLiquidityPoolEvent">;
|
|
1837
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1838
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
1839
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1840
|
+
lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
1841
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1842
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2109
1843
|
length: number;
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
lp_token_decimal: string | number | bigint
|
|
2114
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1844
|
+
}, string>;
|
|
1845
|
+
}, string>;
|
|
1846
|
+
}, string>;
|
|
1847
|
+
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1848
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2115
1849
|
length: number;
|
|
2116
|
-
}
|
|
2117
|
-
}>;
|
|
1850
|
+
}, string>;
|
|
1851
|
+
}, string>;
|
|
2118
1852
|
static fromFields(fields: Record<string, any>): NewLiquidityPoolEvent;
|
|
2119
1853
|
static fromFieldsWithTypes(item: FieldsWithTypes): NewLiquidityPoolEvent;
|
|
2120
1854
|
static fromBcs(data: Uint8Array): NewLiquidityPoolEvent;
|
|
@@ -2184,53 +1918,33 @@ export declare class RebalanceEvent implements StructClass {
|
|
|
2184
1918
|
static get r(): reified.StructClassReified<RebalanceEvent, RebalanceEventFields>;
|
|
2185
1919
|
static phantom(): PhantomReified<ToTypeStr<RebalanceEvent>>;
|
|
2186
1920
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::RebalanceEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::RebalanceEvent">;
|
|
2187
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2188
|
-
index: string
|
|
2189
|
-
from_token: {
|
|
2190
|
-
name: {
|
|
2191
|
-
bytes: number[]
|
|
2192
|
-
};
|
|
2193
|
-
};
|
|
2194
|
-
to_token: {
|
|
2195
|
-
name: {
|
|
2196
|
-
bytes: number[];
|
|
2197
|
-
};
|
|
2198
|
-
};
|
|
2199
|
-
rebalance_amount: string;
|
|
2200
|
-
from_token_oracle_price: string;
|
|
2201
|
-
to_token_oracle_price: string;
|
|
2202
|
-
reduced_usd: string;
|
|
2203
|
-
tvl_usd: string;
|
|
2204
|
-
from_token_liquidity_amount: string;
|
|
2205
|
-
to_token_liquidity_amount: string;
|
|
2206
|
-
u64_padding: string[];
|
|
2207
|
-
}, {
|
|
2208
|
-
index: string | number | bigint;
|
|
2209
|
-
from_token: {
|
|
2210
|
-
name: {
|
|
2211
|
-
bytes: Iterable<number> & {
|
|
1921
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1922
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1923
|
+
from_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1924
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1925
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2212
1926
|
length: number;
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
}
|
|
2216
|
-
to_token: {
|
|
2217
|
-
name: {
|
|
2218
|
-
bytes: Iterable<number> & {
|
|
1927
|
+
}, string>;
|
|
1928
|
+
}, string>;
|
|
1929
|
+
}, string>;
|
|
1930
|
+
to_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
1931
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
1932
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2219
1933
|
length: number;
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
rebalance_amount: string | number | bigint
|
|
2224
|
-
from_token_oracle_price: string | number | bigint
|
|
2225
|
-
to_token_oracle_price: string | number | bigint
|
|
2226
|
-
reduced_usd: string | number | bigint
|
|
2227
|
-
tvl_usd: string | number | bigint
|
|
2228
|
-
from_token_liquidity_amount: string | number | bigint
|
|
2229
|
-
to_token_liquidity_amount: string | number | bigint
|
|
2230
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1934
|
+
}, string>;
|
|
1935
|
+
}, string>;
|
|
1936
|
+
}, string>;
|
|
1937
|
+
rebalance_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1938
|
+
from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1939
|
+
to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1940
|
+
reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1941
|
+
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1942
|
+
from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1943
|
+
to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1944
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2231
1945
|
length: number;
|
|
2232
|
-
}
|
|
2233
|
-
}>;
|
|
1946
|
+
}, string>;
|
|
1947
|
+
}, string>;
|
|
2234
1948
|
static fromFields(fields: Record<string, any>): RebalanceEvent;
|
|
2235
1949
|
static fromFieldsWithTypes(item: FieldsWithTypes): RebalanceEvent;
|
|
2236
1950
|
static fromBcs(data: Uint8Array): RebalanceEvent;
|
|
@@ -2312,47 +2026,29 @@ export declare class RebalanceProcess implements StructClass {
|
|
|
2312
2026
|
static get r(): reified.StructClassReified<RebalanceProcess, RebalanceProcessFields>;
|
|
2313
2027
|
static phantom(): PhantomReified<ToTypeStr<RebalanceProcess>>;
|
|
2314
2028
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::RebalanceProcess" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::RebalanceProcess">;
|
|
2315
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2316
|
-
index: string
|
|
2317
|
-
token_type_a: {
|
|
2318
|
-
name: {
|
|
2319
|
-
bytes: number[]
|
|
2320
|
-
};
|
|
2321
|
-
};
|
|
2322
|
-
token_decimal_a: string;
|
|
2323
|
-
token_amount_a: string;
|
|
2324
|
-
oracle_price_a: string;
|
|
2325
|
-
reduced_usd: string;
|
|
2326
|
-
token_type_b: {
|
|
2327
|
-
name: {
|
|
2328
|
-
bytes: number[];
|
|
2329
|
-
};
|
|
2330
|
-
};
|
|
2331
|
-
token_decimal_b: string;
|
|
2332
|
-
oracle_price_b: string;
|
|
2333
|
-
}, {
|
|
2334
|
-
index: string | number | bigint;
|
|
2335
|
-
token_type_a: {
|
|
2336
|
-
name: {
|
|
2337
|
-
bytes: Iterable<number> & {
|
|
2029
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2030
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2031
|
+
token_type_a: import("@mysten/sui/bcs").BcsStruct<{
|
|
2032
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2033
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2338
2034
|
length: number;
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
|
-
token_decimal_a: string | number | bigint
|
|
2343
|
-
token_amount_a: string | number | bigint
|
|
2344
|
-
oracle_price_a: string | number | bigint
|
|
2345
|
-
reduced_usd: string | number | bigint
|
|
2346
|
-
token_type_b: {
|
|
2347
|
-
name: {
|
|
2348
|
-
bytes: Iterable<number> & {
|
|
2035
|
+
}, string>;
|
|
2036
|
+
}, string>;
|
|
2037
|
+
}, string>;
|
|
2038
|
+
token_decimal_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2039
|
+
token_amount_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2040
|
+
oracle_price_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2041
|
+
reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2042
|
+
token_type_b: import("@mysten/sui/bcs").BcsStruct<{
|
|
2043
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2044
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2349
2045
|
length: number;
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
token_decimal_b: string | number | bigint
|
|
2354
|
-
oracle_price_b: string | number | bigint
|
|
2355
|
-
}>;
|
|
2046
|
+
}, string>;
|
|
2047
|
+
}, string>;
|
|
2048
|
+
}, string>;
|
|
2049
|
+
token_decimal_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2050
|
+
oracle_price_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2051
|
+
}, string>;
|
|
2356
2052
|
static fromFields(fields: Record<string, any>): RebalanceProcess;
|
|
2357
2053
|
static fromFieldsWithTypes(item: FieldsWithTypes): RebalanceProcess;
|
|
2358
2054
|
static fromBcs(data: Uint8Array): RebalanceProcess;
|
|
@@ -2426,25 +2122,17 @@ export declare class RedeemEvent implements StructClass {
|
|
|
2426
2122
|
static get r(): reified.StructClassReified<RedeemEvent, RedeemEventFields>;
|
|
2427
2123
|
static phantom(): PhantomReified<ToTypeStr<RedeemEvent>>;
|
|
2428
2124
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::RedeemEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::RedeemEvent">;
|
|
2429
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2430
|
-
sender: string
|
|
2431
|
-
index: string
|
|
2432
|
-
share: string
|
|
2433
|
-
share_price: string
|
|
2434
|
-
timestamp_ts_ms: string
|
|
2435
|
-
unlock_ts_ms: string
|
|
2436
|
-
u64_padding: string[]
|
|
2437
|
-
}, {
|
|
2438
|
-
sender: string;
|
|
2439
|
-
index: string | number | bigint;
|
|
2440
|
-
share: string | number | bigint;
|
|
2441
|
-
share_price: string | number | bigint;
|
|
2442
|
-
timestamp_ts_ms: string | number | bigint;
|
|
2443
|
-
unlock_ts_ms: string | number | bigint;
|
|
2444
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2125
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2126
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2127
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2128
|
+
share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2129
|
+
share_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2130
|
+
timestamp_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2131
|
+
unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2132
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2445
2133
|
length: number;
|
|
2446
|
-
}
|
|
2447
|
-
}>;
|
|
2134
|
+
}, string>;
|
|
2135
|
+
}, string>;
|
|
2448
2136
|
static fromFields(fields: Record<string, any>): RedeemEvent;
|
|
2449
2137
|
static fromFieldsWithTypes(item: FieldsWithTypes): RedeemEvent;
|
|
2450
2138
|
static fromBcs(data: Uint8Array): RedeemEvent;
|
|
@@ -2498,31 +2186,19 @@ export declare class Registry implements StructClass {
|
|
|
2498
2186
|
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
2499
2187
|
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
2500
2188
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::Registry" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::Registry">;
|
|
2501
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2502
|
-
id: {
|
|
2503
|
-
id: {
|
|
2504
|
-
bytes: string
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
|
-
num_pool: string
|
|
2508
|
-
liquidity_pool_registry: {
|
|
2509
|
-
id: {
|
|
2510
|
-
bytes: string
|
|
2511
|
-
}
|
|
2512
|
-
}
|
|
2513
|
-
},
|
|
2514
|
-
id: {
|
|
2515
|
-
id: {
|
|
2516
|
-
bytes: string;
|
|
2517
|
-
};
|
|
2518
|
-
};
|
|
2519
|
-
num_pool: string | number | bigint;
|
|
2520
|
-
liquidity_pool_registry: {
|
|
2521
|
-
id: {
|
|
2522
|
-
bytes: string;
|
|
2523
|
-
};
|
|
2524
|
-
};
|
|
2525
|
-
}>;
|
|
2189
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2190
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
2191
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
2192
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2193
|
+
}, string>;
|
|
2194
|
+
}, string>;
|
|
2195
|
+
num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2196
|
+
liquidity_pool_registry: import("@mysten/sui/bcs").BcsStruct<{
|
|
2197
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
2198
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2199
|
+
}, string>;
|
|
2200
|
+
}, string>;
|
|
2201
|
+
}, string>;
|
|
2526
2202
|
static fromFields(fields: Record<string, any>): Registry;
|
|
2527
2203
|
static fromFieldsWithTypes(item: FieldsWithTypes): Registry;
|
|
2528
2204
|
static fromBcs(data: Uint8Array): Registry;
|
|
@@ -2576,35 +2252,19 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
2576
2252
|
static get r(): reified.StructClassReified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
|
|
2577
2253
|
static phantom(): PhantomReified<ToTypeStr<RemoveLiquidityTokenProcess>>;
|
|
2578
2254
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::RemoveLiquidityTokenProcess" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::RemoveLiquidityTokenProcess">;
|
|
2579
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2580
|
-
liquidity_token: {
|
|
2581
|
-
name: {
|
|
2582
|
-
bytes: number[]
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
};
|
|
2589
|
-
}[];
|
|
2590
|
-
removed_orders_base_token: {
|
|
2255
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2256
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
2257
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2258
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2259
|
+
length: number;
|
|
2260
|
+
}, string>;
|
|
2261
|
+
}, string>;
|
|
2262
|
+
}, string>;
|
|
2263
|
+
removed_positions_base_token: import("@mysten/sui/bcs").BcsType<{
|
|
2591
2264
|
name: {
|
|
2592
2265
|
bytes: number[];
|
|
2593
2266
|
};
|
|
2594
|
-
}[]
|
|
2595
|
-
removed_token_oracle_id: string;
|
|
2596
|
-
removed_usd: string;
|
|
2597
|
-
repaid_usd: string;
|
|
2598
|
-
status: string;
|
|
2599
|
-
}, {
|
|
2600
|
-
liquidity_token: {
|
|
2601
|
-
name: {
|
|
2602
|
-
bytes: Iterable<number> & {
|
|
2603
|
-
length: number;
|
|
2604
|
-
};
|
|
2605
|
-
};
|
|
2606
|
-
};
|
|
2607
|
-
removed_positions_base_token: Iterable<{
|
|
2267
|
+
}[], Iterable<{
|
|
2608
2268
|
name: {
|
|
2609
2269
|
bytes: Iterable<number> & {
|
|
2610
2270
|
length: number;
|
|
@@ -2612,8 +2272,12 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
2612
2272
|
};
|
|
2613
2273
|
}> & {
|
|
2614
2274
|
length: number;
|
|
2615
|
-
}
|
|
2616
|
-
removed_orders_base_token:
|
|
2275
|
+
}, string>;
|
|
2276
|
+
removed_orders_base_token: import("@mysten/sui/bcs").BcsType<{
|
|
2277
|
+
name: {
|
|
2278
|
+
bytes: number[];
|
|
2279
|
+
};
|
|
2280
|
+
}[], Iterable<{
|
|
2617
2281
|
name: {
|
|
2618
2282
|
bytes: Iterable<number> & {
|
|
2619
2283
|
length: number;
|
|
@@ -2621,12 +2285,12 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
2621
2285
|
};
|
|
2622
2286
|
}> & {
|
|
2623
2287
|
length: number;
|
|
2624
|
-
}
|
|
2625
|
-
removed_token_oracle_id: string
|
|
2626
|
-
removed_usd: string | number | bigint
|
|
2627
|
-
repaid_usd: string | number | bigint
|
|
2628
|
-
status: string | number | bigint
|
|
2629
|
-
}>;
|
|
2288
|
+
}, string>;
|
|
2289
|
+
removed_token_oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2290
|
+
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2291
|
+
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2292
|
+
status: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2293
|
+
}, string>;
|
|
2630
2294
|
static fromFields(fields: Record<string, any>): RemoveLiquidityTokenProcess;
|
|
2631
2295
|
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveLiquidityTokenProcess;
|
|
2632
2296
|
static fromBcs(data: Uint8Array): RemoveLiquidityTokenProcess;
|
|
@@ -2692,17 +2356,13 @@ export declare class ResumePoolEvent implements StructClass {
|
|
|
2692
2356
|
static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
|
|
2693
2357
|
static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
|
|
2694
2358
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ResumePoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ResumePoolEvent">;
|
|
2695
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2696
|
-
sender: string
|
|
2697
|
-
index: string
|
|
2698
|
-
u64_padding: string[]
|
|
2699
|
-
}, {
|
|
2700
|
-
sender: string;
|
|
2701
|
-
index: string | number | bigint;
|
|
2702
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2359
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2360
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2361
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2362
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2703
2363
|
length: number;
|
|
2704
|
-
}
|
|
2705
|
-
}>;
|
|
2364
|
+
}, string>;
|
|
2365
|
+
}, string>;
|
|
2706
2366
|
static fromFields(fields: Record<string, any>): ResumePoolEvent;
|
|
2707
2367
|
static fromFieldsWithTypes(item: FieldsWithTypes): ResumePoolEvent;
|
|
2708
2368
|
static fromBcs(data: Uint8Array): ResumePoolEvent;
|
|
@@ -2750,29 +2410,20 @@ export declare class ResumeTokenPoolEvent implements StructClass {
|
|
|
2750
2410
|
static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
2751
2411
|
static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
|
|
2752
2412
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::ResumeTokenPoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::ResumeTokenPoolEvent">;
|
|
2753
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2754
|
-
sender: string
|
|
2755
|
-
index: string
|
|
2756
|
-
liquidity_token: {
|
|
2757
|
-
name: {
|
|
2758
|
-
bytes: number[]
|
|
2759
|
-
};
|
|
2760
|
-
};
|
|
2761
|
-
u64_padding: string[];
|
|
2762
|
-
}, {
|
|
2763
|
-
sender: string;
|
|
2764
|
-
index: string | number | bigint;
|
|
2765
|
-
liquidity_token: {
|
|
2766
|
-
name: {
|
|
2767
|
-
bytes: Iterable<number> & {
|
|
2413
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2414
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2415
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2416
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
2417
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2418
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2768
2419
|
length: number;
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
|
-
}
|
|
2772
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2420
|
+
}, string>;
|
|
2421
|
+
}, string>;
|
|
2422
|
+
}, string>;
|
|
2423
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2773
2424
|
length: number;
|
|
2774
|
-
}
|
|
2775
|
-
}>;
|
|
2425
|
+
}, string>;
|
|
2426
|
+
}, string>;
|
|
2776
2427
|
static fromFields(fields: Record<string, any>): ResumeTokenPoolEvent;
|
|
2777
2428
|
static fromFieldsWithTypes(item: FieldsWithTypes): ResumeTokenPoolEvent;
|
|
2778
2429
|
static fromBcs(data: Uint8Array): ResumeTokenPoolEvent;
|
|
@@ -2840,33 +2491,21 @@ export declare class SpotConfig implements StructClass {
|
|
|
2840
2491
|
static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
|
|
2841
2492
|
static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
|
|
2842
2493
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::SpotConfig" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::SpotConfig">;
|
|
2843
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2844
|
-
min_deposit: string
|
|
2845
|
-
max_capacity: string
|
|
2846
|
-
target_weight_bp: string
|
|
2847
|
-
basic_mint_fee_bp: string
|
|
2848
|
-
additional_mint_fee_bp: string
|
|
2849
|
-
basic_burn_fee_bp: string
|
|
2850
|
-
additional_burn_fee_bp: string
|
|
2851
|
-
swap_fee_bp: string
|
|
2852
|
-
swap_fee_protocol_share_bp: string
|
|
2853
|
-
lending_protocol_share_bp: string
|
|
2854
|
-
u64_padding: string[]
|
|
2855
|
-
}, {
|
|
2856
|
-
min_deposit: string | number | bigint;
|
|
2857
|
-
max_capacity: string | number | bigint;
|
|
2858
|
-
target_weight_bp: string | number | bigint;
|
|
2859
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
2860
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
2861
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
2862
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
2863
|
-
swap_fee_bp: string | number | bigint;
|
|
2864
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
2865
|
-
lending_protocol_share_bp: string | number | bigint;
|
|
2866
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2494
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2495
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2496
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2497
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2498
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2499
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2500
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2501
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2502
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2503
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2504
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2505
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2867
2506
|
length: number;
|
|
2868
|
-
}
|
|
2869
|
-
}>;
|
|
2507
|
+
}, string>;
|
|
2508
|
+
}, string>;
|
|
2870
2509
|
static fromFields(fields: Record<string, any>): SpotConfig;
|
|
2871
2510
|
static fromFieldsWithTypes(item: FieldsWithTypes): SpotConfig;
|
|
2872
2511
|
static fromBcs(data: Uint8Array): SpotConfig;
|
|
@@ -2928,27 +2567,19 @@ export declare class StartRemoveLiquidityTokenProcessEvent implements StructClas
|
|
|
2928
2567
|
static get r(): reified.StructClassReified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
|
|
2929
2568
|
static phantom(): PhantomReified<ToTypeStr<StartRemoveLiquidityTokenProcessEvent>>;
|
|
2930
2569
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
2931
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
2932
|
-
index: string
|
|
2933
|
-
liquidity_token: {
|
|
2934
|
-
name: {
|
|
2935
|
-
bytes: number[]
|
|
2936
|
-
};
|
|
2937
|
-
};
|
|
2938
|
-
u64_padding: string[];
|
|
2939
|
-
}, {
|
|
2940
|
-
index: string | number | bigint;
|
|
2941
|
-
liquidity_token: {
|
|
2942
|
-
name: {
|
|
2943
|
-
bytes: Iterable<number> & {
|
|
2570
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2571
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2572
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
2573
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2574
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
2944
2575
|
length: number;
|
|
2945
|
-
}
|
|
2946
|
-
}
|
|
2947
|
-
}
|
|
2948
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2576
|
+
}, string>;
|
|
2577
|
+
}, string>;
|
|
2578
|
+
}, string>;
|
|
2579
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
2949
2580
|
length: number;
|
|
2950
|
-
}
|
|
2951
|
-
}>;
|
|
2581
|
+
}, string>;
|
|
2582
|
+
}, string>;
|
|
2952
2583
|
static fromFields(fields: Record<string, any>): StartRemoveLiquidityTokenProcessEvent;
|
|
2953
2584
|
static fromFieldsWithTypes(item: FieldsWithTypes): StartRemoveLiquidityTokenProcessEvent;
|
|
2954
2585
|
static fromBcs(data: Uint8Array): StartRemoveLiquidityTokenProcessEvent;
|
|
@@ -3014,35 +2645,23 @@ export declare class State implements StructClass {
|
|
|
3014
2645
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
3015
2646
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
3016
2647
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::State" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::State">;
|
|
3017
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3018
|
-
liquidity_amount: string
|
|
3019
|
-
value_in_usd: string
|
|
3020
|
-
reserved_amount: string
|
|
3021
|
-
update_ts_ms: string
|
|
3022
|
-
is_active: boolean
|
|
3023
|
-
last_borrow_rate_ts_ms: string
|
|
3024
|
-
cumulative_borrow_rate: string
|
|
3025
|
-
previous_last_borrow_rate_ts_ms: string
|
|
3026
|
-
previous_cumulative_borrow_rate: string
|
|
3027
|
-
current_lending_amount: string[]
|
|
3028
|
-
u64_padding: string[];
|
|
3029
|
-
}, {
|
|
3030
|
-
liquidity_amount: string | number | bigint;
|
|
3031
|
-
value_in_usd: string | number | bigint;
|
|
3032
|
-
reserved_amount: string | number | bigint;
|
|
3033
|
-
update_ts_ms: string | number | bigint;
|
|
3034
|
-
is_active: boolean;
|
|
3035
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
3036
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
3037
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
3038
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
3039
|
-
current_lending_amount: Iterable<string | number | bigint> & {
|
|
2648
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2649
|
+
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2650
|
+
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2651
|
+
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2652
|
+
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2653
|
+
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
2654
|
+
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2655
|
+
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2656
|
+
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2657
|
+
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2658
|
+
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3040
2659
|
length: number;
|
|
3041
|
-
}
|
|
3042
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2660
|
+
}, string>;
|
|
2661
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3043
2662
|
length: number;
|
|
3044
|
-
}
|
|
3045
|
-
}>;
|
|
2663
|
+
}, string>;
|
|
2664
|
+
}, string>;
|
|
3046
2665
|
static fromFields(fields: Record<string, any>): State;
|
|
3047
2666
|
static fromFieldsWithTypes(item: FieldsWithTypes): State;
|
|
3048
2667
|
static fromBcs(data: Uint8Array): State;
|
|
@@ -3104,17 +2723,13 @@ export declare class SuspendPoolEvent implements StructClass {
|
|
|
3104
2723
|
static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
3105
2724
|
static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
|
|
3106
2725
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::SuspendPoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::SuspendPoolEvent">;
|
|
3107
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3108
|
-
sender: string
|
|
3109
|
-
index: string
|
|
3110
|
-
u64_padding: string[]
|
|
3111
|
-
}, {
|
|
3112
|
-
sender: string;
|
|
3113
|
-
index: string | number | bigint;
|
|
3114
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2726
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2727
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2728
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2729
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3115
2730
|
length: number;
|
|
3116
|
-
}
|
|
3117
|
-
}>;
|
|
2731
|
+
}, string>;
|
|
2732
|
+
}, string>;
|
|
3118
2733
|
static fromFields(fields: Record<string, any>): SuspendPoolEvent;
|
|
3119
2734
|
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendPoolEvent;
|
|
3120
2735
|
static fromBcs(data: Uint8Array): SuspendPoolEvent;
|
|
@@ -3162,29 +2777,20 @@ export declare class SuspendTokenPoolEvent implements StructClass {
|
|
|
3162
2777
|
static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
3163
2778
|
static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
|
|
3164
2779
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::SuspendTokenPoolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::SuspendTokenPoolEvent">;
|
|
3165
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3166
|
-
sender: string
|
|
3167
|
-
index: string
|
|
3168
|
-
liquidity_token: {
|
|
3169
|
-
name: {
|
|
3170
|
-
bytes: number[]
|
|
3171
|
-
};
|
|
3172
|
-
};
|
|
3173
|
-
u64_padding: string[];
|
|
3174
|
-
}, {
|
|
3175
|
-
sender: string;
|
|
3176
|
-
index: string | number | bigint;
|
|
3177
|
-
liquidity_token: {
|
|
3178
|
-
name: {
|
|
3179
|
-
bytes: Iterable<number> & {
|
|
2780
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2781
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2782
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2783
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
2784
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2785
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3180
2786
|
length: number;
|
|
3181
|
-
}
|
|
3182
|
-
}
|
|
3183
|
-
}
|
|
3184
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2787
|
+
}, string>;
|
|
2788
|
+
}, string>;
|
|
2789
|
+
}, string>;
|
|
2790
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3185
2791
|
length: number;
|
|
3186
|
-
}
|
|
3187
|
-
}>;
|
|
2792
|
+
}, string>;
|
|
2793
|
+
}, string>;
|
|
3188
2794
|
static fromFields(fields: Record<string, any>): SuspendTokenPoolEvent;
|
|
3189
2795
|
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendTokenPoolEvent;
|
|
3190
2796
|
static fromBcs(data: Uint8Array): SuspendTokenPoolEvent;
|
|
@@ -3254,55 +2860,34 @@ export declare class SwapEvent implements StructClass {
|
|
|
3254
2860
|
static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
|
|
3255
2861
|
static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
|
|
3256
2862
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::SwapEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::SwapEvent">;
|
|
3257
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3258
|
-
sender: string
|
|
3259
|
-
index: string
|
|
3260
|
-
from_token_type: {
|
|
3261
|
-
name: {
|
|
3262
|
-
bytes: number[]
|
|
3263
|
-
};
|
|
3264
|
-
};
|
|
3265
|
-
from_amount: string;
|
|
3266
|
-
to_token_type: {
|
|
3267
|
-
name: {
|
|
3268
|
-
bytes: number[];
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
min_to_amount: string;
|
|
3272
|
-
actual_to_amount: string;
|
|
3273
|
-
fee_amount: string;
|
|
3274
|
-
fee_amount_usd: string;
|
|
3275
|
-
oracle_price_from_token: string;
|
|
3276
|
-
oracle_price_to_token: string;
|
|
3277
|
-
u64_padding: string[];
|
|
3278
|
-
}, {
|
|
3279
|
-
sender: string;
|
|
3280
|
-
index: string | number | bigint;
|
|
3281
|
-
from_token_type: {
|
|
3282
|
-
name: {
|
|
3283
|
-
bytes: Iterable<number> & {
|
|
2863
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2864
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2865
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2866
|
+
from_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
2867
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2868
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3284
2869
|
length: number;
|
|
3285
|
-
}
|
|
3286
|
-
}
|
|
3287
|
-
}
|
|
3288
|
-
from_amount: string | number | bigint
|
|
3289
|
-
to_token_type: {
|
|
3290
|
-
name: {
|
|
3291
|
-
bytes: Iterable<number> & {
|
|
2870
|
+
}, string>;
|
|
2871
|
+
}, string>;
|
|
2872
|
+
}, string>;
|
|
2873
|
+
from_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2874
|
+
to_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
2875
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2876
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3292
2877
|
length: number;
|
|
3293
|
-
}
|
|
3294
|
-
}
|
|
3295
|
-
}
|
|
3296
|
-
min_to_amount: string | number | bigint
|
|
3297
|
-
actual_to_amount: string | number | bigint
|
|
3298
|
-
fee_amount: string | number | bigint
|
|
3299
|
-
fee_amount_usd: string | number | bigint
|
|
3300
|
-
oracle_price_from_token: string | number | bigint
|
|
3301
|
-
oracle_price_to_token: string | number | bigint
|
|
3302
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2878
|
+
}, string>;
|
|
2879
|
+
}, string>;
|
|
2880
|
+
}, string>;
|
|
2881
|
+
min_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2882
|
+
actual_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2883
|
+
fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2884
|
+
fee_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2885
|
+
oracle_price_from_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2886
|
+
oracle_price_to_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2887
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3303
2888
|
length: number;
|
|
3304
|
-
}
|
|
3305
|
-
}>;
|
|
2889
|
+
}, string>;
|
|
2890
|
+
}, string>;
|
|
3306
2891
|
static fromFields(fields: Record<string, any>): SwapEvent;
|
|
3307
2892
|
static fromFieldsWithTypes(item: FieldsWithTypes): SwapEvent;
|
|
3308
2893
|
static fromBcs(data: Uint8Array): SwapEvent;
|
|
@@ -3374,113 +2959,66 @@ export declare class TokenPool implements StructClass {
|
|
|
3374
2959
|
static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
|
|
3375
2960
|
static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
|
|
3376
2961
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::TokenPool" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::TokenPool">;
|
|
3377
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3378
|
-
token_type: {
|
|
3379
|
-
name: {
|
|
3380
|
-
bytes: number[]
|
|
3381
|
-
};
|
|
3382
|
-
};
|
|
3383
|
-
config: {
|
|
3384
|
-
oracle_id: string;
|
|
3385
|
-
liquidity_token_decimal: string;
|
|
3386
|
-
spot_config: {
|
|
3387
|
-
min_deposit: string;
|
|
3388
|
-
max_capacity: string;
|
|
3389
|
-
target_weight_bp: string;
|
|
3390
|
-
basic_mint_fee_bp: string;
|
|
3391
|
-
additional_mint_fee_bp: string;
|
|
3392
|
-
basic_burn_fee_bp: string;
|
|
3393
|
-
additional_burn_fee_bp: string;
|
|
3394
|
-
swap_fee_bp: string;
|
|
3395
|
-
swap_fee_protocol_share_bp: string;
|
|
3396
|
-
lending_protocol_share_bp: string;
|
|
3397
|
-
u64_padding: string[];
|
|
3398
|
-
};
|
|
3399
|
-
margin_config: {
|
|
3400
|
-
basic_borrow_rate_0: string;
|
|
3401
|
-
basic_borrow_rate_1: string;
|
|
3402
|
-
basic_borrow_rate_2: string;
|
|
3403
|
-
utilization_threshold_bp_0: string;
|
|
3404
|
-
utilization_threshold_bp_1: string;
|
|
3405
|
-
borrow_interval_ts_ms: string;
|
|
3406
|
-
max_order_reserve_ratio_bp: string;
|
|
3407
|
-
u64_padding: string[];
|
|
3408
|
-
};
|
|
3409
|
-
u64_padding: string[];
|
|
3410
|
-
};
|
|
3411
|
-
state: {
|
|
3412
|
-
liquidity_amount: string;
|
|
3413
|
-
value_in_usd: string;
|
|
3414
|
-
reserved_amount: string;
|
|
3415
|
-
update_ts_ms: string;
|
|
3416
|
-
is_active: boolean;
|
|
3417
|
-
last_borrow_rate_ts_ms: string;
|
|
3418
|
-
cumulative_borrow_rate: string;
|
|
3419
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
3420
|
-
previous_cumulative_borrow_rate: string;
|
|
3421
|
-
current_lending_amount: string[];
|
|
3422
|
-
u64_padding: string[];
|
|
3423
|
-
};
|
|
3424
|
-
}, {
|
|
3425
|
-
token_type: {
|
|
3426
|
-
name: {
|
|
3427
|
-
bytes: Iterable<number> & {
|
|
2962
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
2963
|
+
token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
2964
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
2965
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3428
2966
|
length: number;
|
|
3429
|
-
}
|
|
3430
|
-
}
|
|
3431
|
-
}
|
|
3432
|
-
config: {
|
|
3433
|
-
oracle_id: string
|
|
3434
|
-
liquidity_token_decimal: string | number | bigint
|
|
3435
|
-
spot_config: {
|
|
3436
|
-
min_deposit: string | number | bigint
|
|
3437
|
-
max_capacity: string | number | bigint
|
|
3438
|
-
target_weight_bp: string | number | bigint
|
|
3439
|
-
basic_mint_fee_bp: string | number | bigint
|
|
3440
|
-
additional_mint_fee_bp: string | number | bigint
|
|
3441
|
-
basic_burn_fee_bp: string | number | bigint
|
|
3442
|
-
additional_burn_fee_bp: string | number | bigint
|
|
3443
|
-
swap_fee_bp: string | number | bigint
|
|
3444
|
-
swap_fee_protocol_share_bp: string | number | bigint
|
|
3445
|
-
lending_protocol_share_bp: string | number | bigint
|
|
3446
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2967
|
+
}, string>;
|
|
2968
|
+
}, string>;
|
|
2969
|
+
}, string>;
|
|
2970
|
+
config: import("@mysten/sui/bcs").BcsStruct<{
|
|
2971
|
+
oracle_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
2972
|
+
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2973
|
+
spot_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
2974
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2975
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2976
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2977
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2978
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2979
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2980
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2981
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2982
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2983
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2984
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3447
2985
|
length: number;
|
|
3448
|
-
}
|
|
3449
|
-
}
|
|
3450
|
-
margin_config: {
|
|
3451
|
-
basic_borrow_rate_0: string | number | bigint
|
|
3452
|
-
basic_borrow_rate_1: string | number | bigint
|
|
3453
|
-
basic_borrow_rate_2: string | number | bigint
|
|
3454
|
-
utilization_threshold_bp_0: string | number | bigint
|
|
3455
|
-
utilization_threshold_bp_1: string | number | bigint
|
|
3456
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
3457
|
-
max_order_reserve_ratio_bp: string | number | bigint
|
|
3458
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2986
|
+
}, string>;
|
|
2987
|
+
}, string>;
|
|
2988
|
+
margin_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
2989
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2990
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2991
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2992
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2993
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2994
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2995
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
2996
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3459
2997
|
length: number;
|
|
3460
|
-
}
|
|
3461
|
-
}
|
|
3462
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2998
|
+
}, string>;
|
|
2999
|
+
}, string>;
|
|
3000
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3463
3001
|
length: number;
|
|
3464
|
-
}
|
|
3465
|
-
}
|
|
3466
|
-
state: {
|
|
3467
|
-
liquidity_amount: string | number | bigint
|
|
3468
|
-
value_in_usd: string | number | bigint
|
|
3469
|
-
reserved_amount: string | number | bigint
|
|
3470
|
-
update_ts_ms: string | number | bigint
|
|
3471
|
-
is_active: boolean
|
|
3472
|
-
last_borrow_rate_ts_ms: string | number | bigint
|
|
3473
|
-
cumulative_borrow_rate: string | number | bigint
|
|
3474
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint
|
|
3475
|
-
previous_cumulative_borrow_rate: string | number | bigint
|
|
3476
|
-
current_lending_amount: Iterable<string | number | bigint> & {
|
|
3002
|
+
}, string>;
|
|
3003
|
+
}, string>;
|
|
3004
|
+
state: import("@mysten/sui/bcs").BcsStruct<{
|
|
3005
|
+
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3006
|
+
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3007
|
+
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3008
|
+
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3009
|
+
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
3010
|
+
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3011
|
+
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3012
|
+
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3013
|
+
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3014
|
+
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3477
3015
|
length: number;
|
|
3478
|
-
}
|
|
3479
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3016
|
+
}, string>;
|
|
3017
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3480
3018
|
length: number;
|
|
3481
|
-
}
|
|
3482
|
-
}
|
|
3483
|
-
}>;
|
|
3019
|
+
}, string>;
|
|
3020
|
+
}, string>;
|
|
3021
|
+
}, string>;
|
|
3484
3022
|
static fromFields(fields: Record<string, any>): TokenPool;
|
|
3485
3023
|
static fromFieldsWithTypes(item: FieldsWithTypes): TokenPool;
|
|
3486
3024
|
static fromBcs(data: Uint8Array): TokenPool;
|
|
@@ -3618,37 +3156,24 @@ export declare class UpdateBorrowInfoEvent implements StructClass {
|
|
|
3618
3156
|
static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
3619
3157
|
static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
|
|
3620
3158
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateBorrowInfoEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateBorrowInfoEvent">;
|
|
3621
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3622
|
-
index: string
|
|
3623
|
-
liquidity_token_type: {
|
|
3624
|
-
name: {
|
|
3625
|
-
bytes: number[]
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
previous_borrow_ts_ms: string;
|
|
3629
|
-
previous_cumulative_borrow_rate: string;
|
|
3630
|
-
borrow_interval_ts_ms: string;
|
|
3631
|
-
last_borrow_rate_ts_ms: string;
|
|
3632
|
-
last_cumulative_borrow_rate: string;
|
|
3633
|
-
u64_padding: string[];
|
|
3634
|
-
}, {
|
|
3635
|
-
index: string | number | bigint;
|
|
3636
|
-
liquidity_token_type: {
|
|
3637
|
-
name: {
|
|
3638
|
-
bytes: Iterable<number> & {
|
|
3159
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3160
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3161
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
3162
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
3163
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3639
3164
|
length: number;
|
|
3640
|
-
}
|
|
3641
|
-
}
|
|
3642
|
-
}
|
|
3643
|
-
previous_borrow_ts_ms: string | number | bigint
|
|
3644
|
-
previous_cumulative_borrow_rate: string | number | bigint
|
|
3645
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
3646
|
-
last_borrow_rate_ts_ms: string | number | bigint
|
|
3647
|
-
last_cumulative_borrow_rate: string | number | bigint
|
|
3648
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3165
|
+
}, string>;
|
|
3166
|
+
}, string>;
|
|
3167
|
+
}, string>;
|
|
3168
|
+
previous_borrow_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3169
|
+
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3170
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3171
|
+
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3172
|
+
last_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3173
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3649
3174
|
length: number;
|
|
3650
|
-
}
|
|
3651
|
-
}>;
|
|
3175
|
+
}, string>;
|
|
3176
|
+
}, string>;
|
|
3652
3177
|
static fromFields(fields: Record<string, any>): UpdateBorrowInfoEvent;
|
|
3653
3178
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateBorrowInfoEvent;
|
|
3654
3179
|
static fromBcs(data: Uint8Array): UpdateBorrowInfoEvent;
|
|
@@ -3716,35 +3241,23 @@ export declare class UpdateLiquidityValueEvent implements StructClass {
|
|
|
3716
3241
|
static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
3717
3242
|
static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
|
|
3718
3243
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateLiquidityValueEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateLiquidityValueEvent">;
|
|
3719
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3720
|
-
sender: string
|
|
3721
|
-
index: string
|
|
3722
|
-
liquidity_token: {
|
|
3723
|
-
name: {
|
|
3724
|
-
bytes: number[]
|
|
3725
|
-
};
|
|
3726
|
-
};
|
|
3727
|
-
price: string;
|
|
3728
|
-
value_in_usd: string;
|
|
3729
|
-
lp_pool_tvl_usd: string;
|
|
3730
|
-
u64_padding: string[];
|
|
3731
|
-
}, {
|
|
3732
|
-
sender: string;
|
|
3733
|
-
index: string | number | bigint;
|
|
3734
|
-
liquidity_token: {
|
|
3735
|
-
name: {
|
|
3736
|
-
bytes: Iterable<number> & {
|
|
3244
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3245
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
3246
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3247
|
+
liquidity_token: import("@mysten/sui/bcs").BcsStruct<{
|
|
3248
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
3249
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3737
3250
|
length: number;
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3740
|
-
}
|
|
3741
|
-
price: string | number | bigint
|
|
3742
|
-
value_in_usd: string | number | bigint
|
|
3743
|
-
lp_pool_tvl_usd: string | number | bigint
|
|
3744
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3251
|
+
}, string>;
|
|
3252
|
+
}, string>;
|
|
3253
|
+
}, string>;
|
|
3254
|
+
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3255
|
+
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3256
|
+
lp_pool_tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3257
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3745
3258
|
length: number;
|
|
3746
|
-
}
|
|
3747
|
-
}>;
|
|
3259
|
+
}, string>;
|
|
3260
|
+
}, string>;
|
|
3748
3261
|
static fromFields(fields: Record<string, any>): UpdateLiquidityValueEvent;
|
|
3749
3262
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateLiquidityValueEvent;
|
|
3750
3263
|
static fromBcs(data: Uint8Array): UpdateLiquidityValueEvent;
|
|
@@ -3808,73 +3321,44 @@ export declare class UpdateMarginConfigEvent implements StructClass {
|
|
|
3808
3321
|
static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
3809
3322
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
|
|
3810
3323
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateMarginConfigEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateMarginConfigEvent">;
|
|
3811
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3812
|
-
sender: string
|
|
3813
|
-
index: string
|
|
3814
|
-
liquidity_token_type: {
|
|
3815
|
-
name: {
|
|
3816
|
-
bytes: number[]
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
previous_margin_config: {
|
|
3820
|
-
basic_borrow_rate_0: string;
|
|
3821
|
-
basic_borrow_rate_1: string;
|
|
3822
|
-
basic_borrow_rate_2: string;
|
|
3823
|
-
utilization_threshold_bp_0: string;
|
|
3824
|
-
utilization_threshold_bp_1: string;
|
|
3825
|
-
borrow_interval_ts_ms: string;
|
|
3826
|
-
max_order_reserve_ratio_bp: string;
|
|
3827
|
-
u64_padding: string[];
|
|
3828
|
-
};
|
|
3829
|
-
new_margin_config: {
|
|
3830
|
-
basic_borrow_rate_0: string;
|
|
3831
|
-
basic_borrow_rate_1: string;
|
|
3832
|
-
basic_borrow_rate_2: string;
|
|
3833
|
-
utilization_threshold_bp_0: string;
|
|
3834
|
-
utilization_threshold_bp_1: string;
|
|
3835
|
-
borrow_interval_ts_ms: string;
|
|
3836
|
-
max_order_reserve_ratio_bp: string;
|
|
3837
|
-
u64_padding: string[];
|
|
3838
|
-
};
|
|
3839
|
-
u64_padding: string[];
|
|
3840
|
-
}, {
|
|
3841
|
-
sender: string;
|
|
3842
|
-
index: string | number | bigint;
|
|
3843
|
-
liquidity_token_type: {
|
|
3844
|
-
name: {
|
|
3845
|
-
bytes: Iterable<number> & {
|
|
3324
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3325
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
3326
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3327
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
3328
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
3329
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
3846
3330
|
length: number;
|
|
3847
|
-
}
|
|
3848
|
-
}
|
|
3849
|
-
}
|
|
3850
|
-
previous_margin_config: {
|
|
3851
|
-
basic_borrow_rate_0: string | number | bigint
|
|
3852
|
-
basic_borrow_rate_1: string | number | bigint
|
|
3853
|
-
basic_borrow_rate_2: string | number | bigint
|
|
3854
|
-
utilization_threshold_bp_0: string | number | bigint
|
|
3855
|
-
utilization_threshold_bp_1: string | number | bigint
|
|
3856
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
3857
|
-
max_order_reserve_ratio_bp: string | number | bigint
|
|
3858
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3331
|
+
}, string>;
|
|
3332
|
+
}, string>;
|
|
3333
|
+
}, string>;
|
|
3334
|
+
previous_margin_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
3335
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3336
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3337
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3338
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3339
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3340
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3341
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3342
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3859
3343
|
length: number;
|
|
3860
|
-
}
|
|
3861
|
-
}
|
|
3862
|
-
new_margin_config: {
|
|
3863
|
-
basic_borrow_rate_0: string | number | bigint
|
|
3864
|
-
basic_borrow_rate_1: string | number | bigint
|
|
3865
|
-
basic_borrow_rate_2: string | number | bigint
|
|
3866
|
-
utilization_threshold_bp_0: string | number | bigint
|
|
3867
|
-
utilization_threshold_bp_1: string | number | bigint
|
|
3868
|
-
borrow_interval_ts_ms: string | number | bigint
|
|
3869
|
-
max_order_reserve_ratio_bp: string | number | bigint
|
|
3870
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3344
|
+
}, string>;
|
|
3345
|
+
}, string>;
|
|
3346
|
+
new_margin_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
3347
|
+
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3348
|
+
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3349
|
+
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3350
|
+
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3351
|
+
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3352
|
+
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3353
|
+
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3354
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3871
3355
|
length: number;
|
|
3872
|
-
}
|
|
3873
|
-
}
|
|
3874
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3356
|
+
}, string>;
|
|
3357
|
+
}, string>;
|
|
3358
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3875
3359
|
length: number;
|
|
3876
|
-
}
|
|
3877
|
-
}>;
|
|
3360
|
+
}, string>;
|
|
3361
|
+
}, string>;
|
|
3878
3362
|
static fromFields(fields: Record<string, any>): UpdateMarginConfigEvent;
|
|
3879
3363
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateMarginConfigEvent;
|
|
3880
3364
|
static fromBcs(data: Uint8Array): UpdateMarginConfigEvent;
|
|
@@ -3970,21 +3454,15 @@ export declare class UpdateRebalanceCostThresholdBpEvent implements StructClass
|
|
|
3970
3454
|
static get r(): reified.StructClassReified<UpdateRebalanceCostThresholdBpEvent, UpdateRebalanceCostThresholdBpEventFields>;
|
|
3971
3455
|
static phantom(): PhantomReified<ToTypeStr<UpdateRebalanceCostThresholdBpEvent>>;
|
|
3972
3456
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateRebalanceCostThresholdBpEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateRebalanceCostThresholdBpEvent">;
|
|
3973
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
3974
|
-
sender: string
|
|
3975
|
-
index: string
|
|
3976
|
-
previous_rebalance_cost_threshold_bp: string
|
|
3977
|
-
new_rebalance_cost_threshold_bp: string
|
|
3978
|
-
u64_padding: string[]
|
|
3979
|
-
}, {
|
|
3980
|
-
sender: string;
|
|
3981
|
-
index: string | number | bigint;
|
|
3982
|
-
previous_rebalance_cost_threshold_bp: string | number | bigint;
|
|
3983
|
-
new_rebalance_cost_threshold_bp: string | number | bigint;
|
|
3984
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3457
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3458
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
3459
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3460
|
+
previous_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3461
|
+
new_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3462
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
3985
3463
|
length: number;
|
|
3986
|
-
}
|
|
3987
|
-
}>;
|
|
3464
|
+
}, string>;
|
|
3465
|
+
}, string>;
|
|
3988
3466
|
static fromFields(fields: Record<string, any>): UpdateRebalanceCostThresholdBpEvent;
|
|
3989
3467
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateRebalanceCostThresholdBpEvent;
|
|
3990
3468
|
static fromBcs(data: Uint8Array): UpdateRebalanceCostThresholdBpEvent;
|
|
@@ -4040,85 +3518,50 @@ export declare class UpdateSpotConfigEvent implements StructClass {
|
|
|
4040
3518
|
static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
4041
3519
|
static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
|
|
4042
3520
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateSpotConfigEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateSpotConfigEvent">;
|
|
4043
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
4044
|
-
sender: string
|
|
4045
|
-
index: string
|
|
4046
|
-
liquidity_token_type: {
|
|
4047
|
-
name: {
|
|
4048
|
-
bytes: number[]
|
|
4049
|
-
};
|
|
4050
|
-
};
|
|
4051
|
-
previous_spot_config: {
|
|
4052
|
-
min_deposit: string;
|
|
4053
|
-
max_capacity: string;
|
|
4054
|
-
target_weight_bp: string;
|
|
4055
|
-
basic_mint_fee_bp: string;
|
|
4056
|
-
additional_mint_fee_bp: string;
|
|
4057
|
-
basic_burn_fee_bp: string;
|
|
4058
|
-
additional_burn_fee_bp: string;
|
|
4059
|
-
swap_fee_bp: string;
|
|
4060
|
-
swap_fee_protocol_share_bp: string;
|
|
4061
|
-
lending_protocol_share_bp: string;
|
|
4062
|
-
u64_padding: string[];
|
|
4063
|
-
};
|
|
4064
|
-
new_spot_config: {
|
|
4065
|
-
min_deposit: string;
|
|
4066
|
-
max_capacity: string;
|
|
4067
|
-
target_weight_bp: string;
|
|
4068
|
-
basic_mint_fee_bp: string;
|
|
4069
|
-
additional_mint_fee_bp: string;
|
|
4070
|
-
basic_burn_fee_bp: string;
|
|
4071
|
-
additional_burn_fee_bp: string;
|
|
4072
|
-
swap_fee_bp: string;
|
|
4073
|
-
swap_fee_protocol_share_bp: string;
|
|
4074
|
-
lending_protocol_share_bp: string;
|
|
4075
|
-
u64_padding: string[];
|
|
4076
|
-
};
|
|
4077
|
-
u64_padding: string[];
|
|
4078
|
-
}, {
|
|
4079
|
-
sender: string;
|
|
4080
|
-
index: string | number | bigint;
|
|
4081
|
-
liquidity_token_type: {
|
|
4082
|
-
name: {
|
|
4083
|
-
bytes: Iterable<number> & {
|
|
3521
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3522
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
3523
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3524
|
+
liquidity_token_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
3525
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
3526
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
4084
3527
|
length: number;
|
|
4085
|
-
}
|
|
4086
|
-
}
|
|
4087
|
-
}
|
|
4088
|
-
previous_spot_config: {
|
|
4089
|
-
min_deposit: string | number | bigint
|
|
4090
|
-
max_capacity: string | number | bigint
|
|
4091
|
-
target_weight_bp: string | number | bigint
|
|
4092
|
-
basic_mint_fee_bp: string | number | bigint
|
|
4093
|
-
additional_mint_fee_bp: string | number | bigint
|
|
4094
|
-
basic_burn_fee_bp: string | number | bigint
|
|
4095
|
-
additional_burn_fee_bp: string | number | bigint
|
|
4096
|
-
swap_fee_bp: string | number | bigint
|
|
4097
|
-
swap_fee_protocol_share_bp: string | number | bigint
|
|
4098
|
-
lending_protocol_share_bp: string | number | bigint
|
|
4099
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3528
|
+
}, string>;
|
|
3529
|
+
}, string>;
|
|
3530
|
+
}, string>;
|
|
3531
|
+
previous_spot_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
3532
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3533
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3534
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3535
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3536
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3537
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3538
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3539
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3540
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3541
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3542
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
4100
3543
|
length: number;
|
|
4101
|
-
}
|
|
4102
|
-
}
|
|
4103
|
-
new_spot_config: {
|
|
4104
|
-
min_deposit: string | number | bigint
|
|
4105
|
-
max_capacity: string | number | bigint
|
|
4106
|
-
target_weight_bp: string | number | bigint
|
|
4107
|
-
basic_mint_fee_bp: string | number | bigint
|
|
4108
|
-
additional_mint_fee_bp: string | number | bigint
|
|
4109
|
-
basic_burn_fee_bp: string | number | bigint
|
|
4110
|
-
additional_burn_fee_bp: string | number | bigint
|
|
4111
|
-
swap_fee_bp: string | number | bigint
|
|
4112
|
-
swap_fee_protocol_share_bp: string | number | bigint
|
|
4113
|
-
lending_protocol_share_bp: string | number | bigint
|
|
4114
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3544
|
+
}, string>;
|
|
3545
|
+
}, string>;
|
|
3546
|
+
new_spot_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
3547
|
+
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3548
|
+
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3549
|
+
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3550
|
+
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3551
|
+
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3552
|
+
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3553
|
+
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3554
|
+
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3555
|
+
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3556
|
+
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3557
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
4115
3558
|
length: number;
|
|
4116
|
-
}
|
|
4117
|
-
}
|
|
4118
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3559
|
+
}, string>;
|
|
3560
|
+
}, string>;
|
|
3561
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
4119
3562
|
length: number;
|
|
4120
|
-
}
|
|
4121
|
-
}>;
|
|
3563
|
+
}, string>;
|
|
3564
|
+
}, string>;
|
|
4122
3565
|
static fromFields(fields: Record<string, any>): UpdateSpotConfigEvent;
|
|
4123
3566
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateSpotConfigEvent;
|
|
4124
3567
|
static fromBcs(data: Uint8Array): UpdateSpotConfigEvent;
|
|
@@ -4226,21 +3669,15 @@ export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
|
|
|
4226
3669
|
static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
4227
3670
|
static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
|
|
4228
3671
|
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateUnlockCountdownTsMsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
4229
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
4230
|
-
sender: string
|
|
4231
|
-
index: string
|
|
4232
|
-
previous_unlock_countdown_ts_ms: string
|
|
4233
|
-
new_unlock_countdown_ts_ms: string
|
|
4234
|
-
u64_padding: string[]
|
|
4235
|
-
}, {
|
|
4236
|
-
sender: string;
|
|
4237
|
-
index: string | number | bigint;
|
|
4238
|
-
previous_unlock_countdown_ts_ms: string | number | bigint;
|
|
4239
|
-
new_unlock_countdown_ts_ms: string | number | bigint;
|
|
4240
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
3672
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
3673
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
3674
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3675
|
+
previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3676
|
+
new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
3677
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
4241
3678
|
length: number;
|
|
4242
|
-
}
|
|
4243
|
-
}>;
|
|
3679
|
+
}, string>;
|
|
3680
|
+
}, string>;
|
|
4244
3681
|
static fromFields(fields: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
4245
3682
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateUnlockCountdownTsMsEvent;
|
|
4246
3683
|
static fromBcs(data: Uint8Array): UpdateUnlockCountdownTsMsEvent;
|