Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
8c2bd33
feat: port uni-v3 math to rust
0xNazarii Mar 28, 2026
0b2a82f
test: more test for Rust comparison
KanievskyiDanylo Mar 31, 2026
25093d8
feat: add native to package
KanievskyiDanylo Mar 31, 2026
fc87411
feat: control rust by `useRust` param on `getPoolPrices`
KanievskyiDanylo Mar 31, 2026
877c7b3
feat: install Rust on postinstall dex-lib
KanievskyiDanylo Mar 31, 2026
2f4e22d
4.8.28-uni-v3-rust.0
KanievskyiDanylo Mar 31, 2026
f58da7d
fix: handle all cases with state update for Rust dupl
KanievskyiDanylo Mar 31, 2026
9dee3ed
4.8.28-uni-v3-rust.1
KanievskyiDanylo Mar 31, 2026
7484270
feat: show `useRust` on data response for uni-v3
KanievskyiDanylo Mar 31, 2026
dffd4a9
4.8.28-uni-v3-rust.2
KanievskyiDanylo Mar 31, 2026
6df647f
feat: parallelize rust code, port PancakeV3 and SolidlyV3
0xNazarii Apr 5, 2026
b568785
feat: port UniswapV4
0xNazarii Apr 5, 2026
60f3560
chore: move bench script
0xNazarii Apr 5, 2026
2620608
chore: log native addon availability
0xNazarii Apr 6, 2026
3f05092
4.8.28-uni-v3-rust.3
0xNazarii Apr 6, 2026
d0b86d2
merge with master
0xNazarii Apr 6, 2026
609d863
4.8.34-uni-v3-rust.0
0xNazarii Apr 6, 2026
27d409e
Merge branch 'feat/fluid-dex-opt' into feat/uni-math-native-port
KanievskyiDanylo Apr 6, 2026
ee36743
4.8.34-uni-v3-rust.1
KanievskyiDanylo Apr 6, 2026
f0b4972
chore(AaveGSM): update gsm addresses
0xNazarii Apr 9, 2026
3eaef31
4.8.34-uni-v3-rust.2
0xNazarii Apr 9, 2026
f0e6db7
Merge branch 'feat/tenderly-simulate-api' into feat/uni-math-native-…
KanievskyiDanylo Apr 15, 2026
7d7a615
4.8.34-uni-v3-rust.3
KanievskyiDanylo Apr 15, 2026
7291212
merge with master
0xNazarii Apr 21, 2026
31b5468
4.8.37-native-dex-math.0
0xNazarii Apr 21, 2026
a57b327
chore: restore `postinstall`
0xNazarii Apr 21, 2026
c872b1a
4.8.37-native-dex-math.1
0xNazarii Apr 21, 2026
5bbe67e
Merge remote-tracking branch 'origin' into feat/uni-math-native-port
KanievskyiDanylo Apr 24, 2026
da12a51
4.8.37-native-dex-math.2
KanievskyiDanylo Apr 24, 2026
2dc4ee9
Merge branch 'master' into feat/uni-math-native-port
KanievskyiDanylo Apr 28, 2026
08d8d13
4.8.37-native-dex-math.3
KanievskyiDanylo Apr 28, 2026
1ef7486
Merge branch 'master' into feat/uni-math-native-port
KanievskyiDanylo Apr 28, 2026
786ca3e
4.8.37-native-dex-math.4
KanievskyiDanylo Apr 28, 2026
0954118
merge with feat/metric-buy
0xNazarii May 4, 2026
531f65b
4.8.37-native-dex-math.5
0xNazarii May 4, 2026
e4636e2
Merge branch 'master' of github.com:paraswap/paraswap-dex-lib into fe…
0xNazarii May 4, 2026
cc46355
chore: merge with master
0xNazarii May 11, 2026
23493d3
4.8.37-native-dex-math.6
0xNazarii May 11, 2026
26b0fd1
Merge branch 'master' into feat/uni-math-native-port
KanievskyiDanylo May 12, 2026
88434c6
4.8.37-native-dex-math.7
KanievskyiDanylo May 12, 2026
7ef304f
chore: merge with base
0xNazarii May 13, 2026
08c1b6a
5.0.0-native-dex-math.0
0xNazarii May 13, 2026
c347532
chore: merged with master
0xNazarii May 19, 2026
40c8905
chore: merged with master
0xNazarii May 22, 2026
e646bd8
5.0.2-native-dex-math.0
0xNazarii May 22, 2026
3a31679
Merge branch 'feat/encode-is128-flag-executor-01-02' of github.com:pa…
0xNazarii May 25, 2026
e2b41a7
5.0.2-native-dex-math.1
0xNazarii May 25, 2026
3b145b9
Merge branch 'master' into feat/uni-math-native-port
KanievskyiDanylo May 28, 2026
09eb6b8
Merge branch 'fix/beneficiary-optimization' into feat/uni-math-native…
0xNazarii Jun 3, 2026
87e3e86
5.0.2-native-dex-math.2
0xNazarii Jun 3, 2026
7fe559c
5.0.2-native-dex-math.3
0xNazarii Jun 3, 2026
67b4d76
Merge branch 'chore/aerodrome-slipstream-new-factory-quoter' of githu…
0xNazarii Jun 4, 2026
e413061
5.0.2-native-dex-math.4
0xNazarii Jun 4, 2026
38e7030
Merge remote-tracking branch 'origin/feat/aerodrome-slipstream-factor…
0xNazarii Jun 10, 2026
45ba22e
5.0.2-native-dex-math.5
0xNazarii Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ local-scripts
tests/debug-price-route.json
.husky/.git-secrets-installed
.claude/worktrees/

# Rust / NAPI-RS native addon
native/target/
native/node_modules/
native/*.node
native/index.js
native/index.d.ts
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
**/*
!/build/**
!/native/**
# Exclude native build artifacts (rebuilt from source on install)
native/target/**
native/node_modules/**
native/*.node
native/index.js
native/index.d.ts
!LICENSE
!package.json
!README.md
331 changes: 331 additions & 0 deletions native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "v3-math-native"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
napi = { version = "2", features = ["napi6", "serde-json"] }
napi-derive = "2"
ethnum = "1"
rayon = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[build-dependencies]
napi-build = "2"

[profile.release]
lto = true
strip = "symbols"
5 changes: 5 additions & 0 deletions native/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extern crate napi_build;

fn main() {
napi_build::setup();
}
Loading
Loading