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

feat: ethers.rs -> alloy migration #52

Merged
merged 17 commits into from
Mar 7, 2025
3,385 changes: 1,169 additions & 2,216 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ edition = "2021"
uniswapx-rs = { path = "./crates/uniswapx-rs" }
bindings-uniswapx = { path = "./crates/bindings-uniswapx" }

artemis-core = { git = "https://github.com/paradigmxyz/artemis", rev = "70f3bce3488cf29f34197b9b2c0c02d329b95793"}
ethers = { version = "2.0.14", features = ["ws", "rustls"]}
artemis-core = { git = "https://github.com/ConjunctiveNormalForm/minimal-artemis-alloy", version = "0.2.0"}
tokio = { version = "1.18", features = ["full"] }
dotenv = "0.15.0"
async-trait = "0.1.64"
Expand All @@ -24,8 +23,9 @@ serde = "1.0.168"
crossbeam = "0.8.2"
crossbeam-channel = "0.5.8"
tokio-stream = "0.1.14"
reqwest = "0.11.18"
alloy-primitives = "0.8.18"
reqwest = { version = "0.11.18", features = ["json"] }
alloy = "0.11.1"
alloy-primitives = "0.8.21"
serde_qs = "0.12.0"
async-stream = "0.3.5"
mockito = "1.1.0"
Expand All @@ -37,3 +37,5 @@ aws-sdk-secretsmanager = "1.43.0"
serde_json = "1.0.127"
dashmap = "6.1.0"
rand = "0.8.5"
ethabi = "18.0.0"
backoff = "0.4.0"
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ Simple strategy that batches UniswapX orders together by tokenin/tokenout pair a
# Crates

### [uniswapx-rs](./crates/uniswapx-rs)

Library for encoding, decoding, and resolving UniswapX dutch orders

### [bindings-uniswapx](./crates/bindings-uniswapx)
Autogenerated forge bindings for UniswapX contracts

Autogenerated forge bindings for UniswapX contracts

# Generating bindings

```
forge bind --root ../UniswapX --overwrite --ethers # replace UniswapX with the path to the UniswapX repo
```
forge bind --root ../UniswapX --overwrite --alloy # replace UniswapX with the path to the UniswapX repo
```
Loading