1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use borsh::BorshDeserialize;
use solana_sdk::pubkey::Pubkey;
use tabled::Tabled;
#[derive(BorshDeserialize, Tabled)]
pub struct ClmmConfig {
/// The authority of token accounts for receive protocol fee.
pub protocol_fee_authority: Pubkey,
/// The authority for claim protocol fee
pub protocol_fee_claim_authority: Pubkey,
/// The protocol fee rate
pub protocol_fee_rate: u16,
/// `pending_authority` is used when transfer authority, store the new authority to accept in next step and as the new authority.
pub pending_authority: Pubkey,
}