Skip to content

Commit 3ef8c32

Browse files
authored
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
1 parent a74641a commit 3ef8c32

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,12 @@ decl_event!(
195195
AccountId = <T as system::Trait>::AccountId,
196196
PendingSwap = PendingSwap<T>,
197197
{
198-
/// Swap created.
198+
/// Swap created. [account, proof, swap]
199199
NewSwap(AccountId, HashedProof, PendingSwap),
200-
/// Swap claimed. The last parameter indicates whether the execution succeeds.
200+
/// Swap claimed. The last parameter indicates whether the execution succeeds.
201+
/// [account, proof, success]
201202
SwapClaimed(AccountId, HashedProof, bool),
202-
/// Swap cancelled.
203+
/// Swap cancelled. [account, proof]
203204
SwapCancelled(AccountId, HashedProof),
204205
}
205206
);

0 commit comments

Comments
 (0)