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

FraxPool.sol has an extra approve() on redemption functions #7

Closed
jasonhuan opened this issue Dec 3, 2020 · 7 comments
Closed

FraxPool.sol has an extra approve() on redemption functions #7

jasonhuan opened this issue Dec 3, 2020 · 7 comments

Comments

@jasonhuan
Copy link
Contributor

In FraxPool.sol L242, L274-275, L296, there is an extra approve() which is not necessary for transferring the tokens back to the redeemer in collectRedemption(). This bug has been reported by @samczsun.

Link to bug:

collateral_token.approve(msg.sender, collateral_needed);

@jasonhuan
Copy link
Contributor Author

This bug has been fixed in commit: c476638.

25,000 FXS will be rewarded, subject to bug bounty rules and vesting.

@ytrezq
Copy link

ytrezq commented Oct 24, 2022

@corddry hi, I found an infinite inflation bug not on Ethereum but because of an L2 intrestic characteristics where msg.sender can be null. Where should I report it?

@samkazemian
Copy link
Member

Hey @ytrezq is the bug referring to the same scope and file as fraxpool.sol as before? Or is it a new issue you want to open a new thread on? This issue topic is for a bug back from 2020.

Regardless, you can reach out to me on Telegram for secure communication using this link https://t.me/samkazemian

You can also reach out to Travis Moore on Telegram as well using this link https://t.me/FortisFortuna_89

@ytrezq
Copy link

ytrezq commented Oct 24, 2022

@samkazemian It’s unrelated, but I don’t think it can be disclosed in public as once becoming a minter, getting infinite supply is a single transaction process.

@samkazemian
Copy link
Member

samkazemian commented Oct 24, 2022

Understood @ytrezq Can you let me know your Telegram username to communicate privately? My Telegram username is @samkazemian (the same as my github and my Twitter).

@ytrezq
Copy link

ytrezq commented Oct 24, 2022

@samkazemian : Ok, I just sent you a message from @ytrezq on Telegram.

@FortisFortuna
Copy link
Contributor

Just sent you a message on TG

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

No branches or pull requests

4 participants