github.com/Finschia/finschia-sdk@v0.48.1/x/gov/spec/04_events.md (about) 1 <!-- 2 order: 4 3 --> 4 5 # Events 6 7 The governance module emits the following events: 8 9 ## EndBlocker 10 11 | Type | Attribute Key | Attribute Value | 12 |-------------------|-----------------|------------------| 13 | inactive_proposal | proposal_id | {proposalID} | 14 | inactive_proposal | proposal_result | {proposalResult} | 15 | active_proposal | proposal_id | {proposalID} | 16 | active_proposal | proposal_result | {proposalResult} | 17 18 ## Handlers 19 20 ### MsgSubmitProposal 21 22 | Type | Attribute Key | Attribute Value | 23 |---------------------|---------------------|-----------------| 24 | submit_proposal | proposal_id | {proposalID} | 25 | proposal_deposit | amount | {depositAmount} | 26 | proposal_deposit | proposal_id | {proposalID} | 27 | message | module | governance | 28 | message | sender | {senderAddress} | 29 | submit_proposal | proposal_type | {proposalType} | 30 | submit_proposal [0] | voting_period_start | {proposalID} | 31 32 - [0] Event only emitted if the voting period starts during the submission. 33 34 ### MsgVote 35 36 | Type | Attribute Key | Attribute Value | 37 |---------------|---------------|-----------------| 38 | proposal_vote | option | {voteOption} | 39 | proposal_vote | proposal_id | {proposalID} | 40 | message | module | governance | 41 | message | sender | {senderAddress} | 42 43 ### MsgVoteWeighted 44 45 | Type | Attribute Key | Attribute Value | 46 |---------------|---------------|-----------------------| 47 | proposal_vote | option | {weightedVoteOptions} | 48 | proposal_vote | proposal_id | {proposalID} | 49 | message | module | governance | 50 | message | sender | {senderAddress} | 51 52 ### MsgDeposit 53 54 | Type | Attribute Key | Attribute Value | 55 |----------------------|---------------------|-----------------| 56 | proposal_deposit | amount | {depositAmount} | 57 | proposal_deposit | proposal_id | {proposalID} | 58 | message | module | governance | 59 | message | sender | {senderAddress} | 60 | proposal_deposit [0] | voting_period_start | {proposalID} | 61 62 - [0] Event only emitted if the voting period starts during the submission.