carbon-token-2022-decoder 2.0.0

Carbon Token 2022 Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! 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 TransferFee {
    /// First epoch where the transfer fee takes effect.
    pub epoch: u64,
    /// Maximum fee assessed on transfers, expressed as an amount of tokens.
    pub maximum_fee: u64,
    /// Amount of transfer collected as fees, expressed as basis points of the
    /// transfer amount, ie. increments of 0.01%.
    pub transfer_fee_basis_points: u16,
}