@mysten/deepbook-v3 2.10.0 → 2.10.1
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/CHANGELOG.md +11 -0
- package/dist/account-bindings/account-registry.d.mts +13 -13
- package/dist/account-bindings/account.d.mts +25 -25
- package/dist/account-bindings/account.d.mts.map +1 -1
- package/dist/contracts/account/account_events.d.mts +20 -20
- package/dist/contracts/account/account_events.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.d.mts +6 -6
- package/dist/contracts/deepbook/account.d.mts +18 -18
- package/dist/contracts/deepbook/balances.d.mts +4 -4
- package/dist/contracts/deepbook/deep_price.d.mts +3 -3
- package/dist/contracts/deepbook/order.d.mts +12 -12
- package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
- package/dist/contracts/deepbook_predict/admin.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code.d.mts +16 -16
- package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +85 -85
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +62 -62
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
- package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/pause_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/plp.d.mts +74 -74
- package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
- package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pricing.d.mts +67 -67
- package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +85 -85
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
- package/dist/contracts/deepbook_predict/registry.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +131 -131
- package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +13 -13
- package/dist/contracts/deepbook_predict_math/math.d.mts +14 -14
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +30 -30
- package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
- package/dist/contracts/deepbook_predict_orders/desk.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +54 -54
- package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +140 -140
- package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
- package/dist/contracts/deepbook_sessions/session_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.d.mts +45 -45
- package/dist/predict/bindings/expiry-market.d.mts +8 -8
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
- package/dist/predict/bindings/protocol-config.d.mts +3 -3
- package/dist/predict/bindings/protocol-config.d.mts.map +1 -1
- package/dist/predict/bindings/queue.d.mts +2 -2
- package/dist/predict/bindings/queue.d.mts.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +1 -1
- package/dist/utils/constants.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/constants.ts +3 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs871 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions597 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict_orders/queue.d.ts
|
|
7
7
|
declare const MarketQueue: MoveStruct<{
|
|
8
|
-
id:
|
|
9
|
-
desk_id:
|
|
10
|
-
expiry_market_id:
|
|
8
|
+
id: _mysten_sui_bcs871.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
9
|
+
desk_id: _mysten_sui_bcs871.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
10
|
+
expiry_market_id: _mysten_sui_bcs871.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
11
11
|
book: MoveStruct<{
|
|
12
12
|
orders: MoveStruct<{
|
|
13
|
-
id:
|
|
14
|
-
size:
|
|
13
|
+
id: _mysten_sui_bcs871.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
14
|
+
size: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
15
15
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
16
|
-
next_id:
|
|
17
|
-
resolve_head:
|
|
18
|
-
payout_cursor:
|
|
19
|
-
cohorts:
|
|
16
|
+
next_id: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
17
|
+
resolve_head: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
18
|
+
payout_cursor: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
19
|
+
cohorts: _mysten_sui_bcs871.BcsType<{
|
|
20
20
|
tau_ms: bigint;
|
|
21
21
|
deadline_ms: bigint;
|
|
22
22
|
first_id: bigint;
|
|
@@ -35,18 +35,18 @@ declare const MarketQueue: MoveStruct<{
|
|
|
35
35
|
}> & {
|
|
36
36
|
length: number;
|
|
37
37
|
}, string>;
|
|
38
|
-
last_tau_ms:
|
|
39
|
-
last_committed_tau_ms:
|
|
40
|
-
last_deadline_ms:
|
|
41
|
-
last_channel:
|
|
38
|
+
last_tau_ms: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
39
|
+
last_committed_tau_ms: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
40
|
+
last_deadline_ms: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
41
|
+
last_channel: _mysten_sui_bcs871.BcsType<number, number, "u8">;
|
|
42
42
|
per_account: MoveStruct<{
|
|
43
|
-
id:
|
|
44
|
-
size:
|
|
43
|
+
id: _mysten_sui_bcs871.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
44
|
+
size: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
45
45
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
46
|
-
pending_mints:
|
|
47
|
-
pending_sells:
|
|
46
|
+
pending_mints: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
47
|
+
pending_sells: _mysten_sui_bcs871.BcsType<bigint, string | number | bigint, "u64">;
|
|
48
48
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderBook">; /** Set by the `settle_step` call that emits `MarketPayoutsCompleted`. */
|
|
49
|
-
payouts_completed:
|
|
49
|
+
payouts_completed: _mysten_sui_bcs871.BcsType<boolean, boolean, "bool">;
|
|
50
50
|
}, "@local-pkg/deepbook_predict_orders::queue::MarketQueue">;
|
|
51
51
|
interface PhaseDrainOptions {
|
|
52
52
|
package?: string;
|
|
@@ -55,7 +55,7 @@ interface PhaseDrainOptions {
|
|
|
55
55
|
predictOrdersPackageId?: string;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
declare function phaseDrain(options?: PhaseDrainOptions): (tx: Transaction) =>
|
|
58
|
+
declare function phaseDrain(options?: PhaseDrainOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
59
59
|
interface PhasePayOptions {
|
|
60
60
|
package?: string;
|
|
61
61
|
arguments?: [];
|
|
@@ -63,7 +63,7 @@ interface PhasePayOptions {
|
|
|
63
63
|
predictOrdersPackageId?: string;
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
declare function phasePay(options?: PhasePayOptions): (tx: Transaction) =>
|
|
66
|
+
declare function phasePay(options?: PhasePayOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
67
67
|
interface PhaseDoneOptions {
|
|
68
68
|
package?: string;
|
|
69
69
|
arguments?: [];
|
|
@@ -71,7 +71,7 @@ interface PhaseDoneOptions {
|
|
|
71
71
|
predictOrdersPackageId?: string;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
declare function phaseDone(options?: PhaseDoneOptions): (tx: Transaction) =>
|
|
74
|
+
declare function phaseDone(options?: PhaseDoneOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
75
75
|
interface QueueIdArguments {
|
|
76
76
|
registryId: RawTransactionArgument<string>;
|
|
77
77
|
expiryMarketId: RawTransactionArgument<string>;
|
|
@@ -87,7 +87,7 @@ interface QueueIdOptions {
|
|
|
87
87
|
* Return the ID of `expiry_market_id`'s queue under the queue registry
|
|
88
88
|
* `registry_id`, whether or not it exists yet. For PTB construction.
|
|
89
89
|
*/
|
|
90
|
-
declare function queueId(options: QueueIdOptions): (tx: Transaction) =>
|
|
90
|
+
declare function queueId(options: QueueIdOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
91
91
|
interface IdArguments {
|
|
92
92
|
queue: RawTransactionArgument<string>;
|
|
93
93
|
}
|
|
@@ -98,7 +98,7 @@ interface IdOptions {
|
|
|
98
98
|
predictOrdersPackageId?: string;
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
101
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
102
102
|
interface DeskIdArguments {
|
|
103
103
|
queue: RawTransactionArgument<string>;
|
|
104
104
|
}
|
|
@@ -109,7 +109,7 @@ interface DeskIdOptions {
|
|
|
109
109
|
predictOrdersPackageId?: string;
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
declare function deskId(options: DeskIdOptions): (tx: Transaction) =>
|
|
112
|
+
declare function deskId(options: DeskIdOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
113
113
|
interface ExpiryMarketIdArguments {
|
|
114
114
|
queue: RawTransactionArgument<string>;
|
|
115
115
|
}
|
|
@@ -120,7 +120,7 @@ interface ExpiryMarketIdOptions {
|
|
|
120
120
|
predictOrdersPackageId?: string;
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
declare function expiryMarketId(options: ExpiryMarketIdOptions): (tx: Transaction) =>
|
|
123
|
+
declare function expiryMarketId(options: ExpiryMarketIdOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
124
124
|
interface OrderArguments {
|
|
125
125
|
queue: RawTransactionArgument<string>;
|
|
126
126
|
recordId: RawTransactionArgument<number | bigint>;
|
|
@@ -133,7 +133,7 @@ interface OrderOptions {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
/** Return one record, or `none` for a missing or deleted record ID. */
|
|
136
|
-
declare function order(options: OrderOptions): (tx: Transaction) =>
|
|
136
|
+
declare function order(options: OrderOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
137
137
|
interface QueueHeadsArguments {
|
|
138
138
|
queue: RawTransactionArgument<string>;
|
|
139
139
|
}
|
|
@@ -148,7 +148,7 @@ interface QueueHeadsOptions {
|
|
|
148
148
|
* Return `(resolve_head, next_id, last_tau_ms, last_committed_tau_ms)`.
|
|
149
149
|
* `resolve_head` is a lower bound on the first unfinished record.
|
|
150
150
|
*/
|
|
151
|
-
declare function queueHeads(options: QueueHeadsOptions): (tx: Transaction) =>
|
|
151
|
+
declare function queueHeads(options: QueueHeadsOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
152
152
|
interface PayoutProgressArguments {
|
|
153
153
|
queue: RawTransactionArgument<string>;
|
|
154
154
|
}
|
|
@@ -163,7 +163,7 @@ interface PayoutProgressOptions {
|
|
|
163
163
|
* Return `(payout_cursor, next_id, payouts_completed)`. The settlement payout walk
|
|
164
164
|
* is finished once `payouts_completed` is set.
|
|
165
165
|
*/
|
|
166
|
-
declare function payoutProgress(options: PayoutProgressOptions): (tx: Transaction) =>
|
|
166
|
+
declare function payoutProgress(options: PayoutProgressOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
167
167
|
interface WaitingCohortsArguments {
|
|
168
168
|
queue: RawTransactionArgument<string>;
|
|
169
169
|
}
|
|
@@ -179,7 +179,7 @@ interface WaitingCohortsOptions {
|
|
|
179
179
|
* `(cohort count, oldest uncommitted τ, oldest uncommitted τ above last_committed_tau_ms)`.
|
|
180
180
|
* The third value is the cohort the stuck gate's first rule watches.
|
|
181
181
|
*/
|
|
182
|
-
declare function waitingCohorts(options: WaitingCohortsOptions): (tx: Transaction) =>
|
|
182
|
+
declare function waitingCohorts(options: WaitingCohortsOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
183
183
|
interface QueueStuckArguments {
|
|
184
184
|
queue: RawTransactionArgument<string>;
|
|
185
185
|
desk?: RawTransactionArgument<string>;
|
|
@@ -196,7 +196,7 @@ interface QueueStuckOptions {
|
|
|
196
196
|
* Whether placement would refuse a new order as stuck right now (both rules of the
|
|
197
197
|
* stuck gate). Drives the app's "pricing delayed" banner.
|
|
198
198
|
*/
|
|
199
|
-
declare function queueStuck(options: QueueStuckOptions): (tx: Transaction) =>
|
|
199
|
+
declare function queueStuck(options: QueueStuckOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
200
200
|
interface PendingCountsArguments {
|
|
201
201
|
queue: RawTransactionArgument<string>;
|
|
202
202
|
}
|
|
@@ -211,7 +211,7 @@ interface PendingCountsOptions {
|
|
|
211
211
|
* Return `(pending_mints, pending_sells)`, the unfinished orders counted against
|
|
212
212
|
* the policy capacities.
|
|
213
213
|
*/
|
|
214
|
-
declare function pendingCounts(options: PendingCountsOptions): (tx: Transaction) =>
|
|
214
|
+
declare function pendingCounts(options: PendingCountsOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
215
215
|
interface WaitingOrdersArguments {
|
|
216
216
|
queue: RawTransactionArgument<string>;
|
|
217
217
|
accountId: RawTransactionArgument<string>;
|
|
@@ -230,7 +230,7 @@ interface WaitingOrdersOptions {
|
|
|
230
230
|
* expiry it can overstate what the account still has waiting. Read `order` for
|
|
231
231
|
* each record's status instead.
|
|
232
232
|
*/
|
|
233
|
-
declare function waitingOrders(options: WaitingOrdersOptions): (tx: Transaction) =>
|
|
233
|
+
declare function waitingOrders(options: WaitingOrdersOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
234
234
|
interface OldestUnfinishedTauMsArguments {
|
|
235
235
|
queue: RawTransactionArgument<string>;
|
|
236
236
|
}
|
|
@@ -242,7 +242,7 @@ interface OldestUnfinishedTauMsOptions {
|
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
/** Return τ of the oldest cohort with an unfinished order, for monitoring. */
|
|
245
|
-
declare function oldestUnfinishedTauMs(options: OldestUnfinishedTauMsOptions): (tx: Transaction) =>
|
|
245
|
+
declare function oldestUnfinishedTauMs(options: OldestUnfinishedTauMsOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
246
246
|
interface BuilderFeePerContractArguments {
|
|
247
247
|
queue: RawTransactionArgument<string>;
|
|
248
248
|
recordId: RawTransactionArgument<number | bigint>;
|
|
@@ -260,7 +260,7 @@ interface BuilderFeePerContractOptions {
|
|
|
260
260
|
* missing record, a record holding no receipt or an open one, and an order that
|
|
261
261
|
* names no builder. For SDK and devInspect reads of a waiting order.
|
|
262
262
|
*/
|
|
263
|
-
declare function builderFeePerContract(options: BuilderFeePerContractOptions): (tx: Transaction) =>
|
|
263
|
+
declare function builderFeePerContract(options: BuilderFeePerContractOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
264
264
|
interface QuoteRedeemOpenArguments {
|
|
265
265
|
queue: RawTransactionArgument<string>;
|
|
266
266
|
market: RawTransactionArgument<string>;
|
|
@@ -301,7 +301,7 @@ interface QuoteRedeemOpenWithBuilderFeeOptions {
|
|
|
301
301
|
* Changes nothing and aborts like `quote_redeem_open`. For SDK and devInspect
|
|
302
302
|
* pricing before `enqueue_redeem_open_with_builder`.
|
|
303
303
|
*/
|
|
304
|
-
declare function quoteRedeemOpenWithBuilderFee(options: QuoteRedeemOpenWithBuilderFeeOptions): (tx: Transaction) =>
|
|
304
|
+
declare function quoteRedeemOpenWithBuilderFee(options: QuoteRedeemOpenWithBuilderFeeOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
305
305
|
interface CreateAndShareArguments {
|
|
306
306
|
registry?: RawTransactionArgument<string>;
|
|
307
307
|
desk?: RawTransactionArgument<string>;
|
|
@@ -323,7 +323,7 @@ interface CreateAndShareOptions {
|
|
|
323
323
|
* trading call reads, so creation never contends with trading on the desk. Aborts
|
|
324
324
|
* `EWrongDesk` for another desk's registry.
|
|
325
325
|
*/
|
|
326
|
-
declare function createAndShare(options: CreateAndShareOptions): (tx: Transaction) =>
|
|
326
|
+
declare function createAndShare(options: CreateAndShareOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
327
327
|
interface EnqueueExactQuantityArguments {
|
|
328
328
|
queue: RawTransactionArgument<string>;
|
|
329
329
|
market: RawTransactionArgument<string>;
|
|
@@ -366,7 +366,7 @@ interface EnqueueExactQuantityOptions {
|
|
|
366
366
|
* applies its gates, the order's own limits at the clock, and the market's spare
|
|
367
367
|
* cash.
|
|
368
368
|
*/
|
|
369
|
-
declare function enqueueExactQuantity(options: EnqueueExactQuantityOptions): (tx: Transaction) =>
|
|
369
|
+
declare function enqueueExactQuantity(options: EnqueueExactQuantityOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
370
370
|
interface EnqueueExactQuantityWithBuilderArguments {
|
|
371
371
|
queue: RawTransactionArgument<string>;
|
|
372
372
|
market: RawTransactionArgument<string>;
|
|
@@ -405,7 +405,7 @@ interface EnqueueExactQuantityWithBuilderOptions {
|
|
|
405
405
|
* down, to the code. Refuses orders like `enqueue_exact_quantity`. Returns the new
|
|
406
406
|
* record ID.
|
|
407
407
|
*/
|
|
408
|
-
declare function enqueueExactQuantityWithBuilder(options: EnqueueExactQuantityWithBuilderOptions): (tx: Transaction) =>
|
|
408
|
+
declare function enqueueExactQuantityWithBuilder(options: EnqueueExactQuantityWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
409
409
|
interface EnqueueExactAmountArguments {
|
|
410
410
|
queue: RawTransactionArgument<string>;
|
|
411
411
|
market: RawTransactionArgument<string>;
|
|
@@ -439,7 +439,7 @@ interface EnqueueExactAmountOptions {
|
|
|
439
439
|
* Escrows `min(max_cost, available - order_fee)` and the order fee. Refuses orders
|
|
440
440
|
* like `enqueue_exact_quantity`. Returns the new record ID.
|
|
441
441
|
*/
|
|
442
|
-
declare function enqueueExactAmount(options: EnqueueExactAmountOptions): (tx: Transaction) =>
|
|
442
|
+
declare function enqueueExactAmount(options: EnqueueExactAmountOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
443
443
|
interface EnqueueExactAmountWithBuilderArguments {
|
|
444
444
|
queue: RawTransactionArgument<string>;
|
|
445
445
|
market: RawTransactionArgument<string>;
|
|
@@ -474,7 +474,7 @@ interface EnqueueExactAmountWithBuilderOptions {
|
|
|
474
474
|
* `builder_fee_per_contract` to `code` like `enqueue_exact_quantity_with_builder`.
|
|
475
475
|
* The fee is inside the `max_cost` withdrawal cap. Returns the new record ID.
|
|
476
476
|
*/
|
|
477
|
-
declare function enqueueExactAmountWithBuilder(options: EnqueueExactAmountWithBuilderOptions): (tx: Transaction) =>
|
|
477
|
+
declare function enqueueExactAmountWithBuilder(options: EnqueueExactAmountWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
478
478
|
interface EnqueueExactCostArguments {
|
|
479
479
|
queue: RawTransactionArgument<string>;
|
|
480
480
|
market: RawTransactionArgument<string>;
|
|
@@ -508,7 +508,7 @@ interface EnqueueExactCostOptions {
|
|
|
508
508
|
* mandatory here too: the unlimited value is refused. Refuses orders like
|
|
509
509
|
* `enqueue_exact_quantity`. Returns the new record ID.
|
|
510
510
|
*/
|
|
511
|
-
declare function enqueueExactCost(options: EnqueueExactCostOptions): (tx: Transaction) =>
|
|
511
|
+
declare function enqueueExactCost(options: EnqueueExactCostOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
512
512
|
interface EnqueueExactCostWithBuilderArguments {
|
|
513
513
|
queue: RawTransactionArgument<string>;
|
|
514
514
|
market: RawTransactionArgument<string>;
|
|
@@ -543,7 +543,7 @@ interface EnqueueExactCostWithBuilderOptions {
|
|
|
543
543
|
* The fill sizes the order so the fee fits inside `max_cost`. Returns the new
|
|
544
544
|
* record ID.
|
|
545
545
|
*/
|
|
546
|
-
declare function enqueueExactCostWithBuilder(options: EnqueueExactCostWithBuilderOptions): (tx: Transaction) =>
|
|
546
|
+
declare function enqueueExactCostWithBuilder(options: EnqueueExactCostWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
547
547
|
interface EnqueueRedeemOpenArguments {
|
|
548
548
|
queue: RawTransactionArgument<string>;
|
|
549
549
|
market: RawTransactionArgument<string>;
|
|
@@ -586,7 +586,7 @@ interface EnqueueRedeemOpenOptions {
|
|
|
586
586
|
* the keeper funds the market before τ, and resolve refunds a sell the market
|
|
587
587
|
* still cannot cover.
|
|
588
588
|
*/
|
|
589
|
-
declare function enqueueRedeemOpen(options: EnqueueRedeemOpenOptions): (tx: Transaction) =>
|
|
589
|
+
declare function enqueueRedeemOpen(options: EnqueueRedeemOpenOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
590
590
|
interface EnqueueRedeemOpenWithBuilderArguments {
|
|
591
591
|
queue: RawTransactionArgument<string>;
|
|
592
592
|
market: RawTransactionArgument<string>;
|
|
@@ -624,7 +624,7 @@ interface EnqueueRedeemOpenWithBuilderOptions {
|
|
|
624
624
|
* down, to the code, capped at the redeem value left after the trading fee.
|
|
625
625
|
* Refuses sells like `enqueue_redeem_open`. Returns the new record ID.
|
|
626
626
|
*/
|
|
627
|
-
declare function enqueueRedeemOpenWithBuilder(options: EnqueueRedeemOpenWithBuilderOptions): (tx: Transaction) =>
|
|
627
|
+
declare function enqueueRedeemOpenWithBuilder(options: EnqueueRedeemOpenWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
628
628
|
interface CommitArguments {
|
|
629
629
|
queue: RawTransactionArgument<string>;
|
|
630
630
|
market: RawTransactionArgument<string>;
|
|
@@ -662,7 +662,7 @@ interface CommitOptions {
|
|
|
662
662
|
* Uses Lazer's v1 `Update`, which Pyth marked deprecated on Mainnet but still
|
|
663
663
|
* serves; v2 arrives with a later library constructor.
|
|
664
664
|
*/
|
|
665
|
-
declare function commit(options: CommitOptions): (tx: Transaction) =>
|
|
665
|
+
declare function commit(options: CommitOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
666
666
|
interface ResolveArguments {
|
|
667
667
|
queue: RawTransactionArgument<string>;
|
|
668
668
|
market: RawTransactionArgument<string>;
|
|
@@ -695,7 +695,7 @@ interface ResolveOptions {
|
|
|
695
695
|
* parks it in the record when the receive address is denied. Returns 0 on a
|
|
696
696
|
* settled market, whose waiting orders the settlement drain refunds.
|
|
697
697
|
*/
|
|
698
|
-
declare function resolve(options: ResolveOptions): (tx: Transaction) =>
|
|
698
|
+
declare function resolve(options: ResolveOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
699
699
|
interface RefundArguments {
|
|
700
700
|
queue: RawTransactionArgument<string>;
|
|
701
701
|
market: RawTransactionArgument<string>;
|
|
@@ -722,7 +722,7 @@ interface RefundOptions {
|
|
|
722
722
|
* take is parked in its record. Returns how many orders it refunded: `0`, without
|
|
723
723
|
* aborting, when none is due.
|
|
724
724
|
*/
|
|
725
|
-
declare function refund(options: RefundOptions): (tx: Transaction) =>
|
|
725
|
+
declare function refund(options: RefundOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
726
726
|
interface AdminRefundArguments {
|
|
727
727
|
queue: RawTransactionArgument<string>;
|
|
728
728
|
market: RawTransactionArgument<string>;
|
|
@@ -746,7 +746,7 @@ interface AdminRefundOptions {
|
|
|
746
746
|
* and finished IDs are skipped, and a refund the receive address cannot take is
|
|
747
747
|
* parked in its record.
|
|
748
748
|
*/
|
|
749
|
-
declare function adminRefund(options: AdminRefundOptions): (tx: Transaction) =>
|
|
749
|
+
declare function adminRefund(options: AdminRefundOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
750
750
|
interface CleanupArguments {
|
|
751
751
|
queue: RawTransactionArgument<string>;
|
|
752
752
|
market: RawTransactionArgument<string>;
|
|
@@ -768,7 +768,7 @@ interface CleanupOptions {
|
|
|
768
768
|
* are skipped; `QueuedOrdersCleaned` is emitted only when a record was deleted.
|
|
769
769
|
* Takes `&Clock` only to stamp the event.
|
|
770
770
|
*/
|
|
771
|
-
declare function cleanup(options: CleanupOptions): (tx: Transaction) =>
|
|
771
|
+
declare function cleanup(options: CleanupOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
772
772
|
interface SettleStepArguments {
|
|
773
773
|
queue: RawTransactionArgument<string>;
|
|
774
774
|
market: RawTransactionArgument<string>;
|
|
@@ -807,7 +807,7 @@ interface SettleStepOptions {
|
|
|
807
807
|
*
|
|
808
808
|
* The keeper sends one call per transaction until it returns `phase_done()`.
|
|
809
809
|
*/
|
|
810
|
-
declare function settleStep(options: SettleStepOptions): (tx: Transaction) =>
|
|
810
|
+
declare function settleStep(options: SettleStepOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
811
811
|
interface PayOpenArguments {
|
|
812
812
|
queue: RawTransactionArgument<string>;
|
|
813
813
|
market: RawTransactionArgument<string>;
|
|
@@ -833,7 +833,7 @@ interface PayOpenOptions {
|
|
|
833
833
|
* and leaves it Open if the cause persists. A missing or non-Open record is left
|
|
834
834
|
* alone. Aborts `EMarketNotSettled` before Predict settles the market.
|
|
835
835
|
*/
|
|
836
|
-
declare function payOpen(options: PayOpenOptions): (tx: Transaction) =>
|
|
836
|
+
declare function payOpen(options: PayOpenOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
837
837
|
interface ClaimParkedArguments {
|
|
838
838
|
queue: RawTransactionArgument<string>;
|
|
839
839
|
desk?: RawTransactionArgument<string>;
|
|
@@ -855,7 +855,7 @@ interface ClaimParkedOptions {
|
|
|
855
855
|
* changes nothing for a missing or unfinished record, one with nothing parked, or
|
|
856
856
|
* an address still denied.
|
|
857
857
|
*/
|
|
858
|
-
declare function claimParked(options: ClaimParkedOptions): (tx: Transaction) =>
|
|
858
|
+
declare function claimParked(options: ClaimParkedOptions): (tx: Transaction) => _mysten_sui_transactions597.TransactionResult;
|
|
859
859
|
//#endregion
|
|
860
860
|
export { AdminRefundArguments, AdminRefundOptions, BuilderFeePerContractArguments, BuilderFeePerContractOptions, ClaimParkedArguments, ClaimParkedOptions, CleanupArguments, CleanupOptions, CommitArguments, CommitOptions, CreateAndShareArguments, CreateAndShareOptions, DeskIdArguments, DeskIdOptions, EnqueueExactAmountArguments, EnqueueExactAmountOptions, EnqueueExactAmountWithBuilderArguments, EnqueueExactAmountWithBuilderOptions, EnqueueExactCostArguments, EnqueueExactCostOptions, EnqueueExactCostWithBuilderArguments, EnqueueExactCostWithBuilderOptions, EnqueueExactQuantityArguments, EnqueueExactQuantityOptions, EnqueueExactQuantityWithBuilderArguments, EnqueueExactQuantityWithBuilderOptions, EnqueueRedeemOpenArguments, EnqueueRedeemOpenOptions, EnqueueRedeemOpenWithBuilderArguments, EnqueueRedeemOpenWithBuilderOptions, ExpiryMarketIdArguments, ExpiryMarketIdOptions, IdArguments, IdOptions, MarketQueue, OldestUnfinishedTauMsArguments, OldestUnfinishedTauMsOptions, OrderArguments, OrderOptions, PayOpenArguments, PayOpenOptions, PayoutProgressArguments, PayoutProgressOptions, PendingCountsArguments, PendingCountsOptions, PhaseDoneOptions, PhaseDrainOptions, PhasePayOptions, QueueHeadsArguments, QueueHeadsOptions, QueueIdArguments, QueueIdOptions, QueueStuckArguments, QueueStuckOptions, QuoteRedeemOpenOptions, QuoteRedeemOpenWithBuilderFeeArguments, QuoteRedeemOpenWithBuilderFeeOptions, RefundArguments, RefundOptions, ResolveArguments, ResolveOptions, SettleStepArguments, SettleStepOptions, WaitingCohortsArguments, WaitingCohortsOptions, WaitingOrdersArguments, WaitingOrdersOptions, adminRefund, builderFeePerContract, claimParked, cleanup, commit, createAndShare, deskId, enqueueExactAmount, enqueueExactAmountWithBuilder, enqueueExactCost, enqueueExactCostWithBuilder, enqueueExactQuantity, enqueueExactQuantityWithBuilder, enqueueRedeemOpen, enqueueRedeemOpenWithBuilder, expiryMarketId, id, oldestUnfinishedTauMs, order, payOpen, payoutProgress, pendingCounts, phaseDone, phaseDrain, phasePay, queueHeads, queueId, queueStuck, quoteRedeemOpenWithBuilderFee, refund, resolve, settleStep, waitingCohorts, waitingOrders };
|
|
861
861
|
//# sourceMappingURL=queue.d.mts.map
|