[][src]Trait eq_treasury::EqBuyout

pub trait EqBuyout<AccountId, Balance> {
    fn eq_buyout(who: &AccountId, amount: Balance) -> DispatchResult;
}

Manager for treasury Eq exchanging transactions

Required methods

fn eq_buyout(who: &AccountId, amount: Balance) -> DispatchResult

Buyout amount of Eq from Treasury. Account who pays for it with it's balances accordingly to exchange priority (see get_currency_priority)

Loading content...

Implementors

impl<T: Trait> EqBuyout<<T as Trait>::AccountId, <T as Trait>::Balance> for Module<T>[src]

Loading content...