Skip to main content
programs/vanna_credit_layer/src/lib.rs

Modules

Instructions

Agent programs

Events

Liquidation, write-off and margin_execute events are emitted through a self-CPI (emit_cpi!), so they survive long external-program logs such as Phoenix’s. Read them from the inner instructions. Other events (Borrowed, DebtRepaid, CollateralDeposited, LiquiditySupplied, and so on) are in events.rs.