import { MoveStruct } from "../utils/index.mjs"; import * as _mysten_sui_bcs488 from "@mysten/sui/bcs"; import * as _mysten_sui_transactions344 from "@mysten/sui/transactions"; import { Transaction, TransactionArgument } from "@mysten/sui/transactions"; //#region src/contracts/deepbook_predict_orders/delayed_execution_config.d.ts declare namespace delayed_execution_config_d_exports { export { DelayMsArguments, DelayMsOptions, DelayedExecutionPolicy, GapWaitMsArguments, GapWaitMsOptions, MinSellQuantityArguments, MinSellQuantityOptions, MintCapacityArguments, MintCapacityOptions, OrderFeeArguments, OrderFeeOptions, PerAccountCapArguments, PerAccountCapOptions, PythChannelArguments, PythChannelOptions, PythPriceBufferMsArguments, PythPriceBufferMsOptions, SellCapacityArguments, SellCapacityOptions, SettlePayoutBatchArguments, SettlePayoutBatchOptions, SettleRefundBatchArguments, SettleRefundBatchOptions, StallTimeoutMsArguments, StallTimeoutMsOptions, StuckThresholdMsArguments, StuckThresholdMsOptions, SviMaxAgeMsArguments, SviMaxAgeMsOptions, delayMs, gapWaitMs, minSellQuantity, mintCapacity, orderFee, perAccountCap, pythChannel, pythPriceBufferMs, sellCapacity, settlePayoutBatch, settleRefundBatch, stallTimeoutMs, stuckThresholdMs, sviMaxAgeMs }; } declare const DelayedExecutionPolicy: MoveStruct<{ /** * Latest τ may fall after placement. τ rounds down to the policy channel's tick at * or before `t₀ + delay_ms`. */ delay_ms: _mysten_sui_bcs488.BcsType; /** * Sets each order's deadline: * `max(min(τ + stall_timeout_ms, expiry), last deadline)`. At or past it the * order is refunded, never filled. */ stall_timeout_ms: _mysten_sui_bcs488.BcsType; /** * Placement refuses new orders while an uncommitted cohort is this far past its τ * with nothing newer committed, or while two or more uncommitted cohorts are each * this far past their τ. */ stuck_threshold_ms: _mysten_sui_bcs488.BcsType; /** Commit accepts a backup tick for a cohort only once now is this far past its τ. */ gap_wait_ms: _mysten_sui_bcs488.BcsType; /** * Switches the backup tick on or off. `0` accepts only the update stamped exactly * τ. Above `0`, once now is `gap_wait_ms` past τ, a cohort also accepts its single * backup: the update stamped one tick of its own stored channel after τ. The value * is not a window: the setter keeps it at `0` or one tick of the policy channel. */ pyth_price_buffer_ms: _mysten_sui_bcs488.BcsType; /** * Pyth Lazer channel new orders are priced on: `2` (`fixed_rate@50ms`) or `3` * (`fixed_rate@200ms`). Its tick period is τ's grid. Each order stores the channel * it was placed under. */ pyth_channel: _mysten_sui_bcs488.BcsType; /** * Oldest Block Scholes SVI a placement accepts into an order's volatility * snapshot. */ svi_max_age_ms: _mysten_sui_bcs488.BcsType; /** Most unfinished queued mints per market. */ mint_capacity: _mysten_sui_bcs488.BcsType; /** Most unfinished queued sells per market. */ sell_capacity: _mysten_sui_bcs488.BcsType; /** Most unfinished queued orders per account per market. */ per_account_cap: _mysten_sui_bcs488.BcsType; /** * Flat fee charged at placement. Kept on a fill and on limit or admission refunds; * returned on every other refund. */ order_fee: _mysten_sui_bcs488.BcsType; /** Smallest early-sell close quantity. */ min_sell_quantity: _mysten_sui_bcs488.BcsType; /** Most records one `settle_step` call visits while refunding leftover orders. */ settle_refund_batch: _mysten_sui_bcs488.BcsType; /** Most records one `settle_step` call visits while paying Open records. */ settle_payout_batch: _mysten_sui_bcs488.BcsType; }, "@local-pkg/deepbook_predict_orders::delayed_execution_config::DelayedExecutionPolicy">; interface DelayMsArguments { policy: TransactionArgument; } interface DelayMsOptions { package?: string; arguments: DelayMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function delayMs(options: DelayMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface StallTimeoutMsArguments { policy: TransactionArgument; } interface StallTimeoutMsOptions { package?: string; arguments: StallTimeoutMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function stallTimeoutMs(options: StallTimeoutMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface StuckThresholdMsArguments { policy: TransactionArgument; } interface StuckThresholdMsOptions { package?: string; arguments: StuckThresholdMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function stuckThresholdMs(options: StuckThresholdMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface GapWaitMsArguments { policy: TransactionArgument; } interface GapWaitMsOptions { package?: string; arguments: GapWaitMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function gapWaitMs(options: GapWaitMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface PythPriceBufferMsArguments { policy: TransactionArgument; } interface PythPriceBufferMsOptions { package?: string; arguments: PythPriceBufferMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function pythPriceBufferMs(options: PythPriceBufferMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface PythChannelArguments { policy: TransactionArgument; } interface PythChannelOptions { package?: string; arguments: PythChannelArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function pythChannel(options: PythChannelOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface SviMaxAgeMsArguments { policy: TransactionArgument; } interface SviMaxAgeMsOptions { package?: string; arguments: SviMaxAgeMsArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function sviMaxAgeMs(options: SviMaxAgeMsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface MintCapacityArguments { policy: TransactionArgument; } interface MintCapacityOptions { package?: string; arguments: MintCapacityArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function mintCapacity(options: MintCapacityOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface SellCapacityArguments { policy: TransactionArgument; } interface SellCapacityOptions { package?: string; arguments: SellCapacityArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function sellCapacity(options: SellCapacityOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface PerAccountCapArguments { policy: TransactionArgument; } interface PerAccountCapOptions { package?: string; arguments: PerAccountCapArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function perAccountCap(options: PerAccountCapOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface OrderFeeArguments { policy: TransactionArgument; } interface OrderFeeOptions { package?: string; arguments: OrderFeeArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function orderFee(options: OrderFeeOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface MinSellQuantityArguments { policy: TransactionArgument; } interface MinSellQuantityOptions { package?: string; arguments: MinSellQuantityArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function minSellQuantity(options: MinSellQuantityOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface SettleRefundBatchArguments { policy: TransactionArgument; } interface SettleRefundBatchOptions { package?: string; arguments: SettleRefundBatchArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function settleRefundBatch(options: SettleRefundBatchOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; interface SettlePayoutBatchArguments { policy: TransactionArgument; } interface SettlePayoutBatchOptions { package?: string; arguments: SettlePayoutBatchArguments | [policy: TransactionArgument]; config?: { predictOrdersPackageId?: string; }; } declare function settlePayoutBatch(options: SettlePayoutBatchOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult; //#endregion export { DelayedExecutionPolicy, delayed_execution_config_d_exports }; //# sourceMappingURL=delayed_execution_config.d.mts.map