Skip to content

fix/enhancement: removes over-approval, adds manual approve#136

Merged
ErikBjare merged 16 commits intouniswap-python:masterfrom
liquid-8:master
Jul 12, 2021
Merged

fix/enhancement: removes over-approval, adds manual approve#136
ErikBjare merged 16 commits intouniswap-python:masterfrom
liquid-8:master

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