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
18
//! 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 HaltState {
    pub halted: bool,
    pub spot_price: u64,
    pub timestamp: u64,
    pub mark_prices_set: [bool; 2],
    pub mark_prices_set_padding: [bool; 3],
    pub perp_mark_price_set: bool,
    pub market_nodes_cleaned: [bool; 2],
    pub market_nodes_cleaned_padding: [bool; 4],
    #[cfg_attr(feature = "serde", serde(with = "serde_big_array::BigArray"))]
    pub market_cleaned: [bool; 46],
    #[cfg_attr(feature = "serde", serde(with = "serde_big_array::BigArray"))]
    pub market_cleaned_padding: [bool; 91],
    pub perp_market_cleaned: bool,
}