[−][src]Trait frame_support::traits::OnUnbalanced
Handler for when some currency "account" decreased in balance for some reason.
The only reason at present for an increase would be for validator rewards, but there may be other reasons in the future or for other chains.
Reasons for decreases include:
- Someone got slashed.
- Someone paid for a transaction to be included.
Required methods
fn on_nonzero_unbalanced(amount: Imbalance)
Actually handle a non-zero imbalance. You probably want to implement this rather than
on_unbalanced
.
Provided methods
fn on_unbalanced(amount: Imbalance)
Handler for some imbalance. Infallible.