> For the complete documentation index, see [llms.txt](https://docs.blockxnet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockxnet.com/protocol-developers/modules/gov/events.md).

# Events

The governance module emits the following events:

### EndBlocker <a href="#endblocker" id="endblocker"></a>

| Type               | Attribute Key    | Attribute Value |
| ------------------ | ---------------- | --------------- |
| inactive\_proposal | proposal\_id     |                 |
| inactive\_proposal | proposal\_result |                 |
| active\_proposal   | proposal\_id     |                 |
| active\_proposal   | proposal\_result |                 |

### Handlers <a href="#handlers" id="handlers"></a>

#### MsgSubmitProposal <a href="#msgsubmitproposal" id="msgsubmitproposal"></a>

| 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 <a href="#msgvote" id="msgvote"></a>

| Type           | Attribute Key | Attribute Value |
| -------------- | ------------- | --------------- |
| proposal\_vote | option        |                 |
| proposal\_vote | proposal\_id  |                 |
| message        | module        | governance      |
| message        | action        | vote            |
| message        | sender        |                 |

#### MsgVoteWeighted <a href="#msgvoteweighted" id="msgvoteweighted"></a>

| Type           | Attribute Key | Attribute Value |
| -------------- | ------------- | --------------- |
| proposal\_vote | option        |                 |
| proposal\_vote | proposal\_id  |                 |
| message        | module        | governance      |
| message        | action        | vote            |
| message        | sender        |                 |

#### MsgDeposit <a href="#msgdeposit" id="msgdeposit"></a>

| 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.
