mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 01:47:58 +00:00
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:
committed by
GitHub
parent
8ae4faba51
commit
bbabb17426
@@ -709,7 +709,7 @@ decl_event!(
|
||||
Balance = BalanceOf<T>,
|
||||
<T as frame_system::Trait>::AccountId,
|
||||
{
|
||||
/// A new term with new members. This indicates that enough candidates existed to run the
|
||||
/// A new term with [new_members]. This indicates that enough candidates existed to run the
|
||||
/// election, not that enough have has been elected. The inner value must be examined for
|
||||
/// this purpose. A `NewTerm([])` indicates that some candidates got their bond slashed and
|
||||
/// none were elected, whilst `EmptyTerm` means that no candidates existed to begin with.
|
||||
@@ -717,13 +717,13 @@ decl_event!(
|
||||
/// No (or not enough) candidates existed for this round. This is different from
|
||||
/// `NewTerm([])`. See the description of `NewTerm`.
|
||||
EmptyTerm,
|
||||
/// A member has been removed. This should always be followed by either `NewTerm` ot
|
||||
/// A [member] has been removed. This should always be followed by either `NewTerm` ot
|
||||
/// `EmptyTerm`.
|
||||
MemberKicked(AccountId),
|
||||
/// A member has renounced their candidacy.
|
||||
/// A [member] has renounced their candidacy.
|
||||
MemberRenounced(AccountId),
|
||||
/// A voter (first element) was reported (byt the second element) with the the report being
|
||||
/// successful or not (third element).
|
||||
/// A voter was reported with the the report being successful or not.
|
||||
/// [voter, reporter, success]
|
||||
VoterReported(AccountId, AccountId, bool),
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user