carbon-zeta-decoder 1.0.0

Zeta Program Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This code was AUTOGENERATED using the Codama library.
use {crate::types::Asset, solana_pubkey::Pubkey};
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct LiquidationEvent {
    pub liquidator_reward: u64,
    pub insurance_reward: u64,
    pub cost_of_trades: u64,
    pub size: i64,
    pub remaining_liquidatee_balance: u64,
    pub remaining_liquidator_balance: u64,
    pub mark_price: u64,
    pub underlying_price: u64,
    pub liquidatee: Pubkey,
    pub liquidator: Pubkey,
    pub asset: Asset,
}