pub trait CheckIfFeeless {
    type Origin;

    // Required method
    fn is_feeless(&self, origin: &Self::Origin) -> bool;
Expand description

Means to checks if the dispatchable is feeless.

This is automatically implemented for all dispatchables during pallet expansion. If a call is marked by #[pallet::feeless_if] attribute, the corresponding closure is checked.

Required Associated Types§


type Origin

The Origin type of the runtime.

Required Methods§


fn is_feeless(&self, origin: &Self::Origin) -> bool

Checks if the dispatchable satisfies the feeless condition as defined by #[pallet::feeless_if]