@waterx/predict-sdk 0.1.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/LICENSE +22 -0
- package/README.md +67 -0
- package/dist/src/account.d.ts +64 -0
- package/dist/src/account.js +134 -0
- package/dist/src/admin.d.ts +47 -0
- package/dist/src/admin.js +104 -0
- package/dist/src/bcs.d.ts +20 -0
- package/dist/src/bcs.js +209 -0
- package/dist/src/client.d.ts +60 -0
- package/dist/src/client.js +59 -0
- package/dist/src/constants.d.ts +61 -0
- package/dist/src/constants.js +62 -0
- package/dist/src/fetch.d.ts +53 -0
- package/dist/src/fetch.js +187 -0
- package/dist/src/generated/bucket_v2_framework/account.d.ts +100 -0
- package/dist/src/generated/bucket_v2_framework/account.js +129 -0
- package/dist/src/generated/bucket_v2_framework/deps/std/type_name.d.ts +6 -0
- package/dist/src/generated/bucket_v2_framework/deps/std/type_name.js +19 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/balance.d.ts +10 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/balance.js +14 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/generated/bucket_v2_framework/deps/sui/vec_set.js +19 -0
- package/dist/src/generated/bucket_v2_framework/double.d.ts +382 -0
- package/dist/src/generated/bucket_v2_framework/double.js +466 -0
- package/dist/src/generated/bucket_v2_framework/float.d.ts +362 -0
- package/dist/src/generated/bucket_v2_framework/float.js +440 -0
- package/dist/src/generated/bucket_v2_framework/liability.d.ts +193 -0
- package/dist/src/generated/bucket_v2_framework/liability.js +205 -0
- package/dist/src/generated/bucket_v2_framework/linked_table.d.ts +384 -0
- package/dist/src/generated/bucket_v2_framework/linked_table.js +382 -0
- package/dist/src/generated/bucket_v2_framework/sheet.d.ts +344 -0
- package/dist/src/generated/bucket_v2_framework/sheet.js +344 -0
- package/dist/src/generated/utils/index.d.ts +30 -0
- package/dist/src/generated/utils/index.js +157 -0
- package/dist/src/generated/waterx_account/account.d.ts +1326 -0
- package/dist/src/generated/waterx_account/account.js +1487 -0
- package/dist/src/generated/waterx_account/deps/std/type_name.d.ts +6 -0
- package/dist/src/generated/waterx_account/deps/std/type_name.js +19 -0
- package/dist/src/generated/waterx_account/deps/sui/balance.d.ts +10 -0
- package/dist/src/generated/waterx_account/deps/sui/balance.js +14 -0
- package/dist/src/generated/waterx_account/deps/sui/table.d.ts +24 -0
- package/dist/src/generated/waterx_account/deps/sui/table.js +31 -0
- package/dist/src/generated/waterx_account/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/waterx_account/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/waterx_account/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/generated/waterx_account/deps/sui/vec_set.js +19 -0
- package/dist/src/generated/waterx_account/direct_rule.d.ts +72 -0
- package/dist/src/generated/waterx_account/direct_rule.js +75 -0
- package/dist/src/generated/waterx_account/events.d.ts +30 -0
- package/dist/src/generated/waterx_account/events.js +145 -0
- package/dist/src/generated/waterx_account/version.d.ts +10 -0
- package/dist/src/generated/waterx_account/version.js +8 -0
- package/dist/src/generated/waterx_prediction/account_data.d.ts +321 -0
- package/dist/src/generated/waterx_prediction/account_data.js +399 -0
- package/dist/src/generated/waterx_prediction/admin.d.ts +5 -0
- package/dist/src/generated/waterx_prediction/admin.js +9 -0
- package/dist/src/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.d.ts +8 -0
- package/dist/src/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.js +18 -0
- package/dist/src/generated/waterx_prediction/deps/sui/balance.d.ts +10 -0
- package/dist/src/generated/waterx_prediction/deps/sui/balance.js +14 -0
- package/dist/src/generated/waterx_prediction/deps/sui/table.d.ts +24 -0
- package/dist/src/generated/waterx_prediction/deps/sui/table.js +31 -0
- package/dist/src/generated/waterx_prediction/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/generated/waterx_prediction/deps/sui/vec_set.js +19 -0
- package/dist/src/generated/waterx_prediction/events.d.ts +19 -0
- package/dist/src/generated/waterx_prediction/events.js +99 -0
- package/dist/src/generated/waterx_prediction/global_config.d.ts +68 -0
- package/dist/src/generated/waterx_prediction/global_config.js +83 -0
- package/dist/src/generated/waterx_prediction/order.d.ts +170 -0
- package/dist/src/generated/waterx_prediction/order.js +237 -0
- package/dist/src/generated/waterx_prediction/outcome.d.ts +58 -0
- package/dist/src/generated/waterx_prediction/outcome.js +73 -0
- package/dist/src/generated/waterx_prediction/position.d.ts +150 -0
- package/dist/src/generated/waterx_prediction/position.js +200 -0
- package/dist/src/generated/waterx_prediction/view.d.ts +353 -0
- package/dist/src/generated/waterx_prediction/view.js +426 -0
- package/dist/src/generated/waterx_prediction/waterx_prediction.d.ts +1520 -0
- package/dist/src/generated/waterx_prediction/waterx_prediction.js +1550 -0
- package/dist/src/index.d.ts +22 -0
- package/dist/src/index.js +17 -0
- package/dist/src/prediction.d.ts +81 -0
- package/dist/src/prediction.js +220 -0
- package/dist/src/types.d.ts +81 -0
- package/dist/src/types.js +1 -0
- package/dist/src/user/account.d.ts +2 -0
- package/dist/src/user/account.js +1 -0
- package/dist/src/user/admin.d.ts +4 -0
- package/dist/src/user/admin.js +2 -0
- package/dist/src/user/index.d.ts +4 -0
- package/dist/src/user/index.js +2 -0
- package/dist/src/user/keeper.d.ts +2 -0
- package/dist/src/user/keeper.js +1 -0
- package/dist/src/user/order.d.ts +2 -0
- package/dist/src/user/order.js +1 -0
- package/dist/src/user/position.d.ts +2 -0
- package/dist/src/user/position.js +1 -0
- package/dist/src/utils/bcs.d.ts +1 -0
- package/dist/src/utils/bcs.js +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.js +1 -0
- package/dist/src/utils.d.ts +29 -0
- package/dist/src/utils.js +170 -0
- package/package.json +62 -0
|
@@ -0,0 +1,1520 @@
|
|
|
1
|
+
/**************************************************************
|
|
2
|
+
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
+
**************************************************************/
|
|
4
|
+
import { MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
|
|
5
|
+
import { type Transaction } from '@mysten/sui/transactions';
|
|
6
|
+
export declare const MarketRegistry: MoveStruct<any, any>;
|
|
7
|
+
export declare const Market: MoveStruct<any, any>;
|
|
8
|
+
export declare const MarketPointer: MoveStruct<any, any>;
|
|
9
|
+
export interface CreateMarketRegistryArguments {
|
|
10
|
+
_: RawTransactionArgument<string>;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateMarketRegistryOptions {
|
|
13
|
+
package?: string;
|
|
14
|
+
arguments: CreateMarketRegistryArguments | [
|
|
15
|
+
_: RawTransactionArgument<string>
|
|
16
|
+
];
|
|
17
|
+
typeArguments: [
|
|
18
|
+
string
|
|
19
|
+
];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Admin-only: spin up the shared market registry object for coin type `T`. All
|
|
23
|
+
* markets for this coin type should settle through this object.
|
|
24
|
+
*/
|
|
25
|
+
export declare function createMarketRegistry(options: CreateMarketRegistryOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
26
|
+
export interface PlaceOrderArguments {
|
|
27
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
28
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
29
|
+
senderRequest: RawTransactionArgument<string>;
|
|
30
|
+
accountId: RawTransactionArgument<string>;
|
|
31
|
+
maxSpend: RawTransactionArgument<number | bigint>;
|
|
32
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
33
|
+
selection: RawTransactionArgument<string>;
|
|
34
|
+
minShares: RawTransactionArgument<number | bigint>;
|
|
35
|
+
priceCap: RawTransactionArgument<number | bigint>;
|
|
36
|
+
expiryTs: RawTransactionArgument<number | bigint>;
|
|
37
|
+
}
|
|
38
|
+
export interface PlaceOrderOptions {
|
|
39
|
+
package?: string;
|
|
40
|
+
arguments: PlaceOrderArguments | [
|
|
41
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
42
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
43
|
+
senderRequest: RawTransactionArgument<string>,
|
|
44
|
+
accountId: RawTransactionArgument<string>,
|
|
45
|
+
maxSpend: RawTransactionArgument<number | bigint>,
|
|
46
|
+
marketId: RawTransactionArgument<Array<number>>,
|
|
47
|
+
selection: RawTransactionArgument<string>,
|
|
48
|
+
minShares: RawTransactionArgument<number | bigint>,
|
|
49
|
+
priceCap: RawTransactionArgument<number | bigint>,
|
|
50
|
+
expiryTs: RawTransactionArgument<number | bigint>
|
|
51
|
+
];
|
|
52
|
+
typeArguments: [
|
|
53
|
+
string
|
|
54
|
+
];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Account-backed variant: debits `max_spend` from `account_id` in
|
|
58
|
+
* `waterx_account`, opens the position, and records the account as the
|
|
59
|
+
* payout/refund target.
|
|
60
|
+
*/
|
|
61
|
+
export declare function placeOrder(options: PlaceOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
62
|
+
export interface SelfCancelOrderArguments {
|
|
63
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
64
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
65
|
+
senderRequest: RawTransactionArgument<string>;
|
|
66
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
67
|
+
}
|
|
68
|
+
export interface SelfCancelOrderOptions {
|
|
69
|
+
package?: string;
|
|
70
|
+
arguments: SelfCancelOrderArguments | [
|
|
71
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
72
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
73
|
+
senderRequest: RawTransactionArgument<string>,
|
|
74
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
75
|
+
];
|
|
76
|
+
typeArguments: [
|
|
77
|
+
string
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Account-backed rescue for a stuck open order. Refunds go back into the
|
|
82
|
+
* waterx_account stored balance.
|
|
83
|
+
*/
|
|
84
|
+
export declare function selfCancelOrder(options: SelfCancelOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
85
|
+
export interface ClaimArguments {
|
|
86
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
87
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
88
|
+
senderRequest: RawTransactionArgument<string>;
|
|
89
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
90
|
+
}
|
|
91
|
+
export interface ClaimOptions {
|
|
92
|
+
package?: string;
|
|
93
|
+
arguments: ClaimArguments | [
|
|
94
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
95
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
96
|
+
senderRequest: RawTransactionArgument<string>,
|
|
97
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
98
|
+
];
|
|
99
|
+
typeArguments: [
|
|
100
|
+
string
|
|
101
|
+
];
|
|
102
|
+
}
|
|
103
|
+
/** Account-backed claim. Payout is credited to the owning waterx_account balance. */
|
|
104
|
+
export declare function claim(options: ClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
105
|
+
export interface RequestCloseArguments {
|
|
106
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
107
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
108
|
+
senderRequest: RawTransactionArgument<string>;
|
|
109
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
110
|
+
minProceeds: RawTransactionArgument<number | bigint>;
|
|
111
|
+
expiryTs: RawTransactionArgument<number | bigint>;
|
|
112
|
+
}
|
|
113
|
+
export interface RequestCloseOptions {
|
|
114
|
+
package?: string;
|
|
115
|
+
arguments: RequestCloseArguments | [
|
|
116
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
117
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
118
|
+
senderRequest: RawTransactionArgument<string>,
|
|
119
|
+
positionId: RawTransactionArgument<number | bigint>,
|
|
120
|
+
minProceeds: RawTransactionArgument<number | bigint>,
|
|
121
|
+
expiryTs: RawTransactionArgument<number | bigint>
|
|
122
|
+
];
|
|
123
|
+
typeArguments: [
|
|
124
|
+
string
|
|
125
|
+
];
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Account-backed close request. Auth is checked against the owning waterx_account.
|
|
129
|
+
* The position is locked in PendingClose until a keeper confirms the sell, a
|
|
130
|
+
* keeper cancels it, or the user self-cancels past `self_cancel_after_ts`. Aborts
|
|
131
|
+
* if the market has already resolved.
|
|
132
|
+
*/
|
|
133
|
+
export declare function requestClose(options: RequestCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
134
|
+
export interface SelfCancelCloseArguments {
|
|
135
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
136
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
137
|
+
senderRequest: RawTransactionArgument<string>;
|
|
138
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
139
|
+
}
|
|
140
|
+
export interface SelfCancelCloseOptions {
|
|
141
|
+
package?: string;
|
|
142
|
+
arguments: SelfCancelCloseArguments | [
|
|
143
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
144
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
145
|
+
senderRequest: RawTransactionArgument<string>,
|
|
146
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
147
|
+
];
|
|
148
|
+
typeArguments: [
|
|
149
|
+
string
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
/** Account-backed PendingClose rescue. Reverts the position to Open. */
|
|
153
|
+
export declare function selfCancelClose(options: SelfCancelCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
154
|
+
export interface AdminPlaceOrderForArguments {
|
|
155
|
+
_: RawTransactionArgument<string>;
|
|
156
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
157
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
158
|
+
payment: RawTransactionArgument<string>;
|
|
159
|
+
accountId: RawTransactionArgument<string>;
|
|
160
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
161
|
+
selection: RawTransactionArgument<string>;
|
|
162
|
+
minShares: RawTransactionArgument<number | bigint>;
|
|
163
|
+
priceCap: RawTransactionArgument<number | bigint>;
|
|
164
|
+
expiryTs: RawTransactionArgument<number | bigint>;
|
|
165
|
+
}
|
|
166
|
+
export interface AdminPlaceOrderForOptions {
|
|
167
|
+
package?: string;
|
|
168
|
+
arguments: AdminPlaceOrderForArguments | [
|
|
169
|
+
_: RawTransactionArgument<string>,
|
|
170
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
171
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
172
|
+
payment: RawTransactionArgument<string>,
|
|
173
|
+
accountId: RawTransactionArgument<string>,
|
|
174
|
+
marketId: RawTransactionArgument<Array<number>>,
|
|
175
|
+
selection: RawTransactionArgument<string>,
|
|
176
|
+
minShares: RawTransactionArgument<number | bigint>,
|
|
177
|
+
priceCap: RawTransactionArgument<number | bigint>,
|
|
178
|
+
expiryTs: RawTransactionArgument<number | bigint>
|
|
179
|
+
];
|
|
180
|
+
typeArguments: [
|
|
181
|
+
string
|
|
182
|
+
];
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Admin-funded account position. The admin supplies the payment coin, while future
|
|
186
|
+
* user exits and admin refunds/claims return value to `account_id` in
|
|
187
|
+
* `waterx_account`.
|
|
188
|
+
*/
|
|
189
|
+
export declare function adminPlaceOrderFor(options: AdminPlaceOrderForOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
190
|
+
export interface FillOrderArguments {
|
|
191
|
+
globalConfig: RawTransactionArgument<string>;
|
|
192
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
193
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
194
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
195
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
196
|
+
filledShares: RawTransactionArgument<number | bigint>;
|
|
197
|
+
filledCost: RawTransactionArgument<number | bigint>;
|
|
198
|
+
}
|
|
199
|
+
export interface FillOrderOptions {
|
|
200
|
+
package?: string;
|
|
201
|
+
arguments: FillOrderArguments | [
|
|
202
|
+
globalConfig: RawTransactionArgument<string>,
|
|
203
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
204
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
205
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
206
|
+
orderId: RawTransactionArgument<number | bigint>,
|
|
207
|
+
filledShares: RawTransactionArgument<number | bigint>,
|
|
208
|
+
filledCost: RawTransactionArgument<number | bigint>
|
|
209
|
+
];
|
|
210
|
+
typeArguments: [
|
|
211
|
+
string
|
|
212
|
+
];
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Keeper reports the Polymarket fill back to chain. Account-backed fill
|
|
216
|
+
* confirmation. Any unspent max_spend is credited back to the order's
|
|
217
|
+
* waterx_account, then `position_id = order_id` is created.
|
|
218
|
+
*/
|
|
219
|
+
export declare function fillOrder(options: FillOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
220
|
+
export interface CancelOrderArguments {
|
|
221
|
+
globalConfig: RawTransactionArgument<string>;
|
|
222
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
223
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
224
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
225
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
226
|
+
}
|
|
227
|
+
export interface CancelOrderOptions {
|
|
228
|
+
package?: string;
|
|
229
|
+
arguments: CancelOrderArguments | [
|
|
230
|
+
globalConfig: RawTransactionArgument<string>,
|
|
231
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
232
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
233
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
234
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
235
|
+
];
|
|
236
|
+
typeArguments: [
|
|
237
|
+
string
|
|
238
|
+
];
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Keeper-initiated cancel. Used when Polymarket couldn't fill at all.
|
|
242
|
+
* Account-backed keeper cancel. Full refund is credited to the owning
|
|
243
|
+
* waterx_account.
|
|
244
|
+
*/
|
|
245
|
+
export declare function cancelOrder(options: CancelOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
246
|
+
export interface ConfirmCloseArguments {
|
|
247
|
+
globalConfig: RawTransactionArgument<string>;
|
|
248
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
249
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
250
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
251
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
252
|
+
proceeds: RawTransactionArgument<number | bigint>;
|
|
253
|
+
}
|
|
254
|
+
export interface ConfirmCloseOptions {
|
|
255
|
+
package?: string;
|
|
256
|
+
arguments: ConfirmCloseArguments | [
|
|
257
|
+
globalConfig: RawTransactionArgument<string>,
|
|
258
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
259
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
260
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
261
|
+
positionId: RawTransactionArgument<number | bigint>,
|
|
262
|
+
proceeds: RawTransactionArgument<number | bigint>
|
|
263
|
+
];
|
|
264
|
+
typeArguments: [
|
|
265
|
+
string
|
|
266
|
+
];
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Keeper reports the Polymarket sell back to chain. Pays user `proceeds` and
|
|
270
|
+
* closes the position. Aborts if `proceeds < close_min_proceeds`. Account-backed
|
|
271
|
+
* close confirmation. Proceeds are credited to the owning waterx_account.
|
|
272
|
+
*/
|
|
273
|
+
export declare function confirmClose(options: ConfirmCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
274
|
+
export interface CancelCloseArguments {
|
|
275
|
+
globalConfig: RawTransactionArgument<string>;
|
|
276
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
277
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
278
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
279
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
280
|
+
}
|
|
281
|
+
export interface CancelCloseOptions {
|
|
282
|
+
package?: string;
|
|
283
|
+
arguments: CancelCloseArguments | [
|
|
284
|
+
globalConfig: RawTransactionArgument<string>,
|
|
285
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
286
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
287
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
288
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
289
|
+
];
|
|
290
|
+
typeArguments: [
|
|
291
|
+
string
|
|
292
|
+
];
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Keeper-initiated cancel of a PendingClose request. Used when the
|
|
296
|
+
* waterx_prediction couldn't sell on Polymarket. Reverts position to Open — shares
|
|
297
|
+
* are intact.
|
|
298
|
+
*/
|
|
299
|
+
export declare function cancelClose(options: CancelCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
300
|
+
export interface ForceClaimArguments {
|
|
301
|
+
globalConfig: RawTransactionArgument<string>;
|
|
302
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
303
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
304
|
+
wxaRegistry: RawTransactionArgument<string>;
|
|
305
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
306
|
+
}
|
|
307
|
+
export interface ForceClaimOptions {
|
|
308
|
+
package?: string;
|
|
309
|
+
arguments: ForceClaimArguments | [
|
|
310
|
+
globalConfig: RawTransactionArgument<string>,
|
|
311
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
312
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
313
|
+
wxaRegistry: RawTransactionArgument<string>,
|
|
314
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
315
|
+
];
|
|
316
|
+
typeArguments: [
|
|
317
|
+
string
|
|
318
|
+
];
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Keeper settles a position for the owning waterx_account. Same payout math as
|
|
322
|
+
* `claim`; keeper just pays the gas.
|
|
323
|
+
*
|
|
324
|
+
* Two main use cases:
|
|
325
|
+
*
|
|
326
|
+
* 1. **Batch payout distribution** — after `resolve_market`, chain multiple
|
|
327
|
+
* `force_claim` calls in one PTB to settle every position on that market in a
|
|
328
|
+
* single tx. Users get paid without spending gas.
|
|
329
|
+
* 2. **Zombie cleanup** - losing-side positions where payout = 0 give the account
|
|
330
|
+
* no incentive to call `claim`. Force-claim removes the position while leaving
|
|
331
|
+
* market metadata available for indexed queries.
|
|
332
|
+
*
|
|
333
|
+
* Only operates on open positions. Pending open orders and pending close orders
|
|
334
|
+
* have their own resolution paths (`fill_order` / `confirm_close`). Account-backed
|
|
335
|
+
* keeper claim. Used for gas-sponsored settlement and zombie cleanup when the
|
|
336
|
+
* position belongs to a waterx_account.
|
|
337
|
+
*/
|
|
338
|
+
export declare function forceClaim(options: ForceClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
339
|
+
export interface DepositSettlementArguments {
|
|
340
|
+
_: RawTransactionArgument<string>;
|
|
341
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
342
|
+
payment: RawTransactionArgument<string>;
|
|
343
|
+
}
|
|
344
|
+
export interface DepositSettlementOptions {
|
|
345
|
+
package?: string;
|
|
346
|
+
arguments: DepositSettlementArguments | [
|
|
347
|
+
_: RawTransactionArgument<string>,
|
|
348
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
349
|
+
payment: RawTransactionArgument<string>
|
|
350
|
+
];
|
|
351
|
+
typeArguments: [
|
|
352
|
+
string
|
|
353
|
+
];
|
|
354
|
+
}
|
|
355
|
+
export declare function depositSettlement(options: DepositSettlementOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
356
|
+
export interface AdminWithdrawArguments {
|
|
357
|
+
_: RawTransactionArgument<string>;
|
|
358
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
359
|
+
amount: RawTransactionArgument<number | bigint>;
|
|
360
|
+
recipient: RawTransactionArgument<string>;
|
|
361
|
+
}
|
|
362
|
+
export interface AdminWithdrawOptions {
|
|
363
|
+
package?: string;
|
|
364
|
+
arguments: AdminWithdrawArguments | [
|
|
365
|
+
_: RawTransactionArgument<string>,
|
|
366
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
367
|
+
amount: RawTransactionArgument<number | bigint>,
|
|
368
|
+
recipient: RawTransactionArgument<string>
|
|
369
|
+
];
|
|
370
|
+
typeArguments: [
|
|
371
|
+
string
|
|
372
|
+
];
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Admin pulls capital out of the market_registry — used to realise
|
|
376
|
+
* waterx_prediction spread/profit or rebalance working capital. Aborts if the
|
|
377
|
+
* post-balance would dip below `min_reserve`, providing a kill-switch against
|
|
378
|
+
* accidental drains.
|
|
379
|
+
*/
|
|
380
|
+
export declare function adminWithdraw(options: AdminWithdrawOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
381
|
+
export interface SetMinReserveArguments {
|
|
382
|
+
_: RawTransactionArgument<string>;
|
|
383
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
384
|
+
newReserve: RawTransactionArgument<number | bigint>;
|
|
385
|
+
}
|
|
386
|
+
export interface SetMinReserveOptions {
|
|
387
|
+
package?: string;
|
|
388
|
+
arguments: SetMinReserveArguments | [
|
|
389
|
+
_: RawTransactionArgument<string>,
|
|
390
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
391
|
+
newReserve: RawTransactionArgument<number | bigint>
|
|
392
|
+
];
|
|
393
|
+
typeArguments: [
|
|
394
|
+
string
|
|
395
|
+
];
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Admin sets the minimum reserve floor. Future `admin_withdraw` calls abort if
|
|
399
|
+
* they would leave `market_registry.balance` below this. Does NOT block user
|
|
400
|
+
* payouts — `claim` and refunds bypass `min_reserve` entirely (those are user
|
|
401
|
+
* funds).
|
|
402
|
+
*/
|
|
403
|
+
export declare function setMinReserve(options: SetMinReserveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
404
|
+
export interface SetOrderCancelCooldownMsArguments {
|
|
405
|
+
_: RawTransactionArgument<string>;
|
|
406
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
407
|
+
newCooldownMs: RawTransactionArgument<number | bigint>;
|
|
408
|
+
}
|
|
409
|
+
export interface SetOrderCancelCooldownMsOptions {
|
|
410
|
+
package?: string;
|
|
411
|
+
arguments: SetOrderCancelCooldownMsArguments | [
|
|
412
|
+
_: RawTransactionArgument<string>,
|
|
413
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
414
|
+
newCooldownMs: RawTransactionArgument<number | bigint>
|
|
415
|
+
];
|
|
416
|
+
typeArguments: [
|
|
417
|
+
string
|
|
418
|
+
];
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Admin sets the minimum account-owner self-cancel cooldown for newly created open
|
|
422
|
+
* and close orders. Existing orders keep their stored self-cancel time.
|
|
423
|
+
*/
|
|
424
|
+
export declare function setOrderCancelCooldownMs(options: SetOrderCancelCooldownMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
425
|
+
export interface ResolveMarketArguments {
|
|
426
|
+
globalConfig: RawTransactionArgument<string>;
|
|
427
|
+
keeperRequest: RawTransactionArgument<string>;
|
|
428
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
429
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
430
|
+
outcome: RawTransactionArgument<string>;
|
|
431
|
+
}
|
|
432
|
+
export interface ResolveMarketOptions {
|
|
433
|
+
package?: string;
|
|
434
|
+
arguments: ResolveMarketArguments | [
|
|
435
|
+
globalConfig: RawTransactionArgument<string>,
|
|
436
|
+
keeperRequest: RawTransactionArgument<string>,
|
|
437
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
438
|
+
marketId: RawTransactionArgument<Array<number>>,
|
|
439
|
+
outcome: RawTransactionArgument<string>
|
|
440
|
+
];
|
|
441
|
+
typeArguments: [
|
|
442
|
+
string
|
|
443
|
+
];
|
|
444
|
+
}
|
|
445
|
+
/** Keeper records the market outcome. Aborts if already resolved. */
|
|
446
|
+
export declare function resolveMarket(options: ResolveMarketOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
447
|
+
export interface PauseMarketArguments {
|
|
448
|
+
_: RawTransactionArgument<string>;
|
|
449
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
450
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
451
|
+
}
|
|
452
|
+
export interface PauseMarketOptions {
|
|
453
|
+
package?: string;
|
|
454
|
+
arguments: PauseMarketArguments | [
|
|
455
|
+
_: RawTransactionArgument<string>,
|
|
456
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
457
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
458
|
+
];
|
|
459
|
+
typeArguments: [
|
|
460
|
+
string
|
|
461
|
+
];
|
|
462
|
+
}
|
|
463
|
+
/** Admin pauses new opens for a specific market. Existing positions unaffected. */
|
|
464
|
+
export declare function pauseMarket(options: PauseMarketOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
465
|
+
export interface UnpauseMarketArguments {
|
|
466
|
+
_: RawTransactionArgument<string>;
|
|
467
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
468
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
469
|
+
}
|
|
470
|
+
export interface UnpauseMarketOptions {
|
|
471
|
+
package?: string;
|
|
472
|
+
arguments: UnpauseMarketArguments | [
|
|
473
|
+
_: RawTransactionArgument<string>,
|
|
474
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
475
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
476
|
+
];
|
|
477
|
+
typeArguments: [
|
|
478
|
+
string
|
|
479
|
+
];
|
|
480
|
+
}
|
|
481
|
+
/** Admin re-enables opens for a previously paused market. */
|
|
482
|
+
export declare function unpauseMarket(options: UnpauseMarketOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
483
|
+
export interface PositionStatusArguments {
|
|
484
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
485
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
486
|
+
}
|
|
487
|
+
export interface PositionStatusOptions {
|
|
488
|
+
package?: string;
|
|
489
|
+
arguments: PositionStatusArguments | [
|
|
490
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
491
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
492
|
+
];
|
|
493
|
+
typeArguments: [
|
|
494
|
+
string
|
|
495
|
+
];
|
|
496
|
+
}
|
|
497
|
+
export declare function positionStatus(options: PositionStatusOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
498
|
+
export interface PositionAccountIdArguments {
|
|
499
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
500
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
501
|
+
}
|
|
502
|
+
export interface PositionAccountIdOptions {
|
|
503
|
+
package?: string;
|
|
504
|
+
arguments: PositionAccountIdArguments | [
|
|
505
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
506
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
507
|
+
];
|
|
508
|
+
typeArguments: [
|
|
509
|
+
string
|
|
510
|
+
];
|
|
511
|
+
}
|
|
512
|
+
export declare function positionAccountId(options: PositionAccountIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
513
|
+
export interface PositionMarketIdArguments {
|
|
514
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
515
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
516
|
+
}
|
|
517
|
+
export interface PositionMarketIdOptions {
|
|
518
|
+
package?: string;
|
|
519
|
+
arguments: PositionMarketIdArguments | [
|
|
520
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
521
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
522
|
+
];
|
|
523
|
+
typeArguments: [
|
|
524
|
+
string
|
|
525
|
+
];
|
|
526
|
+
}
|
|
527
|
+
export declare function positionMarketId(options: PositionMarketIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
528
|
+
export interface PositionSelectionArguments {
|
|
529
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
530
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
531
|
+
}
|
|
532
|
+
export interface PositionSelectionOptions {
|
|
533
|
+
package?: string;
|
|
534
|
+
arguments: PositionSelectionArguments | [
|
|
535
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
536
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
537
|
+
];
|
|
538
|
+
typeArguments: [
|
|
539
|
+
string
|
|
540
|
+
];
|
|
541
|
+
}
|
|
542
|
+
export declare function positionSelection(options: PositionSelectionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
543
|
+
export interface PositionPayoutArguments {
|
|
544
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
545
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
546
|
+
}
|
|
547
|
+
export interface PositionPayoutOptions {
|
|
548
|
+
package?: string;
|
|
549
|
+
arguments: PositionPayoutArguments | [
|
|
550
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
551
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
552
|
+
];
|
|
553
|
+
typeArguments: [
|
|
554
|
+
string
|
|
555
|
+
];
|
|
556
|
+
}
|
|
557
|
+
export declare function positionPayout(options: PositionPayoutOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
558
|
+
export interface PositionFilledArguments {
|
|
559
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
560
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
561
|
+
}
|
|
562
|
+
export interface PositionFilledOptions {
|
|
563
|
+
package?: string;
|
|
564
|
+
arguments: PositionFilledArguments | [
|
|
565
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
566
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
567
|
+
];
|
|
568
|
+
typeArguments: [
|
|
569
|
+
string
|
|
570
|
+
];
|
|
571
|
+
}
|
|
572
|
+
export declare function positionFilled(options: PositionFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
573
|
+
export interface PositionCloseExpiryArguments {
|
|
574
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
575
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
576
|
+
}
|
|
577
|
+
export interface PositionCloseExpiryOptions {
|
|
578
|
+
package?: string;
|
|
579
|
+
arguments: PositionCloseExpiryArguments | [
|
|
580
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
581
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
582
|
+
];
|
|
583
|
+
typeArguments: [
|
|
584
|
+
string
|
|
585
|
+
];
|
|
586
|
+
}
|
|
587
|
+
export declare function positionCloseExpiry(options: PositionCloseExpiryOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
588
|
+
export interface PositionCloseOrderIdArguments {
|
|
589
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
590
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
591
|
+
}
|
|
592
|
+
export interface PositionCloseOrderIdOptions {
|
|
593
|
+
package?: string;
|
|
594
|
+
arguments: PositionCloseOrderIdArguments | [
|
|
595
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
596
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
597
|
+
];
|
|
598
|
+
typeArguments: [
|
|
599
|
+
string
|
|
600
|
+
];
|
|
601
|
+
}
|
|
602
|
+
export declare function positionCloseOrderId(options: PositionCloseOrderIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
603
|
+
export interface PositionCloseSelfCancelAfterTsArguments {
|
|
604
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
605
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
606
|
+
}
|
|
607
|
+
export interface PositionCloseSelfCancelAfterTsOptions {
|
|
608
|
+
package?: string;
|
|
609
|
+
arguments: PositionCloseSelfCancelAfterTsArguments | [
|
|
610
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
611
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
612
|
+
];
|
|
613
|
+
typeArguments: [
|
|
614
|
+
string
|
|
615
|
+
];
|
|
616
|
+
}
|
|
617
|
+
export declare function positionCloseSelfCancelAfterTs(options: PositionCloseSelfCancelAfterTsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
618
|
+
export interface PositionCloseMinProceedsArguments {
|
|
619
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
620
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
621
|
+
}
|
|
622
|
+
export interface PositionCloseMinProceedsOptions {
|
|
623
|
+
package?: string;
|
|
624
|
+
arguments: PositionCloseMinProceedsArguments | [
|
|
625
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
626
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
627
|
+
];
|
|
628
|
+
typeArguments: [
|
|
629
|
+
string
|
|
630
|
+
];
|
|
631
|
+
}
|
|
632
|
+
export declare function positionCloseMinProceeds(options: PositionCloseMinProceedsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
633
|
+
export interface PositionExistsArguments {
|
|
634
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
635
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
636
|
+
}
|
|
637
|
+
export interface PositionExistsOptions {
|
|
638
|
+
package?: string;
|
|
639
|
+
arguments: PositionExistsArguments | [
|
|
640
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
641
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
642
|
+
];
|
|
643
|
+
typeArguments: [
|
|
644
|
+
string
|
|
645
|
+
];
|
|
646
|
+
}
|
|
647
|
+
export declare function positionExists(options: PositionExistsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
648
|
+
export interface MarketRegistryBalanceArguments {
|
|
649
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
650
|
+
}
|
|
651
|
+
export interface MarketRegistryBalanceOptions {
|
|
652
|
+
package?: string;
|
|
653
|
+
arguments: MarketRegistryBalanceArguments | [
|
|
654
|
+
marketRegistry: RawTransactionArgument<string>
|
|
655
|
+
];
|
|
656
|
+
typeArguments: [
|
|
657
|
+
string
|
|
658
|
+
];
|
|
659
|
+
}
|
|
660
|
+
export declare function marketRegistryBalance(options: MarketRegistryBalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
661
|
+
export interface MarketRegistryMinReserveArguments {
|
|
662
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
663
|
+
}
|
|
664
|
+
export interface MarketRegistryMinReserveOptions {
|
|
665
|
+
package?: string;
|
|
666
|
+
arguments: MarketRegistryMinReserveArguments | [
|
|
667
|
+
marketRegistry: RawTransactionArgument<string>
|
|
668
|
+
];
|
|
669
|
+
typeArguments: [
|
|
670
|
+
string
|
|
671
|
+
];
|
|
672
|
+
}
|
|
673
|
+
export declare function marketRegistryMinReserve(options: MarketRegistryMinReserveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
674
|
+
export interface MarketRegistryOrderCancelCooldownMsArguments {
|
|
675
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
676
|
+
}
|
|
677
|
+
export interface MarketRegistryOrderCancelCooldownMsOptions {
|
|
678
|
+
package?: string;
|
|
679
|
+
arguments: MarketRegistryOrderCancelCooldownMsArguments | [
|
|
680
|
+
marketRegistry: RawTransactionArgument<string>
|
|
681
|
+
];
|
|
682
|
+
typeArguments: [
|
|
683
|
+
string
|
|
684
|
+
];
|
|
685
|
+
}
|
|
686
|
+
export declare function marketRegistryOrderCancelCooldownMs(options: MarketRegistryOrderCancelCooldownMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
687
|
+
export interface NextOrderIdArguments {
|
|
688
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
689
|
+
}
|
|
690
|
+
export interface NextOrderIdOptions {
|
|
691
|
+
package?: string;
|
|
692
|
+
arguments: NextOrderIdArguments | [
|
|
693
|
+
marketRegistry: RawTransactionArgument<string>
|
|
694
|
+
];
|
|
695
|
+
typeArguments: [
|
|
696
|
+
string
|
|
697
|
+
];
|
|
698
|
+
}
|
|
699
|
+
export declare function nextOrderId(options: NextOrderIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
700
|
+
export interface NextPositionIdArguments {
|
|
701
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
702
|
+
}
|
|
703
|
+
export interface NextPositionIdOptions {
|
|
704
|
+
package?: string;
|
|
705
|
+
arguments: NextPositionIdArguments | [
|
|
706
|
+
marketRegistry: RawTransactionArgument<string>
|
|
707
|
+
];
|
|
708
|
+
typeArguments: [
|
|
709
|
+
string
|
|
710
|
+
];
|
|
711
|
+
}
|
|
712
|
+
/** Compatibility alias: open order ids become position ids after fill. */
|
|
713
|
+
export declare function nextPositionId(options: NextPositionIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
714
|
+
export interface IsMarketResolvedArguments {
|
|
715
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
716
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
717
|
+
}
|
|
718
|
+
export interface IsMarketResolvedOptions {
|
|
719
|
+
package?: string;
|
|
720
|
+
arguments: IsMarketResolvedArguments | [
|
|
721
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
722
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
723
|
+
];
|
|
724
|
+
typeArguments: [
|
|
725
|
+
string
|
|
726
|
+
];
|
|
727
|
+
}
|
|
728
|
+
export declare function isMarketResolved(options: IsMarketResolvedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
729
|
+
export interface IsMarketPausedArguments {
|
|
730
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
731
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
732
|
+
}
|
|
733
|
+
export interface IsMarketPausedOptions {
|
|
734
|
+
package?: string;
|
|
735
|
+
arguments: IsMarketPausedArguments | [
|
|
736
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
737
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
738
|
+
];
|
|
739
|
+
typeArguments: [
|
|
740
|
+
string
|
|
741
|
+
];
|
|
742
|
+
}
|
|
743
|
+
export declare function isMarketPaused(options: IsMarketPausedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
744
|
+
export interface IsMarketPausedByKeyArguments {
|
|
745
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
746
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
747
|
+
}
|
|
748
|
+
export interface IsMarketPausedByKeyOptions {
|
|
749
|
+
package?: string;
|
|
750
|
+
arguments: IsMarketPausedByKeyArguments | [
|
|
751
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
752
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
753
|
+
];
|
|
754
|
+
typeArguments: [
|
|
755
|
+
string
|
|
756
|
+
];
|
|
757
|
+
}
|
|
758
|
+
export declare function isMarketPausedByKey(options: IsMarketPausedByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
759
|
+
export interface MarketExistsArguments {
|
|
760
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
761
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
762
|
+
}
|
|
763
|
+
export interface MarketExistsOptions {
|
|
764
|
+
package?: string;
|
|
765
|
+
arguments: MarketExistsArguments | [
|
|
766
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
767
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
768
|
+
];
|
|
769
|
+
typeArguments: [
|
|
770
|
+
string
|
|
771
|
+
];
|
|
772
|
+
}
|
|
773
|
+
export declare function marketExists(options: MarketExistsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
774
|
+
export interface MarketOutcomeArguments {
|
|
775
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
776
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
777
|
+
}
|
|
778
|
+
export interface MarketOutcomeOptions {
|
|
779
|
+
package?: string;
|
|
780
|
+
arguments: MarketOutcomeArguments | [
|
|
781
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
782
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
783
|
+
];
|
|
784
|
+
typeArguments: [
|
|
785
|
+
string
|
|
786
|
+
];
|
|
787
|
+
}
|
|
788
|
+
/** Aborts if the market is unresolved or doesn't exist. */
|
|
789
|
+
export declare function marketOutcome(options: MarketOutcomeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
790
|
+
export interface MarketOutcomeByKeyArguments {
|
|
791
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
792
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
793
|
+
}
|
|
794
|
+
export interface MarketOutcomeByKeyOptions {
|
|
795
|
+
package?: string;
|
|
796
|
+
arguments: MarketOutcomeByKeyArguments | [
|
|
797
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
798
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
799
|
+
];
|
|
800
|
+
typeArguments: [
|
|
801
|
+
string
|
|
802
|
+
];
|
|
803
|
+
}
|
|
804
|
+
export declare function marketOutcomeByKey(options: MarketOutcomeByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
805
|
+
export interface MarketUnclaimedCountArguments {
|
|
806
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
807
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
808
|
+
}
|
|
809
|
+
export interface MarketUnclaimedCountOptions {
|
|
810
|
+
package?: string;
|
|
811
|
+
arguments: MarketUnclaimedCountArguments | [
|
|
812
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
813
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
814
|
+
];
|
|
815
|
+
typeArguments: [
|
|
816
|
+
string
|
|
817
|
+
];
|
|
818
|
+
}
|
|
819
|
+
export declare function marketUnclaimedCount(options: MarketUnclaimedCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
820
|
+
export interface OrdersArguments {
|
|
821
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
822
|
+
}
|
|
823
|
+
export interface OrdersOptions {
|
|
824
|
+
package?: string;
|
|
825
|
+
arguments: OrdersArguments | [
|
|
826
|
+
marketRegistry: RawTransactionArgument<string>
|
|
827
|
+
];
|
|
828
|
+
typeArguments: [
|
|
829
|
+
string
|
|
830
|
+
];
|
|
831
|
+
}
|
|
832
|
+
export declare function orders(options: OrdersOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
833
|
+
export interface OrderCountArguments {
|
|
834
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
835
|
+
}
|
|
836
|
+
export interface OrderCountOptions {
|
|
837
|
+
package?: string;
|
|
838
|
+
arguments: OrderCountArguments | [
|
|
839
|
+
marketRegistry: RawTransactionArgument<string>
|
|
840
|
+
];
|
|
841
|
+
typeArguments: [
|
|
842
|
+
string
|
|
843
|
+
];
|
|
844
|
+
}
|
|
845
|
+
export declare function orderCount(options: OrderCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
846
|
+
export interface OrderKeyAtArguments {
|
|
847
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
848
|
+
index: RawTransactionArgument<number | bigint>;
|
|
849
|
+
}
|
|
850
|
+
export interface OrderKeyAtOptions {
|
|
851
|
+
package?: string;
|
|
852
|
+
arguments: OrderKeyAtArguments | [
|
|
853
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
854
|
+
index: RawTransactionArgument<number | bigint>
|
|
855
|
+
];
|
|
856
|
+
typeArguments: [
|
|
857
|
+
string
|
|
858
|
+
];
|
|
859
|
+
}
|
|
860
|
+
export declare function orderKeyAt(options: OrderKeyAtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
861
|
+
export interface OrderFrontArguments {
|
|
862
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
863
|
+
}
|
|
864
|
+
export interface OrderFrontOptions {
|
|
865
|
+
package?: string;
|
|
866
|
+
arguments: OrderFrontArguments | [
|
|
867
|
+
marketRegistry: RawTransactionArgument<string>
|
|
868
|
+
];
|
|
869
|
+
typeArguments: [
|
|
870
|
+
string
|
|
871
|
+
];
|
|
872
|
+
}
|
|
873
|
+
export declare function orderFront(options: OrderFrontOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
874
|
+
export interface OrderBackArguments {
|
|
875
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
876
|
+
}
|
|
877
|
+
export interface OrderBackOptions {
|
|
878
|
+
package?: string;
|
|
879
|
+
arguments: OrderBackArguments | [
|
|
880
|
+
marketRegistry: RawTransactionArgument<string>
|
|
881
|
+
];
|
|
882
|
+
typeArguments: [
|
|
883
|
+
string
|
|
884
|
+
];
|
|
885
|
+
}
|
|
886
|
+
export declare function orderBack(options: OrderBackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
887
|
+
export interface OrderNextArguments {
|
|
888
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
889
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
890
|
+
}
|
|
891
|
+
export interface OrderNextOptions {
|
|
892
|
+
package?: string;
|
|
893
|
+
arguments: OrderNextArguments | [
|
|
894
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
895
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
896
|
+
];
|
|
897
|
+
typeArguments: [
|
|
898
|
+
string
|
|
899
|
+
];
|
|
900
|
+
}
|
|
901
|
+
export declare function orderNext(options: OrderNextOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
902
|
+
export interface OrderPrevArguments {
|
|
903
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
904
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
905
|
+
}
|
|
906
|
+
export interface OrderPrevOptions {
|
|
907
|
+
package?: string;
|
|
908
|
+
arguments: OrderPrevArguments | [
|
|
909
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
910
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
911
|
+
];
|
|
912
|
+
typeArguments: [
|
|
913
|
+
string
|
|
914
|
+
];
|
|
915
|
+
}
|
|
916
|
+
export declare function orderPrev(options: OrderPrevOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
917
|
+
export interface OrderExistsArguments {
|
|
918
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
919
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
920
|
+
}
|
|
921
|
+
export interface OrderExistsOptions {
|
|
922
|
+
package?: string;
|
|
923
|
+
arguments: OrderExistsArguments | [
|
|
924
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
925
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
926
|
+
];
|
|
927
|
+
typeArguments: [
|
|
928
|
+
string
|
|
929
|
+
];
|
|
930
|
+
}
|
|
931
|
+
export declare function orderExists(options: OrderExistsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
932
|
+
export interface OrderKindArguments {
|
|
933
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
934
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
935
|
+
}
|
|
936
|
+
export interface OrderKindOptions {
|
|
937
|
+
package?: string;
|
|
938
|
+
arguments: OrderKindArguments | [
|
|
939
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
940
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
941
|
+
];
|
|
942
|
+
typeArguments: [
|
|
943
|
+
string
|
|
944
|
+
];
|
|
945
|
+
}
|
|
946
|
+
export declare function orderKind(options: OrderKindOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
947
|
+
export interface OrderAccountIdArguments {
|
|
948
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
949
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
950
|
+
}
|
|
951
|
+
export interface OrderAccountIdOptions {
|
|
952
|
+
package?: string;
|
|
953
|
+
arguments: OrderAccountIdArguments | [
|
|
954
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
955
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
956
|
+
];
|
|
957
|
+
typeArguments: [
|
|
958
|
+
string
|
|
959
|
+
];
|
|
960
|
+
}
|
|
961
|
+
export declare function orderAccountId(options: OrderAccountIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
962
|
+
export interface OrderMarketIdArguments {
|
|
963
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
964
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
965
|
+
}
|
|
966
|
+
export interface OrderMarketIdOptions {
|
|
967
|
+
package?: string;
|
|
968
|
+
arguments: OrderMarketIdArguments | [
|
|
969
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
970
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
971
|
+
];
|
|
972
|
+
typeArguments: [
|
|
973
|
+
string
|
|
974
|
+
];
|
|
975
|
+
}
|
|
976
|
+
export declare function orderMarketId(options: OrderMarketIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
977
|
+
export interface OrderSelectionArguments {
|
|
978
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
979
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
980
|
+
}
|
|
981
|
+
export interface OrderSelectionOptions {
|
|
982
|
+
package?: string;
|
|
983
|
+
arguments: OrderSelectionArguments | [
|
|
984
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
985
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
986
|
+
];
|
|
987
|
+
typeArguments: [
|
|
988
|
+
string
|
|
989
|
+
];
|
|
990
|
+
}
|
|
991
|
+
export declare function orderSelection(options: OrderSelectionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
992
|
+
export interface OrderPositionIdArguments {
|
|
993
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
994
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
995
|
+
}
|
|
996
|
+
export interface OrderPositionIdOptions {
|
|
997
|
+
package?: string;
|
|
998
|
+
arguments: OrderPositionIdArguments | [
|
|
999
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1000
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1001
|
+
];
|
|
1002
|
+
typeArguments: [
|
|
1003
|
+
string
|
|
1004
|
+
];
|
|
1005
|
+
}
|
|
1006
|
+
export declare function orderPositionId(options: OrderPositionIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1007
|
+
export interface OrderMaxSpendArguments {
|
|
1008
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1009
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1010
|
+
}
|
|
1011
|
+
export interface OrderMaxSpendOptions {
|
|
1012
|
+
package?: string;
|
|
1013
|
+
arguments: OrderMaxSpendArguments | [
|
|
1014
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1015
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1016
|
+
];
|
|
1017
|
+
typeArguments: [
|
|
1018
|
+
string
|
|
1019
|
+
];
|
|
1020
|
+
}
|
|
1021
|
+
export declare function orderMaxSpend(options: OrderMaxSpendOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1022
|
+
export interface OrderMinSharesArguments {
|
|
1023
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1024
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1025
|
+
}
|
|
1026
|
+
export interface OrderMinSharesOptions {
|
|
1027
|
+
package?: string;
|
|
1028
|
+
arguments: OrderMinSharesArguments | [
|
|
1029
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1030
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1031
|
+
];
|
|
1032
|
+
typeArguments: [
|
|
1033
|
+
string
|
|
1034
|
+
];
|
|
1035
|
+
}
|
|
1036
|
+
export declare function orderMinShares(options: OrderMinSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1037
|
+
export interface OrderPriceCapArguments {
|
|
1038
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1039
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1040
|
+
}
|
|
1041
|
+
export interface OrderPriceCapOptions {
|
|
1042
|
+
package?: string;
|
|
1043
|
+
arguments: OrderPriceCapArguments | [
|
|
1044
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1045
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1046
|
+
];
|
|
1047
|
+
typeArguments: [
|
|
1048
|
+
string
|
|
1049
|
+
];
|
|
1050
|
+
}
|
|
1051
|
+
export declare function orderPriceCap(options: OrderPriceCapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1052
|
+
export interface OrderMinProceedsArguments {
|
|
1053
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1054
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1055
|
+
}
|
|
1056
|
+
export interface OrderMinProceedsOptions {
|
|
1057
|
+
package?: string;
|
|
1058
|
+
arguments: OrderMinProceedsArguments | [
|
|
1059
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1060
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1061
|
+
];
|
|
1062
|
+
typeArguments: [
|
|
1063
|
+
string
|
|
1064
|
+
];
|
|
1065
|
+
}
|
|
1066
|
+
export declare function orderMinProceeds(options: OrderMinProceedsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1067
|
+
export interface OrderExpiryArguments {
|
|
1068
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1069
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1070
|
+
}
|
|
1071
|
+
export interface OrderExpiryOptions {
|
|
1072
|
+
package?: string;
|
|
1073
|
+
arguments: OrderExpiryArguments | [
|
|
1074
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1075
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1076
|
+
];
|
|
1077
|
+
typeArguments: [
|
|
1078
|
+
string
|
|
1079
|
+
];
|
|
1080
|
+
}
|
|
1081
|
+
export declare function orderExpiry(options: OrderExpiryOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1082
|
+
export interface OrderSelfCancelAfterTsArguments {
|
|
1083
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1084
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1085
|
+
}
|
|
1086
|
+
export interface OrderSelfCancelAfterTsOptions {
|
|
1087
|
+
package?: string;
|
|
1088
|
+
arguments: OrderSelfCancelAfterTsArguments | [
|
|
1089
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1090
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1091
|
+
];
|
|
1092
|
+
typeArguments: [
|
|
1093
|
+
string
|
|
1094
|
+
];
|
|
1095
|
+
}
|
|
1096
|
+
export declare function orderSelfCancelAfterTs(options: OrderSelfCancelAfterTsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1097
|
+
export interface OrderIsByAdminArguments {
|
|
1098
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1099
|
+
orderId: RawTransactionArgument<number | bigint>;
|
|
1100
|
+
}
|
|
1101
|
+
export interface OrderIsByAdminOptions {
|
|
1102
|
+
package?: string;
|
|
1103
|
+
arguments: OrderIsByAdminArguments | [
|
|
1104
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1105
|
+
orderId: RawTransactionArgument<number | bigint>
|
|
1106
|
+
];
|
|
1107
|
+
typeArguments: [
|
|
1108
|
+
string
|
|
1109
|
+
];
|
|
1110
|
+
}
|
|
1111
|
+
export declare function orderIsByAdmin(options: OrderIsByAdminOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1112
|
+
export interface PositionsArguments {
|
|
1113
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1114
|
+
}
|
|
1115
|
+
export interface PositionsOptions {
|
|
1116
|
+
package?: string;
|
|
1117
|
+
arguments: PositionsArguments | [
|
|
1118
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1119
|
+
];
|
|
1120
|
+
typeArguments: [
|
|
1121
|
+
string
|
|
1122
|
+
];
|
|
1123
|
+
}
|
|
1124
|
+
export declare function positions(options: PositionsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1125
|
+
export interface PositionCountArguments {
|
|
1126
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1127
|
+
}
|
|
1128
|
+
export interface PositionCountOptions {
|
|
1129
|
+
package?: string;
|
|
1130
|
+
arguments: PositionCountArguments | [
|
|
1131
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1132
|
+
];
|
|
1133
|
+
typeArguments: [
|
|
1134
|
+
string
|
|
1135
|
+
];
|
|
1136
|
+
}
|
|
1137
|
+
export declare function positionCount(options: PositionCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1138
|
+
export interface PositionKeyAtArguments {
|
|
1139
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1140
|
+
index: RawTransactionArgument<number | bigint>;
|
|
1141
|
+
}
|
|
1142
|
+
export interface PositionKeyAtOptions {
|
|
1143
|
+
package?: string;
|
|
1144
|
+
arguments: PositionKeyAtArguments | [
|
|
1145
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1146
|
+
index: RawTransactionArgument<number | bigint>
|
|
1147
|
+
];
|
|
1148
|
+
typeArguments: [
|
|
1149
|
+
string
|
|
1150
|
+
];
|
|
1151
|
+
}
|
|
1152
|
+
export declare function positionKeyAt(options: PositionKeyAtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1153
|
+
export interface PositionFrontArguments {
|
|
1154
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1155
|
+
}
|
|
1156
|
+
export interface PositionFrontOptions {
|
|
1157
|
+
package?: string;
|
|
1158
|
+
arguments: PositionFrontArguments | [
|
|
1159
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1160
|
+
];
|
|
1161
|
+
typeArguments: [
|
|
1162
|
+
string
|
|
1163
|
+
];
|
|
1164
|
+
}
|
|
1165
|
+
export declare function positionFront(options: PositionFrontOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1166
|
+
export interface PositionBackArguments {
|
|
1167
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1168
|
+
}
|
|
1169
|
+
export interface PositionBackOptions {
|
|
1170
|
+
package?: string;
|
|
1171
|
+
arguments: PositionBackArguments | [
|
|
1172
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1173
|
+
];
|
|
1174
|
+
typeArguments: [
|
|
1175
|
+
string
|
|
1176
|
+
];
|
|
1177
|
+
}
|
|
1178
|
+
export declare function positionBack(options: PositionBackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1179
|
+
export interface PositionNextArguments {
|
|
1180
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1181
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
1182
|
+
}
|
|
1183
|
+
export interface PositionNextOptions {
|
|
1184
|
+
package?: string;
|
|
1185
|
+
arguments: PositionNextArguments | [
|
|
1186
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1187
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
1188
|
+
];
|
|
1189
|
+
typeArguments: [
|
|
1190
|
+
string
|
|
1191
|
+
];
|
|
1192
|
+
}
|
|
1193
|
+
export declare function positionNext(options: PositionNextOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1194
|
+
export interface PositionPrevArguments {
|
|
1195
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1196
|
+
positionId: RawTransactionArgument<number | bigint>;
|
|
1197
|
+
}
|
|
1198
|
+
export interface PositionPrevOptions {
|
|
1199
|
+
package?: string;
|
|
1200
|
+
arguments: PositionPrevArguments | [
|
|
1201
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1202
|
+
positionId: RawTransactionArgument<number | bigint>
|
|
1203
|
+
];
|
|
1204
|
+
typeArguments: [
|
|
1205
|
+
string
|
|
1206
|
+
];
|
|
1207
|
+
}
|
|
1208
|
+
export declare function positionPrev(options: PositionPrevOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1209
|
+
export interface MarketCountArguments {
|
|
1210
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1211
|
+
}
|
|
1212
|
+
export interface MarketCountOptions {
|
|
1213
|
+
package?: string;
|
|
1214
|
+
arguments: MarketCountArguments | [
|
|
1215
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1216
|
+
];
|
|
1217
|
+
typeArguments: [
|
|
1218
|
+
string
|
|
1219
|
+
];
|
|
1220
|
+
}
|
|
1221
|
+
export declare function marketCount(options: MarketCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1222
|
+
export interface MarketKeyArguments {
|
|
1223
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1224
|
+
marketId: RawTransactionArgument<Array<number>>;
|
|
1225
|
+
}
|
|
1226
|
+
export interface MarketKeyOptions {
|
|
1227
|
+
package?: string;
|
|
1228
|
+
arguments: MarketKeyArguments | [
|
|
1229
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1230
|
+
marketId: RawTransactionArgument<Array<number>>
|
|
1231
|
+
];
|
|
1232
|
+
typeArguments: [
|
|
1233
|
+
string
|
|
1234
|
+
];
|
|
1235
|
+
}
|
|
1236
|
+
export declare function marketKey(options: MarketKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1237
|
+
export interface MarketKeyAtArguments {
|
|
1238
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1239
|
+
index: RawTransactionArgument<number | bigint>;
|
|
1240
|
+
}
|
|
1241
|
+
export interface MarketKeyAtOptions {
|
|
1242
|
+
package?: string;
|
|
1243
|
+
arguments: MarketKeyAtArguments | [
|
|
1244
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1245
|
+
index: RawTransactionArgument<number | bigint>
|
|
1246
|
+
];
|
|
1247
|
+
typeArguments: [
|
|
1248
|
+
string
|
|
1249
|
+
];
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* Compatibility helper for indexed reads. Returns unresolved market keys first,
|
|
1253
|
+
* then resolved market keys. Prefer the linked-table cursor helpers for canonical
|
|
1254
|
+
* traversal.
|
|
1255
|
+
*/
|
|
1256
|
+
export declare function marketKeyAt(options: MarketKeyAtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1257
|
+
export interface MarketIdByKeyArguments {
|
|
1258
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1259
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1260
|
+
}
|
|
1261
|
+
export interface MarketIdByKeyOptions {
|
|
1262
|
+
package?: string;
|
|
1263
|
+
arguments: MarketIdByKeyArguments | [
|
|
1264
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1265
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1266
|
+
];
|
|
1267
|
+
typeArguments: [
|
|
1268
|
+
string
|
|
1269
|
+
];
|
|
1270
|
+
}
|
|
1271
|
+
export declare function marketIdByKey(options: MarketIdByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1272
|
+
export interface MarketExistsByKeyArguments {
|
|
1273
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1274
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1275
|
+
}
|
|
1276
|
+
export interface MarketExistsByKeyOptions {
|
|
1277
|
+
package?: string;
|
|
1278
|
+
arguments: MarketExistsByKeyArguments | [
|
|
1279
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1280
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1281
|
+
];
|
|
1282
|
+
typeArguments: [
|
|
1283
|
+
string
|
|
1284
|
+
];
|
|
1285
|
+
}
|
|
1286
|
+
export declare function marketExistsByKey(options: MarketExistsByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1287
|
+
export interface MarketIsResolvedByKeyArguments {
|
|
1288
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1289
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1290
|
+
}
|
|
1291
|
+
export interface MarketIsResolvedByKeyOptions {
|
|
1292
|
+
package?: string;
|
|
1293
|
+
arguments: MarketIsResolvedByKeyArguments | [
|
|
1294
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1295
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1296
|
+
];
|
|
1297
|
+
typeArguments: [
|
|
1298
|
+
string
|
|
1299
|
+
];
|
|
1300
|
+
}
|
|
1301
|
+
export declare function marketIsResolvedByKey(options: MarketIsResolvedByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1302
|
+
export interface MarketUnclaimedCountByKeyArguments {
|
|
1303
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1304
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1305
|
+
}
|
|
1306
|
+
export interface MarketUnclaimedCountByKeyOptions {
|
|
1307
|
+
package?: string;
|
|
1308
|
+
arguments: MarketUnclaimedCountByKeyArguments | [
|
|
1309
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1310
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1311
|
+
];
|
|
1312
|
+
typeArguments: [
|
|
1313
|
+
string
|
|
1314
|
+
];
|
|
1315
|
+
}
|
|
1316
|
+
export declare function marketUnclaimedCountByKey(options: MarketUnclaimedCountByKeyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1317
|
+
export interface UnresolvedMarketsArguments {
|
|
1318
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1319
|
+
}
|
|
1320
|
+
export interface UnresolvedMarketsOptions {
|
|
1321
|
+
package?: string;
|
|
1322
|
+
arguments: UnresolvedMarketsArguments | [
|
|
1323
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1324
|
+
];
|
|
1325
|
+
typeArguments: [
|
|
1326
|
+
string
|
|
1327
|
+
];
|
|
1328
|
+
}
|
|
1329
|
+
export declare function unresolvedMarkets(options: UnresolvedMarketsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1330
|
+
export interface ResolvedMarketsArguments {
|
|
1331
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1332
|
+
}
|
|
1333
|
+
export interface ResolvedMarketsOptions {
|
|
1334
|
+
package?: string;
|
|
1335
|
+
arguments: ResolvedMarketsArguments | [
|
|
1336
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1337
|
+
];
|
|
1338
|
+
typeArguments: [
|
|
1339
|
+
string
|
|
1340
|
+
];
|
|
1341
|
+
}
|
|
1342
|
+
export declare function resolvedMarkets(options: ResolvedMarketsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1343
|
+
export interface UnresolvedMarketCountArguments {
|
|
1344
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1345
|
+
}
|
|
1346
|
+
export interface UnresolvedMarketCountOptions {
|
|
1347
|
+
package?: string;
|
|
1348
|
+
arguments: UnresolvedMarketCountArguments | [
|
|
1349
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1350
|
+
];
|
|
1351
|
+
typeArguments: [
|
|
1352
|
+
string
|
|
1353
|
+
];
|
|
1354
|
+
}
|
|
1355
|
+
export declare function unresolvedMarketCount(options: UnresolvedMarketCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1356
|
+
export interface ResolvedMarketCountArguments {
|
|
1357
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1358
|
+
}
|
|
1359
|
+
export interface ResolvedMarketCountOptions {
|
|
1360
|
+
package?: string;
|
|
1361
|
+
arguments: ResolvedMarketCountArguments | [
|
|
1362
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1363
|
+
];
|
|
1364
|
+
typeArguments: [
|
|
1365
|
+
string
|
|
1366
|
+
];
|
|
1367
|
+
}
|
|
1368
|
+
export declare function resolvedMarketCount(options: ResolvedMarketCountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1369
|
+
export interface UnresolvedMarketFrontArguments {
|
|
1370
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1371
|
+
}
|
|
1372
|
+
export interface UnresolvedMarketFrontOptions {
|
|
1373
|
+
package?: string;
|
|
1374
|
+
arguments: UnresolvedMarketFrontArguments | [
|
|
1375
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1376
|
+
];
|
|
1377
|
+
typeArguments: [
|
|
1378
|
+
string
|
|
1379
|
+
];
|
|
1380
|
+
}
|
|
1381
|
+
export declare function unresolvedMarketFront(options: UnresolvedMarketFrontOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1382
|
+
export interface UnresolvedMarketBackArguments {
|
|
1383
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1384
|
+
}
|
|
1385
|
+
export interface UnresolvedMarketBackOptions {
|
|
1386
|
+
package?: string;
|
|
1387
|
+
arguments: UnresolvedMarketBackArguments | [
|
|
1388
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1389
|
+
];
|
|
1390
|
+
typeArguments: [
|
|
1391
|
+
string
|
|
1392
|
+
];
|
|
1393
|
+
}
|
|
1394
|
+
export declare function unresolvedMarketBack(options: UnresolvedMarketBackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1395
|
+
export interface ResolvedMarketFrontArguments {
|
|
1396
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1397
|
+
}
|
|
1398
|
+
export interface ResolvedMarketFrontOptions {
|
|
1399
|
+
package?: string;
|
|
1400
|
+
arguments: ResolvedMarketFrontArguments | [
|
|
1401
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1402
|
+
];
|
|
1403
|
+
typeArguments: [
|
|
1404
|
+
string
|
|
1405
|
+
];
|
|
1406
|
+
}
|
|
1407
|
+
export declare function resolvedMarketFront(options: ResolvedMarketFrontOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1408
|
+
export interface ResolvedMarketBackArguments {
|
|
1409
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1410
|
+
}
|
|
1411
|
+
export interface ResolvedMarketBackOptions {
|
|
1412
|
+
package?: string;
|
|
1413
|
+
arguments: ResolvedMarketBackArguments | [
|
|
1414
|
+
marketRegistry: RawTransactionArgument<string>
|
|
1415
|
+
];
|
|
1416
|
+
typeArguments: [
|
|
1417
|
+
string
|
|
1418
|
+
];
|
|
1419
|
+
}
|
|
1420
|
+
export declare function resolvedMarketBack(options: ResolvedMarketBackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1421
|
+
export interface UnresolvedMarketNextArguments {
|
|
1422
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1423
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1424
|
+
}
|
|
1425
|
+
export interface UnresolvedMarketNextOptions {
|
|
1426
|
+
package?: string;
|
|
1427
|
+
arguments: UnresolvedMarketNextArguments | [
|
|
1428
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1429
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1430
|
+
];
|
|
1431
|
+
typeArguments: [
|
|
1432
|
+
string
|
|
1433
|
+
];
|
|
1434
|
+
}
|
|
1435
|
+
export declare function unresolvedMarketNext(options: UnresolvedMarketNextOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1436
|
+
export interface UnresolvedMarketPrevArguments {
|
|
1437
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1438
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1439
|
+
}
|
|
1440
|
+
export interface UnresolvedMarketPrevOptions {
|
|
1441
|
+
package?: string;
|
|
1442
|
+
arguments: UnresolvedMarketPrevArguments | [
|
|
1443
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1444
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1445
|
+
];
|
|
1446
|
+
typeArguments: [
|
|
1447
|
+
string
|
|
1448
|
+
];
|
|
1449
|
+
}
|
|
1450
|
+
export declare function unresolvedMarketPrev(options: UnresolvedMarketPrevOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1451
|
+
export interface ResolvedMarketNextArguments {
|
|
1452
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1453
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1454
|
+
}
|
|
1455
|
+
export interface ResolvedMarketNextOptions {
|
|
1456
|
+
package?: string;
|
|
1457
|
+
arguments: ResolvedMarketNextArguments | [
|
|
1458
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1459
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1460
|
+
];
|
|
1461
|
+
typeArguments: [
|
|
1462
|
+
string
|
|
1463
|
+
];
|
|
1464
|
+
}
|
|
1465
|
+
export declare function resolvedMarketNext(options: ResolvedMarketNextOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1466
|
+
export interface ResolvedMarketPrevArguments {
|
|
1467
|
+
marketRegistry: RawTransactionArgument<string>;
|
|
1468
|
+
marketKey: RawTransactionArgument<number | bigint>;
|
|
1469
|
+
}
|
|
1470
|
+
export interface ResolvedMarketPrevOptions {
|
|
1471
|
+
package?: string;
|
|
1472
|
+
arguments: ResolvedMarketPrevArguments | [
|
|
1473
|
+
marketRegistry: RawTransactionArgument<string>,
|
|
1474
|
+
marketKey: RawTransactionArgument<number | bigint>
|
|
1475
|
+
];
|
|
1476
|
+
typeArguments: [
|
|
1477
|
+
string
|
|
1478
|
+
];
|
|
1479
|
+
}
|
|
1480
|
+
export declare function resolvedMarketPrev(options: ResolvedMarketPrevOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1481
|
+
export interface StatusIsOpenArguments {
|
|
1482
|
+
s: RawTransactionArgument<string>;
|
|
1483
|
+
}
|
|
1484
|
+
export interface StatusIsOpenOptions {
|
|
1485
|
+
package?: string;
|
|
1486
|
+
arguments: StatusIsOpenArguments | [
|
|
1487
|
+
s: RawTransactionArgument<string>
|
|
1488
|
+
];
|
|
1489
|
+
}
|
|
1490
|
+
export declare function statusIsOpen(options: StatusIsOpenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1491
|
+
export interface StatusIsPendingCloseArguments {
|
|
1492
|
+
s: RawTransactionArgument<string>;
|
|
1493
|
+
}
|
|
1494
|
+
export interface StatusIsPendingCloseOptions {
|
|
1495
|
+
package?: string;
|
|
1496
|
+
arguments: StatusIsPendingCloseArguments | [
|
|
1497
|
+
s: RawTransactionArgument<string>
|
|
1498
|
+
];
|
|
1499
|
+
}
|
|
1500
|
+
export declare function statusIsPendingClose(options: StatusIsPendingCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1501
|
+
export interface OrderKindIsOpenArguments {
|
|
1502
|
+
kind: RawTransactionArgument<string>;
|
|
1503
|
+
}
|
|
1504
|
+
export interface OrderKindIsOpenOptions {
|
|
1505
|
+
package?: string;
|
|
1506
|
+
arguments: OrderKindIsOpenArguments | [
|
|
1507
|
+
kind: RawTransactionArgument<string>
|
|
1508
|
+
];
|
|
1509
|
+
}
|
|
1510
|
+
export declare function orderKindIsOpen(options: OrderKindIsOpenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1511
|
+
export interface OrderKindIsCloseArguments {
|
|
1512
|
+
kind: RawTransactionArgument<string>;
|
|
1513
|
+
}
|
|
1514
|
+
export interface OrderKindIsCloseOptions {
|
|
1515
|
+
package?: string;
|
|
1516
|
+
arguments: OrderKindIsCloseArguments | [
|
|
1517
|
+
kind: RawTransactionArgument<string>
|
|
1518
|
+
];
|
|
1519
|
+
}
|
|
1520
|
+
export declare function orderKindIsClose(options: OrderKindIsCloseOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|