Trait gear_common::DelegateFee

source ·
pub trait DelegateFee<Call, Acc> {
    // Required method
    fn delegate_fee(call: &Call, who: &Acc) -> Option<Acc>;
}
Expand description

Trait that is used to “delegate fee” by optionally changing the payer target (account id) for the applied call.

Required Methods§

source

fn delegate_fee(call: &Call, who: &Acc) -> Option<Acc>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<Call, Acc> DelegateFee<Call, Acc> for ()

source§

fn delegate_fee(_call: &Call, _who: &Acc) -> Option<Acc>

Implementors§