Redeem rewards
Here we explore how rewards can be withdrawn in CVX-ETH LPs or any ERC20 supported by the Alluo Exchange
There are two ways you can withdraw your rewards accumulated through your principal:
1. Withdraw the actual CVX-ETH LP token that is generating yield in the Alluo Pool.
Alluo Vault
Remember that CRV,CVX and any bonus reward tokens from staking LPs are being concurrently generated in both the Vault (through the principal LP token) and the Alluo Pool (through the staked CVX-ETH LP purchased with rewards generated by the principal)
2. Withdraw in non CVX-ETH LP tokens:
This function simply takes one extra step to exchange the CVX-ETH LP reward tokens into the ERC20 token of the user's choosing before sending it to them.
AlluoStEthEthVault.sol
Last updated