Function get_cpmm_fee_amount_from_config_account

Source
pub fn get_cpmm_fee_amount_from_config_account(
    config_account: Pubkey,
    pool_account: &Pubkey,
) -> u64
Expand description

Get the fee amount for a Raydium CPMM pool based on its config account

Returns the fee rate in lamports based on known config account addresses. If the config account is not recognized, returns a default high fee rate (100%) and logs a warning.