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/enhancement: removes over-approval, adds manual approve #136

Merged
merged 16 commits into from
Jul 12, 2021

Conversation

liquid-8
Copy link
Member

@liquid-8 liquid-8 commented Jul 9, 2021

Closes #73
check_approval() decorator should check/approve first token only, there is no practical reason to check second actually. _approve() method becomes public to let users approve manually.

@ErikBjare
Copy link
Member

Nice, thanks! Squashing and merging.

@ErikBjare ErikBjare merged commit 53b8ef3 into uniswap-python:master Jul 12, 2021
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.

Overly eager to approve tokens
2 participants