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

MEV Router #1199

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

MEV Router #1199

wants to merge 14 commits into from

Conversation

joaobrunoah
Copy link
Contributor

@joaobrunoah joaobrunoah commented Dec 20, 2024

Description

Creating MEV Router, according to issue #1189.

Notice that I needed to remove the swaps from the Router.sol file, and add it to RouterSwap.sol. That's because Router and MevRouter needs to implement the single-hop swap and I didn't find a better way to reuse the code.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency changes
  • Code refactor / cleanup
  • Optimization: [ ] gas / [ ] bytecode
  • Documentation or wording changes
  • Other

Checklist:

  • The diff is legible and has no extraneous changes
  • Complex code has been commented, including external interfaces
  • Tests have 100% code coverage
  • The base branch is either main, or there's a description of how to merge

Issue Resolution

Closes #1189

@joaobrunoah joaobrunoah marked this pull request as ready for review December 20, 2024 21:37
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.

Create MEVRouter
1 participant