Skip to main content

creator_fee_amount

Function creator_fee_amount 

Source
pub fn creator_fee_amount(
    creator: &Pubkey,
    amount: u128,
    basis_points: u64,
) -> u128
Expand description

fee_amount(amount, basis_points), or 0 when creator is Pubkey::default() (the convention for “no creator fee on this trade”).