Skip to content

Commit

Permalink
More app-friendly event description (#6684)
Browse files Browse the repository at this point in the history
* More app-friendly event description

* change origin -> owner

* checked all decl_event! and changed decriptions.

* annotated parameter names for remaining events
  • Loading branch information
warfollowsme authored Jul 20, 2020
1 parent f4e4c71 commit 162bd85
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
}
Expand Down

0 comments on commit 162bd85

Please sign in to comment.