Search
K
Comment on page

Event RewardsStaked()

event RewardsStaked()

This event triggers when rewards are restaked into a liquidity pool.
StandardRewards.sol
event RewardsStaked(
Token indexed pool,
uint256 indexed programId,
address indexed provider,
uint256 amount
);
Parameter Name
Type
Description
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 restakes

Triggered By

This event is triggered by the following functions:
  • stakeRewards()