carbon-boop-decoder 0.10.0

Boop program decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use carbon_core::{borsh, CarbonDeserialize};

#[derive(
    CarbonDeserialize, Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Hash,
)]
pub struct AmmConfig {
    pub bump: u8,
    pub disable_create_pool: bool,
    pub index: u16,
    pub trade_fee_rate: u64,
    pub protocol_fee_rate: u64,
    pub fund_fee_rate: u64,
    pub create_pool_fee: u64,
    pub protocol_owner: solana_pubkey::Pubkey,
    pub fund_owner: solana_pubkey::Pubkey,
    pub padding: [u64; 16],
}