0g-chain/x/incentive/spec/04_events.md

25 lines
888 B
Markdown
Raw Normal View History

<!--
order: 4
-->
2020-05-07 17:46:48 +00:00
# Events
The `x/incentive` module emits the following events:
## MsgClaimReward
| Type | Attribute Key | Attribute Value |
|----------------------|---------------------|----------------------|
| claim_reward | claimed_by | `{claiming address}' |
| claim_reward | claim_amount | `{amount claimed}' |
| message | module | incentive |
| message | sender | `{sender address}' |
2020-05-07 17:46:48 +00:00
## BeginBlock
| Type | Attribute Key | Attribute Value |
|----------------------|---------------------|----------------------|
| new_claim_period | claim_period | `{claim period}' |
| new_reward_period | reward_period | `{reward period}' |
| claim_period_expiry | claim_period | `{claim period}' |