#ethereum #amm #mev #maker #filter

amms

A library to interact with automated market makers across EVM chains

3 unstable releases

0.6.1 Jul 28, 2023
0.6.0 Jul 28, 2023
0.1.0 Jul 22, 2023

#4 in #mev

37 downloads per month

MIT license

285KB
5.5K SLoC

Rust 4.5K SLoC // 0.0% comments Solidity 1K SLoC // 0.1% comments

amms-rs Github Actions

amms-rs is a Rust library to interact with automated market makers across EVM chains.

This lib provides functionality to discover, sync, filter, and interact with a variety of AMMs. This library also provides functionality to keep a state space synced, abstracting logic to handle chain reorgs, maintaining a state change cache and more.

amms-rs was built with modularity in mind, making it quick and easy to add a new AMM variant by implementing the AutomatedMarketMaker trait. For a full walkthrough on how to quickly implement a new AMM, check out addingAnAMM.md.

------------------------------------

Tests and Docs are still being written 🏗️.

Tests are still being written, assume bugs until tested. If you would like to help contribute on the tests or docs, feel free to open up an issue or make a PR.

------------------------------------

Supported AMMs

AMM Status
UniswapV2 Pools
UniswapV3 Pools
ERC4626 Vaults
Izumi Pools 🟨
Curve Pools
Balancer Pools
Bancor Pools

Dependencies

~34–50MB
~1M SLoC