referrerpolicy=no-referrer-when-downgrade
pallet_assets

Type Alias AssetAccountOf

Source
pub type AssetAccountOf<T, I> = AssetAccount<<T as Config<I>>::Balance, DepositBalanceOf<T, I>, <T as Config<I>>::Extra, <T as SystemConfig>::AccountId>;

Aliased Type§

struct AssetAccountOf<T, I> {
    pub balance: <T as Config<I>>::Balance,
    pub status: AccountStatus,
    pub reason: ExistenceReason<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config>::AccountId>,
    pub extra: <T as Config<I>>::Extra,
}

Fields§

§balance: <T as Config<I>>::Balance

The account’s balance.

The part of the balance may be frozen by the Config::Freezer. The on-hold portion is not included here and is tracked by the Config::Holder.

§status: AccountStatus

The status of the account.

§reason: ExistenceReason<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config>::AccountId>

The reason for the existence of the account.

§extra: <T as Config<I>>::Extra

Additional “sidecar” data, in case some other pallet wants to use this storage item.