2019-12-17 03:44:44 -08:00
|
|
|
<!--
|
2019-12-11 09:35:27 -08:00
|
|
|
order: 6
|
2019-12-17 03:44:44 -08:00
|
|
|
-->
|
2019-12-11 09:35:27 -08:00
|
|
|
|
2019-06-26 09:03:25 -07:00
|
|
|
# Events
|
|
|
|
|
|
|
|
The distribution module emits the following events:
|
|
|
|
|
|
|
|
## BeginBlocker
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|-----------------|---------------|--------------------|
|
|
|
|
| proposer_reward | validator | {validatorAddress} |
|
|
|
|
| proposer_reward | reward | {proposerReward} |
|
|
|
|
| commission | amount | {commissionAmount} |
|
|
|
|
| commission | validator | {validatorAddress} |
|
|
|
|
| rewards | amount | {rewardAmount} |
|
|
|
|
| rewards | validator | {validatorAddress} |
|
|
|
|
|
|
|
|
## Handlers
|
|
|
|
|
|
|
|
### MsgSetWithdrawAddress
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|----------------------|------------------|----------------------|
|
|
|
|
| set_withdraw_address | withdraw_address | {withdrawAddress} |
|
|
|
|
| message | module | distribution |
|
|
|
|
| message | action | set_withdraw_address |
|
|
|
|
| message | sender | {senderAddress} |
|
|
|
|
|
|
|
|
### MsgWithdrawDelegatorReward
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|---------|---------------|---------------------------|
|
|
|
|
| withdraw_rewards | amount | {rewardAmount} |
|
|
|
|
| withdraw_rewards | validator | {validatorAddress} |
|
|
|
|
| message | module | distribution |
|
|
|
|
| message | action | withdraw_delegator_reward |
|
|
|
|
| message | sender | {senderAddress} |
|
|
|
|
|
|
|
|
### MsgWithdrawValidatorCommission
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|------------|---------------|-------------------------------|
|
|
|
|
| withdraw_commission | amount | {commissionAmount} |
|
|
|
|
| message | module | distribution |
|
|
|
|
| message | action | withdraw_validator_commission |
|
|
|
|
| message | sender | {senderAddress} |
|