solana-program-library/token-swap/program/src/curve
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
..
base.rs Added stable curve invariant to the token swap smart contract (#838) 2020-11-17 14:13:18 +01:00
calculator.rs Added stable curve invariant to the token swap smart contract (#838) 2020-11-17 14:13:18 +01:00
constant_product.rs Added stable curve invariant to the token swap smart contract (#838) 2020-11-17 14:13:18 +01:00
flat.rs Added stable curve invariant to the token swap smart contract (#838) 2020-11-17 14:13:18 +01:00
math.rs token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00
mod.rs token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00
stable.rs token-swap stable curve: 256-bit math added with tests (#886) 2020-11-25 21:19:25 +01:00