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

Create a standardised representation of a protocol #7

Open
CodeForcer opened this issue May 4, 2023 · 3 comments
Open

Create a standardised representation of a protocol #7

CodeForcer opened this issue May 4, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@CodeForcer
Copy link

Adding support for new protocols and maintaining support for protocol updates is a huge overhead for atomic teams. It would be great if we could collaborate publicly here to share the workload, as it's very high effort / low alpha.

The collectors / strategies / executors is a great base for separating concerns, but to be really useful in a plug-and-play fashion the architecture should also separate the concerns of "protocols".

Protocols should fit a common and extendable interface which is useful for a wide array of strategies. Implementation of new protocols should be test-driven both for accuracy of protocol interactions, and also for speed benchmarks. The idea is essentially to encapsulate the work of supporting new protocols which can then be dropped into strategies.

This feels like a potentially huge win/win for searchers, provided multiple teams are willing to contribute.

@Evan-Kim2028
Copy link

Regarding DEXs, these repositories are a great start to a standardized representation of a dex.

That could serve as a low hanging branch to collaborate around and start integrating into Artemis

@ajb
Copy link

ajb commented May 5, 2023

@CodeForcer great idea, you first!

@gakonst
Copy link
Member

gakonst commented May 5, 2023

Good idea. MEV Inspect had some initial attempts at this: https://github.com/flashbots/mev-inspect-rs/blob/master/src/types/actions.rs#L7-L26

@FrankieIsLost FrankieIsLost added the enhancement New feature or request label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants