Skip to main content

split_fee_amount

Function split_fee_amount 

Source
pub fn split_fee_amount(args: FeeSplitArgs) -> Option<(u64, u64, u64, u64)>
Expand description

(protocol, lp, creator, sniper): LP/creator round down; protocol gets the premium and the remainder, so sniper is a subset of protocol.