@mysten/deepbook-v3 2.9.2 → 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 +58 -0
- package/README.md +21 -0
- package/dist/account-bindings/account-registry.d.mts +109 -0
- package/dist/account-bindings/account-registry.d.mts.map +1 -0
- package/dist/account-bindings/account-registry.mjs +56 -0
- package/dist/account-bindings/account-registry.mjs.map +1 -0
- package/dist/account-bindings/account.d.mts +176 -0
- package/dist/account-bindings/account.d.mts.map +1 -0
- package/dist/account-bindings/account.mjs +94 -0
- package/dist/account-bindings/account.mjs.map +1 -0
- package/dist/account-bindings/latest.d.mts +12 -0
- package/dist/account-bindings/latest.d.mts.map +1 -0
- package/dist/account-bindings/latest.mjs +19 -0
- package/dist/account-bindings/latest.mjs.map +1 -0
- package/dist/account.d.mts +46 -3
- package/dist/account.d.mts.map +1 -1
- package/dist/account.mjs +51 -2
- package/dist/account.mjs.map +1 -1
- package/dist/contracts/account/account.d.mts +25 -97
- package/dist/contracts/account/account.d.mts.map +1 -1
- package/dist/contracts/account/account.mjs +43 -35
- package/dist/contracts/account/account.mjs.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 +7 -54
- package/dist/contracts/account/account_registry.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.mjs +2 -22
- package/dist/contracts/account/account_registry.mjs.map +1 -1
- 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 +60 -13
- package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code.mjs +55 -1
- package/dist/contracts/deepbook_predict/builder_code.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +88 -84
- package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/config_events.mjs +8 -0
- package/dist/contracts/deepbook_predict/config_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +262 -101
- package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs +320 -41
- package/dist/contracts/deepbook_predict/expiry_market.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
- package/dist/contracts/deepbook_predict/order_events.d.mts +56 -54
- package/dist/contracts/deepbook_predict/order_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- 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/predict_account.d.mts +22 -17
- package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/predict_account.mjs +12 -6
- package/dist/contracts/deepbook_predict/predict_account.mjs.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 +127 -83
- package/dist/contracts/deepbook_predict/protocol_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.mjs +59 -1
- package/dist/contracts/deepbook_predict/protocol_config.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
- 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/deps/deepbook_predict/expiry_market.mjs +6 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.mjs.map +1 -1
- package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +240 -62
- package/dist/contracts/deepbook_predict_orders/queue.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict_orders/queue.mjs +306 -41
- package/dist/contracts/deepbook_predict_orders/queue.mjs.map +1 -1
- 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 +271 -31
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs +363 -3
- package/dist/contracts/deepbook_sessions/sessions.mjs.map +1 -1
- package/dist/deployments/mainnet.mjs.map +1 -1
- package/dist/deployments/testnet.d.mts.map +1 -1
- package/dist/deployments/testnet.mjs +7 -4
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/predict/bindings/expiry-market.d.mts +57 -7
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
- package/dist/predict/bindings/expiry-market.mjs +48 -2
- package/dist/predict/bindings/expiry-market.mjs.map +1 -1
- package/dist/predict/bindings/protocol-config.d.mts +5 -5
- package/dist/predict/bindings/protocol-config.mjs +4 -1
- package/dist/predict/bindings/protocol-config.mjs.map +1 -1
- package/dist/predict/bindings/queue.d.mts +30 -0
- package/dist/predict/bindings/queue.d.mts.map +1 -0
- package/dist/predict/bindings/queue.mjs +59 -0
- package/dist/predict/bindings/queue.mjs.map +1 -0
- package/dist/predict/bindings/rename.mjs +5 -1
- package/dist/predict/bindings/rename.mjs.map +1 -1
- package/dist/predict/client.d.mts.map +1 -1
- package/dist/predict/client.mjs +11 -5
- package/dist/predict/client.mjs.map +1 -1
- package/dist/predict/config/generated.d.mts +1 -1
- package/dist/predict/config/generated.d.mts.map +1 -1
- package/dist/predict/config/generated.mjs +1 -0
- package/dist/predict/config/generated.mjs.map +1 -1
- package/dist/predict/config/mainnet.mjs +3 -1
- package/dist/predict/config/mainnet.mjs.map +1 -1
- package/dist/predict/config/testnet.mjs +3 -1
- package/dist/predict/config/testnet.mjs.map +1 -1
- package/dist/predict/config/types.d.mts +23 -0
- package/dist/predict/config/types.d.mts.map +1 -1
- package/dist/predict/cost.d.mts +9 -1
- package/dist/predict/cost.d.mts.map +1 -1
- package/dist/predict/cost.mjs.map +1 -1
- package/dist/predict/errors.d.mts.map +1 -1
- package/dist/predict/errors.mjs +6 -2
- package/dist/predict/errors.mjs.map +1 -1
- package/dist/predict/index.d.mts +1 -1
- package/dist/predict/index.mjs +2 -2
- package/dist/predict/queue.d.mts +8 -4
- package/dist/predict/queue.d.mts.map +1 -1
- package/dist/predict/queue.mjs +8 -4
- package/dist/predict/queue.mjs.map +1 -1
- package/dist/predict/reads/balances.mjs +1 -1
- package/dist/predict/reads/queue.d.mts +3 -2
- package/dist/predict/reads/queue.d.mts.map +1 -1
- package/dist/predict/reads/queue.mjs +5 -4
- package/dist/predict/reads/queue.mjs.map +1 -1
- package/dist/predict/tx/authed.mjs +1 -1
- package/dist/predict/tx/common.d.mts.map +1 -1
- package/dist/predict/tx/common.mjs +3 -2
- package/dist/predict/tx/common.mjs.map +1 -1
- package/dist/predict/tx/trade.d.mts.map +1 -1
- package/dist/predict/tx/trade.mjs +3 -2
- package/dist/predict/tx/trade.mjs.map +1 -1
- package/dist/sessions.d.mts +10 -1
- package/dist/sessions.d.mts.map +1 -1
- package/dist/sessions.mjs.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/balanceManager.d.mts.map +1 -1
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbook.d.mts.map +1 -1
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginAdmin.d.mts.map +1 -1
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginMaintainer.d.mts.map +1 -1
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginManager.d.mts.map +1 -1
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginPool.d.mts.map +1 -1
- package/dist/transactions/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/marginTPSL.d.mts.map +1 -1
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/transactions/poolProxy.d.mts.map +1 -1
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +2 -2
- package/dist/utils/constants.mjs.map +1 -1
- package/package.json +1 -1
- package/src/account-bindings/account-registry.ts +39 -0
- package/src/account-bindings/account.ts +73 -0
- package/src/account-bindings/latest.ts +41 -0
- package/src/account.ts +89 -5
- package/src/contracts/account/account.ts +73 -4
- package/src/contracts/account/account_registry.ts +1 -1
- package/src/contracts/deepbook_predict/builder_code.ts +94 -2
- package/src/contracts/deepbook_predict/config_events.ts +7 -0
- package/src/contracts/deepbook_predict/expiry_market.ts +490 -44
- package/src/contracts/deepbook_predict/order_events.ts +6 -4
- package/src/contracts/deepbook_predict/predict_account.ts +12 -6
- package/src/contracts/deepbook_predict/protocol_config.ts +85 -0
- package/src/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.ts +14 -0
- package/src/contracts/deepbook_predict_orders/order_flow.ts +4 -0
- package/src/contracts/deepbook_predict_orders/queue.ts +495 -9
- package/src/contracts/deepbook_sessions/sessions.ts +538 -3
- package/src/deployments/mainnet.ts +4 -4
- package/src/deployments/testnet.ts +18 -7
- package/src/deployments/types.ts +14 -0
- package/src/predict/bindings/expiry-market.ts +87 -0
- package/src/predict/bindings/queue.ts +42 -0
- package/src/predict/bindings/rename.ts +5 -1
- package/src/predict/client.ts +25 -3
- package/src/predict/config/generated.ts +3 -0
- package/src/predict/config/mainnet.ts +4 -0
- package/src/predict/config/testnet.ts +4 -0
- package/src/predict/config/types.ts +23 -0
- package/src/predict/cost.ts +9 -1
- package/src/predict/errors.ts +11 -1
- package/src/predict/index.ts +1 -1
- package/src/predict/queue.ts +8 -4
- package/src/predict/reads/queue.ts +7 -4
- package/src/predict/tx/common.ts +2 -0
- package/src/predict/tx/trade.ts +3 -1
- package/src/sessions.ts +10 -1
- package/src/utils/constants.ts +8 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MoveStruct } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs464 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions311 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict_orders/order_queue.d.ts
|
|
@@ -8,17 +8,17 @@ declare namespace order_queue_d_exports {
|
|
|
8
8
|
export { AccountIdArguments, AccountIdOptions, BudgetArguments, BudgetOptions, CashNeedArguments, CashNeedOptions, CohortSpan, CommittedPrice, CutoffMsArguments, CutoffMsOptions, DeadlineMsArguments, DeadlineMsOptions, EarliestPriceMsArguments, EarliestPriceMsOptions, EscrowArguments, EscrowOptions, FinishedAtMsArguments, FinishedAtMsOptions, FundsArguments, FundsOptions, GenerationUsArguments, GenerationUsOptions, HeldPosition, HigherTickArguments, HigherTickOptions, KindArguments, KindExactAmountOptions, KindExactCostOptions, KindExactQuantityOptions, KindOptions, KindRedeemLiveOptions, KindRedeemOpenOptions, LowerTickArguments, LowerTickOptions, MaxCostArguments, MaxCostOptions, MaxPremiumArguments, MaxPremiumOptions, MaxProbabilityArguments, MaxProbabilityOptions, MinProbabilityArguments, MinProbabilityOptions, MinProceedsArguments, MinProceedsOptions, MinQuantityArguments, MinQuantityOptions, OpenedAtMsArguments, OpenedAtMsOptions, OrderBook, OrderEscrow, OrderFeeArguments, OrderFeeOptions, OrderIdArguments, OrderIdOptions, OrderRequest, OrderResult, OrderTiming, OrderView, PlacedAtMsArguments, PlacedAtMsOptions, PositionArguments, PositionOptions, PriceArguments, PriceOptions, PythChannelArguments, PythChannelOptions, QuantityArguments, QuantityOptions, QueuedOrder, ReasonAdminOptions, ReasonAdmissionOptions, ReasonArguments, ReasonDeadlineOptions, ReasonFreezeOptions, ReasonLimitsOptions, ReasonMissingNodeOptions, ReasonNoCashOptions, ReasonNoPriceOptions, ReasonOptions, ReasonRecipientDeniedOptions, ReceiptStageArguments, ReceiptStageOptions, ReceiveAddressArguments, ReceiveAddressOptions, RequestArguments, RequestOptions, ResultAmountArguments, ResultAmountOptions, ResultArguments, ResultOptions, ResultQuantityArguments, ResultQuantityOptions, RootIdArguments, RootIdOptions, SpotArguments, SpotOptions, StatusArguments, StatusClosedOptions, StatusCommittedOptions, StatusOpenOptions, StatusOptions, StatusPendingOptions, StatusRefundDueOptions, StatusRefundedOptions, SubsidyBoundArguments, SubsidyBoundOptions, SubsidyReservedArguments, SubsidyReservedOptions, TauMsArguments, TauMsOptions, TickMsArguments, TickMsOptions, TimingArguments, TimingOptions, accountId, budget, cashNeed, cutoffMs, deadlineMs, earliestPriceMs, escrow, finishedAtMs, funds, generationUs, higherTick, kind, kindExactAmount, kindExactCost, kindExactQuantity, kindRedeemLive, kindRedeemOpen, lowerTick, maxCost, maxPremium, maxProbability, minProbability, minProceeds, minQuantity, openedAtMs, orderFee, orderId, placedAtMs, position, price, pythChannel, quantity, reason, reasonAdmin, reasonAdmission, reasonDeadline, reasonFreeze, reasonLimits, reasonMissingNode, reasonNoCash, reasonNoPrice, reasonRecipientDenied, receiptStage, receiveAddress, request, result, resultAmount, resultQuantity, rootId, spot, status, statusClosed, statusCommitted, statusOpen, statusPending, statusRefundDue, statusRefunded, subsidyBound, subsidyReserved, tauMs, tickMs, timing };
|
|
9
9
|
}
|
|
10
10
|
declare const CohortSpan: MoveStruct<{
|
|
11
|
-
tau_ms:
|
|
12
|
-
deadline_ms:
|
|
11
|
+
tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
12
|
+
deadline_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
13
13
|
/**
|
|
14
14
|
* Lower bound on the cohort's first unfinished record. A walker that stops inside
|
|
15
15
|
* the span moves it to the first record it did not visit.
|
|
16
16
|
*/
|
|
17
|
-
first_id:
|
|
18
|
-
end_id:
|
|
19
|
-
pyth_channel:
|
|
20
|
-
committed:
|
|
21
|
-
unfinished:
|
|
17
|
+
first_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Exclusive. */
|
|
18
|
+
end_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
19
|
+
pyth_channel: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** Set once commit attaches the cohort's price. A committed span never grows. */
|
|
20
|
+
committed: _mysten_sui_bcs464.BcsType<boolean, boolean, "bool">; /** Pending, Committed, and RefundDue orders left in the cohort. */
|
|
21
|
+
unfinished: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
22
22
|
}, "@local-pkg/deepbook_predict_orders::order_queue::CohortSpan">;
|
|
23
23
|
declare const OrderBook: MoveStruct<{
|
|
24
24
|
/**
|
|
@@ -26,25 +26,25 @@ declare const OrderBook: MoveStruct<{
|
|
|
26
26
|
* finish until `cleanup` deletes them.
|
|
27
27
|
*/
|
|
28
28
|
orders: MoveStruct<{
|
|
29
|
-
id:
|
|
30
|
-
size:
|
|
29
|
+
id: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
30
|
+
size: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
31
31
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
32
|
-
next_id:
|
|
32
|
+
next_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
33
33
|
/**
|
|
34
34
|
* Lower bound on the first unfinished record: the first span's `first_id`, or
|
|
35
35
|
* `next_id` when no span remains.
|
|
36
36
|
*/
|
|
37
|
-
resolve_head:
|
|
37
|
+
resolve_head: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
38
38
|
/**
|
|
39
39
|
* Where the next settlement payout call resumes. Only moves forward, and never
|
|
40
40
|
* past `next_id`.
|
|
41
41
|
*/
|
|
42
|
-
payout_cursor:
|
|
42
|
+
payout_cursor: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
43
43
|
/**
|
|
44
44
|
* One span per cohort (orders sharing one τ) that still has an unfinished order,
|
|
45
45
|
* in τ order. Inline, so a walk loads no extra object to find them.
|
|
46
46
|
*/
|
|
47
|
-
cohorts:
|
|
47
|
+
cohorts: _mysten_sui_bcs464.BcsType<{
|
|
48
48
|
tau_ms: bigint;
|
|
49
49
|
deadline_ms: bigint;
|
|
50
50
|
first_id: bigint;
|
|
@@ -63,163 +63,163 @@ declare const OrderBook: MoveStruct<{
|
|
|
63
63
|
}> & {
|
|
64
64
|
length: number;
|
|
65
65
|
}, string>; /** Keep τ and the deadline non-decreasing along record IDs. */
|
|
66
|
-
last_tau_ms:
|
|
66
|
+
last_tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
67
67
|
/**
|
|
68
68
|
* Newest τ any commit has priced. Never decreases; no new order gets a τ at or
|
|
69
69
|
* below it.
|
|
70
70
|
*/
|
|
71
|
-
last_committed_tau_ms:
|
|
72
|
-
last_deadline_ms:
|
|
71
|
+
last_committed_tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
72
|
+
last_deadline_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
73
73
|
/**
|
|
74
74
|
* The newest order's Pyth channel. A channel change forces the next τ strictly
|
|
75
75
|
* past `last_tau_ms`, so one cohort never mixes channels.
|
|
76
76
|
*/
|
|
77
|
-
last_channel:
|
|
77
|
+
last_channel: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
78
78
|
/**
|
|
79
79
|
* Unfinished orders per account. A row is created by the account's first placement
|
|
80
80
|
* in this market and never deleted.
|
|
81
81
|
*/
|
|
82
82
|
per_account: MoveStruct<{
|
|
83
|
-
id:
|
|
84
|
-
size:
|
|
83
|
+
id: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
84
|
+
size: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
85
85
|
}, "0x2::table::Table<phantom K, phantom V>">; /** Unfinished mints and sells, against the policy capacities. */
|
|
86
|
-
pending_mints:
|
|
87
|
-
pending_sells:
|
|
86
|
+
pending_mints: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
87
|
+
pending_sells: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
88
88
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderBook">;
|
|
89
89
|
declare const OrderRequest: MoveStruct<{
|
|
90
|
-
lower_tick:
|
|
91
|
-
higher_tick:
|
|
92
|
-
quantity:
|
|
93
|
-
max_premium:
|
|
94
|
-
min_quantity:
|
|
95
|
-
max_cost:
|
|
96
|
-
max_probability:
|
|
97
|
-
min_probability:
|
|
98
|
-
min_proceeds:
|
|
90
|
+
lower_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
91
|
+
higher_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
92
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
93
|
+
max_premium: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
94
|
+
min_quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
95
|
+
max_cost: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
96
|
+
max_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
97
|
+
min_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
98
|
+
min_proceeds: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
99
99
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">;
|
|
100
100
|
declare const OrderTiming: MoveStruct<{
|
|
101
|
-
/** t₀, the Sui clock of the placement transaction. */placed_at_ms:
|
|
102
|
-
earliest_price_ms:
|
|
103
|
-
tau_ms:
|
|
104
|
-
deadline_ms:
|
|
101
|
+
/** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** τ itself: a price generated before it never commits the order. */
|
|
102
|
+
earliest_price_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The channel tick the order is priced on. */
|
|
103
|
+
tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** At or past it the order is refunded, never filled. */
|
|
104
|
+
deadline_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
105
105
|
/**
|
|
106
106
|
* `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires
|
|
107
107
|
* τ below it.
|
|
108
108
|
*/
|
|
109
|
-
cutoff_ms:
|
|
110
|
-
pyth_channel:
|
|
109
|
+
cutoff_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The policy channel at placement. Commit accepts only updates on it. */
|
|
110
|
+
pyth_channel: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
111
111
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">;
|
|
112
112
|
declare const OrderEscrow: MoveStruct<{
|
|
113
113
|
/**
|
|
114
114
|
* USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock
|
|
115
115
|
* none.
|
|
116
116
|
*/
|
|
117
|
-
budget:
|
|
118
|
-
order_fee:
|
|
117
|
+
budget: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Flat fee charged at placement. */
|
|
118
|
+
order_fee: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
119
119
|
/**
|
|
120
120
|
* The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds
|
|
121
121
|
* the subsidy commit reserves.
|
|
122
122
|
*/
|
|
123
|
-
subsidy_bound:
|
|
124
|
-
subsidy_reserved:
|
|
123
|
+
subsidy_bound: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The incentives commit reserved for the order, held with its escrow. */
|
|
124
|
+
subsidy_reserved: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
125
125
|
/**
|
|
126
126
|
* Worst-case market cash the fill can consume, counted in Predict's waiting cash
|
|
127
127
|
* need while the order waits.
|
|
128
128
|
*/
|
|
129
|
-
cash_need:
|
|
129
|
+
cash_need: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
130
130
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">;
|
|
131
131
|
declare const HeldPosition: MoveStruct<{
|
|
132
|
-
order_id:
|
|
133
|
-
root_id:
|
|
134
|
-
opened_at_ms:
|
|
132
|
+
order_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
133
|
+
root_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
134
|
+
opened_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
135
135
|
}, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">;
|
|
136
136
|
declare const CommittedPrice: MoveStruct<{
|
|
137
|
-
/** Pyth price normalized to 1e9. */spot:
|
|
138
|
-
tick_ms:
|
|
139
|
-
generation_us:
|
|
137
|
+
/** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */
|
|
138
|
+
tick_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The feed's own update time, in µs. */
|
|
139
|
+
generation_us: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
140
140
|
}, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">;
|
|
141
141
|
declare const OrderResult: MoveStruct<{
|
|
142
|
-
/** `0` for a fill, or a `REASON_*` code. */reason:
|
|
143
|
-
quantity:
|
|
144
|
-
amount:
|
|
145
|
-
finished_at_ms:
|
|
142
|
+
/** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** Filled quantity (mint) or closed quantity (sell). */
|
|
143
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */
|
|
144
|
+
amount: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Sui clock of the finishing transaction. */
|
|
145
|
+
finished_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
146
146
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">;
|
|
147
147
|
declare const QueuedOrder: MoveStruct<{
|
|
148
148
|
/**
|
|
149
149
|
* A `STATUS_*` code. Only moves forward, except that a refunded or partly filled
|
|
150
150
|
* sell returns to Open holding its position.
|
|
151
151
|
*/
|
|
152
|
-
status:
|
|
153
|
-
kind:
|
|
152
|
+
status: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** A `KIND_*` code. */
|
|
153
|
+
kind: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
154
154
|
request: MoveStruct<{
|
|
155
|
-
lower_tick:
|
|
156
|
-
higher_tick:
|
|
157
|
-
quantity:
|
|
158
|
-
max_premium:
|
|
159
|
-
min_quantity:
|
|
160
|
-
max_cost:
|
|
161
|
-
max_probability:
|
|
162
|
-
min_probability:
|
|
163
|
-
min_proceeds:
|
|
155
|
+
lower_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
156
|
+
higher_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
157
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
158
|
+
max_premium: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
159
|
+
min_quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
160
|
+
max_cost: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
161
|
+
max_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
162
|
+
min_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
163
|
+
min_proceeds: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
164
164
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">;
|
|
165
|
-
account_id:
|
|
166
|
-
receive_address:
|
|
165
|
+
account_id: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">; /** The account's receive address. Refunds and returned escrow go here. */
|
|
166
|
+
receive_address: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
167
167
|
timing: MoveStruct<{
|
|
168
|
-
/** t₀, the Sui clock of the placement transaction. */placed_at_ms:
|
|
169
|
-
earliest_price_ms:
|
|
170
|
-
tau_ms:
|
|
171
|
-
deadline_ms:
|
|
168
|
+
/** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** τ itself: a price generated before it never commits the order. */
|
|
169
|
+
earliest_price_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The channel tick the order is priced on. */
|
|
170
|
+
tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** At or past it the order is refunded, never filled. */
|
|
171
|
+
deadline_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
172
172
|
/**
|
|
173
173
|
* `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires
|
|
174
174
|
* τ below it.
|
|
175
175
|
*/
|
|
176
|
-
cutoff_ms:
|
|
177
|
-
pyth_channel:
|
|
176
|
+
cutoff_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The policy channel at placement. Commit accepts only updates on it. */
|
|
177
|
+
pyth_channel: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
178
178
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">;
|
|
179
179
|
escrow: MoveStruct<{
|
|
180
180
|
/**
|
|
181
181
|
* USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock
|
|
182
182
|
* none.
|
|
183
183
|
*/
|
|
184
|
-
budget:
|
|
185
|
-
order_fee:
|
|
184
|
+
budget: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Flat fee charged at placement. */
|
|
185
|
+
order_fee: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
186
186
|
/**
|
|
187
187
|
* The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds
|
|
188
188
|
* the subsidy commit reserves.
|
|
189
189
|
*/
|
|
190
|
-
subsidy_bound:
|
|
191
|
-
subsidy_reserved:
|
|
190
|
+
subsidy_bound: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The incentives commit reserved for the order, held with its escrow. */
|
|
191
|
+
subsidy_reserved: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
192
192
|
/**
|
|
193
193
|
* Worst-case market cash the fill can consume, counted in Predict's waiting cash
|
|
194
194
|
* need while the order waits.
|
|
195
195
|
*/
|
|
196
|
-
cash_need:
|
|
196
|
+
cash_need: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
197
197
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">;
|
|
198
198
|
/**
|
|
199
199
|
* The position the record holds: a sell's position from placement, or a filled
|
|
200
200
|
* mint's new position. Zero otherwise.
|
|
201
201
|
*/
|
|
202
202
|
position: MoveStruct<{
|
|
203
|
-
order_id:
|
|
204
|
-
root_id:
|
|
205
|
-
opened_at_ms:
|
|
203
|
+
order_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
204
|
+
root_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
205
|
+
opened_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
206
206
|
}, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">;
|
|
207
207
|
price: MoveStruct<{
|
|
208
|
-
/** Pyth price normalized to 1e9. */spot:
|
|
209
|
-
tick_ms:
|
|
210
|
-
generation_us:
|
|
208
|
+
/** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */
|
|
209
|
+
tick_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The feed's own update time, in µs. */
|
|
210
|
+
generation_us: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
211
211
|
}, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">;
|
|
212
212
|
result: MoveStruct<{
|
|
213
|
-
/** `0` for a fill, or a `REASON_*` code. */reason:
|
|
214
|
-
quantity:
|
|
215
|
-
amount:
|
|
216
|
-
finished_at_ms:
|
|
213
|
+
/** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** Filled quantity (mint) or closed quantity (sell). */
|
|
214
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */
|
|
215
|
+
amount: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Sui clock of the finishing transaction. */
|
|
216
|
+
finished_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
217
217
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">;
|
|
218
218
|
/**
|
|
219
219
|
* Predict's receipt: admitted while the order waits, open while the record holds a
|
|
220
220
|
* position, `none` once the order is refunded or fully closed.
|
|
221
221
|
*/
|
|
222
|
-
receipt:
|
|
222
|
+
receipt: _mysten_sui_bcs464.BcsType<{
|
|
223
223
|
expiry_market_id: string;
|
|
224
224
|
stage: number;
|
|
225
225
|
kind: number;
|
|
@@ -342,78 +342,78 @@ declare const QueuedOrder: MoveStruct<{
|
|
|
342
342
|
* (parked funds), until `queue::claim_parked` sends it.
|
|
343
343
|
*/
|
|
344
344
|
funds: MoveStruct<{
|
|
345
|
-
value:
|
|
345
|
+
value: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
346
346
|
}, "0x2::balance::Balance<phantom T>">;
|
|
347
347
|
}, "@local-pkg/deepbook_predict_orders::order_queue::QueuedOrder">;
|
|
348
348
|
declare const OrderView: MoveStruct<{
|
|
349
|
-
status:
|
|
350
|
-
kind:
|
|
349
|
+
status: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
350
|
+
kind: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
351
351
|
request: MoveStruct<{
|
|
352
|
-
lower_tick:
|
|
353
|
-
higher_tick:
|
|
354
|
-
quantity:
|
|
355
|
-
max_premium:
|
|
356
|
-
min_quantity:
|
|
357
|
-
max_cost:
|
|
358
|
-
max_probability:
|
|
359
|
-
min_probability:
|
|
360
|
-
min_proceeds:
|
|
352
|
+
lower_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
353
|
+
higher_tick: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
354
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
355
|
+
max_premium: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
356
|
+
min_quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
357
|
+
max_cost: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
358
|
+
max_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
359
|
+
min_probability: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
360
|
+
min_proceeds: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
361
361
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">;
|
|
362
|
-
account_id:
|
|
363
|
-
receive_address:
|
|
362
|
+
account_id: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
363
|
+
receive_address: _mysten_sui_bcs464.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
364
364
|
timing: MoveStruct<{
|
|
365
|
-
/** t₀, the Sui clock of the placement transaction. */placed_at_ms:
|
|
366
|
-
earliest_price_ms:
|
|
367
|
-
tau_ms:
|
|
368
|
-
deadline_ms:
|
|
365
|
+
/** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** τ itself: a price generated before it never commits the order. */
|
|
366
|
+
earliest_price_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The channel tick the order is priced on. */
|
|
367
|
+
tau_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** At or past it the order is refunded, never filled. */
|
|
368
|
+
deadline_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
369
369
|
/**
|
|
370
370
|
* `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires
|
|
371
371
|
* τ below it.
|
|
372
372
|
*/
|
|
373
|
-
cutoff_ms:
|
|
374
|
-
pyth_channel:
|
|
373
|
+
cutoff_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The policy channel at placement. Commit accepts only updates on it. */
|
|
374
|
+
pyth_channel: _mysten_sui_bcs464.BcsType<number, number, "u8">;
|
|
375
375
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">;
|
|
376
376
|
escrow: MoveStruct<{
|
|
377
377
|
/**
|
|
378
378
|
* USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock
|
|
379
379
|
* none.
|
|
380
380
|
*/
|
|
381
|
-
budget:
|
|
382
|
-
order_fee:
|
|
381
|
+
budget: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Flat fee charged at placement. */
|
|
382
|
+
order_fee: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
383
383
|
/**
|
|
384
384
|
* The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds
|
|
385
385
|
* the subsidy commit reserves.
|
|
386
386
|
*/
|
|
387
|
-
subsidy_bound:
|
|
388
|
-
subsidy_reserved:
|
|
387
|
+
subsidy_bound: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The incentives commit reserved for the order, held with its escrow. */
|
|
388
|
+
subsidy_reserved: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
389
389
|
/**
|
|
390
390
|
* Worst-case market cash the fill can consume, counted in Predict's waiting cash
|
|
391
391
|
* need while the order waits.
|
|
392
392
|
*/
|
|
393
|
-
cash_need:
|
|
393
|
+
cash_need: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
394
394
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">;
|
|
395
395
|
position: MoveStruct<{
|
|
396
|
-
order_id:
|
|
397
|
-
root_id:
|
|
398
|
-
opened_at_ms:
|
|
396
|
+
order_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
397
|
+
root_id: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u256">;
|
|
398
|
+
opened_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
399
399
|
}, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">;
|
|
400
400
|
price: MoveStruct<{
|
|
401
|
-
/** Pyth price normalized to 1e9. */spot:
|
|
402
|
-
tick_ms:
|
|
403
|
-
generation_us:
|
|
401
|
+
/** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */
|
|
402
|
+
tick_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** The feed's own update time, in µs. */
|
|
403
|
+
generation_us: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
404
404
|
}, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">;
|
|
405
405
|
result: MoveStruct<{
|
|
406
|
-
/** `0` for a fill, or a `REASON_*` code. */reason:
|
|
407
|
-
quantity:
|
|
408
|
-
amount:
|
|
409
|
-
finished_at_ms:
|
|
406
|
+
/** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** Filled quantity (mint) or closed quantity (sell). */
|
|
407
|
+
quantity: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */
|
|
408
|
+
amount: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">; /** Sui clock of the finishing transaction. */
|
|
409
|
+
finished_at_ms: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
410
410
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">;
|
|
411
411
|
/**
|
|
412
412
|
* The receipt's Predict stage (`constants::receipt_stage_*`), `0` when the record
|
|
413
413
|
* holds none.
|
|
414
414
|
*/
|
|
415
|
-
receipt_stage:
|
|
416
|
-
funds:
|
|
415
|
+
receipt_stage: _mysten_sui_bcs464.BcsType<number, number, "u8">; /** USDC the record holds now: escrow while unfinished, parked funds after. */
|
|
416
|
+
funds: _mysten_sui_bcs464.BcsType<bigint, string | number | bigint, "u64">;
|
|
417
417
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderView">;
|
|
418
418
|
interface StatusPendingOptions {
|
|
419
419
|
package?: string;
|
|
@@ -422,7 +422,7 @@ interface StatusPendingOptions {
|
|
|
422
422
|
predictOrdersPackageId?: string;
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
|
-
declare function statusPending(options?: StatusPendingOptions): (tx: Transaction) =>
|
|
425
|
+
declare function statusPending(options?: StatusPendingOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
426
426
|
interface StatusCommittedOptions {
|
|
427
427
|
package?: string;
|
|
428
428
|
arguments?: [];
|
|
@@ -430,7 +430,7 @@ interface StatusCommittedOptions {
|
|
|
430
430
|
predictOrdersPackageId?: string;
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
-
declare function statusCommitted(options?: StatusCommittedOptions): (tx: Transaction) =>
|
|
433
|
+
declare function statusCommitted(options?: StatusCommittedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
434
434
|
interface StatusOpenOptions {
|
|
435
435
|
package?: string;
|
|
436
436
|
arguments?: [];
|
|
@@ -438,7 +438,7 @@ interface StatusOpenOptions {
|
|
|
438
438
|
predictOrdersPackageId?: string;
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
declare function statusOpen(options?: StatusOpenOptions): (tx: Transaction) =>
|
|
441
|
+
declare function statusOpen(options?: StatusOpenOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
442
442
|
interface StatusRefundedOptions {
|
|
443
443
|
package?: string;
|
|
444
444
|
arguments?: [];
|
|
@@ -446,7 +446,7 @@ interface StatusRefundedOptions {
|
|
|
446
446
|
predictOrdersPackageId?: string;
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
declare function statusRefunded(options?: StatusRefundedOptions): (tx: Transaction) =>
|
|
449
|
+
declare function statusRefunded(options?: StatusRefundedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
450
450
|
interface StatusClosedOptions {
|
|
451
451
|
package?: string;
|
|
452
452
|
arguments?: [];
|
|
@@ -454,7 +454,7 @@ interface StatusClosedOptions {
|
|
|
454
454
|
predictOrdersPackageId?: string;
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
declare function statusClosed(options?: StatusClosedOptions): (tx: Transaction) =>
|
|
457
|
+
declare function statusClosed(options?: StatusClosedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
458
458
|
interface StatusRefundDueOptions {
|
|
459
459
|
package?: string;
|
|
460
460
|
arguments?: [];
|
|
@@ -462,7 +462,7 @@ interface StatusRefundDueOptions {
|
|
|
462
462
|
predictOrdersPackageId?: string;
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
|
-
declare function statusRefundDue(options?: StatusRefundDueOptions): (tx: Transaction) =>
|
|
465
|
+
declare function statusRefundDue(options?: StatusRefundDueOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
466
466
|
interface KindExactQuantityOptions {
|
|
467
467
|
package?: string;
|
|
468
468
|
arguments?: [];
|
|
@@ -470,7 +470,7 @@ interface KindExactQuantityOptions {
|
|
|
470
470
|
predictOrdersPackageId?: string;
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
declare function kindExactQuantity(options?: KindExactQuantityOptions): (tx: Transaction) =>
|
|
473
|
+
declare function kindExactQuantity(options?: KindExactQuantityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
474
474
|
interface KindExactAmountOptions {
|
|
475
475
|
package?: string;
|
|
476
476
|
arguments?: [];
|
|
@@ -478,7 +478,7 @@ interface KindExactAmountOptions {
|
|
|
478
478
|
predictOrdersPackageId?: string;
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
|
-
declare function kindExactAmount(options?: KindExactAmountOptions): (tx: Transaction) =>
|
|
481
|
+
declare function kindExactAmount(options?: KindExactAmountOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
482
482
|
interface KindExactCostOptions {
|
|
483
483
|
package?: string;
|
|
484
484
|
arguments?: [];
|
|
@@ -486,7 +486,7 @@ interface KindExactCostOptions {
|
|
|
486
486
|
predictOrdersPackageId?: string;
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
declare function kindExactCost(options?: KindExactCostOptions): (tx: Transaction) =>
|
|
489
|
+
declare function kindExactCost(options?: KindExactCostOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
490
490
|
interface KindRedeemLiveOptions {
|
|
491
491
|
package?: string;
|
|
492
492
|
arguments?: [];
|
|
@@ -494,7 +494,7 @@ interface KindRedeemLiveOptions {
|
|
|
494
494
|
predictOrdersPackageId?: string;
|
|
495
495
|
};
|
|
496
496
|
}
|
|
497
|
-
declare function kindRedeemLive(options?: KindRedeemLiveOptions): (tx: Transaction) =>
|
|
497
|
+
declare function kindRedeemLive(options?: KindRedeemLiveOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
498
498
|
interface KindRedeemOpenOptions {
|
|
499
499
|
package?: string;
|
|
500
500
|
arguments?: [];
|
|
@@ -502,7 +502,7 @@ interface KindRedeemOpenOptions {
|
|
|
502
502
|
predictOrdersPackageId?: string;
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
|
-
declare function kindRedeemOpen(options?: KindRedeemOpenOptions): (tx: Transaction) =>
|
|
505
|
+
declare function kindRedeemOpen(options?: KindRedeemOpenOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
506
506
|
interface ReasonLimitsOptions {
|
|
507
507
|
package?: string;
|
|
508
508
|
arguments?: [];
|
|
@@ -510,7 +510,7 @@ interface ReasonLimitsOptions {
|
|
|
510
510
|
predictOrdersPackageId?: string;
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
declare function reasonLimits(options?: ReasonLimitsOptions): (tx: Transaction) =>
|
|
513
|
+
declare function reasonLimits(options?: ReasonLimitsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
514
514
|
interface ReasonAdmissionOptions {
|
|
515
515
|
package?: string;
|
|
516
516
|
arguments?: [];
|
|
@@ -518,7 +518,7 @@ interface ReasonAdmissionOptions {
|
|
|
518
518
|
predictOrdersPackageId?: string;
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
declare function reasonAdmission(options?: ReasonAdmissionOptions): (tx: Transaction) =>
|
|
521
|
+
declare function reasonAdmission(options?: ReasonAdmissionOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
522
522
|
interface ReasonNoPriceOptions {
|
|
523
523
|
package?: string;
|
|
524
524
|
arguments?: [];
|
|
@@ -526,7 +526,7 @@ interface ReasonNoPriceOptions {
|
|
|
526
526
|
predictOrdersPackageId?: string;
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
declare function reasonNoPrice(options?: ReasonNoPriceOptions): (tx: Transaction) =>
|
|
529
|
+
declare function reasonNoPrice(options?: ReasonNoPriceOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
530
530
|
interface ReasonMissingNodeOptions {
|
|
531
531
|
package?: string;
|
|
532
532
|
arguments?: [];
|
|
@@ -534,7 +534,7 @@ interface ReasonMissingNodeOptions {
|
|
|
534
534
|
predictOrdersPackageId?: string;
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
declare function reasonMissingNode(options?: ReasonMissingNodeOptions): (tx: Transaction) =>
|
|
537
|
+
declare function reasonMissingNode(options?: ReasonMissingNodeOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
538
538
|
interface ReasonDeadlineOptions {
|
|
539
539
|
package?: string;
|
|
540
540
|
arguments?: [];
|
|
@@ -542,7 +542,7 @@ interface ReasonDeadlineOptions {
|
|
|
542
542
|
predictOrdersPackageId?: string;
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
|
-
declare function reasonDeadline(options?: ReasonDeadlineOptions): (tx: Transaction) =>
|
|
545
|
+
declare function reasonDeadline(options?: ReasonDeadlineOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
546
546
|
interface ReasonFreezeOptions {
|
|
547
547
|
package?: string;
|
|
548
548
|
arguments?: [];
|
|
@@ -550,7 +550,7 @@ interface ReasonFreezeOptions {
|
|
|
550
550
|
predictOrdersPackageId?: string;
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
|
-
declare function reasonFreeze(options?: ReasonFreezeOptions): (tx: Transaction) =>
|
|
553
|
+
declare function reasonFreeze(options?: ReasonFreezeOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
554
554
|
interface ReasonAdminOptions {
|
|
555
555
|
package?: string;
|
|
556
556
|
arguments?: [];
|
|
@@ -558,7 +558,7 @@ interface ReasonAdminOptions {
|
|
|
558
558
|
predictOrdersPackageId?: string;
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
declare function reasonAdmin(options?: ReasonAdminOptions): (tx: Transaction) =>
|
|
561
|
+
declare function reasonAdmin(options?: ReasonAdminOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
562
562
|
interface ReasonNoCashOptions {
|
|
563
563
|
package?: string;
|
|
564
564
|
arguments?: [];
|
|
@@ -566,7 +566,7 @@ interface ReasonNoCashOptions {
|
|
|
566
566
|
predictOrdersPackageId?: string;
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
-
declare function reasonNoCash(options?: ReasonNoCashOptions): (tx: Transaction) =>
|
|
569
|
+
declare function reasonNoCash(options?: ReasonNoCashOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
570
570
|
interface ReasonRecipientDeniedOptions {
|
|
571
571
|
package?: string;
|
|
572
572
|
arguments?: [];
|
|
@@ -574,7 +574,7 @@ interface ReasonRecipientDeniedOptions {
|
|
|
574
574
|
predictOrdersPackageId?: string;
|
|
575
575
|
};
|
|
576
576
|
}
|
|
577
|
-
declare function reasonRecipientDenied(options?: ReasonRecipientDeniedOptions): (tx: Transaction) =>
|
|
577
|
+
declare function reasonRecipientDenied(options?: ReasonRecipientDeniedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
578
578
|
interface StatusArguments {
|
|
579
579
|
view: TransactionArgument;
|
|
580
580
|
}
|
|
@@ -585,7 +585,7 @@ interface StatusOptions {
|
|
|
585
585
|
predictOrdersPackageId?: string;
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
|
-
declare function status(options: StatusOptions): (tx: Transaction) =>
|
|
588
|
+
declare function status(options: StatusOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
589
589
|
interface KindArguments {
|
|
590
590
|
view: TransactionArgument;
|
|
591
591
|
}
|
|
@@ -596,7 +596,7 @@ interface KindOptions {
|
|
|
596
596
|
predictOrdersPackageId?: string;
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
|
-
declare function kind(options: KindOptions): (tx: Transaction) =>
|
|
599
|
+
declare function kind(options: KindOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
600
600
|
interface RequestArguments {
|
|
601
601
|
view: TransactionArgument;
|
|
602
602
|
}
|
|
@@ -607,7 +607,7 @@ interface RequestOptions {
|
|
|
607
607
|
predictOrdersPackageId?: string;
|
|
608
608
|
};
|
|
609
609
|
}
|
|
610
|
-
declare function request(options: RequestOptions): (tx: Transaction) =>
|
|
610
|
+
declare function request(options: RequestOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
611
611
|
interface AccountIdArguments {
|
|
612
612
|
view: TransactionArgument;
|
|
613
613
|
}
|
|
@@ -618,7 +618,7 @@ interface AccountIdOptions {
|
|
|
618
618
|
predictOrdersPackageId?: string;
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
|
-
declare function accountId(options: AccountIdOptions): (tx: Transaction) =>
|
|
621
|
+
declare function accountId(options: AccountIdOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
622
622
|
interface ReceiveAddressArguments {
|
|
623
623
|
view: TransactionArgument;
|
|
624
624
|
}
|
|
@@ -629,7 +629,7 @@ interface ReceiveAddressOptions {
|
|
|
629
629
|
predictOrdersPackageId?: string;
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) =>
|
|
632
|
+
declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
633
633
|
interface TimingArguments {
|
|
634
634
|
view: TransactionArgument;
|
|
635
635
|
}
|
|
@@ -640,7 +640,7 @@ interface TimingOptions {
|
|
|
640
640
|
predictOrdersPackageId?: string;
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
|
-
declare function timing(options: TimingOptions): (tx: Transaction) =>
|
|
643
|
+
declare function timing(options: TimingOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
644
644
|
interface EscrowArguments {
|
|
645
645
|
view: TransactionArgument;
|
|
646
646
|
}
|
|
@@ -651,7 +651,7 @@ interface EscrowOptions {
|
|
|
651
651
|
predictOrdersPackageId?: string;
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
|
-
declare function escrow(options: EscrowOptions): (tx: Transaction) =>
|
|
654
|
+
declare function escrow(options: EscrowOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
655
655
|
interface PositionArguments {
|
|
656
656
|
view: TransactionArgument;
|
|
657
657
|
}
|
|
@@ -662,7 +662,7 @@ interface PositionOptions {
|
|
|
662
662
|
predictOrdersPackageId?: string;
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
|
-
declare function position(options: PositionOptions): (tx: Transaction) =>
|
|
665
|
+
declare function position(options: PositionOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
666
666
|
interface PriceArguments {
|
|
667
667
|
view: TransactionArgument;
|
|
668
668
|
}
|
|
@@ -673,7 +673,7 @@ interface PriceOptions {
|
|
|
673
673
|
predictOrdersPackageId?: string;
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
declare function price(options: PriceOptions): (tx: Transaction) =>
|
|
676
|
+
declare function price(options: PriceOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
677
677
|
interface ResultArguments {
|
|
678
678
|
view: TransactionArgument;
|
|
679
679
|
}
|
|
@@ -684,7 +684,7 @@ interface ResultOptions {
|
|
|
684
684
|
predictOrdersPackageId?: string;
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
|
-
declare function result(options: ResultOptions): (tx: Transaction) =>
|
|
687
|
+
declare function result(options: ResultOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
688
688
|
interface ReceiptStageArguments {
|
|
689
689
|
view: TransactionArgument;
|
|
690
690
|
}
|
|
@@ -695,7 +695,7 @@ interface ReceiptStageOptions {
|
|
|
695
695
|
predictOrdersPackageId?: string;
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
declare function receiptStage(options: ReceiptStageOptions): (tx: Transaction) =>
|
|
698
|
+
declare function receiptStage(options: ReceiptStageOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
699
699
|
interface FundsArguments {
|
|
700
700
|
view: TransactionArgument;
|
|
701
701
|
}
|
|
@@ -706,7 +706,7 @@ interface FundsOptions {
|
|
|
706
706
|
predictOrdersPackageId?: string;
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
declare function funds(options: FundsOptions): (tx: Transaction) =>
|
|
709
|
+
declare function funds(options: FundsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
710
710
|
interface LowerTickArguments {
|
|
711
711
|
request: TransactionArgument;
|
|
712
712
|
}
|
|
@@ -717,7 +717,7 @@ interface LowerTickOptions {
|
|
|
717
717
|
predictOrdersPackageId?: string;
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
|
-
declare function lowerTick(options: LowerTickOptions): (tx: Transaction) =>
|
|
720
|
+
declare function lowerTick(options: LowerTickOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
721
721
|
interface HigherTickArguments {
|
|
722
722
|
request: TransactionArgument;
|
|
723
723
|
}
|
|
@@ -728,7 +728,7 @@ interface HigherTickOptions {
|
|
|
728
728
|
predictOrdersPackageId?: string;
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
|
-
declare function higherTick(options: HigherTickOptions): (tx: Transaction) =>
|
|
731
|
+
declare function higherTick(options: HigherTickOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
732
732
|
interface QuantityArguments {
|
|
733
733
|
request: TransactionArgument;
|
|
734
734
|
}
|
|
@@ -739,7 +739,7 @@ interface QuantityOptions {
|
|
|
739
739
|
predictOrdersPackageId?: string;
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
|
-
declare function quantity(options: QuantityOptions): (tx: Transaction) =>
|
|
742
|
+
declare function quantity(options: QuantityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
743
743
|
interface MaxPremiumArguments {
|
|
744
744
|
request: TransactionArgument;
|
|
745
745
|
}
|
|
@@ -750,7 +750,7 @@ interface MaxPremiumOptions {
|
|
|
750
750
|
predictOrdersPackageId?: string;
|
|
751
751
|
};
|
|
752
752
|
}
|
|
753
|
-
declare function maxPremium(options: MaxPremiumOptions): (tx: Transaction) =>
|
|
753
|
+
declare function maxPremium(options: MaxPremiumOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
754
754
|
interface MinQuantityArguments {
|
|
755
755
|
request: TransactionArgument;
|
|
756
756
|
}
|
|
@@ -761,7 +761,7 @@ interface MinQuantityOptions {
|
|
|
761
761
|
predictOrdersPackageId?: string;
|
|
762
762
|
};
|
|
763
763
|
}
|
|
764
|
-
declare function minQuantity(options: MinQuantityOptions): (tx: Transaction) =>
|
|
764
|
+
declare function minQuantity(options: MinQuantityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
765
765
|
interface MaxCostArguments {
|
|
766
766
|
request: TransactionArgument;
|
|
767
767
|
}
|
|
@@ -772,7 +772,7 @@ interface MaxCostOptions {
|
|
|
772
772
|
predictOrdersPackageId?: string;
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
-
declare function maxCost(options: MaxCostOptions): (tx: Transaction) =>
|
|
775
|
+
declare function maxCost(options: MaxCostOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
776
776
|
interface MaxProbabilityArguments {
|
|
777
777
|
request: TransactionArgument;
|
|
778
778
|
}
|
|
@@ -783,7 +783,7 @@ interface MaxProbabilityOptions {
|
|
|
783
783
|
predictOrdersPackageId?: string;
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
-
declare function maxProbability(options: MaxProbabilityOptions): (tx: Transaction) =>
|
|
786
|
+
declare function maxProbability(options: MaxProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
787
787
|
interface MinProbabilityArguments {
|
|
788
788
|
request: TransactionArgument;
|
|
789
789
|
}
|
|
@@ -794,7 +794,7 @@ interface MinProbabilityOptions {
|
|
|
794
794
|
predictOrdersPackageId?: string;
|
|
795
795
|
};
|
|
796
796
|
}
|
|
797
|
-
declare function minProbability(options: MinProbabilityOptions): (tx: Transaction) =>
|
|
797
|
+
declare function minProbability(options: MinProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
798
798
|
interface MinProceedsArguments {
|
|
799
799
|
request: TransactionArgument;
|
|
800
800
|
}
|
|
@@ -805,7 +805,7 @@ interface MinProceedsOptions {
|
|
|
805
805
|
predictOrdersPackageId?: string;
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
|
-
declare function minProceeds(options: MinProceedsOptions): (tx: Transaction) =>
|
|
808
|
+
declare function minProceeds(options: MinProceedsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
809
809
|
interface PlacedAtMsArguments {
|
|
810
810
|
timing: TransactionArgument;
|
|
811
811
|
}
|
|
@@ -816,7 +816,7 @@ interface PlacedAtMsOptions {
|
|
|
816
816
|
predictOrdersPackageId?: string;
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
declare function placedAtMs(options: PlacedAtMsOptions): (tx: Transaction) =>
|
|
819
|
+
declare function placedAtMs(options: PlacedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
820
820
|
interface EarliestPriceMsArguments {
|
|
821
821
|
timing: TransactionArgument;
|
|
822
822
|
}
|
|
@@ -827,7 +827,7 @@ interface EarliestPriceMsOptions {
|
|
|
827
827
|
predictOrdersPackageId?: string;
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
declare function earliestPriceMs(options: EarliestPriceMsOptions): (tx: Transaction) =>
|
|
830
|
+
declare function earliestPriceMs(options: EarliestPriceMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
831
831
|
interface TauMsArguments {
|
|
832
832
|
timing: TransactionArgument;
|
|
833
833
|
}
|
|
@@ -838,7 +838,7 @@ interface TauMsOptions {
|
|
|
838
838
|
predictOrdersPackageId?: string;
|
|
839
839
|
};
|
|
840
840
|
}
|
|
841
|
-
declare function tauMs(options: TauMsOptions): (tx: Transaction) =>
|
|
841
|
+
declare function tauMs(options: TauMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
842
842
|
interface DeadlineMsArguments {
|
|
843
843
|
timing: TransactionArgument;
|
|
844
844
|
}
|
|
@@ -849,7 +849,7 @@ interface DeadlineMsOptions {
|
|
|
849
849
|
predictOrdersPackageId?: string;
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
|
-
declare function deadlineMs(options: DeadlineMsOptions): (tx: Transaction) =>
|
|
852
|
+
declare function deadlineMs(options: DeadlineMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
853
853
|
interface CutoffMsArguments {
|
|
854
854
|
timing: TransactionArgument;
|
|
855
855
|
}
|
|
@@ -860,7 +860,7 @@ interface CutoffMsOptions {
|
|
|
860
860
|
predictOrdersPackageId?: string;
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
|
-
declare function cutoffMs(options: CutoffMsOptions): (tx: Transaction) =>
|
|
863
|
+
declare function cutoffMs(options: CutoffMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
864
864
|
interface PythChannelArguments {
|
|
865
865
|
timing: TransactionArgument;
|
|
866
866
|
}
|
|
@@ -871,7 +871,7 @@ interface PythChannelOptions {
|
|
|
871
871
|
predictOrdersPackageId?: string;
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
|
-
declare function pythChannel(options: PythChannelOptions): (tx: Transaction) =>
|
|
874
|
+
declare function pythChannel(options: PythChannelOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
875
875
|
interface BudgetArguments {
|
|
876
876
|
escrow: TransactionArgument;
|
|
877
877
|
}
|
|
@@ -882,7 +882,7 @@ interface BudgetOptions {
|
|
|
882
882
|
predictOrdersPackageId?: string;
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
|
-
declare function budget(options: BudgetOptions): (tx: Transaction) =>
|
|
885
|
+
declare function budget(options: BudgetOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
886
886
|
interface OrderFeeArguments {
|
|
887
887
|
escrow: TransactionArgument;
|
|
888
888
|
}
|
|
@@ -893,7 +893,7 @@ interface OrderFeeOptions {
|
|
|
893
893
|
predictOrdersPackageId?: string;
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
declare function orderFee(options: OrderFeeOptions): (tx: Transaction) =>
|
|
896
|
+
declare function orderFee(options: OrderFeeOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
897
897
|
interface SubsidyBoundArguments {
|
|
898
898
|
escrow: TransactionArgument;
|
|
899
899
|
}
|
|
@@ -904,7 +904,7 @@ interface SubsidyBoundOptions {
|
|
|
904
904
|
predictOrdersPackageId?: string;
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
|
-
declare function subsidyBound(options: SubsidyBoundOptions): (tx: Transaction) =>
|
|
907
|
+
declare function subsidyBound(options: SubsidyBoundOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
908
908
|
interface SubsidyReservedArguments {
|
|
909
909
|
escrow: TransactionArgument;
|
|
910
910
|
}
|
|
@@ -915,7 +915,7 @@ interface SubsidyReservedOptions {
|
|
|
915
915
|
predictOrdersPackageId?: string;
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
|
-
declare function subsidyReserved(options: SubsidyReservedOptions): (tx: Transaction) =>
|
|
918
|
+
declare function subsidyReserved(options: SubsidyReservedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
919
919
|
interface CashNeedArguments {
|
|
920
920
|
escrow: TransactionArgument;
|
|
921
921
|
}
|
|
@@ -926,7 +926,7 @@ interface CashNeedOptions {
|
|
|
926
926
|
predictOrdersPackageId?: string;
|
|
927
927
|
};
|
|
928
928
|
}
|
|
929
|
-
declare function cashNeed(options: CashNeedOptions): (tx: Transaction) =>
|
|
929
|
+
declare function cashNeed(options: CashNeedOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
930
930
|
interface OrderIdArguments {
|
|
931
931
|
position: TransactionArgument;
|
|
932
932
|
}
|
|
@@ -937,7 +937,7 @@ interface OrderIdOptions {
|
|
|
937
937
|
predictOrdersPackageId?: string;
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
|
-
declare function orderId(options: OrderIdOptions): (tx: Transaction) =>
|
|
940
|
+
declare function orderId(options: OrderIdOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
941
941
|
interface RootIdArguments {
|
|
942
942
|
position: TransactionArgument;
|
|
943
943
|
}
|
|
@@ -948,7 +948,7 @@ interface RootIdOptions {
|
|
|
948
948
|
predictOrdersPackageId?: string;
|
|
949
949
|
};
|
|
950
950
|
}
|
|
951
|
-
declare function rootId(options: RootIdOptions): (tx: Transaction) =>
|
|
951
|
+
declare function rootId(options: RootIdOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
952
952
|
interface OpenedAtMsArguments {
|
|
953
953
|
position: TransactionArgument;
|
|
954
954
|
}
|
|
@@ -959,7 +959,7 @@ interface OpenedAtMsOptions {
|
|
|
959
959
|
predictOrdersPackageId?: string;
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
declare function openedAtMs(options: OpenedAtMsOptions): (tx: Transaction) =>
|
|
962
|
+
declare function openedAtMs(options: OpenedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
963
963
|
interface SpotArguments {
|
|
964
964
|
price: TransactionArgument;
|
|
965
965
|
}
|
|
@@ -970,7 +970,7 @@ interface SpotOptions {
|
|
|
970
970
|
predictOrdersPackageId?: string;
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
|
-
declare function spot(options: SpotOptions): (tx: Transaction) =>
|
|
973
|
+
declare function spot(options: SpotOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
974
974
|
interface TickMsArguments {
|
|
975
975
|
price: TransactionArgument;
|
|
976
976
|
}
|
|
@@ -981,7 +981,7 @@ interface TickMsOptions {
|
|
|
981
981
|
predictOrdersPackageId?: string;
|
|
982
982
|
};
|
|
983
983
|
}
|
|
984
|
-
declare function tickMs(options: TickMsOptions): (tx: Transaction) =>
|
|
984
|
+
declare function tickMs(options: TickMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
985
985
|
interface GenerationUsArguments {
|
|
986
986
|
price: TransactionArgument;
|
|
987
987
|
}
|
|
@@ -992,7 +992,7 @@ interface GenerationUsOptions {
|
|
|
992
992
|
predictOrdersPackageId?: string;
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
|
-
declare function generationUs(options: GenerationUsOptions): (tx: Transaction) =>
|
|
995
|
+
declare function generationUs(options: GenerationUsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
996
996
|
interface ReasonArguments {
|
|
997
997
|
result: TransactionArgument;
|
|
998
998
|
}
|
|
@@ -1003,7 +1003,7 @@ interface ReasonOptions {
|
|
|
1003
1003
|
predictOrdersPackageId?: string;
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
|
-
declare function reason(options: ReasonOptions): (tx: Transaction) =>
|
|
1006
|
+
declare function reason(options: ReasonOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
1007
1007
|
interface ResultQuantityArguments {
|
|
1008
1008
|
result: TransactionArgument;
|
|
1009
1009
|
}
|
|
@@ -1014,7 +1014,7 @@ interface ResultQuantityOptions {
|
|
|
1014
1014
|
predictOrdersPackageId?: string;
|
|
1015
1015
|
};
|
|
1016
1016
|
}
|
|
1017
|
-
declare function resultQuantity(options: ResultQuantityOptions): (tx: Transaction) =>
|
|
1017
|
+
declare function resultQuantity(options: ResultQuantityOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
1018
1018
|
interface ResultAmountArguments {
|
|
1019
1019
|
result: TransactionArgument;
|
|
1020
1020
|
}
|
|
@@ -1025,7 +1025,7 @@ interface ResultAmountOptions {
|
|
|
1025
1025
|
predictOrdersPackageId?: string;
|
|
1026
1026
|
};
|
|
1027
1027
|
}
|
|
1028
|
-
declare function resultAmount(options: ResultAmountOptions): (tx: Transaction) =>
|
|
1028
|
+
declare function resultAmount(options: ResultAmountOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
1029
1029
|
interface FinishedAtMsArguments {
|
|
1030
1030
|
result: TransactionArgument;
|
|
1031
1031
|
}
|
|
@@ -1036,7 +1036,7 @@ interface FinishedAtMsOptions {
|
|
|
1036
1036
|
predictOrdersPackageId?: string;
|
|
1037
1037
|
};
|
|
1038
1038
|
}
|
|
1039
|
-
declare function finishedAtMs(options: FinishedAtMsOptions): (tx: Transaction) =>
|
|
1039
|
+
declare function finishedAtMs(options: FinishedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions311.TransactionResult;
|
|
1040
1040
|
//#endregion
|
|
1041
1041
|
export { OrderView, order_queue_d_exports };
|
|
1042
1042
|
//# sourceMappingURL=order_queue.d.mts.map
|