Skip to main content
Only kimia-perp, delta-vault (one event), and intent-router emit #[event] structs today. split-engine, yield-amm, and kusd-mint log via msg! only — observe them by reading tx.meta.logMessages on the confirmed transaction.

kimia-perp

Defined in Perp-engine/programs/kimia-perp/src/events.rs.
EventKey fields
MarketInitializedmarket, oracle, admin
PositionOpeneduser, market, direction, base_amount, quote_amount, entry_price, fee
PositionCloseduser, market, close_amount, close_price, realized_pnl, fee
FundingRateUpdatedmarket, funding_rate, mark_twap, oracle_twap, cumulative_funding_rate_long, cumulative_funding_rate_short, timestamp
FundingSettleduser, market, funding_payment
CollateralDepositeduser, amount
CollateralWithdrawnuser, amount
Liquidateduser, liquidator, market, base_amount_closed, close_price, liquidation_fee, insurance_fee, bad_debt
OrderPlacedorder_id, owner, market, price, base_amount, direction
OrderFilledtaker, maker, market, fill_qty, fill_price, taker_fee, maker_fee, taker_direction
OrderCancelledorder_id, owner, refunded_margin
MarkPriceUpdatedmarket, new_price, timestamp
SelfTradeSkippedowner, order_id
BadDebtDetectedmarket, amount, cumulative_uncovered, market_paused
SpotPoolInitializedpool, base_mint, quote_mint, admin
SpotSwappeduser, pool, direction, amount_in, amount_out, fee, oracle_price

delta-vault

Defined in Programs/programs/delta-vault/src/instructions/rebalance.rs.
EventKey fields
RebalanceCheckedvault, long_notional_usd, short_notional_usd, delta_bps, executed
All other state transitions (deposit, withdraw, claim_funding, pause) currently emit msg! logs instead of typed events.

intent-router

Defined in Programs/programs/intent-router/src/events.rs.
EventKey fields
IntentFulfilledowner, session_id, amount, target_rate, achieved_rate, pt_received, yt_received
Per-step progress (session create, step 1, step 2, close) is visible via msg! logs and the session account’s state field.

split-engine, yield-amm, kusd-mint

No #[event] structs emitted. Observe state transitions by:
  • Reading tx.meta.logMessages on the confirmed transaction.
  • Polling or subscribing to the relevant account PDAs.