carbon-pump-swap-decoder 0.12.0

PumpSwap Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use carbon_core::{borsh, CarbonDeserialize};

#[derive(
    CarbonDeserialize, Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Hash,
)]
pub struct DisableEvent {
    pub timestamp: i64,
    pub admin: solana_pubkey::Pubkey,
    pub disable_create_pool: bool,
    pub disable_deposit: bool,
    pub disable_withdraw: bool,
    pub disable_buy: bool,
    pub disable_sell: bool,
}