import { MoveStruct } from "../utils/index.mjs"; import * as _mysten_sui_bcs168 from "@mysten/sui/bcs"; import * as _mysten_sui_transactions297 from "@mysten/sui/transactions"; import { Transaction, TransactionArgument } from "@mysten/sui/transactions"; //#region src/contracts/deepbook_predict/market_manager.d.ts declare namespace market_manager_d_exports { export { CadenceAdmissionTickSizeArguments, CadenceAdmissionTickSizeOptions, CadenceConfig, CadenceEnabledArguments, CadenceEnabledOptions, CadenceInitialExpiryCashArguments, CadenceInitialExpiryCashOptions, CadenceMaxExpiryAllocationArguments, CadenceMaxExpiryAllocationOptions, CadenceTickSizeArguments, CadenceTickSizeOptions, CadenceWindowSizeArguments, CadenceWindowSizeOptions, DeployableMarket, MarketKey, MarketManager, UnderlyingMarketConfig, cadenceAdmissionTickSize, cadenceEnabled, cadenceInitialExpiryCash, cadenceMaxExpiryAllocation, cadenceTickSize, cadenceWindowSize }; } declare const MarketKey: MoveStruct<{ propbook_underlying_id: _mysten_sui_bcs168.BcsType; expiry: _mysten_sui_bcs168.BcsType; }, "@local-pkg/deepbook_predict::market_manager::MarketKey">; declare const MarketManager: MoveStruct<{ /** Propbook underlying ID -> deployment watermarks. */underlying_configs: MoveStruct<{ id: _mysten_sui_bcs168.BcsType, "bytes[32]">; size: _mysten_sui_bcs168.BcsType; }, "0x2::table::Table">; /** Created markets keyed by `(propbook_underlying_id, expiry)`. */ market_ids: MoveStruct<{ id: _mysten_sui_bcs168.BcsType, "bytes[32]">; size: _mysten_sui_bcs168.BcsType; }, "0x2::table::Table">; }, "@local-pkg/deepbook_predict::market_manager::MarketManager">; declare const CadenceConfig: MoveStruct<{ /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs168.BcsType; /** Coarser raw-price step that new finite mint boundaries must align to. */ admission_tick_size: _mysten_sui_bcs168.BcsType; /** * USDC pool allocation cap snapshotted into pool accounting for each created * expiry. */ max_expiry_allocation: _mysten_sui_bcs168.BcsType; /** * Minimum USDC cash target snapshotted into pool accounting for each created * expiry. */ initial_expiry_cash: _mysten_sui_bcs168.BcsType; /** * Number of cadence periods in the rolling future deployment horizon. Zero * disables this cadence. */ window_size: _mysten_sui_bcs168.BcsType; }, "@local-pkg/deepbook_predict::market_manager::CadenceConfig">; declare const DeployableMarket: MoveStruct<{ expiry: _mysten_sui_bcs168.BcsType; cadence: MoveStruct<{ /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs168.BcsType; /** Coarser raw-price step that new finite mint boundaries must align to. */ admission_tick_size: _mysten_sui_bcs168.BcsType; /** * USDC pool allocation cap snapshotted into pool accounting for each created * expiry. */ max_expiry_allocation: _mysten_sui_bcs168.BcsType; /** * Minimum USDC cash target snapshotted into pool accounting for each created * expiry. */ initial_expiry_cash: _mysten_sui_bcs168.BcsType; /** * Number of cadence periods in the rolling future deployment horizon. Zero * disables this cadence. */ window_size: _mysten_sui_bcs168.BcsType; }, "@local-pkg/deepbook_predict::market_manager::CadenceConfig">; }, "@local-pkg/deepbook_predict::market_manager::DeployableMarket">; declare const UnderlyingMarketConfig: MoveStruct<{ /** * Deployment config indexed by cadence ID. Rows past its length are disabled; the * vector grows past the six built-ins only when an added cadence is set or * created, because package versions before the cadence table abort on longer rows. */ cadences: _mysten_sui_bcs168.BcsType<{ tick_size: bigint; admission_tick_size: bigint; max_expiry_allocation: bigint; initial_expiry_cash: bigint; window_size: bigint; }[], Iterable<{ tick_size: string | number | bigint; admission_tick_size: string | number | bigint; max_expiry_allocation: string | number | bigint; initial_expiry_cash: string | number | bigint; window_size: string | number | bigint; }> & { length: number; }, string>; /** Highest deployed expiry timestamp indexed by cadence ID; missing rows are 0. */ last_deployed_expiries: _mysten_sui_bcs168.BcsType & { length: number; }, string>; }, "@local-pkg/deepbook_predict::market_manager::UnderlyingMarketConfig">; interface CadenceTickSizeArguments { config: TransactionArgument; } interface CadenceTickSizeOptions { package?: string; arguments: CadenceTickSizeArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return the raw-price-per-tick factor for SDK and devInspect cadence reads. */ declare function cadenceTickSize(options: CadenceTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; interface CadenceAdmissionTickSizeArguments { config: TransactionArgument; } interface CadenceAdmissionTickSizeOptions { package?: string; arguments: CadenceAdmissionTickSizeArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return the admission-grid step for SDK and devInspect cadence reads. */ declare function cadenceAdmissionTickSize(options: CadenceAdmissionTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; interface CadenceMaxExpiryAllocationArguments { config: TransactionArgument; } interface CadenceMaxExpiryAllocationOptions { package?: string; arguments: CadenceMaxExpiryAllocationArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return the expiry allocation cap for SDK and devInspect cadence reads. */ declare function cadenceMaxExpiryAllocation(options: CadenceMaxExpiryAllocationOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; interface CadenceInitialExpiryCashArguments { config: TransactionArgument; } interface CadenceInitialExpiryCashOptions { package?: string; arguments: CadenceInitialExpiryCashArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return the initial expiry cash target for SDK and devInspect cadence reads. */ declare function cadenceInitialExpiryCash(options: CadenceInitialExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; interface CadenceWindowSizeArguments { config: TransactionArgument; } interface CadenceWindowSizeOptions { package?: string; arguments: CadenceWindowSizeArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return the rolling deployment horizon for SDK and devInspect cadence reads. */ declare function cadenceWindowSize(options: CadenceWindowSizeOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; interface CadenceEnabledArguments { config: TransactionArgument; } interface CadenceEnabledOptions { package?: string; arguments: CadenceEnabledArguments | [config: TransactionArgument]; config?: { predictPackageId?: string; }; } /** Return whether this cadence is enabled for SDK and devInspect discovery. */ declare function cadenceEnabled(options: CadenceEnabledOptions): (tx: Transaction) => _mysten_sui_transactions297.TransactionResult; //#endregion export { market_manager_d_exports }; //# sourceMappingURL=market_manager.d.mts.map