carbon-raydium-launchpad-decoder 2.0.0

Raydium Launchpad Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
//! This code was AUTOGENERATED using the Codama library.
/// Specifies the direction of a trade in the bonding curve
/// This is important because curves can treat tokens differently through
/// weights or offsets
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub enum TradeDirection {
    Buy,
    Sell,
}