import { MoveStruct } from "../utils/index.mjs"; import * as _mysten_sui_bcs340 from "@mysten/sui/bcs"; //#region src/contracts/deepbook_predict/vault_events.d.ts declare namespace vault_events_d_exports { export { CapitalLocked, ExpiryCashRebalanced, ExpiryCashReceived, ExpiryPnl, ExpiryPnlRealized, ExpiryProfitMaterialized, FeeIncentiveLifetimeCapSnapshotted, FeeIncentivesAllocated, FeeIncentivesReturned, FeeIncentivesSponsored, FeeIncentivesWithdrawn, FlushExecuted, FlushRestarted, RequestCancelled, RequestLimitMissed, SupplyFilled, SupplyRequested, UsdcAddedToPlp, WithdrawFilled, WithdrawRequested }; } declare const ExpiryCashReceived: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; settlement_price: _mysten_sui_bcs340.BcsType; amount: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::ExpiryCashReceived">; declare const ExpiryCashRebalanced: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; to_expiry: _mysten_sui_bcs340.BcsType; target_cash: _mysten_sui_bcs340.BcsType; protocol_profit_realized: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::ExpiryCashRebalanced">; declare const ExpiryProfitMaterialized: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; lp_profit: _mysten_sui_bcs340.BcsType; protocol_profit: _mysten_sui_bcs340.BcsType; protocol_reserve_balance_after: _mysten_sui_bcs340.BcsType; profit_basis_after: _mysten_sui_bcs340.BcsType; pending_protocol_profit_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::ExpiryProfitMaterialized">; declare const ExpiryPnl: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; propbook_underlying_id: _mysten_sui_bcs340.BcsType; /** * Start of the market's cadence period (`expiry` minus the cadence period), in * milliseconds. The market's creation transaction may land before it. */ period_start_ms: _mysten_sui_bcs340.BcsType; expiry: _mysten_sui_bcs340.BcsType; settlement_price: _mysten_sui_bcs340.BcsType; sent_to_expiry: _mysten_sui_bcs340.BcsType; received_from_expiry: _mysten_sui_bcs340.BcsType; /** * True when `received_from_expiry >= sent_to_expiry`; break-even reports a zero * profit. */ in_profit: _mysten_sui_bcs340.BcsType; /** Absolute difference between `received_from_expiry` and `sent_to_expiry`. */ amount: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::ExpiryPnl">; declare const ExpiryPnlRealized: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; propbook_underlying_id: _mysten_sui_bcs340.BcsType; expiry: _mysten_sui_bcs340.BcsType; settlement_price: _mysten_sui_bcs340.BcsType; /** False only for a loss, which only an expiry's first emission can report. */ in_profit: _mysten_sui_bcs340.BcsType; /** * Magnitude of the change in the gross realized result since the previous * emission. */ amount: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::ExpiryPnlRealized">; declare const SupplyRequested: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; amount: _mysten_sui_bcs340.BcsType; min_plp_out: _mysten_sui_bcs340.BcsType; requests_pending_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::SupplyRequested">; declare const WithdrawRequested: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; amount: _mysten_sui_bcs340.BcsType; min_usdc_out: _mysten_sui_bcs340.BcsType; requests_pending_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::WithdrawRequested">; declare const RequestCancelled: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; amount: _mysten_sui_bcs340.BcsType; is_supply: _mysten_sui_bcs340.BcsType; /** * 0=user, 1=non-executable frozen mark, 2=quote below the request's minimum * output. */ reason: _mysten_sui_bcs340.BcsType; requests_pending_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::RequestCancelled">; declare const RequestLimitMissed: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; amount: _mysten_sui_bcs340.BcsType; is_supply: _mysten_sui_bcs340.BcsType; quoted_output: _mysten_sui_bcs340.BcsType; min_output: _mysten_sui_bcs340.BcsType; missed_flushes: _mysten_sui_bcs340.BcsType; max_misses: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::RequestLimitMissed">; declare const SupplyFilled: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; /** * USDC actually taken into the pool, which is less than the request's escrow when * the supply cap left only part of it room. Shares were priced on * `usdc_amount - fee_usdc`. */ usdc_amount: _mysten_sui_bcs340.BcsType; shares_minted: _mysten_sui_bcs340.BcsType; /** Supply fee withheld from `usdc_amount` and retained by the pool. */ fee_usdc: _mysten_sui_bcs340.BcsType; /** * Escrow still queued at the head after a partial fill; `0` on a full fill, in * which case the request is gone. `usdc_amount + usdc_remaining` is the amount the * request carried into this flush. */ usdc_remaining: _mysten_sui_bcs340.BcsType; requests_pending_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::SupplyFilled">; declare const WithdrawFilled: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; account_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; recipient: _mysten_sui_bcs340.BcsType, "bytes[32]">; index: _mysten_sui_bcs340.BcsType; shares_burned: _mysten_sui_bcs340.BcsType; /** * Net USDC delivered to `recipient`. The gross marked value of `shares_burned` was * `usdc_amount + fee_usdc`. */ usdc_amount: _mysten_sui_bcs340.BcsType; /** Withdraw fee withheld from the payout and retained by the pool. */ fee_usdc: _mysten_sui_bcs340.BcsType; /** * Escrowed PLP still queued at the head after a partial fill; `0` on a full fill, * in which case the request is gone. `shares_burned + shares_remaining` is the * amount the request carried into this flush. */ shares_remaining: _mysten_sui_bcs340.BcsType; requests_pending_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::WithdrawFilled">; declare const FlushExecuted: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; epoch: _mysten_sui_bcs340.BcsType; /** * LP-attributable pool NAV every fill was priced at: idle plus * `active_market_nav`, excluding unrealized and pending protocol profit. */ pool_value: _mysten_sui_bcs340.BcsType; /** PLP supply in the frozen pre-drain mark used to price every fill. */ total_supply: _mysten_sui_bcs340.BcsType; /** * Supply-leg fee rate in FLOAT_SCALING, frozen with the mark and charged on every * supply fill in this flush. */ supply_fee_rate: _mysten_sui_bcs340.BcsType; /** Withdraw-leg fee rate in FLOAT_SCALING, frozen alongside it. */ withdraw_fee_rate: _mysten_sui_bcs340.BcsType; /** * Sum of the marked NAV contributed by each active market; settled markets add * zero. */ active_market_nav: _mysten_sui_bcs340.BcsType; /** Number of active markets valued for this flush. */ market_count: _mysten_sui_bcs340.BcsType; /** * LIVE idle USDC read at finish time, immediately before the drain — NOT a mark * input. It brackets the drain with `idle_balance_after`; because maintenance, * settlement sweeps, and trading run mid-window, it can differ from * `frozen_idle_balance` below. Drain telemetry, not the mark. */ idle_balance_before: _mysten_sui_bcs340.BcsType; /** * The mark's idle component: idle USDC FROZEN at the seal. `frozen_idle_balance * * - active_market_nav`reconstructs the priced mark's gross; every fill in the flush is priced from this, never from`idle_balance_before`. */ frozen_idle_balance: _mysten_sui_bcs340.BcsType; supplies_filled: _mysten_sui_bcs340.BcsType; withdrawals_filled: _mysten_sui_bcs340.BcsType; requests_processed: _mysten_sui_bcs340.BcsType; idle_balance_after: _mysten_sui_bcs340.BcsType; /** PLP supply after the drain's completed mints and burns. */ total_supply_after: _mysten_sui_bcs340.BcsType; /** * Each queue's `next_index` at this flush's snapshot instant; the drain filled * only requests indexed strictly below these. */ supply_request_cutoff: _mysten_sui_bcs340.BcsType; withdraw_request_cutoff: _mysten_sui_bcs340.BcsType; /** * Clock instant the snapshot stage froze every market's pricer — the moment the * mark prices the pool at. Fills execute later in the same flush; this is the * timestamp they were priced as of. */ snapshot_timestamp_ms: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FlushExecuted">; declare const FlushRestarted: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expected_market_count: _mysten_sui_bcs340.BcsType; valued_market_count: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FlushRestarted">; declare const CapitalLocked: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::CapitalLocked">; declare const UsdcAddedToPlp: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; contributor: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::UsdcAddedToPlp">; declare const FeeIncentivesSponsored: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; sponsor: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; reserve_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FeeIncentivesSponsored">; declare const FeeIncentivesWithdrawn: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; reserve_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FeeIncentivesWithdrawn">; declare const FeeIncentiveLifetimeCapSnapshotted: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; fee_incentive_lifetime_cap: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FeeIncentiveLifetimeCapSnapshotted">; declare const FeeIncentivesAllocated: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; pool_reserve_after: _mysten_sui_bcs340.BcsType; expiry_incentive_balance_after: _mysten_sui_bcs340.BcsType; expiry_incentives_allocated_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FeeIncentivesAllocated">; declare const FeeIncentivesReturned: MoveStruct<{ pool_vault_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; expiry_market_id: _mysten_sui_bcs340.BcsType, "bytes[32]">; amount: _mysten_sui_bcs340.BcsType; pool_reserve_after: _mysten_sui_bcs340.BcsType; }, "@local-pkg/deepbook_predict::vault_events::FeeIncentivesReturned">; //#endregion export { vault_events_d_exports }; //# sourceMappingURL=vault_events.d.mts.map