Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no-revert-on-transfer tokens can be drained + NFTs can get stuck if the recipient contract cannot handle them #4

Merged
merged 4 commits into from
May 17, 2022

Conversation

outdoteth
Copy link
Owner

@outdoteth outdoteth commented May 17, 2022

Fixes: code-423n4/2022-05-cally-findings#89

Switches to use safeTransferFrom for ERC721's so that there is no signature collision with ERC20's transferFrom.
this stops no-revert-on-transfer tokens being drained through creating a fake ERC721 vault.


Fixes: code-423n4/2022-05-cally-findings#38

Switches to use safeTransferFrom so that NFTs don't get stuck when sending them to user's via withdraw and exercise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant