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
+10 -6
View File
@@ -264,17 +264,21 @@ decl_event! {
pub enum Event<T> where
AccountId = <T as system::Trait>::AccountId,
{
/// A recovery process has been set up for an account
/// A recovery process has been set up for an [account].
RecoveryCreated(AccountId),
/// A recovery process has been initiated for account_1 by account_2
/// A recovery process has been initiated for lost account by rescuer account.
/// [lost, rescuer]
RecoveryInitiated(AccountId, AccountId),
/// A recovery process for account_1 by account_2 has been vouched for by account_3
/// A recovery process for lost account by rescuer account has been vouched for by sender.
/// [lost, rescuer, sender]
RecoveryVouched(AccountId, AccountId, AccountId),
/// A recovery process for account_1 by account_2 has been closed
/// A recovery process for lost account by rescuer account has been closed.
/// [lost, rescuer]
RecoveryClosed(AccountId, AccountId),
/// Account_1 has been successfully recovered by account_2
/// Lost account has been successfully recovered by rescuer account.
/// [lost, rescuer]
AccountRecovered(AccountId, AccountId),
/// A recovery process has been removed for an account
/// A recovery process has been removed for an [account].
RecoveryRemoved(AccountId),
}
}