@@ -467,39 +467,41 @@ decl_event! {
467
467
<T as frame_system:: Trait >:: Hash ,
468
468
<T as frame_system:: Trait >:: BlockNumber ,
469
469
{
470
- /// A motion has been proposed by a public account.
470
+ /// A motion has been proposed by a public account. [proposal_index, deposit]
471
471
Proposed ( PropIndex , Balance ) ,
472
- /// A public proposal has been tabled for referendum vote.
472
+ /// A public proposal has been tabled for referendum vote. [proposal_index, deposit, depositors]
473
473
Tabled ( PropIndex , Balance , Vec <AccountId >) ,
474
474
/// An external proposal has been tabled.
475
475
ExternalTabled ,
476
- /// A referendum has begun.
476
+ /// A referendum has begun. [ref_index, threshold]
477
477
Started ( ReferendumIndex , VoteThreshold ) ,
478
- /// A proposal has been approved by referendum.
478
+ /// A proposal has been approved by referendum. [ref_index]
479
479
Passed ( ReferendumIndex ) ,
480
- /// A proposal has been rejected by referendum.
480
+ /// A proposal has been rejected by referendum. [ref_index]
481
481
NotPassed ( ReferendumIndex ) ,
482
- /// A referendum has been cancelled.
482
+ /// A referendum has been cancelled. [ref_index]
483
483
Cancelled ( ReferendumIndex ) ,
484
- /// A proposal has been enacted.
484
+ /// A proposal has been enacted. [ref_index, is_ok]
485
485
Executed ( ReferendumIndex , bool ) ,
486
- /// An account has delegated their vote to another account.
486
+ /// An account has delegated their vote to another account. [who, target]
487
487
Delegated ( AccountId , AccountId ) ,
488
- /// An account has cancelled a previous delegation operation.
488
+ /// An [ account] has cancelled a previous delegation operation.
489
489
Undelegated ( AccountId ) ,
490
- /// An external proposal has been vetoed.
490
+ /// An external proposal has been vetoed. [who, proposal_hash, until]
491
491
Vetoed ( AccountId , Hash , BlockNumber ) ,
492
- /// A proposal's preimage was noted, and the deposit taken.
492
+ /// A proposal's preimage was noted, and the deposit taken. [proposal_hash, who, deposit]
493
493
PreimageNoted ( Hash , AccountId , Balance ) ,
494
- /// A proposal preimage was removed and used (the deposit was returned).
494
+ /// A proposal preimage was removed and used (the deposit was returned).
495
+ /// [proposal_hash, provider, deposit]
495
496
PreimageUsed ( Hash , AccountId , Balance ) ,
496
- /// A proposal could not be executed because its preimage was invalid.
497
+ /// A proposal could not be executed because its preimage was invalid. [proposal_hash, ref_index]
497
498
PreimageInvalid ( Hash , ReferendumIndex ) ,
498
- /// A proposal could not be executed because its preimage was missing.
499
+ /// A proposal could not be executed because its preimage was missing. [proposal_hash, ref_index]
499
500
PreimageMissing ( Hash , ReferendumIndex ) ,
500
- /// A registered preimage was removed and the deposit collected by the reaper (last item).
501
+ /// A registered preimage was removed and the deposit collected by the reaper.
502
+ /// [proposal_hash, provider, deposit, reaper]
501
503
PreimageReaped ( Hash , AccountId , Balance , AccountId ) ,
502
- /// An account has been unlocked successfully.
504
+ /// An [ account] has been unlocked successfully.
503
505
Unlocked ( AccountId ) ,
504
506
}
505
507
}
0 commit comments