Skip to content

Commit 3143a73

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 015ceed commit 3143a73

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/lib.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,13 @@ decl_event! {
197197
BlockNumber = <T as system::Trait>::BlockNumber,
198198
CallHash = [u8; 32]
199199
{
200-
/// A new multisig operation has begun. First param is the account that is approving,
201-
/// second is the multisig account, third is hash of the call.
200+
/// A new multisig operation has begun. [approving, multisig, call_hash]
202201
NewMultisig(AccountId, AccountId, CallHash),
203-
/// A multisig operation has been approved by someone. First param is the account that is
204-
/// approving, third is the multisig account, fourth is hash of the call.
202+
/// A multisig operation has been approved by someone. [approving, timepoint, multisig, call_hash]
205203
MultisigApproval(AccountId, Timepoint<BlockNumber>, AccountId, CallHash),
206-
/// A multisig operation has been executed. First param is the account that is
207-
/// approving, third is the multisig account, fourth is hash of the call to be executed.
204+
/// A multisig operation has been executed. [approving, timepoint, multisig, call_hash]
208205
MultisigExecuted(AccountId, Timepoint<BlockNumber>, AccountId, CallHash, DispatchResult),
209-
/// A multisig operation has been cancelled. First param is the account that is
210-
/// cancelling, third is the multisig account, fourth is hash of the call.
206+
/// A multisig operation has been cancelled. [cancelling, timepoint, multisig, call_hash]
211207
MultisigCancelled(AccountId, Timepoint<BlockNumber>, AccountId, CallHash),
212208
}
213209
}

0 commit comments

Comments
 (0)