Event ProviderLeft()

event ProviderLeft()

This event triggers when a liquidity provider leaves a rewards program.

StandardRewards.sol
event ProviderLeft(
        Token indexed pool,
        uint256 indexed programId,
        address indexed provider,
        uint256 poolTokenAmount,
        uint256 remainingStake
);
Parameter NameTypeDescription

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 withdrawals from rewards programs

  • Monitor the number of tokens staked in rewards programs

Triggered By

This event is triggered by the following functions:

  • leave()

Last updated