Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (37 loc) · 1.85 KB

06_events.md

File metadata and controls

48 lines (37 loc) · 1.85 KB

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}