mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 12:05:18 +00:00
c28bc03248
* comments from review Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch> Co-authored-by: jmahess <maheswaran@google.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * add vote methods * add draft new param change permission * add and update tests * rename ParamChangePermission * account for perms becoming invalid at a later time * add debtParam to permission * add bep3 AssetParam to permissions * add pricefeed Markets to permission * add upgrade permission * move proposal passing to the begin blocker * fix iteration bug Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * address todos and audit comments * add proposal examples * refactor handler to be easier to read * address review comments * update comments Co-authored-by: Kevin Davis <kjydavis3@gmail.com> Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch> Co-authored-by: jmahess <maheswaran@google.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
31 lines
1.3 KiB
Markdown
31 lines
1.3 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} |
|
|
| 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 | {outcome} |
|