import { MoveStruct } from "../utils/index.mjs"; import * as _mysten_sui_bcs502 from "@mysten/sui/bcs"; import * as _mysten_sui_transactions358 from "@mysten/sui/transactions"; import { Transaction, TransactionArgument } from "@mysten/sui/transactions"; //#region src/contracts/deepbook_predict_orders/order_queue.d.ts declare namespace order_queue_d_exports { 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 }; } declare const CohortSpan: MoveStruct<{ tau_ms: _mysten_sui_bcs502.BcsType; deadline_ms: _mysten_sui_bcs502.BcsType; /** * Lower bound on the cohort's first unfinished record. A walker that stops inside * the span moves it to the first record it did not visit. */ first_id: _mysten_sui_bcs502.BcsType; /** Exclusive. */ end_id: _mysten_sui_bcs502.BcsType; pyth_channel: _mysten_sui_bcs502.BcsType; /** Set once commit attaches the cohort's price. A committed span never grows. */ committed: _mysten_sui_bcs502.BcsType; /** Pending, Committed, and RefundDue orders left in the cohort. */ unfinished: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::CohortSpan">; declare const OrderBook: MoveStruct<{ /** * One record per order, keyed by a sequential record ID. Records stay after they * finish until `cleanup` deletes them. */ orders: MoveStruct<{ id: _mysten_sui_bcs502.BcsType, "bytes[32]">; size: _mysten_sui_bcs502.BcsType; }, "0x2::table::Table">; next_id: _mysten_sui_bcs502.BcsType; /** * Lower bound on the first unfinished record: the first span's `first_id`, or * `next_id` when no span remains. */ resolve_head: _mysten_sui_bcs502.BcsType; /** * Where the next settlement payout call resumes. Only moves forward, and never * past `next_id`. */ payout_cursor: _mysten_sui_bcs502.BcsType; /** * One span per cohort (orders sharing one τ) that still has an unfinished order, * in τ order. Inline, so a walk loads no extra object to find them. */ cohorts: _mysten_sui_bcs502.BcsType<{ tau_ms: bigint; deadline_ms: bigint; first_id: bigint; end_id: bigint; pyth_channel: number; committed: boolean; unfinished: bigint; }[], Iterable<{ tau_ms: string | number | bigint; deadline_ms: string | number | bigint; first_id: string | number | bigint; end_id: string | number | bigint; pyth_channel: number; committed: boolean; unfinished: string | number | bigint; }> & { length: number; }, string>; /** Keep τ and the deadline non-decreasing along record IDs. */ last_tau_ms: _mysten_sui_bcs502.BcsType; /** * Newest τ any commit has priced. Never decreases; no new order gets a τ at or * below it. */ last_committed_tau_ms: _mysten_sui_bcs502.BcsType; last_deadline_ms: _mysten_sui_bcs502.BcsType; /** * The newest order's Pyth channel. A channel change forces the next τ strictly * past `last_tau_ms`, so one cohort never mixes channels. */ last_channel: _mysten_sui_bcs502.BcsType; /** * Unfinished orders per account. A row is created by the account's first placement * in this market and never deleted. */ per_account: MoveStruct<{ id: _mysten_sui_bcs502.BcsType, "bytes[32]">; size: _mysten_sui_bcs502.BcsType; }, "0x2::table::Table">; /** Unfinished mints and sells, against the policy capacities. */ pending_mints: _mysten_sui_bcs502.BcsType; pending_sells: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderBook">; declare const OrderRequest: MoveStruct<{ lower_tick: _mysten_sui_bcs502.BcsType; higher_tick: _mysten_sui_bcs502.BcsType; quantity: _mysten_sui_bcs502.BcsType; max_premium: _mysten_sui_bcs502.BcsType; min_quantity: _mysten_sui_bcs502.BcsType; max_cost: _mysten_sui_bcs502.BcsType; max_probability: _mysten_sui_bcs502.BcsType; min_probability: _mysten_sui_bcs502.BcsType; min_proceeds: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">; declare const OrderTiming: MoveStruct<{ /** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs502.BcsType; /** τ itself: a price generated before it never commits the order. */ earliest_price_ms: _mysten_sui_bcs502.BcsType; /** The channel tick the order is priced on. */ tau_ms: _mysten_sui_bcs502.BcsType; /** At or past it the order is refunded, never filled. */ deadline_ms: _mysten_sui_bcs502.BcsType; /** * `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires * τ below it. */ cutoff_ms: _mysten_sui_bcs502.BcsType; /** The policy channel at placement. Commit accepts only updates on it. */ pyth_channel: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">; declare const OrderEscrow: MoveStruct<{ /** * USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock * none. */ budget: _mysten_sui_bcs502.BcsType; /** Flat fee charged at placement. */ order_fee: _mysten_sui_bcs502.BcsType; /** * The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds * the subsidy commit reserves. */ subsidy_bound: _mysten_sui_bcs502.BcsType; /** The incentives commit reserved for the order, held with its escrow. */ subsidy_reserved: _mysten_sui_bcs502.BcsType; /** * Worst-case market cash the fill can consume, counted in Predict's waiting cash * need while the order waits. */ cash_need: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">; declare const HeldPosition: MoveStruct<{ order_id: _mysten_sui_bcs502.BcsType; root_id: _mysten_sui_bcs502.BcsType; opened_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">; declare const CommittedPrice: MoveStruct<{ /** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs502.BcsType; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */ tick_ms: _mysten_sui_bcs502.BcsType; /** The feed's own update time, in µs. */ generation_us: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">; declare const OrderResult: MoveStruct<{ /** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs502.BcsType; /** Filled quantity (mint) or closed quantity (sell). */ quantity: _mysten_sui_bcs502.BcsType; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */ amount: _mysten_sui_bcs502.BcsType; /** Sui clock of the finishing transaction. */ finished_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">; declare const QueuedOrder: MoveStruct<{ /** * A `STATUS_*` code. Only moves forward, except that a refunded or partly filled * sell returns to Open holding its position. */ status: _mysten_sui_bcs502.BcsType; /** A `KIND_*` code. */ kind: _mysten_sui_bcs502.BcsType; request: MoveStruct<{ lower_tick: _mysten_sui_bcs502.BcsType; higher_tick: _mysten_sui_bcs502.BcsType; quantity: _mysten_sui_bcs502.BcsType; max_premium: _mysten_sui_bcs502.BcsType; min_quantity: _mysten_sui_bcs502.BcsType; max_cost: _mysten_sui_bcs502.BcsType; max_probability: _mysten_sui_bcs502.BcsType; min_probability: _mysten_sui_bcs502.BcsType; min_proceeds: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">; account_id: _mysten_sui_bcs502.BcsType, "bytes[32]">; /** The account's receive address. Refunds and returned escrow go here. */ receive_address: _mysten_sui_bcs502.BcsType, "bytes[32]">; timing: MoveStruct<{ /** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs502.BcsType; /** τ itself: a price generated before it never commits the order. */ earliest_price_ms: _mysten_sui_bcs502.BcsType; /** The channel tick the order is priced on. */ tau_ms: _mysten_sui_bcs502.BcsType; /** At or past it the order is refunded, never filled. */ deadline_ms: _mysten_sui_bcs502.BcsType; /** * `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires * τ below it. */ cutoff_ms: _mysten_sui_bcs502.BcsType; /** The policy channel at placement. Commit accepts only updates on it. */ pyth_channel: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">; escrow: MoveStruct<{ /** * USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock * none. */ budget: _mysten_sui_bcs502.BcsType; /** Flat fee charged at placement. */ order_fee: _mysten_sui_bcs502.BcsType; /** * The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds * the subsidy commit reserves. */ subsidy_bound: _mysten_sui_bcs502.BcsType; /** The incentives commit reserved for the order, held with its escrow. */ subsidy_reserved: _mysten_sui_bcs502.BcsType; /** * Worst-case market cash the fill can consume, counted in Predict's waiting cash * need while the order waits. */ cash_need: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">; /** * The position the record holds: a sell's position from placement, or a filled * mint's new position. Zero otherwise. */ position: MoveStruct<{ order_id: _mysten_sui_bcs502.BcsType; root_id: _mysten_sui_bcs502.BcsType; opened_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">; price: MoveStruct<{ /** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs502.BcsType; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */ tick_ms: _mysten_sui_bcs502.BcsType; /** The feed's own update time, in µs. */ generation_us: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">; result: MoveStruct<{ /** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs502.BcsType; /** Filled quantity (mint) or closed quantity (sell). */ quantity: _mysten_sui_bcs502.BcsType; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */ amount: _mysten_sui_bcs502.BcsType; /** Sui clock of the finishing transaction. */ finished_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">; /** * Predict's receipt: admitted while the order waits, open while the record holds a * position, `none` once the order is refunded or fully closed. */ receipt: _mysten_sui_bcs502.BcsType<{ expiry_market_id: string; stage: number; kind: number; parties: { account_id: string; owner: string; receive_address: string; referrer_account_id: string | null; referrer_receive_address: string | null; builder_code_id: string | null; }; lower_tick: bigint; higher_tick: bigint; quantity: bigint; max_premium: bigint; min_quantity: bigint; max_probability: bigint; min_probability: bigint; min_proceeds: bigint; tau_ms: bigint; deadline_ms: bigint; channel: number; vol: { pyth_source_id: number; bs_spot: bigint; bs_forward: bigint; svi_a: { magnitude: bigint; is_negative: boolean; }; svi_b: bigint; svi_rho: { magnitude: bigint; is_negative: boolean; }; svi_m: { magnitude: bigint; is_negative: boolean; }; svi_sigma: bigint; bs_spot_source_timestamp_ms: bigint; bs_forward_source_timestamp_ms: bigint; svi_source_timestamp_ms: bigint; }; budget: bigint; order_fee: bigint; cash_need: bigint; subsidy_bound: bigint; subsidy_rate: bigint; subsidy_reserved: bigint; spot: bigint; tick_ms: bigint; generation_us: bigint; order_id: bigint; root_id: bigint; opened_at_ms: bigint; held_quantity: bigint; } | null, { expiry_market_id: string | Uint8Array; stage: number; kind: number; parties: { account_id: string | Uint8Array; owner: string | Uint8Array; receive_address: string | Uint8Array; referrer_account_id: string | Uint8Array | null | undefined; referrer_receive_address: string | Uint8Array | null | undefined; builder_code_id: string | Uint8Array | null | undefined; }; lower_tick: string | number | bigint; higher_tick: string | number | bigint; quantity: string | number | bigint; max_premium: string | number | bigint; min_quantity: string | number | bigint; max_probability: string | number | bigint; min_probability: string | number | bigint; min_proceeds: string | number | bigint; tau_ms: string | number | bigint; deadline_ms: string | number | bigint; channel: number; vol: { pyth_source_id: number; bs_spot: string | number | bigint; bs_forward: string | number | bigint; svi_a: { magnitude: string | number | bigint; is_negative: boolean; }; svi_b: string | number | bigint; svi_rho: { magnitude: string | number | bigint; is_negative: boolean; }; svi_m: { magnitude: string | number | bigint; is_negative: boolean; }; svi_sigma: string | number | bigint; bs_spot_source_timestamp_ms: string | number | bigint; bs_forward_source_timestamp_ms: string | number | bigint; svi_source_timestamp_ms: string | number | bigint; }; budget: string | number | bigint; order_fee: string | number | bigint; cash_need: string | number | bigint; subsidy_bound: string | number | bigint; subsidy_rate: string | number | bigint; subsidy_reserved: string | number | bigint; spot: string | number | bigint; tick_ms: string | number | bigint; generation_us: string | number | bigint; order_id: string | number | bigint; root_id: string | number | bigint; opened_at_ms: string | number | bigint; held_quantity: string | number | bigint; } | null | undefined, "Option">; /** * The order's escrow: its budget, order fee, and reserved subsidy while it waits. * Once it finishes, only what the record could not send to its receive address * (parked funds), until `queue::claim_parked` sends it. */ funds: MoveStruct<{ value: _mysten_sui_bcs502.BcsType; }, "0x2::balance::Balance">; }, "@local-pkg/deepbook_predict_orders::order_queue::QueuedOrder">; declare const OrderView: MoveStruct<{ status: _mysten_sui_bcs502.BcsType; kind: _mysten_sui_bcs502.BcsType; request: MoveStruct<{ lower_tick: _mysten_sui_bcs502.BcsType; higher_tick: _mysten_sui_bcs502.BcsType; quantity: _mysten_sui_bcs502.BcsType; max_premium: _mysten_sui_bcs502.BcsType; min_quantity: _mysten_sui_bcs502.BcsType; max_cost: _mysten_sui_bcs502.BcsType; max_probability: _mysten_sui_bcs502.BcsType; min_probability: _mysten_sui_bcs502.BcsType; min_proceeds: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">; account_id: _mysten_sui_bcs502.BcsType, "bytes[32]">; receive_address: _mysten_sui_bcs502.BcsType, "bytes[32]">; timing: MoveStruct<{ /** t₀, the Sui clock of the placement transaction. */placed_at_ms: _mysten_sui_bcs502.BcsType; /** τ itself: a price generated before it never commits the order. */ earliest_price_ms: _mysten_sui_bcs502.BcsType; /** The channel tick the order is priced on. */ tau_ms: _mysten_sui_bcs502.BcsType; /** At or past it the order is refunded, never filled. */ deadline_ms: _mysten_sui_bcs502.BcsType; /** * `expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000)`; placement requires * τ below it. */ cutoff_ms: _mysten_sui_bcs502.BcsType; /** The policy channel at placement. Commit accepts only updates on it. */ pyth_channel: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">; escrow: MoveStruct<{ /** * USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock * none. */ budget: _mysten_sui_bcs502.BcsType; /** Flat fee charged at placement. */ order_fee: _mysten_sui_bcs502.BcsType; /** * The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds * the subsidy commit reserves. */ subsidy_bound: _mysten_sui_bcs502.BcsType; /** The incentives commit reserved for the order, held with its escrow. */ subsidy_reserved: _mysten_sui_bcs502.BcsType; /** * Worst-case market cash the fill can consume, counted in Predict's waiting cash * need while the order waits. */ cash_need: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow">; position: MoveStruct<{ order_id: _mysten_sui_bcs502.BcsType; root_id: _mysten_sui_bcs502.BcsType; opened_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">; price: MoveStruct<{ /** Pyth price normalized to 1e9. */spot: _mysten_sui_bcs502.BcsType; /** The update's envelope in ms: τ, or a later backup tick. The fill prices at it. */ tick_ms: _mysten_sui_bcs502.BcsType; /** The feed's own update time, in µs. */ generation_us: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice">; result: MoveStruct<{ /** `0` for a fill, or a `REASON_*` code. */reason: _mysten_sui_bcs502.BcsType; /** Filled quantity (mint) or closed quantity (sell). */ quantity: _mysten_sui_bcs502.BcsType; /** Cost paid (mint) or proceeds (sell). Zero on a refund. */ amount: _mysten_sui_bcs502.BcsType; /** Sui clock of the finishing transaction. */ finished_at_ms: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderResult">; /** * The receipt's Predict stage (`constants::receipt_stage_*`), `0` when the record * holds none. */ receipt_stage: _mysten_sui_bcs502.BcsType; /** USDC the record holds now: escrow while unfinished, parked funds after. */ funds: _mysten_sui_bcs502.BcsType; }, "@local-pkg/deepbook_predict_orders::order_queue::OrderView">; interface StatusPendingOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusPending(options?: StatusPendingOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusCommittedOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusCommitted(options?: StatusCommittedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusOpenOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusOpen(options?: StatusOpenOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusRefundedOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusRefunded(options?: StatusRefundedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusClosedOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusClosed(options?: StatusClosedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusRefundDueOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function statusRefundDue(options?: StatusRefundDueOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindExactQuantityOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function kindExactQuantity(options?: KindExactQuantityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindExactAmountOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function kindExactAmount(options?: KindExactAmountOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindExactCostOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function kindExactCost(options?: KindExactCostOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindRedeemLiveOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function kindRedeemLive(options?: KindRedeemLiveOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindRedeemOpenOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function kindRedeemOpen(options?: KindRedeemOpenOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonLimitsOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonLimits(options?: ReasonLimitsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonAdmissionOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonAdmission(options?: ReasonAdmissionOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonNoPriceOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonNoPrice(options?: ReasonNoPriceOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonMissingNodeOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonMissingNode(options?: ReasonMissingNodeOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonDeadlineOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonDeadline(options?: ReasonDeadlineOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonFreezeOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonFreeze(options?: ReasonFreezeOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonAdminOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonAdmin(options?: ReasonAdminOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonNoCashOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonNoCash(options?: ReasonNoCashOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonRecipientDeniedOptions { package?: string; arguments?: []; config?: { predictOrdersPackageId?: string; }; } declare function reasonRecipientDenied(options?: ReasonRecipientDeniedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface StatusArguments { view: TransactionArgument; } interface StatusOptions { package?: string; arguments: StatusArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function status(options: StatusOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface KindArguments { view: TransactionArgument; } interface KindOptions { package?: string; arguments: KindArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function kind(options: KindOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface RequestArguments { view: TransactionArgument; } interface RequestOptions { package?: string; arguments: RequestArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function request(options: RequestOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface AccountIdArguments { view: TransactionArgument; } interface AccountIdOptions { package?: string; arguments: AccountIdArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function accountId(options: AccountIdOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReceiveAddressArguments { view: TransactionArgument; } interface ReceiveAddressOptions { package?: string; arguments: ReceiveAddressArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface TimingArguments { view: TransactionArgument; } interface TimingOptions { package?: string; arguments: TimingArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function timing(options: TimingOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface EscrowArguments { view: TransactionArgument; } interface EscrowOptions { package?: string; arguments: EscrowArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function escrow(options: EscrowOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface PositionArguments { view: TransactionArgument; } interface PositionOptions { package?: string; arguments: PositionArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function position(options: PositionOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface PriceArguments { view: TransactionArgument; } interface PriceOptions { package?: string; arguments: PriceArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function price(options: PriceOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ResultArguments { view: TransactionArgument; } interface ResultOptions { package?: string; arguments: ResultArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function result(options: ResultOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReceiptStageArguments { view: TransactionArgument; } interface ReceiptStageOptions { package?: string; arguments: ReceiptStageArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function receiptStage(options: ReceiptStageOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface FundsArguments { view: TransactionArgument; } interface FundsOptions { package?: string; arguments: FundsArguments | [view: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function funds(options: FundsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface LowerTickArguments { request: TransactionArgument; } interface LowerTickOptions { package?: string; arguments: LowerTickArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function lowerTick(options: LowerTickOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface HigherTickArguments { request: TransactionArgument; } interface HigherTickOptions { package?: string; arguments: HigherTickArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function higherTick(options: HigherTickOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface QuantityArguments { request: TransactionArgument; } interface QuantityOptions { package?: string; arguments: QuantityArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function quantity(options: QuantityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MaxPremiumArguments { request: TransactionArgument; } interface MaxPremiumOptions { package?: string; arguments: MaxPremiumArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function maxPremium(options: MaxPremiumOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MinQuantityArguments { request: TransactionArgument; } interface MinQuantityOptions { package?: string; arguments: MinQuantityArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function minQuantity(options: MinQuantityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MaxCostArguments { request: TransactionArgument; } interface MaxCostOptions { package?: string; arguments: MaxCostArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function maxCost(options: MaxCostOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MaxProbabilityArguments { request: TransactionArgument; } interface MaxProbabilityOptions { package?: string; arguments: MaxProbabilityArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function maxProbability(options: MaxProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MinProbabilityArguments { request: TransactionArgument; } interface MinProbabilityOptions { package?: string; arguments: MinProbabilityArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function minProbability(options: MinProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface MinProceedsArguments { request: TransactionArgument; } interface MinProceedsOptions { package?: string; arguments: MinProceedsArguments | [request: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function minProceeds(options: MinProceedsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface PlacedAtMsArguments { timing: TransactionArgument; } interface PlacedAtMsOptions { package?: string; arguments: PlacedAtMsArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function placedAtMs(options: PlacedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface EarliestPriceMsArguments { timing: TransactionArgument; } interface EarliestPriceMsOptions { package?: string; arguments: EarliestPriceMsArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function earliestPriceMs(options: EarliestPriceMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface TauMsArguments { timing: TransactionArgument; } interface TauMsOptions { package?: string; arguments: TauMsArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function tauMs(options: TauMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface DeadlineMsArguments { timing: TransactionArgument; } interface DeadlineMsOptions { package?: string; arguments: DeadlineMsArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function deadlineMs(options: DeadlineMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface CutoffMsArguments { timing: TransactionArgument; } interface CutoffMsOptions { package?: string; arguments: CutoffMsArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function cutoffMs(options: CutoffMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface PythChannelArguments { timing: TransactionArgument; } interface PythChannelOptions { package?: string; arguments: PythChannelArguments | [timing: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function pythChannel(options: PythChannelOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface BudgetArguments { escrow: TransactionArgument; } interface BudgetOptions { package?: string; arguments: BudgetArguments | [escrow: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function budget(options: BudgetOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface OrderFeeArguments { escrow: TransactionArgument; } interface OrderFeeOptions { package?: string; arguments: OrderFeeArguments | [escrow: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function orderFee(options: OrderFeeOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface SubsidyBoundArguments { escrow: TransactionArgument; } interface SubsidyBoundOptions { package?: string; arguments: SubsidyBoundArguments | [escrow: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function subsidyBound(options: SubsidyBoundOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface SubsidyReservedArguments { escrow: TransactionArgument; } interface SubsidyReservedOptions { package?: string; arguments: SubsidyReservedArguments | [escrow: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function subsidyReserved(options: SubsidyReservedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface CashNeedArguments { escrow: TransactionArgument; } interface CashNeedOptions { package?: string; arguments: CashNeedArguments | [escrow: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function cashNeed(options: CashNeedOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface OrderIdArguments { position: TransactionArgument; } interface OrderIdOptions { package?: string; arguments: OrderIdArguments | [position: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function orderId(options: OrderIdOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface RootIdArguments { position: TransactionArgument; } interface RootIdOptions { package?: string; arguments: RootIdArguments | [position: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function rootId(options: RootIdOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface OpenedAtMsArguments { position: TransactionArgument; } interface OpenedAtMsOptions { package?: string; arguments: OpenedAtMsArguments | [position: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function openedAtMs(options: OpenedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface SpotArguments { price: TransactionArgument; } interface SpotOptions { package?: string; arguments: SpotArguments | [price: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function spot(options: SpotOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface TickMsArguments { price: TransactionArgument; } interface TickMsOptions { package?: string; arguments: TickMsArguments | [price: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function tickMs(options: TickMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface GenerationUsArguments { price: TransactionArgument; } interface GenerationUsOptions { package?: string; arguments: GenerationUsArguments | [price: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function generationUs(options: GenerationUsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ReasonArguments { result: TransactionArgument; } interface ReasonOptions { package?: string; arguments: ReasonArguments | [result: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function reason(options: ReasonOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ResultQuantityArguments { result: TransactionArgument; } interface ResultQuantityOptions { package?: string; arguments: ResultQuantityArguments | [result: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function resultQuantity(options: ResultQuantityOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface ResultAmountArguments { result: TransactionArgument; } interface ResultAmountOptions { package?: string; arguments: ResultAmountArguments | [result: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function resultAmount(options: ResultAmountOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; interface FinishedAtMsArguments { result: TransactionArgument; } interface FinishedAtMsOptions { package?: string; arguments: FinishedAtMsArguments | [result: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function finishedAtMs(options: FinishedAtMsOptions): (tx: Transaction) => _mysten_sui_transactions358.TransactionResult; //#endregion export { OrderView, order_queue_d_exports }; //# sourceMappingURL=order_queue.d.mts.map