Module frame_support::traits::tokens::imbalance
source · Expand description
The imbalance trait type and its associates, which handles keeps everything adding up properly with unbalanced operations.
Structs§
- Resolves received asset credit to account
A
, implementingOnUnbalanced
. - Resolves received asset credit to account
A
, implementingOnUnbalanced
. - Split an unbalanced amount two ways between a common divisor.
Enums§
- Either a positive or a negative imbalance.
Traits§
- A trait for a not-quite Linear Type that tracks an imbalance.
- Handler for when some currency “account” decreased in balance for some reason.
- Try to merge two imbalances.