Type Alias sp_weights::NoFee

source ·
pub type NoFee<T> = FixedFee<0, T>;
Expand description

An implementation of WeightToFee that collects no fee.

Aliased Type§

struct NoFee<T>(/* private fields */);

Trait Implementations

source§

impl<const F: u32, T> WeightToFee for FixedFee<F, T>

§

type Balance = T

The type that is returned as result from calculation.
source§

fn weight_to_fee(_: &Weight) -> Self::Balance

Calculates the fee from the passed weight.