Coda by Ian Macalinao
    Preparing search index...

    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

    interface PoolFeesStruct {
        baseFee: BaseFeeStruct;
        dynamicFee: DynamicFeeStruct;
        padding0: number[];
        padding1: bigint[];
        partnerFeePercent: number;
        protocolFeePercent: number;
        referralFeePercent: number;
    }
    Index

    Properties

    baseFee: BaseFeeStruct

    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

    dynamicFee: DynamicFeeStruct

    dynamic fee

    padding0: number[]

    padding

    padding1: bigint[]

    padding

    partnerFeePercent: number

    partner fee

    protocolFeePercent: number

    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

    referralFeePercent: number

    referral fee