Skip to main content

split_creator_fee

Function split_creator_fee 

Source
pub fn split_creator_fee(
    accrued_fee: u64,
    share_rate: u64,
) -> Option<CreatorFeeSplit>
Expand description

Exact collection-time estimate: protocol share floors; all remaining dust goes to the creator. Apply independently to creator_fees_token_0 and _1. This does not mutate PoolState or infer a collection result from a shred transaction.