Search…
Event RewardsStaked()

event RewardsStaked()

This event triggers when rewards are restaked into a liquidity pool.
StandardRewards.sol
1
event RewardsStaked(
2
Token indexed pool,
3
uint256 indexed programId,
4
address indexed provider,
5
uint256 amount
6
);
Copied!
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()