0g-chain/x/committee/spec/04_events.md
Ruaridh c28bc03248
Committtee audit revisions (#510)
* 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>
2020-05-15 15:25:49 -04:00

1.3 KiB

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}