More app-friendly event description (#6684)

* More app-friendly event description

* change origin -> owner

* checked all decl_event! and changed decriptions.

* annotated parameter names for remaining events
This commit is contained in:
warfollowsme | ryabina.io
2020-07-20 14:13:20 +03:00
committed by GitHub
parent 8ae4faba51
commit bbabb17426
30 changed files with 167 additions and 141 deletions
+5 -5
View File
@@ -84,15 +84,15 @@ decl_storage! {
decl_event!(
pub enum Event<T> where AccountId = <T as frame_system::Trait>::AccountId, Balance = BalanceOf<T> {
/// A name was set.
/// A name was set. [who]
NameSet(AccountId),
/// A name was forcibly set.
/// A name was forcibly set. [target]
NameForced(AccountId),
/// A name was changed.
/// A name was changed. [who]
NameChanged(AccountId),
/// A name was cleared, and the given balance returned.
/// A name was cleared, and the given balance returned. [who, deposit]
NameCleared(AccountId, Balance),
/// A name was removed and the given balance slashed.
/// A name was removed and the given balance slashed. [target, deposit]
NameKilled(AccountId, Balance),
}
);