Event RewardsClaimed()

event RewardsClaimed()

This event triggers when a staker claims rewards.

StandardRewards.sol
event RewardsClaimed(
    Token indexed pool, 
    uint256 indexed programId, 
    address indexed provider, 
    uint256 amount
);
Parameter NameTypeDescription

pool

Token address

The token address of the received tokens

programId

uint256

The ID of the rewards program

provider

address

The address of the user

amount

uint256

The number of tokens received

Uses

This event can be used to:

  • Monitor reward claims

Triggered By

This event is triggered by the following functions:

  • claimRewards()

Last updated