pub trait RemainBalanceOp<T: Config> {
    fn remaining_balance(account_id: &T::AccountId) -> u128;
    fn set_remaining_balance(account_id: &T::AccountId, value: u128);
    fn remove_remaining_balance(account_id: &T::AccountId);
    fn inc_remaining_balance(account_id: &T::AccountId, value: u128);
    fn dec_remaining_balance(account_id: &T::AccountId, value: u128);
    fn deposit_dvm_transfer_event(
        source: &T::AccountId,
        target: &T::AccountId,
        value: U256
    ); }
Expand description

The operations for the remaining balance.

Required Methods

Get the remaining balance

Set the remaining balance

Remove the remaining balance

Inc remaining balance

Dec remaining balance

Deposit dvm related transfer events

Implementors