Event ProviderJoined()
event ProviderJoined()
This event triggers when a liquidity provider joins a rewards program.
StandardRewards.sol
Parameter Name
Type
Description
pool
Token address
The address of the token being added to the rewards program
programId
uint256
The ID of the rewards program
provider
address
The address of the user
poolTokenAmount
uint256
The number of pool tokens being added
prevStake
unit256
The number of pool tokens staked in the rewards program prior to this transaction
Uses
This event can be used to:
Monitor deposits in rewards programs
Monitor the number of tokens staked in rewards programs
Triggered By
This event is triggered by the following functions:
join()
joinPermitted()
depositAndJoin()
depositAndJoinPermitted()
Last updated