[][src]Trait srml_contract::ComputeDispatchFee

pub trait ComputeDispatchFee<Call, Balance> {
    fn compute_dispatch_fee(call: &Call) -> Balance;
}

A function that returns the fee for dispatching a Call.

Required methods

fn compute_dispatch_fee(call: &Call) -> Balance

Loading content...

Implementors

impl<T: Trait> ComputeDispatchFee<<T as Trait>::Call, <<T as Trait>::Currency as Currency<<T as Trait>::AccountId>>::Balance> for DefaultDispatchFeeComputor<T>[src]

Loading content...