[][src]Trait sunshine_util::traits::SpendApprovedGrant

pub trait SpendApprovedGrant<Currency>: Sized {
    fn spend_approved_grant(&self, amount: Currency) -> Option<Self>;
}

Required methods

fn spend_approved_grant(&self, amount: Currency) -> Option<Self>

Loading content...

Implementors

impl<AccountId: Clone, Shares: Clone, Currency: Clone + Sub<Currency, Output = Currency> + PartialOrd, Hash: Clone> SpendApprovedGrant<Currency> for GrantApplication<AccountId, Shares, Currency, Hash>[src]

Loading content...