solana-program-library/token-swap/program/sim
Yuriy Savchenko a0d0ae63ca
token-swap stable curve: 256-bit math added with tests (#886)
* Stable curve math rewritten to 256-bit, reference simulation added with test integration

* Formatting error fixed

* Clippy warnings fixed

* Fixed dependencies to remove crates not supportinf bpf

* Fixed indentations

* Fixed lint errors

* Fixed format warnings

* Fixing clippy lint errors

* U256 math and simulation library refactoring, checked math used everywhere, other small fixes

* Fixed conversion to optional u128
2020-11-25 21:19:25 +01:00
..
src token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00
Cargo.lock token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00
Cargo.toml token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00
simulation.py token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00