Type Alias CommitReason

Source
pub type CommitReason<T, I = ()> = <<T as Config<I>>::Asset as InspectFreeze<Proprietor<T>>>::Id;
Expand description

Combined identifier representing the reason for freezing or locking a balance.

Typically derived from the runtime’s composite freeze-reason enum associated with Config::Asset. It is used to distinguish between different contexts in which balances are held, such as commitments, freezes, or other locking mechanisms.