pub trait TransactionMultiPaymentDataProvider<AccountId, AssetId, Price> {
    fn get_currency_and_price(
        who: &AccountId
    ) -> Result<(AssetId, Option<Price>), DispatchError>; fn get_fee_receiver() -> AccountId; }
Expand description

Helper method for providing some data that are needed in OnChargeTransaction

Required Methods§

Get a fee currency set by an account and its price

Returns the account where fees are deposited

Implementors§