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

Including in the documentation how the swap fee is enforced in Uniswap V2 #5185

Merged
merged 4 commits into from
Jan 24, 2022

Conversation

astutejoe
Copy link
Contributor

@astutejoe astutejoe commented Jan 24, 2022

Description

Currently, the documentation only highlights how we can quote a token amount while accounting for the swap fees, we also mention how the protocol earns fees but it was never explained how the liquidity pool earns exchange fees, understandably so as the code for that is rather convoluted, which is also why it's especially important that it's mentioned in this breakdown.

English is not my native language and this is rather a complex topic/calculation so I'd be happy to include any suggested changes.

Related issue: #5186

@gatsby-cloud
Copy link

gatsby-cloud bot commented Jan 24, 2022

Gatsby Cloud Build Report

ethereum-org-website-dev

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 6m

Performance

Lighthouse report

Metric Score
Performance 🔶 24
Accessibility 💚 97
Best Practices 💚 93
SEO 🔶 85

🔗 View full report

Copy link
Contributor

@minimalsm minimalsm left a comment

Choose a reason for hiding this comment

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

Thanks for spotting and fixing this @astutejoe ✌️.

Be sure to join the discord if you are interested in contributing further to the project or have any questions for the team. And remember to claim your POAP also 🥳! We're currently working on our 2022 POAPs and they'll be released soon.

@minimalsm
Copy link
Contributor

@all-contributors please add @astutejoe for docs

@allcontributors
Copy link
Contributor

@minimalsm

I've put up a pull request to add @astutejoe! 🎉

@astutejoe
Copy link
Contributor Author

Hey, that's very nice of you @minimalsm !! I appreciate it! I didn't know about the POAPs, that's great too! I'll make sure to find more places where I can meaningfully contribute :)

@minimalsm minimalsm merged commit f88704a into ethereum:dev Jan 24, 2022
@astutejoe astutejoe deleted the patch-1 branch January 24, 2022 20:09
@minimalsm minimalsm mentioned this pull request Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants