Events
The governance module emits the following events:
EndBlocker
Type | Attribute Key | Attribute Value |
---|---|---|
inactive_proposal | proposal_id | |
inactive_proposal | proposal_result | |
active_proposal | proposal_id | |
active_proposal | proposal_result |
Handlers
MsgSubmitProposal
Type | Attribute Key | Attribute Value |
---|---|---|
submit_proposal | proposal_id | |
submit_proposal [0] | voting_period_start | |
proposal_deposit | amount | |
proposal_deposit | proposal_id | |
message | module | governance |
message | action | submit_proposal |
message | sender |
[0] Event only emitted if the voting period starts during the submission.
MsgVote
Type | Attribute Key | Attribute Value |
---|---|---|
proposal_vote | option | |
proposal_vote | proposal_id | |
message | module | governance |
message | action | vote |
message | sender |
MsgVoteWeighted
Type | Attribute Key | Attribute Value |
---|---|---|
proposal_vote | option | |
proposal_vote | proposal_id | |
message | module | governance |
message | action | vote |
message | sender |
MsgDeposit
Type | Attribute Key | Attribute Value |
---|---|---|
proposal_deposit | amount | |
proposal_deposit | proposal_id | |
proposal_deposit [0] | voting_period_start | |
message | module | governance |
message | action | deposit |
message | sender |
[0] Event only emitted if the voting period starts during the submission.