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.
providerProgramIdsfunction (this is a Read function) with your Ethereum address:
programsfunction (this is a Read function)
pooltoken you would like to withdraw
idto use in the following step
providerStakefunction (this is a Read function)
leavefunction, removing your tokens from the rewards program.
leavefunction (this is a Write function)