Users can't receive back underlying tokens when they redeem. #164
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate
This issue or pull request already exists
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Lines of code
https://github.com/code-423n4/2022-06-illuminate/blob/92cbb0724e594ce025d6b6ed050d3548a38c264b/redeemer/Redeemer.sol#L128
Vulnerability details
Impact
Users can't receive back underlying tokens when they redeem.
Proof of Concept
Like the above comment, this function is designed to transfer underlying token to the user, but it transfers to Redeemer contract.
Tools Used
Solidity Visual Developer of VSCode
Recommended Mitigation Steps
Modification for transfer logic.
The text was updated successfully, but these errors were encountered: