[][src]Trait sunshine_util::traits::RegisterOnChainBankAccount

pub trait RegisterOnChainBankAccount<AccountId, Currency, FineArithmetic> {
    type TreasuryId;
    type WithdrawRules;
    fn register_on_chain_bank_account(
        from: AccountId,
        amount: Currency,
        pct_reserved_for_spends: Option<FineArithmetic>,
        permissions: Self::WithdrawRules
    ) -> Result<Self::TreasuryId, DispatchError>; }

Associated Types

Loading content...

Required methods

fn register_on_chain_bank_account(
    from: AccountId,
    amount: Currency,
    pct_reserved_for_spends: Option<FineArithmetic>,
    permissions: Self::WithdrawRules
) -> Result<Self::TreasuryId, DispatchError>

Loading content...

Implementors

Loading content...