Rewards: Leaving the Rewards Contract
Removing tokens from the
StandardRewardscontract requires the user to indicate the program ID and the token amount. The following steps explain how to collect the data necessary to call the
leavefunction that returns the bnTokens to your wallet. Once the bnTokens are back in your wallet, you can reclaim your deposit by following the instructions in the Withdraw Tokens guide.
This step will explain how to identify the ID of the rewards program you are staked in:
List of 1+ IDs to represent the different programs you are staked in
If you are actively staked in more than 1 program, this step will explain how to identify the program ID for the rewards program you would like to unstake from
Using the output data,
- 1.Identify the program with the
pooltoken you would like to withdraw
- 2.Identify the program
idto use in the following step
This step will explain how to identify the number of available tokens to unstake from the contract
This step will explain how to call the
leavefunction, removing your tokens from the rewards program.
The bnTokens will return to your wallet.