Skip to main content

Blockchain Events

There are two categories of events in the cosmos-sdk documentation:

  1. Old modules may not have typed events, which means their events are listed in a Markdown document under the module's spec folder.

  2. New modules introduced in the cosmos-sdk or developed by the Greenfield team emit typed events, which are defined in a protobuf file. Therefore, for these modules, we can refer directly to their protobuf file.

Here are the events grouped by modules that are emitted by the Greenfield blockchain:

  • Authz: module to grant or revoke privileges to an account;

  • Bank: module to transfer, delegate, mint or burn tokens;

  • Bridge: module to make cross chain transfers between the Greenfield blockchain and the BSC;

  • Challenge: module to generate and attest challenges;

  • Distribution: module to withdraw addresses, delegator rewards or validator commissions;

  • Feegrant: module to manage allowances;

  • Gov: module to submit proposal or vote for proposals;

  • Oracle: module to claim cross chain packages;

  • Payment: module to manage the streaming payment;

  • Slashing: module to penalize users of the chain;

  • Storage Provider: module to manage storage providers;

  • Storage: module to manage buckets, objects or groups;

  • Staking: module to delegate.

This ADR also proposes adding affordances to emit and consume these events. For developers, they will only need to write EventHandlers which define the actions they desire to take.