pub fn order_fee(amount: u64, bps: u64, decimals: u8) -> u64Expand description
The fee a funder pays ON TOP of an order’s amount, exactly as knos_pay 2.2 computes it: bps (FEE_BPS for a
wallet’s order) of the amount, rounded down; at least ORDER_FEE_MIN; no maximum and no tiers. FundOrderWallet
moves amount + order_fee(amount).