Skip to main content

Events

The rewards module emits the following events:


Reward Program Created

Fires when a reward program is created with the Create Reward Program Msg.

TypeAttribute KeyAttribute Value
RewardProgramCreatedreward_program_created{ID string}

Reward Program Started

Fires when a reward program transitions to the STARTED state.

TypeAttribute KeyAttribute Value
RewardProgramStartedreward_program_id{ID string}

Reward Program Finished

Fires when a reward program transitions to the FINISHED state.

TypeAttribute KeyAttribute Value
RewardProgramFinishedreward_program_id{ID string}

Reward Program Expired

Fires when a reward program transitions to the EXPIRED state.

TypeAttribute KeyAttribute Value
RewardProgramExpiredreward_program_id{ID string}

Reward Program Ended

Fires when a reward program is ended with the End Reward Program Msg.

TypeAttribute KeyAttribute Value
RewardProgramEndedreward_program_id{ID string}

Claim Rewards

Fires when a participant claims a reward claim with Claim Reward Msg.

TypeAttribute KeyAttribute Value
ClaimRewardsreward_program_id{ID string}
ClaimRewardsrewards_claim_address{bech32address string}

This event will not fire if the user has no claims or if they have already claimed all their rewards.


Claim All Rewards

Fires when a participant claims all their reward claims with Claim Reward Msg.

TypeAttribute KeyAttribute Value
ClaimAllRewardsrewards_claim_address{bech32address string}

This event will not fire if the user has no claims or if they have already claimed all their rewards.