Trait cfg_traits::fee::PoolFeesMutate  
source · pub trait PoolFeesMutate {
    type PoolId;
    type FeeInfo;
    // Required method
    fn add_fee(
        pool_id: Self::PoolId,
        bucket: PoolFeeBucket,
        fee: Self::FeeInfo
    ) -> DispatchResult;
}Expand description
Trait to add fees to a pool
Required Associated Types§
Required Methods§
sourcefn add_fee(
    pool_id: Self::PoolId,
    bucket: PoolFeeBucket,
    fee: Self::FeeInfo
) -> DispatchResult
 
fn add_fee( pool_id: Self::PoolId, bucket: PoolFeeBucket, fee: Self::FeeInfo ) -> DispatchResult
Add a new fee to the pool and bucket.
NOTE: Assumes call permissions are separately checked beforehand.
Object Safety§
This trait is not object safe.