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

ERC20 cap to contract, remove from ERC721Factory #587

Merged
merged 8 commits into from
Mar 29, 2022

Conversation

alexcos20
Copy link
Member

We decided to hardcode cap to MAX_INT, and we did it in ERC721Factory, in createNftWithErc20WithPool.
Of course, a malicious actor will not use that function :)

Fix this by moving the cap to ERC20Template

@alexcos20 alexcos20 added this to the V4 milestone Mar 25, 2022
@alexcos20 alexcos20 self-assigned this Mar 25, 2022
@alexcos20 alexcos20 requested a review from trentmc as a code owner March 25, 2022 13:28
@alexcos20 alexcos20 requested a review from md0x March 25, 2022 13:29
@alexcos20 alexcos20 marked this pull request as draft March 25, 2022 13:44
@alexcos20 alexcos20 marked this pull request as ready for review March 28, 2022 16:17
@alexcos20 alexcos20 merged commit 34c4c70 into v4main Mar 29, 2022
@alexcos20 alexcos20 deleted the feature/fix_erc20_cap branch March 29, 2022 06:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants