Comment on page
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 |
This event can be used to:
- Monitor reward restakes
This event is triggered by the following functions:
- stakeRewards()
Last modified 1yr ago