github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/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  | submit_proposal [0] | voting_period_start | {proposalID}    |
    26  | proposal_deposit    | amount              | {depositAmount} |
    27  | proposal_deposit    | proposal_id         | {proposalID}    |
    28  | message             | module              | governance      |
    29  | message             | action              | submit_proposal |
    30  | message             | sender              | {senderAddress} |
    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       | action        | vote            |
    42  | message       | sender        | {senderAddress} |
    43  
    44  ### MsgDeposit
    45  
    46  | Type                 | Attribute Key       | Attribute Value |
    47  |----------------------|---------------------|-----------------|
    48  | proposal_deposit     | amount              | {depositAmount} |
    49  | proposal_deposit     | proposal_id         | {proposalID}    |
    50  | proposal_deposit [0] | voting_period_start | {proposalID}    |
    51  | message              | module              | governance      |
    52  | message              | action              | deposit         |
    53  | message              | sender              | {senderAddress} |
    54  
    55  * [0] Event only emitted if the voting period starts during the submission.