@waterx/sdk 2.1.0 → 2.3.1-dev.0
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/README.md +75 -169
- package/dist/src/client.d.ts +52 -2
- package/dist/src/client.js +76 -6
- package/dist/src/config.d.ts +57 -3
- package/dist/src/config.js +10 -4
- package/dist/src/constants.d.ts +6 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/core/waterx-account.d.ts +31 -0
- package/dist/src/core/waterx-account.js +26 -0
- package/dist/src/fetch.d.ts +110 -0
- package/dist/src/fetch.js +149 -4
- package/dist/src/generated/bucket_v2_framework/account.d.ts +5 -5
- package/dist/src/generated/bucket_v2_framework/double.d.ts +77 -77
- package/dist/src/generated/bucket_v2_framework/float.d.ts +73 -73
- package/dist/src/generated/bucket_v2_framework/liability.d.ts +33 -33
- package/dist/src/generated/bucket_v2_framework/linked_table.d.ts +5 -5
- package/dist/src/generated/bucket_v2_framework/linked_table.js +2 -2
- package/dist/src/generated/bucket_v2_framework/sheet.d.ts +57 -57
- package/dist/src/generated/bucket_v2_framework/sheet.js +5 -11
- package/dist/src/generated/native_custody/custody_vault.d.ts +46 -32
- package/dist/src/generated/native_custody/custody_vault.js +19 -10
- package/dist/src/generated/native_custody/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/native_custody/events.js +1 -2
- package/dist/src/generated/pyth_sponsor_rule/pyth_sponsor_rule.d.ts +7 -7
- package/dist/src/generated/pyth_sponsor_rule/pyth_sponsor_rule.js +1 -2
- package/dist/src/generated/utils/index.d.ts +7 -7
- package/dist/src/generated/utils/index.js +9 -6
- package/dist/src/generated/waterx_account/account.d.ts +124 -71
- package/dist/src/generated/waterx_account/account.js +64 -29
- package/dist/src/generated/waterx_account/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/waterx_account/direct_rule.d.ts +5 -5
- package/dist/src/generated/waterx_account/events.d.ts +10 -0
- package/dist/src/generated/waterx_account/events.js +31 -50
- package/dist/src/generated/waterx_constant_rule/constant_rule.d.ts +68 -0
- package/dist/src/generated/waterx_constant_rule/constant_rule.js +59 -0
- package/dist/src/generated/waterx_constant_rule/deps/bucket_v2_framework/float.d.ts +8 -0
- package/dist/src/generated/waterx_constant_rule/deps/bucket_v2_framework/float.js +10 -0
- package/dist/src/generated/waterx_constant_rule/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/waterx_constant_rule/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/waterx_credit/credit_registry.d.ts +9 -9
- package/dist/src/generated/waterx_credit/credit_registry.js +1 -2
- package/dist/src/generated/waterx_credit/limited_supply.d.ts +17 -17
- package/dist/src/generated/waterx_oracle/aggregator.js +1 -2
- package/dist/src/generated/waterx_oracle/collector.d.ts +17 -17
- package/dist/src/generated/waterx_oracle/collector.js +1 -1
- package/dist/src/generated/waterx_oracle/oracle.d.ts +5 -5
- package/dist/src/generated/waterx_perp/account_data.d.ts +5 -5
- package/dist/src/generated/waterx_perp/account_data.js +1 -2
- package/dist/src/generated/waterx_perp/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/waterx_perp/events.d.ts +181 -181
- package/dist/src/generated/waterx_perp/events.js +87 -173
- package/dist/src/generated/waterx_perp/global_config.d.ts +3 -3
- package/dist/src/generated/waterx_perp/global_config.js +6 -12
- package/dist/src/generated/waterx_perp/keyed_big_vector.d.ts +9 -9
- package/dist/src/generated/waterx_perp/keyed_big_vector.js +1 -2
- package/dist/src/generated/waterx_perp/lp_pool.d.ts +115 -115
- package/dist/src/generated/waterx_perp/lp_pool.js +11 -22
- package/dist/src/generated/waterx_perp/market_config.d.ts +61 -43
- package/dist/src/generated/waterx_perp/market_config.js +29 -22
- package/dist/src/generated/waterx_perp/math.d.ts +7 -7
- package/dist/src/generated/waterx_perp/order_book.d.ts +47 -47
- package/dist/src/generated/waterx_perp/position.d.ts +99 -99
- package/dist/src/generated/waterx_perp/position.js +6 -12
- package/dist/src/generated/waterx_perp/request.d.ts +67 -67
- package/dist/src/generated/waterx_perp/request.js +2 -3
- package/dist/src/generated/waterx_perp/response.d.ts +35 -35
- package/dist/src/generated/waterx_perp/response.js +1 -2
- package/dist/src/generated/waterx_perp/trading.d.ts +303 -179
- package/dist/src/generated/waterx_perp/trading.js +99 -14
- package/dist/src/generated/waterx_perp_view/view.js +5 -10
- package/dist/src/generated/waterx_pyth_rule/pyth_rule.d.ts +5 -5
- package/dist/src/generated/waterx_pyth_rule/pyth_rule.js +1 -2
- package/dist/src/generated/waterx_referral/referral_table.d.ts +5 -5
- package/dist/src/generated/waterx_referral/referral_table.js +1 -2
- package/dist/src/generated/waterx_staking/waterx_staking.d.ts +19 -19
- package/dist/src/generated/waterx_staking/waterx_staking.js +10 -20
- package/dist/src/generated/waterx_supra_rule/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/waterx_supra_rule/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/waterx_supra_rule/supra_rule.d.ts +158 -0
- package/dist/src/generated/waterx_supra_rule/supra_rule.js +148 -0
- package/dist/src/generated/withdrawal_queue/deps/bucket_v2_framework/float.d.ts +8 -0
- package/dist/src/generated/withdrawal_queue/deps/bucket_v2_framework/float.js +10 -0
- package/dist/src/generated/withdrawal_queue/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/withdrawal_queue/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/withdrawal_queue/withdrawal_queue.d.ts +444 -4
- package/dist/src/generated/withdrawal_queue/withdrawal_queue.js +417 -4
- package/dist/src/generated/wormhole_bridge/wormhole_bridge.d.ts +214 -74
- package/dist/src/generated/wormhole_bridge/wormhole_bridge.js +158 -29
- package/dist/src/index.d.ts +4 -3
- package/dist/src/index.js +3 -2
- package/dist/src/prediction/account.d.ts +96 -0
- package/dist/src/prediction/account.js +230 -0
- package/dist/src/prediction/admin.d.ts +47 -0
- package/dist/src/prediction/admin.js +105 -0
- package/dist/src/prediction/bcs.d.ts +22 -0
- package/dist/src/prediction/bcs.js +240 -0
- package/dist/src/prediction/client.d.ts +75 -0
- package/dist/src/prediction/client.js +164 -0
- package/dist/src/prediction/config.d.ts +60 -0
- package/dist/src/prediction/config.js +75 -0
- package/dist/src/prediction/constants.d.ts +44 -0
- package/dist/src/prediction/constants.js +46 -0
- package/dist/src/prediction/fetch.d.ts +82 -0
- package/dist/src/prediction/fetch.js +270 -0
- package/dist/src/prediction/generated/bucket_v2_framework/account.d.ts +100 -0
- package/dist/src/prediction/generated/bucket_v2_framework/account.js +129 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/std/type_name.d.ts +6 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/std/type_name.js +19 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_map.js +27 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/bucket_v2_framework/double.d.ts +382 -0
- package/dist/src/prediction/generated/bucket_v2_framework/double.js +466 -0
- package/dist/src/prediction/generated/bucket_v2_framework/float.d.ts +362 -0
- package/dist/src/prediction/generated/bucket_v2_framework/float.js +440 -0
- package/dist/src/prediction/generated/bucket_v2_framework/liability.d.ts +193 -0
- package/dist/src/prediction/generated/bucket_v2_framework/liability.js +205 -0
- package/dist/src/prediction/generated/bucket_v2_framework/linked_table.d.ts +384 -0
- package/dist/src/prediction/generated/bucket_v2_framework/linked_table.js +382 -0
- package/dist/src/prediction/generated/bucket_v2_framework/sheet.d.ts +344 -0
- package/dist/src/prediction/generated/bucket_v2_framework/sheet.js +338 -0
- package/dist/src/prediction/generated/utils/index.d.ts +30 -0
- package/dist/src/prediction/generated/utils/index.js +160 -0
- package/dist/src/prediction/generated/waterx_account/account.d.ts +1589 -0
- package/dist/src/prediction/generated/waterx_account/account.js +1758 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/liability.d.ts +7 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/liability.js +13 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/sheet.d.ts +7 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/sheet.js +16 -0
- package/dist/src/prediction/generated/waterx_account/deps/std/type_name.d.ts +6 -0
- package/dist/src/prediction/generated/waterx_account/deps/std/type_name.js +19 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/object_table.d.ts +12 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/object_table.js +19 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/table.d.ts +24 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/table.js +31 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_map.js +27 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/waterx_account/direct_rule.d.ts +75 -0
- package/dist/src/prediction/generated/waterx_account/direct_rule.js +78 -0
- package/dist/src/prediction/generated/waterx_account/events.d.ts +33 -0
- package/dist/src/prediction/generated/waterx_account/events.js +137 -0
- package/dist/src/prediction/generated/waterx_account/version.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_account/version.js +8 -0
- package/dist/src/prediction/generated/waterx_prediction/account_data.d.ts +327 -0
- package/dist/src/prediction/generated/waterx_prediction/account_data.js +405 -0
- package/dist/src/prediction/generated/waterx_prediction/admin.d.ts +5 -0
- package/dist/src/prediction/generated/waterx_prediction/admin.js +9 -0
- package/dist/src/prediction/generated/waterx_prediction/bet_sharing.d.ts +60 -0
- package/dist/src/prediction/generated/waterx_prediction/bet_sharing.js +83 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.d.ts +8 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.js +18 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/table.d.ts +24 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/table.js +31 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/waterx_prediction/events.d.ts +22 -0
- package/dist/src/prediction/generated/waterx_prediction/events.js +179 -0
- package/dist/src/prediction/generated/waterx_prediction/global_config.d.ts +116 -0
- package/dist/src/prediction/generated/waterx_prediction/global_config.js +141 -0
- package/dist/src/prediction/generated/waterx_prediction/order.d.ts +200 -0
- package/dist/src/prediction/generated/waterx_prediction/order.js +284 -0
- package/dist/src/prediction/generated/waterx_prediction/outcome.d.ts +58 -0
- package/dist/src/prediction/generated/waterx_prediction/outcome.js +73 -0
- package/dist/src/prediction/generated/waterx_prediction/position.d.ts +160 -0
- package/dist/src/prediction/generated/waterx_prediction/position.js +214 -0
- package/dist/src/prediction/generated/waterx_prediction/version.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_prediction/version.js +8 -0
- package/dist/src/prediction/generated/waterx_prediction/view.d.ts +353 -0
- package/dist/src/prediction/generated/waterx_prediction/view.js +432 -0
- package/dist/src/prediction/generated/waterx_prediction/waterx_prediction.d.ts +1698 -0
- package/dist/src/prediction/generated/waterx_prediction/waterx_prediction.js +1733 -0
- package/dist/src/prediction/gift-link.d.ts +6 -0
- package/dist/src/prediction/gift-link.js +5 -0
- package/dist/src/prediction/gift.d.ts +223 -0
- package/dist/src/prediction/gift.js +451 -0
- package/dist/src/prediction/index.d.ts +29 -0
- package/dist/src/prediction/index.js +21 -0
- package/dist/src/prediction/prediction.d.ts +104 -0
- package/dist/src/prediction/prediction.js +317 -0
- package/dist/src/prediction/tx-builders.d.ts +44 -0
- package/dist/src/prediction/tx-builders.js +52 -0
- package/dist/src/prediction/types.d.ts +93 -0
- package/dist/src/prediction/types.js +1 -0
- package/dist/src/prediction/user/account.d.ts +2 -0
- package/dist/src/prediction/user/account.js +1 -0
- package/dist/src/prediction/user/admin.d.ts +6 -0
- package/dist/src/prediction/user/admin.js +3 -0
- package/dist/src/prediction/user/gift.d.ts +2 -0
- package/dist/src/prediction/user/gift.js +1 -0
- package/dist/src/prediction/user/index.d.ts +5 -0
- package/dist/src/prediction/user/index.js +3 -0
- package/dist/src/prediction/user/keeper.d.ts +2 -0
- package/dist/src/prediction/user/keeper.js +1 -0
- package/dist/src/prediction/user/order.d.ts +2 -0
- package/dist/src/prediction/user/order.js +1 -0
- package/dist/src/prediction/user/position.d.ts +2 -0
- package/dist/src/prediction/user/position.js +1 -0
- package/dist/src/prediction/utils/bcs.d.ts +1 -0
- package/dist/src/prediction/utils/bcs.js +1 -0
- package/dist/src/prediction/utils/index.d.ts +1 -0
- package/dist/src/prediction/utils/index.js +1 -0
- package/dist/src/prediction/utils.d.ts +30 -0
- package/dist/src/prediction/utils.js +177 -0
- package/dist/src/sdk.d.ts +18 -0
- package/dist/src/sdk.js +17 -0
- package/dist/src/tx-builders.d.ts +54 -0
- package/dist/src/tx-builders.js +141 -0
- package/dist/src/unified-client.d.ts +407 -0
- package/dist/src/unified-client.js +123 -0
- package/dist/src/user/account.d.ts +27 -0
- package/dist/src/user/account.js +34 -8
- package/dist/src/user/credit.d.ts +8 -14
- package/dist/src/user/credit.js +9 -23
- package/dist/src/user/custody.d.ts +4 -18
- package/dist/src/user/custody.js +14 -25
- package/dist/src/utils/consolidate-balance.d.ts +37 -0
- package/dist/src/utils/consolidate-balance.js +89 -0
- package/dist/src/utils/math.d.ts +86 -0
- package/dist/src/utils/math.js +100 -0
- package/dist/src/utils/pyth.d.ts +35 -3
- package/dist/src/utils/pyth.js +145 -14
- package/package.json +129 -34
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**************************************************************/
|
|
4
4
|
/** Module for floating points */
|
|
5
5
|
import { MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
|
|
6
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
6
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
7
7
|
export declare const Float: MoveStruct<{
|
|
8
8
|
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u128">;
|
|
9
9
|
}, "@bucket/framework::float::Float">;
|
|
@@ -89,270 +89,270 @@ export interface FromScaledValOptions {
|
|
|
89
89
|
}
|
|
90
90
|
export declare function fromScaledVal(options: FromScaledValOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
91
91
|
export interface ToScaledValArguments {
|
|
92
|
-
v:
|
|
92
|
+
v: TransactionArgument;
|
|
93
93
|
}
|
|
94
94
|
export interface ToScaledValOptions {
|
|
95
95
|
package?: string;
|
|
96
96
|
arguments: ToScaledValArguments | [
|
|
97
|
-
v:
|
|
97
|
+
v: TransactionArgument
|
|
98
98
|
];
|
|
99
99
|
}
|
|
100
100
|
export declare function toScaledVal(options: ToScaledValOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
101
101
|
export interface AddArguments {
|
|
102
|
-
a:
|
|
103
|
-
b:
|
|
102
|
+
a: TransactionArgument;
|
|
103
|
+
b: TransactionArgument;
|
|
104
104
|
}
|
|
105
105
|
export interface AddOptions {
|
|
106
106
|
package?: string;
|
|
107
107
|
arguments: AddArguments | [
|
|
108
|
-
a:
|
|
109
|
-
b:
|
|
108
|
+
a: TransactionArgument,
|
|
109
|
+
b: TransactionArgument
|
|
110
110
|
];
|
|
111
111
|
}
|
|
112
112
|
export declare function add(options: AddOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
113
113
|
export interface SubArguments {
|
|
114
|
-
a:
|
|
115
|
-
b:
|
|
114
|
+
a: TransactionArgument;
|
|
115
|
+
b: TransactionArgument;
|
|
116
116
|
}
|
|
117
117
|
export interface SubOptions {
|
|
118
118
|
package?: string;
|
|
119
119
|
arguments: SubArguments | [
|
|
120
|
-
a:
|
|
121
|
-
b:
|
|
120
|
+
a: TransactionArgument,
|
|
121
|
+
b: TransactionArgument
|
|
122
122
|
];
|
|
123
123
|
}
|
|
124
124
|
export declare function sub(options: SubOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
125
125
|
export interface SaturatingSubArguments {
|
|
126
|
-
a:
|
|
127
|
-
b:
|
|
126
|
+
a: TransactionArgument;
|
|
127
|
+
b: TransactionArgument;
|
|
128
128
|
}
|
|
129
129
|
export interface SaturatingSubOptions {
|
|
130
130
|
package?: string;
|
|
131
131
|
arguments: SaturatingSubArguments | [
|
|
132
|
-
a:
|
|
133
|
-
b:
|
|
132
|
+
a: TransactionArgument,
|
|
133
|
+
b: TransactionArgument
|
|
134
134
|
];
|
|
135
135
|
}
|
|
136
136
|
export declare function saturatingSub(options: SaturatingSubOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
137
137
|
export interface MulArguments {
|
|
138
|
-
a:
|
|
139
|
-
b:
|
|
138
|
+
a: TransactionArgument;
|
|
139
|
+
b: TransactionArgument;
|
|
140
140
|
}
|
|
141
141
|
export interface MulOptions {
|
|
142
142
|
package?: string;
|
|
143
143
|
arguments: MulArguments | [
|
|
144
|
-
a:
|
|
145
|
-
b:
|
|
144
|
+
a: TransactionArgument,
|
|
145
|
+
b: TransactionArgument
|
|
146
146
|
];
|
|
147
147
|
}
|
|
148
148
|
export declare function mul(options: MulOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
149
149
|
export interface DivArguments {
|
|
150
|
-
a:
|
|
151
|
-
b:
|
|
150
|
+
a: TransactionArgument;
|
|
151
|
+
b: TransactionArgument;
|
|
152
152
|
}
|
|
153
153
|
export interface DivOptions {
|
|
154
154
|
package?: string;
|
|
155
155
|
arguments: DivArguments | [
|
|
156
|
-
a:
|
|
157
|
-
b:
|
|
156
|
+
a: TransactionArgument,
|
|
157
|
+
b: TransactionArgument
|
|
158
158
|
];
|
|
159
159
|
}
|
|
160
160
|
export declare function div(options: DivOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
161
161
|
export interface AddU64Arguments {
|
|
162
|
-
a:
|
|
162
|
+
a: TransactionArgument;
|
|
163
163
|
b: RawTransactionArgument<number | bigint>;
|
|
164
164
|
}
|
|
165
165
|
export interface AddU64Options {
|
|
166
166
|
package?: string;
|
|
167
167
|
arguments: AddU64Arguments | [
|
|
168
|
-
a:
|
|
168
|
+
a: TransactionArgument,
|
|
169
169
|
b: RawTransactionArgument<number | bigint>
|
|
170
170
|
];
|
|
171
171
|
}
|
|
172
172
|
export declare function addU64(options: AddU64Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
173
173
|
export interface SubU64Arguments {
|
|
174
|
-
a:
|
|
174
|
+
a: TransactionArgument;
|
|
175
175
|
b: RawTransactionArgument<number | bigint>;
|
|
176
176
|
}
|
|
177
177
|
export interface SubU64Options {
|
|
178
178
|
package?: string;
|
|
179
179
|
arguments: SubU64Arguments | [
|
|
180
|
-
a:
|
|
180
|
+
a: TransactionArgument,
|
|
181
181
|
b: RawTransactionArgument<number | bigint>
|
|
182
182
|
];
|
|
183
183
|
}
|
|
184
184
|
export declare function subU64(options: SubU64Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
185
185
|
export interface SaturatingSubU64Arguments {
|
|
186
|
-
a:
|
|
186
|
+
a: TransactionArgument;
|
|
187
187
|
b: RawTransactionArgument<number | bigint>;
|
|
188
188
|
}
|
|
189
189
|
export interface SaturatingSubU64Options {
|
|
190
190
|
package?: string;
|
|
191
191
|
arguments: SaturatingSubU64Arguments | [
|
|
192
|
-
a:
|
|
192
|
+
a: TransactionArgument,
|
|
193
193
|
b: RawTransactionArgument<number | bigint>
|
|
194
194
|
];
|
|
195
195
|
}
|
|
196
196
|
export declare function saturatingSubU64(options: SaturatingSubU64Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
197
197
|
export interface MulU64Arguments {
|
|
198
|
-
a:
|
|
198
|
+
a: TransactionArgument;
|
|
199
199
|
b: RawTransactionArgument<number | bigint>;
|
|
200
200
|
}
|
|
201
201
|
export interface MulU64Options {
|
|
202
202
|
package?: string;
|
|
203
203
|
arguments: MulU64Arguments | [
|
|
204
|
-
a:
|
|
204
|
+
a: TransactionArgument,
|
|
205
205
|
b: RawTransactionArgument<number | bigint>
|
|
206
206
|
];
|
|
207
207
|
}
|
|
208
208
|
export declare function mulU64(options: MulU64Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
209
209
|
export interface DivU64Arguments {
|
|
210
|
-
a:
|
|
210
|
+
a: TransactionArgument;
|
|
211
211
|
b: RawTransactionArgument<number | bigint>;
|
|
212
212
|
}
|
|
213
213
|
export interface DivU64Options {
|
|
214
214
|
package?: string;
|
|
215
215
|
arguments: DivU64Arguments | [
|
|
216
|
-
a:
|
|
216
|
+
a: TransactionArgument,
|
|
217
217
|
b: RawTransactionArgument<number | bigint>
|
|
218
218
|
];
|
|
219
219
|
}
|
|
220
220
|
export declare function divU64(options: DivU64Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
221
221
|
export interface PowArguments {
|
|
222
|
-
b:
|
|
222
|
+
b: TransactionArgument;
|
|
223
223
|
e: RawTransactionArgument<number | bigint>;
|
|
224
224
|
}
|
|
225
225
|
export interface PowOptions {
|
|
226
226
|
package?: string;
|
|
227
227
|
arguments: PowArguments | [
|
|
228
|
-
b:
|
|
228
|
+
b: TransactionArgument,
|
|
229
229
|
e: RawTransactionArgument<number | bigint>
|
|
230
230
|
];
|
|
231
231
|
}
|
|
232
232
|
export declare function pow(options: PowOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
233
233
|
export interface FloorArguments {
|
|
234
|
-
v:
|
|
234
|
+
v: TransactionArgument;
|
|
235
235
|
}
|
|
236
236
|
export interface FloorOptions {
|
|
237
237
|
package?: string;
|
|
238
238
|
arguments: FloorArguments | [
|
|
239
|
-
v:
|
|
239
|
+
v: TransactionArgument
|
|
240
240
|
];
|
|
241
241
|
}
|
|
242
242
|
export declare function floor(options: FloorOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
243
243
|
export interface CeilArguments {
|
|
244
|
-
v:
|
|
244
|
+
v: TransactionArgument;
|
|
245
245
|
}
|
|
246
246
|
export interface CeilOptions {
|
|
247
247
|
package?: string;
|
|
248
248
|
arguments: CeilArguments | [
|
|
249
|
-
v:
|
|
249
|
+
v: TransactionArgument
|
|
250
250
|
];
|
|
251
251
|
}
|
|
252
252
|
export declare function ceil(options: CeilOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
253
253
|
export interface RoundArguments {
|
|
254
|
-
v:
|
|
254
|
+
v: TransactionArgument;
|
|
255
255
|
}
|
|
256
256
|
export interface RoundOptions {
|
|
257
257
|
package?: string;
|
|
258
258
|
arguments: RoundArguments | [
|
|
259
|
-
v:
|
|
259
|
+
v: TransactionArgument
|
|
260
260
|
];
|
|
261
261
|
}
|
|
262
262
|
export declare function round(options: RoundOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
263
263
|
export interface EqArguments {
|
|
264
|
-
a:
|
|
265
|
-
b:
|
|
264
|
+
a: TransactionArgument;
|
|
265
|
+
b: TransactionArgument;
|
|
266
266
|
}
|
|
267
267
|
export interface EqOptions {
|
|
268
268
|
package?: string;
|
|
269
269
|
arguments: EqArguments | [
|
|
270
|
-
a:
|
|
271
|
-
b:
|
|
270
|
+
a: TransactionArgument,
|
|
271
|
+
b: TransactionArgument
|
|
272
272
|
];
|
|
273
273
|
}
|
|
274
274
|
export declare function eq(options: EqOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
275
275
|
export interface GtArguments {
|
|
276
|
-
a:
|
|
277
|
-
b:
|
|
276
|
+
a: TransactionArgument;
|
|
277
|
+
b: TransactionArgument;
|
|
278
278
|
}
|
|
279
279
|
export interface GtOptions {
|
|
280
280
|
package?: string;
|
|
281
281
|
arguments: GtArguments | [
|
|
282
|
-
a:
|
|
283
|
-
b:
|
|
282
|
+
a: TransactionArgument,
|
|
283
|
+
b: TransactionArgument
|
|
284
284
|
];
|
|
285
285
|
}
|
|
286
286
|
export declare function gt(options: GtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
287
287
|
export interface GteArguments {
|
|
288
|
-
a:
|
|
289
|
-
b:
|
|
288
|
+
a: TransactionArgument;
|
|
289
|
+
b: TransactionArgument;
|
|
290
290
|
}
|
|
291
291
|
export interface GteOptions {
|
|
292
292
|
package?: string;
|
|
293
293
|
arguments: GteArguments | [
|
|
294
|
-
a:
|
|
295
|
-
b:
|
|
294
|
+
a: TransactionArgument,
|
|
295
|
+
b: TransactionArgument
|
|
296
296
|
];
|
|
297
297
|
}
|
|
298
298
|
export declare function gte(options: GteOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
299
299
|
export interface LtArguments {
|
|
300
|
-
a:
|
|
301
|
-
b:
|
|
300
|
+
a: TransactionArgument;
|
|
301
|
+
b: TransactionArgument;
|
|
302
302
|
}
|
|
303
303
|
export interface LtOptions {
|
|
304
304
|
package?: string;
|
|
305
305
|
arguments: LtArguments | [
|
|
306
|
-
a:
|
|
307
|
-
b:
|
|
306
|
+
a: TransactionArgument,
|
|
307
|
+
b: TransactionArgument
|
|
308
308
|
];
|
|
309
309
|
}
|
|
310
310
|
export declare function lt(options: LtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
311
311
|
export interface LteArguments {
|
|
312
|
-
a:
|
|
313
|
-
b:
|
|
312
|
+
a: TransactionArgument;
|
|
313
|
+
b: TransactionArgument;
|
|
314
314
|
}
|
|
315
315
|
export interface LteOptions {
|
|
316
316
|
package?: string;
|
|
317
317
|
arguments: LteArguments | [
|
|
318
|
-
a:
|
|
319
|
-
b:
|
|
318
|
+
a: TransactionArgument,
|
|
319
|
+
b: TransactionArgument
|
|
320
320
|
];
|
|
321
321
|
}
|
|
322
322
|
export declare function lte(options: LteOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
323
323
|
export interface MinArguments {
|
|
324
|
-
a:
|
|
325
|
-
b:
|
|
324
|
+
a: TransactionArgument;
|
|
325
|
+
b: TransactionArgument;
|
|
326
326
|
}
|
|
327
327
|
export interface MinOptions {
|
|
328
328
|
package?: string;
|
|
329
329
|
arguments: MinArguments | [
|
|
330
|
-
a:
|
|
331
|
-
b:
|
|
330
|
+
a: TransactionArgument,
|
|
331
|
+
b: TransactionArgument
|
|
332
332
|
];
|
|
333
333
|
}
|
|
334
334
|
export declare function min(options: MinOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
335
335
|
export interface MaxArguments {
|
|
336
|
-
a:
|
|
337
|
-
b:
|
|
336
|
+
a: TransactionArgument;
|
|
337
|
+
b: TransactionArgument;
|
|
338
338
|
}
|
|
339
339
|
export interface MaxOptions {
|
|
340
340
|
package?: string;
|
|
341
341
|
arguments: MaxArguments | [
|
|
342
|
-
a:
|
|
343
|
-
b:
|
|
342
|
+
a: TransactionArgument,
|
|
343
|
+
b: TransactionArgument
|
|
344
344
|
];
|
|
345
345
|
}
|
|
346
346
|
export declare function max(options: MaxOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
347
347
|
export interface DiffArguments {
|
|
348
|
-
a:
|
|
349
|
-
b:
|
|
348
|
+
a: TransactionArgument;
|
|
349
|
+
b: TransactionArgument;
|
|
350
350
|
}
|
|
351
351
|
export interface DiffOptions {
|
|
352
352
|
package?: string;
|
|
353
353
|
arguments: DiffArguments | [
|
|
354
|
-
a:
|
|
355
|
-
b:
|
|
354
|
+
a: TransactionArgument,
|
|
355
|
+
b: TransactionArgument
|
|
356
356
|
];
|
|
357
357
|
}
|
|
358
358
|
export declare function diff(options: DiffOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**************************************************************/
|
|
4
4
|
/** Module for managing Credit and Debt for DeFi protocol usage */
|
|
5
5
|
import { MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
|
|
6
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
6
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
7
7
|
export declare const Credit: MoveStruct<{
|
|
8
8
|
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
9
9
|
}, "@bucket/framework::liability::Credit<phantom T>">;
|
|
@@ -43,12 +43,12 @@ export interface ZeroDebtOptions {
|
|
|
43
43
|
}
|
|
44
44
|
export declare function zeroDebt(options: ZeroDebtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
45
45
|
export interface DestroyZeroCreditArguments {
|
|
46
|
-
credit:
|
|
46
|
+
credit: TransactionArgument;
|
|
47
47
|
}
|
|
48
48
|
export interface DestroyZeroCreditOptions {
|
|
49
49
|
package?: string;
|
|
50
50
|
arguments: DestroyZeroCreditArguments | [
|
|
51
|
-
credit:
|
|
51
|
+
credit: TransactionArgument
|
|
52
52
|
];
|
|
53
53
|
typeArguments: [
|
|
54
54
|
string
|
|
@@ -56,12 +56,12 @@ export interface DestroyZeroCreditOptions {
|
|
|
56
56
|
}
|
|
57
57
|
export declare function destroyZeroCredit(options: DestroyZeroCreditOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
58
58
|
export interface DestroyZeroDebtArguments {
|
|
59
|
-
debt:
|
|
59
|
+
debt: TransactionArgument;
|
|
60
60
|
}
|
|
61
61
|
export interface DestroyZeroDebtOptions {
|
|
62
62
|
package?: string;
|
|
63
63
|
arguments: DestroyZeroDebtArguments | [
|
|
64
|
-
debt:
|
|
64
|
+
debt: TransactionArgument
|
|
65
65
|
];
|
|
66
66
|
typeArguments: [
|
|
67
67
|
string
|
|
@@ -69,14 +69,14 @@ export interface DestroyZeroDebtOptions {
|
|
|
69
69
|
}
|
|
70
70
|
export declare function destroyZeroDebt(options: DestroyZeroDebtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
71
71
|
export interface AddCreditArguments {
|
|
72
|
-
self:
|
|
73
|
-
credit:
|
|
72
|
+
self: TransactionArgument;
|
|
73
|
+
credit: TransactionArgument;
|
|
74
74
|
}
|
|
75
75
|
export interface AddCreditOptions {
|
|
76
76
|
package?: string;
|
|
77
77
|
arguments: AddCreditArguments | [
|
|
78
|
-
self:
|
|
79
|
-
credit:
|
|
78
|
+
self: TransactionArgument,
|
|
79
|
+
credit: TransactionArgument
|
|
80
80
|
];
|
|
81
81
|
typeArguments: [
|
|
82
82
|
string
|
|
@@ -84,14 +84,14 @@ export interface AddCreditOptions {
|
|
|
84
84
|
}
|
|
85
85
|
export declare function addCredit(options: AddCreditOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
86
86
|
export interface AddDebtArguments {
|
|
87
|
-
self:
|
|
88
|
-
debt:
|
|
87
|
+
self: TransactionArgument;
|
|
88
|
+
debt: TransactionArgument;
|
|
89
89
|
}
|
|
90
90
|
export interface AddDebtOptions {
|
|
91
91
|
package?: string;
|
|
92
92
|
arguments: AddDebtArguments | [
|
|
93
|
-
self:
|
|
94
|
-
debt:
|
|
93
|
+
self: TransactionArgument,
|
|
94
|
+
debt: TransactionArgument
|
|
95
95
|
];
|
|
96
96
|
typeArguments: [
|
|
97
97
|
string
|
|
@@ -99,14 +99,14 @@ export interface AddDebtOptions {
|
|
|
99
99
|
}
|
|
100
100
|
export declare function addDebt(options: AddDebtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
101
101
|
export interface AutoSettleArguments {
|
|
102
|
-
credit:
|
|
103
|
-
debt:
|
|
102
|
+
credit: TransactionArgument;
|
|
103
|
+
debt: TransactionArgument;
|
|
104
104
|
}
|
|
105
105
|
export interface AutoSettleOptions {
|
|
106
106
|
package?: string;
|
|
107
107
|
arguments: AutoSettleArguments | [
|
|
108
|
-
credit:
|
|
109
|
-
debt:
|
|
108
|
+
credit: TransactionArgument,
|
|
109
|
+
debt: TransactionArgument
|
|
110
110
|
];
|
|
111
111
|
typeArguments: [
|
|
112
112
|
string
|
|
@@ -114,14 +114,14 @@ export interface AutoSettleOptions {
|
|
|
114
114
|
}
|
|
115
115
|
export declare function autoSettle(options: AutoSettleOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
116
116
|
export interface SettleDebtArguments {
|
|
117
|
-
credit:
|
|
118
|
-
debt:
|
|
117
|
+
credit: TransactionArgument;
|
|
118
|
+
debt: TransactionArgument;
|
|
119
119
|
}
|
|
120
120
|
export interface SettleDebtOptions {
|
|
121
121
|
package?: string;
|
|
122
122
|
arguments: SettleDebtArguments | [
|
|
123
|
-
credit:
|
|
124
|
-
debt:
|
|
123
|
+
credit: TransactionArgument,
|
|
124
|
+
debt: TransactionArgument
|
|
125
125
|
];
|
|
126
126
|
typeArguments: [
|
|
127
127
|
string
|
|
@@ -129,14 +129,14 @@ export interface SettleDebtOptions {
|
|
|
129
129
|
}
|
|
130
130
|
export declare function settleDebt(options: SettleDebtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
131
131
|
export interface SettleCreditArguments {
|
|
132
|
-
debt:
|
|
133
|
-
credit:
|
|
132
|
+
debt: TransactionArgument;
|
|
133
|
+
credit: TransactionArgument;
|
|
134
134
|
}
|
|
135
135
|
export interface SettleCreditOptions {
|
|
136
136
|
package?: string;
|
|
137
137
|
arguments: SettleCreditArguments | [
|
|
138
|
-
debt:
|
|
139
|
-
credit:
|
|
138
|
+
debt: TransactionArgument,
|
|
139
|
+
credit: TransactionArgument
|
|
140
140
|
];
|
|
141
141
|
typeArguments: [
|
|
142
142
|
string
|
|
@@ -144,12 +144,12 @@ export interface SettleCreditOptions {
|
|
|
144
144
|
}
|
|
145
145
|
export declare function settleCredit(options: SettleCreditOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
146
146
|
export interface CreditValueArguments {
|
|
147
|
-
credit:
|
|
147
|
+
credit: TransactionArgument;
|
|
148
148
|
}
|
|
149
149
|
export interface CreditValueOptions {
|
|
150
150
|
package?: string;
|
|
151
151
|
arguments: CreditValueArguments | [
|
|
152
|
-
credit:
|
|
152
|
+
credit: TransactionArgument
|
|
153
153
|
];
|
|
154
154
|
typeArguments: [
|
|
155
155
|
string
|
|
@@ -157,12 +157,12 @@ export interface CreditValueOptions {
|
|
|
157
157
|
}
|
|
158
158
|
export declare function creditValue(options: CreditValueOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
159
159
|
export interface DebtValueArguments {
|
|
160
|
-
debt:
|
|
160
|
+
debt: TransactionArgument;
|
|
161
161
|
}
|
|
162
162
|
export interface DebtValueOptions {
|
|
163
163
|
package?: string;
|
|
164
164
|
arguments: DebtValueArguments | [
|
|
165
|
-
debt:
|
|
165
|
+
debt: TransactionArgument
|
|
166
166
|
];
|
|
167
167
|
typeArguments: [
|
|
168
168
|
string
|
|
@@ -170,12 +170,12 @@ export interface DebtValueOptions {
|
|
|
170
170
|
}
|
|
171
171
|
export declare function debtValue(options: DebtValueOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
172
172
|
export interface DestroyCreditForTestingArguments {
|
|
173
|
-
credit:
|
|
173
|
+
credit: TransactionArgument;
|
|
174
174
|
}
|
|
175
175
|
export interface DestroyCreditForTestingOptions {
|
|
176
176
|
package?: string;
|
|
177
177
|
arguments: DestroyCreditForTestingArguments | [
|
|
178
|
-
credit:
|
|
178
|
+
credit: TransactionArgument
|
|
179
179
|
];
|
|
180
180
|
typeArguments: [
|
|
181
181
|
string
|
|
@@ -183,12 +183,12 @@ export interface DestroyCreditForTestingOptions {
|
|
|
183
183
|
}
|
|
184
184
|
export declare function destroyCreditForTesting(options: DestroyCreditForTestingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
185
185
|
export interface DestroyDebtForTestingArguments {
|
|
186
|
-
debt:
|
|
186
|
+
debt: TransactionArgument;
|
|
187
187
|
}
|
|
188
188
|
export interface DestroyDebtForTestingOptions {
|
|
189
189
|
package?: string;
|
|
190
190
|
arguments: DestroyDebtForTestingArguments | [
|
|
191
|
-
debt:
|
|
191
|
+
debt: TransactionArgument
|
|
192
192
|
];
|
|
193
193
|
typeArguments: [
|
|
194
194
|
string
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**************************************************************/
|
|
4
4
|
import { type BcsType } from '@mysten/sui/bcs';
|
|
5
5
|
import { MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
|
|
6
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
6
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
7
7
|
export declare function LinkedTable<K extends BcsType<any>>(...typeParameters: [
|
|
8
8
|
K
|
|
9
9
|
]): MoveStruct<any, any>;
|
|
@@ -336,7 +336,7 @@ export interface DropOptions {
|
|
|
336
336
|
export declare function drop(options: DropOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
337
337
|
export interface InsertFrontArguments<K extends BcsType<any>, V extends BcsType<any>> {
|
|
338
338
|
table: RawTransactionArgument<string>;
|
|
339
|
-
nextK:
|
|
339
|
+
nextK: TransactionArgument;
|
|
340
340
|
k: RawTransactionArgument<K>;
|
|
341
341
|
value: RawTransactionArgument<V>;
|
|
342
342
|
}
|
|
@@ -344,7 +344,7 @@ export interface InsertFrontOptions<K extends BcsType<any>, V extends BcsType<an
|
|
|
344
344
|
package?: string;
|
|
345
345
|
arguments: InsertFrontArguments<K, V> | [
|
|
346
346
|
table: RawTransactionArgument<string>,
|
|
347
|
-
nextK:
|
|
347
|
+
nextK: TransactionArgument,
|
|
348
348
|
k: RawTransactionArgument<K>,
|
|
349
349
|
value: RawTransactionArgument<V>
|
|
350
350
|
];
|
|
@@ -360,7 +360,7 @@ export interface InsertFrontOptions<K extends BcsType<any>, V extends BcsType<an
|
|
|
360
360
|
export declare function insertFront<K extends BcsType<any>, V extends BcsType<any>>(options: InsertFrontOptions<K, V>): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
361
361
|
export interface InsertBackArguments<K extends BcsType<any>, V extends BcsType<any>> {
|
|
362
362
|
table: RawTransactionArgument<string>;
|
|
363
|
-
prevK:
|
|
363
|
+
prevK: TransactionArgument;
|
|
364
364
|
k: RawTransactionArgument<K>;
|
|
365
365
|
value: RawTransactionArgument<V>;
|
|
366
366
|
}
|
|
@@ -368,7 +368,7 @@ export interface InsertBackOptions<K extends BcsType<any>, V extends BcsType<any
|
|
|
368
368
|
package?: string;
|
|
369
369
|
arguments: InsertBackArguments<K, V> | [
|
|
370
370
|
table: RawTransactionArgument<string>,
|
|
371
|
-
prevK:
|
|
371
|
+
prevK: TransactionArgument,
|
|
372
372
|
k: RawTransactionArgument<K>,
|
|
373
373
|
value: RawTransactionArgument<V>
|
|
374
374
|
];
|
|
@@ -346,7 +346,7 @@ export function insertFront(options) {
|
|
|
346
346
|
const packageAddress = options.package ?? '@bucket/framework';
|
|
347
347
|
const argumentsTypes = [
|
|
348
348
|
null,
|
|
349
|
-
|
|
349
|
+
null,
|
|
350
350
|
`${options.typeArguments[0]}`,
|
|
351
351
|
`${options.typeArguments[1]}`
|
|
352
352
|
];
|
|
@@ -367,7 +367,7 @@ export function insertBack(options) {
|
|
|
367
367
|
const packageAddress = options.package ?? '@bucket/framework';
|
|
368
368
|
const argumentsTypes = [
|
|
369
369
|
null,
|
|
370
|
-
|
|
370
|
+
null,
|
|
371
371
|
`${options.typeArguments[0]}`,
|
|
372
372
|
`${options.typeArguments[1]}`
|
|
373
373
|
];
|