{"version":3,"file":"protocol_config.mjs","names":["pricing_config.PricingConfig","strike_exposure_config.StrikeExposureConfig","ewma_config.EwmaConfig"],"sources":["../../../src/contracts/deepbook_predict/protocol_config.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Protocol-wide configuration and flow gates for Predict.\n *\n * This shared object owns the admin-tunable config structs, the fee-incentive\n * subsidy, live-target, and lifetime-cap rates, the fee-band template, the trading\n * pause gate, the protocol-wide emergency freeze, the version watermark (reaching\n * `constants::cutover_version!()` is also the delayed-execution cutover), the\n * allowlists of operators that may finish an LP flush and of the order-flow\n * companion witness types that may drive the order-flow primitives, and the\n * full-pool valuation in-flight state (flag + flush ordinal, held across the\n * transactions a flush spans; keeper/config flows gate on it, trading flows read\n * it only to discard stale stamps lazily). Flow modules decide which gates apply\n * before they mutate expiry, oracle, pool, or account state.\n */\n\nimport {\n\tMoveStruct,\n\tMoveTuple,\n\tnormalizeMoveArguments,\n\ttype RawTransactionArgument,\n\ttype ConfigValue,\n} from '../utils/index.js';\nimport { bcs } from '@mysten/sui/bcs';\nimport { U64 } from '../../bcs/integers.js';\nimport { type Transaction } from '@mysten/sui/transactions';\nimport * as pricing_config from './pricing_config.js';\nimport * as strike_exposure_config from './strike_exposure_config.js';\nimport * as ewma_config from './ewma_config.js';\nconst $moduleName = '@local-pkg/deepbook_predict::protocol_config';\nexport const ProtocolConfig = new MoveStruct({\n\tname: `${$moduleName}::ProtocolConfig`,\n\tfields: {\n\t\tid: bcs.Address,\n\t\tpricing_config: pricing_config.PricingConfig,\n\t\t/**\n\t\t * Merged protocol + insurance reserve share of materialized terminal profit, in\n\t\t * FLOAT_SCALING. The complement accrues to LPs.\n\t\t */\n\t\tprotocol_reserve_profit_share: U64,\n\t\t/**\n\t\t * Portion of a referred mint's trader-paid trading fee and congestion surcharge\n\t\t * routed to the referrer, in FLOAT_SCALING.\n\t\t */\n\t\treferral_fee_rate: U64,\n\t\t/**\n\t\t * Fee charged on an executed PLP supply fill, in FLOAT_SCALING, deducted from the\n\t\t * USDC taken in before shares are priced. Ships at zero — a deposit dilutes the\n\t\t * pool's risk per dollar rather than concentrating it, so it is not taxed; the\n\t\t * knob exists to keep that reversible.\n\t\t */\n\t\tplp_supply_fee_rate: U64,\n\t\t/**\n\t\t * Fee charged on an executed PLP withdraw fill, in FLOAT_SCALING, withheld from\n\t\t * the marked payout. Retained by the pool, so it accrues to the holders who stay.\n\t\t * Both rates are read once per flush into the frozen mark, so every fill in one\n\t\t * flush is charged the same pair.\n\t\t */\n\t\tplp_withdraw_fee_rate: U64,\n\t\t/**\n\t\t * Frozen-mark attempts a queued LP supply/withdraw request gets before the\n\t\t * protocol cancels and refunds it. `1` (the default) is fill-or-kill; above that a\n\t\t * missing request rests at the queue head and stops that queue for the flush, so\n\t\t * this is an LP-queue liveness knob (RP-12).\n\t\t */\n\t\tlp_request_limit_flush_attempts: U64,\n\t\t/**\n\t\t * Ceiling on LP-attributable pool value that queued supplies may raise the pool\n\t\t * to, enforced at the flush against the frozen mark. Defaults to 500,000 USDC\n\t\t * (RP-23).\n\t\t */\n\t\tmax_lp_pool_value: U64,\n\t\t/**\n\t\t * Hard staleness bound: `finish_flush` refuses to complete a flush in flight\n\t\t * longer than this, so no LP request fills at a mark older than the window; past\n\t\t * it the operator starts a fresh flush (which discards the stale one). A stalled\n\t\t * flush blocks only LP queue fills and the flush-set markets' settlement — trading\n\t\t * continues — so this also bounds LP-fill latency and is tuned alongside flush\n\t\t * cadence (RP-29).\n\t\t */\n\t\tmax_valuation_window_ms: U64,\n\t\t/**\n\t\t * Window before a market's expiry in which live quotes, mints, and live redeems\n\t\t * abort. Read live at trade time rather than snapshotted per market, so it can be\n\t\t * widened on markets already trading. `0` disables.\n\t\t */\n\t\tno_trade_window_ms: U64,\n\t\tstrike_exposure_template_config: strike_exposure_config.StrikeExposureConfig,\n\t\tewma_config: ewma_config.EwmaConfig,\n\t\t/**\n\t\t * Minimum package version permitted to run version-gated flows. Monotonic;\n\t\t * `bump_version_watermark` advances it to the running `current_version!()`,\n\t\t * retiring older versions. A running version below this floor is dead\n\t\t * (`chk_version`). `current_version!()` stays the upgrade-required code constant;\n\t\t * this is the runtime floor.\n\t\t */\n\t\tversion_watermark: U64,\n\t\t/** Blocks new risk creation while true. */\n\t\ttrading_paused: bcs.bool(),\n\t\t/**\n\t\t * Emergency hard stop. While true, `chk_version` aborts, halting every\n\t\t * version-gated flow (mint, redeem, settlement, valuation, LP supply/withdraw,\n\t\t * admin config) — the same blast radius as a version-disable, but reversible\n\t\t * without a package upgrade. Force-on via `PauseCap`; cleared by `AdminCap`.\n\t\t * Account-package custody withdrawals and builder-fee claims are ungated and stay\n\t\t * available (already-earned funds).\n\t\t */\n\t\tfrozen: bcs.bool(),\n\t\t/**\n\t\t * True for the whole duration of a full-pool valuation, across every transaction\n\t\t * it spans. Keeper cash flows, market lifecycle, and config mutations gate on it;\n\t\t * trading flows do NOT — they read it (with `flush_seq`) only to discard a stale\n\t\t * valuation stamp lazily; a pending market's snapshot state is captured, never\n\t\t * recorded per trade (see `plp`).\n\t\t */\n\t\tvaluation_in_progress: bcs.bool(),\n\t\t/**\n\t\t * True ONLY while the atomic snapshot stage is open — set by `open_snap` at\n\t\t * `start_pool_valuation` and cleared by `end_snap` at `seal_valuation_snapshot`.\n\t\t * Both live in one PTB (the `SnapshotStage` hot potato forces it), so this can\n\t\t * never be observed across transactions: it blocks only a trade the keeper\n\t\t * composes INTO its own snapshot PTB, where a mid-stamp cash move would skew the\n\t\t * figures the seal freezes. The resumable valuation stage after the seal leaves it\n\t\t * false, so trading stays live.\n\t\t */\n\t\tsnapshot_in_progress: bcs.bool(),\n\t\t/**\n\t\t * Monotonic flush ordinal, bumped by `begin_val`. A market's valuation stamp names\n\t\t * the flush that made it; a stamp whose ordinal is not the current one — or held\n\t\t * while no valuation is in flight — is stale and is lazily discarded by the next\n\t\t * trade, so aborting a flush never has to visit its stamped markets.\n\t\t */\n\t\tflush_seq: U64,\n\t},\n});\nexport const SettledRedeemKeepersKey = new MoveTuple({\n\tname: `${$moduleName}::SettledRedeemKeepersKey`,\n\tfields: [bcs.bool()],\n});\nexport const FeeIncentiveSubsidyRateKey = new MoveTuple({\n\tname: `${$moduleName}::FeeIncentiveSubsidyRateKey`,\n\tfields: [bcs.bool()],\n});\nexport const FeeIncentiveLiveTargetRateKey = new MoveTuple({\n\tname: `${$moduleName}::FeeIncentiveLiveTargetRateKey`,\n\tfields: [bcs.bool()],\n});\nexport const FeeIncentiveLifetimeCapRateKey = new MoveTuple({\n\tname: `${$moduleName}::FeeIncentiveLifetimeCapRateKey`,\n\tfields: [bcs.bool()],\n});\nexport const FlushOperatorsKey = new MoveTuple({\n\tname: `${$moduleName}::FlushOperatorsKey`,\n\tfields: [bcs.bool()],\n});\nexport const OrderFlowKey = new MoveTuple({\n\tname: `${$moduleName}::OrderFlowKey<phantom W>`,\n\tfields: [bcs.bool()],\n});\nexport const BuilderFeeCapKey = new MoveTuple({\n\tname: `${$moduleName}::BuilderFeeCapKey`,\n\tfields: [bcs.bool()],\n});\nexport const FeeBandsKey = new MoveTuple({\n\tname: `${$moduleName}::FeeBandsKey`,\n\tfields: [bcs.bool()],\n});\nexport interface IdArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface IdOptions {\n\tpackage?: string;\n\targuments?: IdArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the protocol config object ID for external discovery and PTB\n * construction.\n */\nexport function id(options: IdOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'id',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface TradingPausedArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface TradingPausedOptions {\n\tpackage?: string;\n\targuments?: TradingPausedArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Return the global trading-pause state for SDK and devInspect reads. */\nexport function tradingPaused(options: TradingPausedOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'trading_paused',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface FrozenArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface FrozenOptions {\n\tpackage?: string;\n\targuments?: FrozenArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Return the global protocol-freeze state for SDK and devInspect reads. */\nexport function frozen(options: FrozenOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'frozen',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface ValuationInProgressArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface ValuationInProgressOptions {\n\tpackage?: string;\n\targuments?: ValuationInProgressArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return whether a full-pool valuation is in flight, for SDK and devInspect reads.\n * The flush spans transactions, so \"in flight\" is an observable state: a keeper\n * reads it to notice a flush it must finish or discard, and an integrator reads it\n * to explain a gated keeper/config transaction. Trading is not gated on it.\n */\nexport function valuationInProgress(options: ValuationInProgressOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'valuation_in_progress',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface ReferralFeeRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface ReferralFeeRateOptions {\n\tpackage?: string;\n\targuments?: ReferralFeeRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Return the live referral fee rate for SDK and devInspect reads. */\nexport function referralFeeRate(options: ReferralFeeRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'referral_fee_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface FeeIncentiveSubsidyRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface FeeIncentiveSubsidyRateOptions {\n\tpackage?: string;\n\targuments?: FeeIncentiveSubsidyRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the live fee-incentive subsidy rate: the fraction of each mint's trading\n * fee paid from the market's sponsor-funded fee-incentive balance, in\n * FLOAT_SCALING. `public` for SDK and devInspect reads: the quote already reports\n * the subsidy it applied, but a client needs the rate to explain it.\n */\nexport function feeIncentiveSubsidyRate(options: FeeIncentiveSubsidyRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'fee_incentive_subsidy_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface BuilderFeeCapArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface BuilderFeeCapOptions {\n\tpackage?: string;\n\targuments?: BuilderFeeCapArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the builder fee cap: the most a trade's builder fee can charge per\n * contract, in FLOAT_SCALING of a contract's $1 payout. Admission charges a\n * trade's named fee capped at this value. `public` for SDK and devInspect reads,\n * so an app can show the fee a trade will actually pay.\n */\nexport function builderFeeCap(options: BuilderFeeCapOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'builder_fee_cap',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface FeeIncentiveLiveTargetRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface FeeIncentiveLiveTargetRateOptions {\n\tpackage?: string;\n\targuments?: FeeIncentiveLiveTargetRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the live fee-incentive target rate: the share of an expiry's allocation\n * cap each live rebalance tops its sponsor-funded balance up to, in FLOAT_SCALING.\n * `public` for SDK and devInspect reads, so a client can tell how much a market\n * can hold before reading its balance.\n */\nexport function feeIncentiveLiveTargetRate(options: FeeIncentiveLiveTargetRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'fee_incentive_live_target_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface FeeIncentiveLifetimeCapRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface FeeIncentiveLifetimeCapRateOptions {\n\tpackage?: string;\n\targuments?: FeeIncentiveLifetimeCapRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the fee-incentive lifetime cap rate that newly created expiry markets\n * snapshot: the share of an expiry's allocation cap it may receive in\n * sponsor-funded incentives over its life, in FLOAT_SCALING. `public` for SDK and\n * devInspect reads.\n */\nexport function feeIncentiveLifetimeCapRate(options: FeeIncentiveLifetimeCapRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'fee_incentive_lifetime_cap_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface NoTradeWindowMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface NoTradeWindowMsOptions {\n\tpackage?: string;\n\targuments?: NoTradeWindowMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Window before expiry in which live quotes, mints, and live redeems abort.\n * `public` for SDK and devInspect reads: a client that cannot see this value can\n * only learn the window closed by decoding `ETradeWindowClosed` from a failed\n * quote.\n */\nexport function noTradeWindowMs(options: NoTradeWindowMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'no_trade_window_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface IsFlushOperatorArguments {\n\tconfig?: RawTransactionArgument<string>;\n\toperator: RawTransactionArgument<string>;\n}\nexport interface IsFlushOperatorOptions {\n\tpackage?: string;\n\targuments: IsFlushOperatorArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Whether `operator` may call `plp::finish_flush`. For SDK, keeper, and devInspect\n * reads; `finish_flush` gates through `chk_op`.\n */\nexport function isFlushOperator(options: IsFlushOperatorOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'operator'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'is_flush_operator',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface IsOrderFlowArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface IsOrderFlowOptions {\n\tpackage?: string;\n\targuments?: IsOrderFlowArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/**\n * Whether the witness type `W` may drive Predict's order-flow primitives\n * (admission, commit, and fill). For SDK, keeper, and devInspect reads and the\n * companion's setup checks; the primitives gate through `chk_flow`.\n */\nexport function isOrderFlow(options: IsOrderFlowOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'is_order_flow',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface VersionWatermarkArguments {\n\tconfig?: RawTransactionArgument<string>;\n}\nexport interface VersionWatermarkOptions {\n\tpackage?: string;\n\targuments?: VersionWatermarkArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Return the runtime version floor. For SDK, keeper, and devInspect reads: the\n * delayed-execution cutover is reached once it is at least 4\n * (`constants::cutover_version!()`).\n */\nexport function versionWatermark(options: VersionWatermarkOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['config'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'version_watermark',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateBaseFeeArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tfee: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateBaseFeeOptions {\n\tpackage?: string;\n\targuments: SetTemplateBaseFeeArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the base fee multiplier snapshotted by newly created expiry markets. */\nexport function setTemplateBaseFee(options: SetTemplateBaseFeeOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'fee'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_base_fee',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateFeeBandsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tbands: RawTransactionArgument<Array<number | bigint>>;\n}\nexport interface SetTemplateFeeBandsOptions {\n\tpackage?: string;\n\targuments: SetTemplateFeeBandsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Replace the fee-band template snapshotted by newly created expiry markets: flat\n * `[low, high, multiplier]` triples, in FLOAT_SCALING. A trade whose contract\n * price is in `[low, high)` pays its trading fee times the multiplier. Empty\n * clears the template. Markets already created keep their copy.\n */\nexport function setTemplateFeeBands(options: SetTemplateFeeBandsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'vector<u64>', '0x2::clock::Clock'] satisfies (\n\t\tstring | null\n\t)[];\n\tconst parameterNames = ['config', 'AdminCap', 'bands'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_fee_bands',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateMinFeeArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tfee: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateMinFeeOptions {\n\tpackage?: string;\n\targuments: SetTemplateMinFeeArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the minimum fee floor snapshotted by newly created expiry markets. */\nexport function setTemplateMinFee(options: SetTemplateMinFeeOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'fee'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_min_fee',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateExpiryFeeWindowMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateExpiryFeeWindowMsOptions {\n\tpackage?: string;\n\targuments: SetTemplateExpiryFeeWindowMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the expiry-fee ramp window snapshotted by newly created expiry markets. */\nexport function setTemplateExpiryFeeWindowMs(options: SetTemplateExpiryFeeWindowMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_expiry_fee_window_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateExpiryFeeMaxMultiplierArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateExpiryFeeMaxMultiplierOptions {\n\tpackage?: string;\n\targuments: SetTemplateExpiryFeeMaxMultiplierArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the expiry-fee max multiplier snapshotted by newly created expiry markets. */\nexport function setTemplateExpiryFeeMaxMultiplier(\n\toptions: SetTemplateExpiryFeeMaxMultiplierOptions,\n) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_expiry_fee_max_multiplier',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateBackingBufferLambdaArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateBackingBufferLambdaOptions {\n\tpackage?: string;\n\targuments: SetTemplateBackingBufferLambdaArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the backing-buffer lambda snapshotted by newly created expiry markets. */\nexport function setTemplateBackingBufferLambda(options: SetTemplateBackingBufferLambdaOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_backing_buffer_lambda',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateInventoryImpactMaxRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateInventoryImpactMaxRateOptions {\n\tpackage?: string;\n\targuments: SetTemplateInventoryImpactMaxRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the maximum marginal inventory-impact rate snapshotted by newly created\n * expiry markets. `0` (the default) disables both charges and rebates.\n */\nexport function setTemplateInventoryImpactMaxRate(\n\toptions: SetTemplateInventoryImpactMaxRateOptions,\n) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_inventory_impact_max_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateMinEntryProbabilityArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateMinEntryProbabilityOptions {\n\tpackage?: string;\n\targuments: SetTemplateMinEntryProbabilityArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the minimum raw entry probability snapshotted by newly created expiry\n * markets.\n */\nexport function setTemplateMinEntryProbability(options: SetTemplateMinEntryProbabilityOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_min_entry_probability',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateMaxEntryProbabilityArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateMaxEntryProbabilityOptions {\n\tpackage?: string;\n\targuments: SetTemplateMaxEntryProbabilityArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the maximum raw entry probability snapshotted by newly created expiry\n * markets.\n */\nexport function setTemplateMaxEntryProbability(options: SetTemplateMaxEntryProbabilityOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_max_entry_probability',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetUsePythSpotForForwardArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tenabled: RawTransactionArgument<boolean>;\n}\nexport interface SetUsePythSpotForForwardOptions {\n\tpackage?: string;\n\targuments: SetUsePythSpotForForwardArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Select which source the live forward is built from: `true` carries the Block\n * Scholes basis on a fresh Pyth spot, `false` uses the Block Scholes forward\n * directly. Locked during valuation so one flush marks every market on one\n * formula. Clearing it also lifts the live-trade Pyth freshness requirement\n * (`pricing::assert_pyth_spot_fresh`), which is the way to keep mints and live\n * redeems open through a Pyth outage once no valuation is in flight.\n */\nexport function setUsePythSpotForForward(options: SetUsePythSpotForForwardOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'bool', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'enabled'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_use_pyth_spot_for_forward',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetPythSpotFreshnessMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetPythSpotFreshnessMsOptions {\n\tpackage?: string;\n\targuments: SetPythSpotFreshnessMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the live Pyth spot freshness threshold. While `use_pyth_spot_for_forward` is\n * set, a Pyth spot older than this makes valuation price off the Block Scholes\n * forward and makes every mint, mint quote, and live redeem abort\n * `pricing::EPythSpotStale`, so tightening it rejects more live trades and\n * widening it admits older Pyth spots. A window shorter than the time a Pyth\n * update takes to land halts live trading. Locked during valuation, like the\n * source selector.\n */\nexport function setPythSpotFreshnessMs(options: SetPythSpotFreshnessMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_pyth_spot_freshness_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetBlockScholesPriceFreshnessMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetBlockScholesPriceFreshnessMsOptions {\n\tpackage?: string;\n\targuments: SetBlockScholesPriceFreshnessMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the live Block Scholes spot/forward freshness threshold. */\nexport function setBlockScholesPriceFreshnessMs(options: SetBlockScholesPriceFreshnessMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_block_scholes_price_freshness_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetBlockScholesSviFreshnessMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetBlockScholesSviFreshnessMsOptions {\n\tpackage?: string;\n\targuments: SetBlockScholesSviFreshnessMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set the live Block Scholes SVI freshness threshold. */\nexport function setBlockScholesSviFreshnessMs(options: SetBlockScholesSviFreshnessMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_block_scholes_svi_freshness_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetLpRequestLimitFlushAttemptsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tattempts: RawTransactionArgument<number | bigint>;\n}\nexport interface SetLpRequestLimitFlushAttemptsOptions {\n\tpackage?: string;\n\targuments: SetLpRequestLimitFlushAttemptsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set how many frozen-mark attempts a queued LP request gets before it is\n * cancelled and refunded. `1` is fill-or-kill. Raising it lets a request rest at\n * the head across flushes, which stops that queue each time it misses — see RP-12\n * for the liveness cost that buys.\n */\nexport function setLpRequestLimitFlushAttempts(options: SetLpRequestLimitFlushAttemptsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'attempts'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_lp_request_limit_flush_attempts',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetMaxValuationWindowMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\twindowMs: RawTransactionArgument<number | bigint>;\n}\nexport interface SetMaxValuationWindowMsOptions {\n\tpackage?: string;\n\targuments: SetMaxValuationWindowMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set how long a started full-pool valuation may stay in flight before anyone may\n * discard it. A stalled flush costs LP-fill latency (and settlement latency for\n * its own market set), not a trading pause, so this is an operator liveness knob:\n * too short and a legitimate long flush can be discarded from under the keeper,\n * too long and an abandoned one delays queued LP fills for that duration. See\n * RP-29.\n */\nexport function setMaxValuationWindowMs(options: SetMaxValuationWindowMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'windowMs'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_max_valuation_window_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetMaxLpPoolValueArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tmaxPoolValue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetMaxLpPoolValueOptions {\n\tpackage?: string;\n\targuments: SetMaxLpPoolValueArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the ceiling on LP-attributable pool value that queued supplies may raise the\n * pool to. A supply that would carry the pool past it is filled up to the cap at\n * the flush and its remainder stays queued; withdrawals and already-issued PLP are\n * unaffected, so lowering this below current pool value closes the pool to new\n * capital rather than forcing anyone out.\n */\nexport function setMaxLpPoolValue(options: SetMaxLpPoolValueOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'maxPoolValue'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_max_lp_pool_value',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetEwmaParamsArguments {\n\tConfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tAlpha: RawTransactionArgument<number | bigint>;\n\tZScoreThreshold: RawTransactionArgument<number | bigint>;\n\tPenaltyRate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetEwmaParamsOptions {\n\tpackage?: string;\n\targuments: SetEwmaParamsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Retired with instant trading: the congestion penalty only priced instant trades,\n * and queued fills charge none. Always aborts `EEwmaRetired`.\n */\nexport function setEwmaParams(options: SetEwmaParamsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', 'u64', 'u64', '0x2::clock::Clock'] satisfies (\n\t\tstring | null\n\t)[];\n\tconst parameterNames = ['Config', 'AdminCap', 'Alpha', 'ZScoreThreshold', 'PenaltyRate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_ewma_params',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tConfig: options.arguments?.Config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetEwmaEnabledArguments {\n\tConfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tEnabled: RawTransactionArgument<boolean>;\n}\nexport interface SetEwmaEnabledOptions {\n\tpackage?: string;\n\targuments: SetEwmaEnabledArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Retired with instant trading: the congestion penalty only priced instant trades,\n * and queued fills charge none. Always aborts `EEwmaRetired`.\n */\nexport function setEwmaEnabled(options: SetEwmaEnabledOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'bool', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['Config', 'AdminCap', 'Enabled'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_ewma_enabled',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tConfig: options.arguments?.Config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetNoTradeWindowMsArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tvalue: RawTransactionArgument<number | bigint>;\n}\nexport interface SetNoTradeWindowMsOptions {\n\tpackage?: string;\n\targuments: SetNoTradeWindowMsArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the window before expiry in which live quotes, mints, and live redeems\n * abort. `0` disables the block. Read live at trade time, so a change applies to\n * markets already trading and stays available as an incident control.\n *\n * Deliberately not gated on `chk_no_val`, matching `set_trading_paused`: a stalled\n * flush must not be able to trap a safety control. Nothing in the flush reads this\n * value, so a mid-valuation change cannot skew a frozen mark.\n */\nexport function setNoTradeWindowMs(options: SetNoTradeWindowMsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'value'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_no_trade_window_ms',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTradingPausedArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tpaused: RawTransactionArgument<boolean>;\n}\nexport interface SetTradingPausedOptions {\n\tpackage?: string;\n\targuments: SetTradingPausedArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Set whether trading is paused. */\nexport function setTradingPaused(options: SetTradingPausedOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'bool'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'paused'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_trading_paused',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetFrozenArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tfrozen: RawTransactionArgument<boolean>;\n}\nexport interface SetFrozenOptions {\n\tpackage?: string;\n\targuments: SetFrozenArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the protocol-wide emergency freeze.\n *\n * Intentionally NOT version-gated, unlike every other admin setter: the freeze\n * gate lives inside `chk_version`, so routing this through it would make an\n * engaged freeze unclearable without a package upgrade — defeating the point.\n */\nexport function setFrozen(options: SetFrozenOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'bool'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'frozen'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_frozen',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface AddSettledRedeemKeeperArguments {\n\tConfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tKeeper: RawTransactionArgument<string>;\n}\nexport interface AddSettledRedeemKeeperOptions {\n\tpackage?: string;\n\targuments: AddSettledRedeemKeeperArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Retired with `redeem_settled_permissionless`, the only call the keeper allowlist\n * gated. Always aborts `ESettledRedeemRetired`.\n */\nexport function addSettledRedeemKeeper(options: AddSettledRedeemKeeperOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['Config', 'AdminCap', 'Keeper'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'add_settled_redeem_keeper',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tConfig: options.arguments?.Config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface RemoveSettledRedeemKeeperArguments {\n\tConfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tKeeper: RawTransactionArgument<string>;\n}\nexport interface RemoveSettledRedeemKeeperOptions {\n\tpackage?: string;\n\targuments: RemoveSettledRedeemKeeperArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Retired with `redeem_settled_permissionless`, the only call the keeper allowlist\n * gated. Always aborts `ESettledRedeemRetired`.\n */\nexport function removeSettledRedeemKeeper(options: RemoveSettledRedeemKeeperOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['Config', 'AdminCap', 'Keeper'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'remove_settled_redeem_keeper',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tConfig: options.arguments?.Config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface AddFlushOperatorArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\toperator: RawTransactionArgument<string>;\n}\nexport interface AddFlushOperatorOptions {\n\tpackage?: string;\n\targuments: AddFlushOperatorArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Allow `operator` to call `plp::finish_flush`. Admin-only and version-gated;\n * aborts if `operator` is already allowed. Not gated on an open LP valuation, so\n * an admin can always add an operator to finish a stuck flush.\n */\nexport function addFlushOperator(options: AddFlushOperatorOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'address', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'operator'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'add_flush_operator',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface RemoveFlushOperatorArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\toperator: RawTransactionArgument<string>;\n}\nexport interface RemoveFlushOperatorOptions {\n\tpackage?: string;\n\targuments: RemoveFlushOperatorArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Revoke `operator`'s access to `plp::finish_flush`. Admin-only. Bypasses the\n * version gate, like `remove_settled_redeem_keeper`, so revocation stays available\n * under the emergency freeze and from a package version below the runtime floor.\n * Aborts if `operator` is not allowed.\n */\nexport function removeFlushOperator(options: RemoveFlushOperatorOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'address', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'operator'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'remove_flush_operator',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetOrderFlowArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tenabled: RawTransactionArgument<boolean>;\n}\nexport interface SetOrderFlowOptions {\n\tpackage?: string;\n\targuments: SetOrderFlowArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/**\n * Allowlist (`enabled = true`) or remove the witness type `W` of an order-flow\n * companion for Predict's order-flow primitives. Removing it stops admissions,\n * commits, and fills only: `release` and `try_pay_settled` need a receipt, not the\n * allowlist, so waiting orders still drain and queue-held positions are still\n * paid. Admin-only. Enabling is version-gated, since it grants authority; removing\n * is ungated, like `remove_flush_operator`, so it works under the emergency freeze\n * and from a package version below the runtime floor. Setting the state `W`\n * already has changes nothing but still emits `OrderFlowUpdated`.\n */\nexport function setOrderFlow(options: SetOrderFlowOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'bool', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'enabled'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_order_flow',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface BumpVersionWatermarkArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n}\nexport interface BumpVersionWatermarkOptions {\n\tpackage?: string;\n\targuments: BumpVersionWatermarkArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Advance the version floor to this package's compiled-in `current_version!()`.\n *\n * The floor cannot be set above the executing package's version. This function is\n * ungated so an upgraded package can retire older versions; it aborts unless the\n * executing version is strictly greater than the existing floor.\n */\nexport function bumpVersionWatermark(options: BumpVersionWatermarkOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'bump_version_watermark',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetProtocolReserveProfitShareArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tprotocolReserveProfitShare: RawTransactionArgument<number | bigint>;\n}\nexport interface SetProtocolReserveProfitShareOptions {\n\tpackage?: string;\n\targuments: SetProtocolReserveProfitShareArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the protocol reserve profit share used when materializing aggregate expiry\n * profit. Admin-gated; validated against its config-constants envelope.\n */\nexport function setProtocolReserveProfitShare(options: SetProtocolReserveProfitShareOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'protocolReserveProfitShare'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_protocol_reserve_profit_share',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetReferralFeeRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetReferralFeeRateOptions {\n\tpackage?: string;\n\targuments: SetReferralFeeRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the portion of referred mint fees routed to the referrer. The new rate\n * applies to subsequent mints without changing their all-in account withdrawal.\n */\nexport function setReferralFeeRate(options: SetReferralFeeRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_referral_fee_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetFeeIncentiveSubsidyRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetFeeIncentiveSubsidyRateOptions {\n\tpackage?: string;\n\targuments: SetFeeIncentiveSubsidyRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the fraction of each mint's trading fee paid from the market's\n * sponsor-funded fee-incentive balance. Read live at mint time, so the new rate\n * applies to the next mint on every market, including markets already trading; `0`\n * stops incentives from being spent without moving them. The subsidy never changes\n * the trading fee charged, only how much of it the trader pays; on a referred mint\n * the referral is computed on the trader-paid part, so a higher rate also shrinks\n * the referral.\n *\n * Binds every mint only once the version watermark has retired package versions\n * older than 4: those compiled in a fixed 20% and never read this rate, so until\n * then a mint routed through one still draws 20% from the market's balance. A zero\n * rate does not stop `rebalance_expiry_cash` allocating the pool reserve into\n * markets; to wind incentives down, also withdraw the reserve\n * (`plp::withdraw_fee_incentives`), or, once the watermark has retired versions\n * older than 4, set the live target rate to zero, which keeps the reserve in the\n * pool.\n *\n * Not gated on the valuation flag, matching `set_referral_fee_rate`: nothing in\n * the flush reads this rate, and a mint that consumes a subsidy mid-flush lands\n * after the snapshot captured that market's cash, so it cannot reach the frozen\n * mark.\n */\nexport function setFeeIncentiveSubsidyRate(options: SetFeeIncentiveSubsidyRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_fee_incentive_subsidy_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetBuilderFeeCapArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\tcap: RawTransactionArgument<number | bigint>;\n}\nexport interface SetBuilderFeeCapOptions {\n\tpackage?: string;\n\targuments: SetBuilderFeeCapArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the builder fee cap: the most a trade's builder fee can charge per contract,\n * in FLOAT_SCALING of a contract's $1 payout, from `0` up to the whole payout. A\n * trade that names a higher fee pays the cap. Read when an order is admitted, so\n * the new cap applies to the next order on every market, and an order already\n * queued keeps the fee it was admitted with. `0` stops builder fees.\n *\n * Not gated on the valuation flag, matching `set_fee_incentive_subsidy_rate`:\n * nothing in the flush reads the cap, and a builder fee leaves with the trader's\n * own payment, never market cash.\n */\nexport function setBuilderFeeCap(options: SetBuilderFeeCapOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'cap'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_builder_fee_cap',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetFeeIncentiveLiveTargetRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetFeeIncentiveLiveTargetRateOptions {\n\tpackage?: string;\n\targuments: SetFeeIncentiveLiveTargetRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the share of an expiry's allocation cap each live rebalance tops its\n * sponsor-funded fee-incentive balance up to. Read at every rebalance, so it\n * applies to markets already trading. Lowering it never claws back a balance\n * already allocated: a market above the new target receives nothing more until it\n * spends below it. `0` stops the pool reserve being allocated to markets, so it\n * stays in the pool and withdrawable. It may exceed a market's lifetime cap: the\n * cap still bounds what the market receives, so the target is not checked against\n * the lifetime cap rate.\n *\n * Binds every rebalance only once the version watermark has retired package\n * versions older than 4: `rebalance_expiry_cash` is permissionless, and those\n * versions top a market up to a fixed 2% whatever this is set to. Not gated on the\n * valuation flag: the flush never reads it, and the reserve and market incentive\n * balances it moves between are outside PLP NAV.\n */\nexport function setFeeIncentiveLiveTargetRate(options: SetFeeIncentiveLiveTargetRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_fee_incentive_live_target_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetTemplateFeeIncentiveLifetimeCapRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetTemplateFeeIncentiveLifetimeCapRateOptions {\n\tpackage?: string;\n\targuments: SetTemplateFeeIncentiveLifetimeCapRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the share of an expiry's allocation cap it may receive in sponsor-funded fee\n * incentives over its life. Snapshotted into each expiry's pool accounting row\n * when the market is created, so markets already created keep the cap they were\n * created with, and `vault_events::FeeIncentiveLifetimeCapSnapshotted` reports\n * each market's cap.\n *\n * Binds market creation only once the version watermark has retired package\n * versions older than 4, which snapshot a fixed 10% whatever this is set to. Not\n * gated on the valuation flag, for the same reason as the live target rate.\n */\nexport function setTemplateFeeIncentiveLifetimeCapRate(\n\toptions: SetTemplateFeeIncentiveLifetimeCapRateOptions,\n) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_template_fee_incentive_lifetime_cap_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetPlpSupplyFeeRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetPlpSupplyFeeRateOptions {\n\tpackage?: string;\n\targuments: SetPlpSupplyFeeRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the fee charged on executed PLP supply fills. Admin-gated and validated\n * against its config-constants envelope. Locked during valuation so the rate a\n * flush froze into its mark cannot change midway through that flush.\n */\nexport function setPlpSupplyFeeRate(options: SetPlpSupplyFeeRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_plp_supply_fee_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface SetPlpWithdrawFeeRateArguments {\n\tconfig?: RawTransactionArgument<string>;\n\tAdminCap: RawTransactionArgument<string>;\n\trate: RawTransactionArgument<number | bigint>;\n}\nexport interface SetPlpWithdrawFeeRateOptions {\n\tpackage?: string;\n\targuments: SetPlpWithdrawFeeRateArguments;\n\tconfig?: {\n\t\tprotocolConfig: ConfigValue;\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the fee charged on executed PLP withdraw fills. Same gating as the supply\n * leg; the two are independent so the exit charge can move without taxing entry.\n */\nexport function setPlpWithdrawFeeRate(options: SetPlpWithdrawFeeRateOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, 'u64', '0x2::clock::Clock'] satisfies (string | null)[];\n\tconst parameterNames = ['config', 'AdminCap', 'rate'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'protocol_config',\n\t\t\tfunction: 'set_plp_withdraw_fee_rate',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tconfig: options.arguments?.config ?? options.config?.protocolConfig,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,MAAM,cAAc;AACpB,MAAa,iBAAiB,IAAI,WAAW;CAC5C,MAAM,GAAG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