2020-06-03 18:54:31 +00:00
|
|
|
<!--
|
|
|
|
order: 4
|
|
|
|
-->
|
|
|
|
|
2020-05-07 20:58:46 +00:00
|
|
|
# Events
|
|
|
|
|
|
|
|
The `x/committee` module emits the following events:
|
|
|
|
|
|
|
|
## MsgSubmitProposal
|
|
|
|
|
2021-08-10 13:46:49 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| --------------- | ------------- | ------------------ |
|
|
|
|
| proposal_submit | committee_id | {'committee ID}' |
|
|
|
|
| proposal_submit | proposal_id | {'proposal ID}' |
|
|
|
|
| message | module | committee |
|
|
|
|
| message | sender | {'sender address}' |
|
2020-05-07 20:58:46 +00:00
|
|
|
|
|
|
|
## MsgVote
|
|
|
|
|
2021-08-10 13:46:49 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| ------------- | ------------- | ------------------ |
|
|
|
|
| proposal_vote | committee_id | {'committee ID}' |
|
|
|
|
| proposal_vote | proposal_id | {'proposal ID}' |
|
|
|
|
| proposal_vote | voter | {'voter address}' |
|
|
|
|
| proposal_vote | vote | {'vote type}' |
|
|
|
|
| message | module | committee |
|
|
|
|
| message | sender | {'sender address}' |
|
2020-05-07 20:58:46 +00:00
|
|
|
|
|
|
|
## BeginBlock
|
|
|
|
|
2021-08-10 13:46:49 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| -------------- | ---------------- | ----------------------- |
|
|
|
|
| proposal_close | committee_id | {'committee ID}' |
|
|
|
|
| proposal_close | proposal_id | {'proposal ID}' |
|
|
|
|
| proposal_close | proposal_tally | {'proposal vote tally}' |
|
|
|
|
| proposal_close | proposal_outcome | {'proposal result}' |
|