mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
34 lines
1.5 KiB
Markdown
34 lines
1.5 KiB
Markdown
# 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} |
|
|
| proposal_close | committee_id | {committee ID} |
|
|
| proposal_close | proposal_id | {proposal ID} |
|
|
| proposal_close | status | {outcome} |
|
|
| 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} |
|
|
| proposal_close | status | proposal_timeout |
|