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 authored and GitHub committed 2020-07-20 13:13:20 +02:00
1 parent 8ae4faba51
commit bbabb17426
30 files changed
+167 -141

No files matched your search

+4 -3
View File
@@ -195,11 +195,12 @@ decl_event!(
AccountId = <T as system::Trait>::AccountId,
PendingSwap = PendingSwap<T>,
{
/// Swap created.
/// Swap created. [account, proof, swap]
NewSwap(AccountId, HashedProof, PendingSwap),
/// Swap claimed. The last parameter indicates whether the execution succeeds.
/// Swap claimed. The last parameter indicates whether the execution succeeds.
/// [account, proof, success]
SwapClaimed(AccountId, HashedProof, bool),
/// Swap cancelled.
/// Swap cancelled. [account, proof]
SwapCancelled(AccountId, HashedProof),
}
);