@@ -184,19 +184,26 @@ decl_event! {
184
184
{
185
185
/// A motion (given hash) has been proposed (by given account) with a threshold (given
186
186
/// `MemberCount`).
187
+ /// [account, proposal_index, proposal_hash, threshold]
187
188
Proposed ( AccountId , ProposalIndex , Hash , MemberCount ) ,
188
189
/// A motion (given hash) has been voted on by given account, leaving
189
190
/// a tally (yes votes and no votes given respectively as `MemberCount`).
191
+ /// [account, proposal_hash, voted, yes, no]
190
192
Voted ( AccountId , Hash , bool , MemberCount , MemberCount ) ,
191
193
/// A motion was approved by the required threshold.
194
+ /// [proposal_hash]
192
195
Approved ( Hash ) ,
193
196
/// A motion was not approved by the required threshold.
197
+ /// [proposal_hash]
194
198
Disapproved ( Hash ) ,
195
199
/// A motion was executed; result will be `Ok` if it returned without error.
200
+ /// [proposal_hash, result]
196
201
Executed ( Hash , DispatchResult ) ,
197
202
/// A single member did some action; result will be `Ok` if it returned without error.
203
+ /// [proposal_hash, result]
198
204
MemberExecuted ( Hash , DispatchResult ) ,
199
205
/// A proposal was closed because its threshold was reached or after its duration was up.
206
+ /// [proposal_hash, yes, no]
200
207
Closed ( Hash , MemberCount , MemberCount ) ,
201
208
}
202
209
}
0 commit comments