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

feat: Make the contract support any ERC-20 token #13

Closed
wants to merge 1 commit into from

Conversation

1nonlypiece
Copy link

closes #10

@1nonlypiece
Copy link
Author

@Dprof-in-tech

@Dprof-in-tech
Copy link
Contributor

@Dprof-in-tech

I would review it in a bit ser. Thank you

Copy link
Contributor

@Dprof-in-tech Dprof-in-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did something totally different.

What you are meant to do was to make the Wallet contract to accept ERC20 tokens, but you wrote a totally different contract. Which isn’t what is needed.

So you should study the Wallet contracts and modify the functions that uses usdt to accept any erc20 token, then you should add new tests and modify existing tests to capture your changes.

@1nonlypiece
Copy link
Author

@Dprof-in-tech okay, give me some time to study wallet contracts & do code changes.

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.

Make the contract support any ERC-20 token
2 participants