2020-05-07 20:58:46 +00:00
|
|
|
# Events
|
|
|
|
|
|
|
|
The `x/committee` module emits the following events:
|
|
|
|
|
|
|
|
## MsgSubmitProposal
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|----------------------|---------------------|--------------------|
|
|
|
|
| proposal_submit | committee_id | {committee ID} |
|
|
|
|
| proposal_submit | proposal_id | {proposal ID} |
|
|
|
|
| message | module | committee |
|
|
|
|
| message | sender | {sender address} |
|
|
|
|
|
|
|
|
## MsgVote
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|----------------------|---------------------|--------------------|
|
|
|
|
| proposal_vote | committee_id | {committee ID} |
|
|
|
|
| proposal_vote | proposal_id | {proposal ID} |
|
|
|
|
| proposal_vote | voter | {voter address} |
|
|
|
|
| message | module | committee |
|
|
|
|
| message | sender | {sender address} |
|
|
|
|
|
|
|
|
## BeginBlock
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|----------------------|---------------------|--------------------|
|
|
|
|
| proposal_close | committee_id | {committee ID} |
|
|
|
|
| proposal_close | proposal_id | {proposal ID} |
|
2020-05-15 19:25:49 +00:00
|
|
|
| proposal_close | status | {outcome} |
|