pub trait DoneSlash<Reason, AccountId, Balance> {
// Provided method
fn done_slash(_reason: &Reason, _who: &AccountId, _amount: Balance) { ... }
}
Expand description
Trait for optional bookkeeping callbacks after a slash.
Provided Methods§
fn done_slash(_reason: &Reason, _who: &AccountId, _amount: Balance)
Object Safety§
This trait is not object safe.