carbon-drift-v2-decoder 1.0.0

Drift v2 Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
//! This code was AUTOGENERATED using the Codama library.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct TargetsDatum {
    pub cost_to_trade_bps: i32,
    pub padding: [u8; 4],
    pub target_base: i64,
    pub last_oracle_slot: u64,
    pub last_position_slot: u64,
}