import { MoveStruct } from "../utils/index.mjs"; import * as _mysten_sui_bcs291 from "@mysten/sui/bcs"; //#region src/contracts/deepbook_predict/order_events.d.ts declare namespace order_events_d_exports { export { LiveOrderRedeemed, OrderMinted, SettledOrderRedeemed }; } declare const OrderMinted: MoveStruct<{ expiry_market_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; order_id: _mysten_sui_bcs291.BcsType; /** * Stable economic-position handle: the original mint's `order_id`, carried forward * unchanged across partial-close replacements. Equals `order_id` here. */ position_root_id: _mysten_sui_bcs291.BcsType; owner: _mysten_sui_bcs291.BcsType, "bytes[32]">; /** * Canonical strike range as absolute ticks: `lower_tick` (`0` = `-inf`) and * `higher_tick` (`pos_inf_tick` = `+inf`). Raw strikes are the derived display * form, `tick * tick_size` with the `tick_size` from `MarketCreated`. */ lower_tick: _mysten_sui_bcs291.BcsType; higher_tick: _mysten_sui_bcs291.BcsType; /** 1e9-scaled range probability quoted at entry. */ entry_probability: _mysten_sui_bcs291.BcsType; quantity: _mysten_sui_bcs291.BcsType; /** Premium the user paid into LP backing, in USDC base units. */ premium: _mysten_sui_bcs291.BcsType; /** Full trading fee assessed for the mint, including any sponsor-paid subsidy. */ trading_fee: _mysten_sui_bcs291.BcsType; /** Portion of `trading_fee` paid from expiry-local fee incentives. */ fee_incentive_subsidy: _mysten_sui_bcs291.BcsType; builder_fee: _mysten_sui_bcs291.BcsType; /** EWMA gas-price congestion surcharge assessed for the mint, in USDC base units. */ penalty_fee: _mysten_sui_bcs291.BcsType; /** * Portion of the trader-paid trading fee and congestion surcharge delivered to the * referrer. */ referral_fee: _mysten_sui_bcs291.BcsType; /** Separate inventory-impact charge escrowed for live-close rebates. */ inventory_impact_charge: _mysten_sui_bcs291.BcsType; /** * Builder code the order named, credited with `builder_fee`; `none` when the order * named none. Recorded even at a zero fee, so attribution covers apps that charge * nothing. */ builder_code_id: _mysten_sui_bcs291.BcsType | null | undefined, "Option">; /** Referrer recorded on the minting account, independent of the fee paid. */ referrer_account_id: _mysten_sui_bcs291.BcsType | null | undefined, "Option">; onchain_timestamp_ms: _mysten_sui_bcs291.BcsType; /** * Oracle source timestamps present when this mint was priced: Pyth's canonical * source time and the Block Scholes per-update source times used for freshness. * The SVI one is also the roll-down anchor. Pyth is `0` only when unusable. */ pyth_spot_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs291.BcsType; }, "@local-pkg/deepbook_predict::order_events::OrderMinted">; declare const LiveOrderRedeemed: MoveStruct<{ expiry_market_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; order_id: _mysten_sui_bcs291.BcsType; /** * Stable economic-position handle, constant across the replacement chain. On a * partial close the replacement inherits this same root. */ position_root_id: _mysten_sui_bcs291.BcsType; owner: _mysten_sui_bcs291.BcsType, "bytes[32]">; quantity_closed: _mysten_sui_bcs291.BcsType; /** `0` means the position was fully closed. */ remaining_quantity: _mysten_sui_bcs291.BcsType; /** New order ID minted to carry the remainder on a partial live close. */ replacement_order_id: _mysten_sui_bcs291.BcsType">; /** Redeem value before fees. */ redeem_amount: _mysten_sui_bcs291.BcsType; trading_fee: _mysten_sui_bcs291.BcsType; builder_fee: _mysten_sui_bcs291.BcsType; /** EWMA gas-price congestion surcharge retained by the pool, in USDC base units. */ penalty_fee: _mysten_sui_bcs291.BcsType; /** Separate inventory-impact rebate paid from its isolated escrow. */ inventory_impact_rebate: _mysten_sui_bcs291.BcsType; /** * Builder code the order named, credited with `builder_fee`; `none` when the order * named none. Recorded even at a zero fee, so attribution covers apps that charge * nothing. */ builder_code_id: _mysten_sui_bcs291.BcsType | null | undefined, "Option">; onchain_timestamp_ms: _mysten_sui_bcs291.BcsType; /** * Oracle source timestamps present when this redemption was priced: Pyth's * canonical source time and the Block Scholes per-update source times used for * freshness. The SVI one is also the roll-down anchor. Pyth is `0` only when * unusable. */ pyth_spot_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs291.BcsType; block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs291.BcsType; }, "@local-pkg/deepbook_predict::order_events::LiveOrderRedeemed">; declare const SettledOrderRedeemed: MoveStruct<{ expiry_market_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs291.BcsType, "bytes[32]">; order_id: _mysten_sui_bcs291.BcsType; /** Stable economic-position handle, constant across the replacement chain. */ position_root_id: _mysten_sui_bcs291.BcsType; owner: _mysten_sui_bcs291.BcsType, "bytes[32]">; payout_amount: _mysten_sui_bcs291.BcsType; onchain_timestamp_ms: _mysten_sui_bcs291.BcsType; }, "@local-pkg/deepbook_predict::order_events::SettledOrderRedeemed">; //#endregion export { order_events_d_exports }; //# sourceMappingURL=order_events.d.mts.map