Type Alias BalancesEvent

Source
pub type BalancesEvent = BalancesEvent<AccountId>;

Aliased Type§

pub enum BalancesEvent {
    Endowed(Option<IdentityId>, AccountId, u128),
    Transfer(Option<IdentityId>, AccountId, Option<IdentityId>, AccountId, u128, Option<Memo>),
    BalanceSet(IdentityId, AccountId, u128, u128),
    AccountBalanceBurned(IdentityId, AccountId, u128),
    Reserved(AccountId, u128),
    Unreserved(AccountId, u128),
    ReserveRepatriated(AccountId, AccountId, u128, BalanceStatus),
}

Variants§

§

Endowed(Option<IdentityId>, AccountId, u128)

An account was created with some free balance. [did, account, free_balance]

§

Transfer(Option<IdentityId>, AccountId, Option<IdentityId>, AccountId, u128, Option<Memo>)

Transfer succeeded (from_did, from, to_did, to, value, memo).

§

BalanceSet(IdentityId, AccountId, u128, u128)

A balance was set by root (did, who, free, reserved).

§

AccountBalanceBurned(IdentityId, AccountId, u128)

The account and the amount of unlocked balance of that account that was burned. (caller Id, caller account, amount)

§

Reserved(AccountId, u128)

Some balance was reserved (moved from free to reserved). [who, value]

§

Unreserved(AccountId, u128)

Some balance was unreserved (moved from reserved to free). [who, value]

§

ReserveRepatriated(AccountId, AccountId, u128, BalanceStatus)

Some balance was moved from the reserve of the first account to the second account. Final argument indicates the destination balance type. [from, to, balance, destination_status]