mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 15:07:59 +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
@@ -184,19 +184,26 @@ decl_event! {
|
||||
{
|
||||
/// A motion (given hash) has been proposed (by given account) with a threshold (given
|
||||
/// `MemberCount`).
|
||||
/// [account, proposal_index, proposal_hash, threshold]
|
||||
Proposed(AccountId, ProposalIndex, Hash, MemberCount),
|
||||
/// A motion (given hash) has been voted on by given account, leaving
|
||||
/// a tally (yes votes and no votes given respectively as `MemberCount`).
|
||||
/// [account, proposal_hash, voted, yes, no]
|
||||
Voted(AccountId, Hash, bool, MemberCount, MemberCount),
|
||||
/// A motion was approved by the required threshold.
|
||||
/// [proposal_hash]
|
||||
Approved(Hash),
|
||||
/// A motion was not approved by the required threshold.
|
||||
/// [proposal_hash]
|
||||
Disapproved(Hash),
|
||||
/// A motion was executed; result will be `Ok` if it returned without error.
|
||||
/// [proposal_hash, result]
|
||||
Executed(Hash, DispatchResult),
|
||||
/// A single member did some action; result will be `Ok` if it returned without error.
|
||||
/// [proposal_hash, result]
|
||||
MemberExecuted(Hash, DispatchResult),
|
||||
/// A proposal was closed because its threshold was reached or after its duration was up.
|
||||
/// [proposal_hash, yes, no]
|
||||
Closed(Hash, MemberCount, MemberCount),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user