carbon-marginfi-v2-decoder 1.0.0

MarginfiV2 Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This code was AUTOGENERATED using the Codama library.
/// Used to record key details of the last few liquidation events on the account
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct LiquidationEntry {
    /// Dollar amount seized
    /// * An f64 stored as bytes
    pub asset_amount_seized: [u8; 8],
    /// Dollar amount repaid
    /// * An f64 stored as bytes
    pub liab_amount_repaid: [u8; 8],
    pub placeholder0: u64,
    pub timestamp: i64,
    pub reserved0: [u8; 16],
}