solana-program-library/token-swap/program
Jon Cinque db42f7abbe
token-swap: Add curve and pool token trait and integrate in processor (#624)
* Add SwapCurve trait and integrate in processor

* Add PoolTokenConverter trait to correspond

* Add curve type parameter to initialization and JS

* Refactor for flat curve test, fmt

* Update token-swap/program/src/curve.rs

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Refactor swap curve to allow for any implementation

* Rename SwapCurveWrapper -> SwapCurve

* Run cargo fmt

* Update CurveType to enum in JS

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-21 20:46:50 +02:00
..
inc Reorganize crates based on program 2020-08-08 15:25:47 -07:00
src token-swap: Add curve and pool token trait and integrate in processor (#624) 2020-10-21 20:46:50 +02:00
Cargo.toml Update SDK version to v1.3.17 (#649) 2020-10-19 18:07:45 +08:00
Xargo.toml Reorganize crates based on program 2020-08-08 15:25:47 -07:00
cbindgen.toml Reorganize crates based on program 2020-08-08 15:25:47 -07:00
package-lock.json Reorganize crates based on program 2020-08-08 15:25:47 -07:00