[][src]Trait sunshine_util::traits::DepositIntoBank

pub trait DepositIntoBank<AccountId, GovernanceConfig, Hash, Currency>: RegisterBankAccount<AccountId, GovernanceConfig, Currency> + BankDepositsAndSpends<Currency> {
    fn deposit_into_bank(
        from: AccountId,
        to_bank_id: Self::TreasuryId,
        amount: Currency,
        reason: Hash
    ) -> Result<u32, DispatchError>; }

Required methods

fn deposit_into_bank(
    from: AccountId,
    to_bank_id: Self::TreasuryId,
    amount: Currency,
    reason: Hash
) -> Result<u32, DispatchError>

Loading content...

Implementors

Loading content...