[−][src]Trait sunshine_util::traits::ChangeBankBalances
Associated Types
type Bank: DepositWithdrawalOps<Currency, FineArithmetic>
Required methods
fn make_deposit_to_update_bank_balance(
bank: Self::Bank,
amount: Currency,
pct_savings: Option<FineArithmetic>
) -> Self::Bank
bank: Self::Bank,
amount: Currency,
pct_savings: Option<FineArithmetic>
) -> Self::Bank
fn request_withdrawal_to_update_bank_balance(
bank: Self::Bank,
amount: Currency,
savings: bool,
reserved_for_spends: bool
) -> Result<Self::Bank, DispatchError>
bank: Self::Bank,
amount: Currency,
savings: bool,
reserved_for_spends: bool
) -> Result<Self::Bank, DispatchError>