-
Notifications
You must be signed in to change notification settings - Fork 385
feat: price impact excludes fees #325
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
Conversation
@ErikBjare just wanted to bring this PR to your attention again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just remove the unused function and format with black.
uniswap/util.py
Outdated
def fee_to_fraction(fee:int): | ||
return fee / 1000000 | ||
|
||
def fraction_to_fee(fraction:float): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
Hey @ErikBjare removed the function and formatted with black 👍 |
@ErikBjare just wanted to bring this PR to your attention again |
Very nice, thanks for the ping! |
And thanks for contributing! ❤️ |
Glad to have helped! 🙌 |
Based on discussion in: #310