pub type ExistenceReasonOf<T, I> = ExistenceReason<DepositBalanceOf<T, I>, <T as SystemConfig>::AccountId>;
Aliased Type§
enum ExistenceReasonOf<T, I> {
Consumer,
Sufficient,
DepositHeld(<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance),
DepositRefunded,
DepositFrom(<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance),
}
Variants§
Consumer
A consumer reference was used to create this account.
Sufficient
The asset class is sufficient
for account existence.
DepositHeld(<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance)
The account holder has placed a deposit to exist within an asset class.
DepositRefunded
A deposit was placed for this account to exist, but it has been refunded.
DepositFrom(<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance)
Some other AccountId
has placed a deposit to make this account exist.
An account with such a reason might not be referenced in system
.