carbon-vertigo-decoder 2.0.0

Vertigo DEX 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.
use solana_pubkey::Pubkey;
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct FeeParams {
    /// The normalization period in slots.
    /// During this period, the fee will decay from 100% to the base fee.
    pub normalization_period: u64,
    /// Normalization period fee decay rate.
    /// Higher values decay faster.
    pub decay: f64,
    /// Reference slot for the fee calculation.
    pub reference: u64,
    /// Royalties in basis points.
    pub royalties_bps: u16,
    /// Number of fee exempt buys.
    pub privileged_swapper: Option<Pubkey>,
}