Trade fees are extra token amounts that are held inside the token accounts during a trade, making the value of liquidity tokens rise. Trade fee numerator
dynamic fee
padding
padding
partner fee
Protocol trading fees are extra token amounts that are held inside the token accounts during a trade, with the equivalent in pool tokens minted to the protocol of the program. Protocol trade fee numerator
referral fee
Information regarding fee charges trading_fee = amount * trade_fee_numerator / denominator protocol_fee = trading_fee * protocol_fee_percentage / 100 referral_fee = protocol_fee * referral_percentage / 100 partner_fee = (protocol_fee - referral_fee) * partner_fee_percentage / denominator