decouple balances from some modules (#1641)

* decouple balances from some module by creating a new traits in support/traits
* improve decl_event
This commit is contained in:
thiolliere
2019-02-08 17:43:12 +01:00
committed by GitHub
parent 83f9e1e720
commit e5dbcf6890
19 changed files with 510 additions and 341 deletions
+1
View File
@@ -66,6 +66,7 @@ impl timestamp::Trait for Test {
type OnTimestampSet = ();
}
impl Trait for Test {
type Currency = balances::Module<Self>;
type OnRewardMinted = ();
type Event = ();
}