Introduce OnReapAccount (#4585)

* Initial run and gun at `OnReapAccount`

* Fix some imports

* More fixes

* Whitespace

* More wack-a-mole

* Gotta catch em all

* Update lib.rs

* Small doc update

* Whitespace
This commit is contained in:
Shawn Tabrizi
2020-01-10 01:46:23 +01:00
committed by Gavin Wood
parent 78c73e76c3
commit a1e0076aa8
19 changed files with 57 additions and 5 deletions
@@ -205,6 +205,8 @@ impl balances::Trait for Runtime {
type Balance = Balance;
/// What to do if an account's free balance gets zeroed.
type OnFreeBalanceZero = ();
/// What to do if an account is fully reaped from the system.
type OnReapAccount = System;
/// What to do if a new account is created.
type OnNewAccount = Indices;
/// The ubiquitous event type.