serai/substrate/dex/pallet
Luke Parker 6f5d794f10
Median by Position (#533)
* use median price instead of the highest sustained

* add test for lexicographically reversing a byte slice

* fix pr comments

* fix CI fail

* fix dex tests

* Use a fuzz-tested list of prices

* Working median algorithm based on position + lints

---------

Co-authored-by: akildemir <aeg_asd@hotmail.com>
2024-02-19 20:50:04 -05:00
..
src Median by Position (#533) 2024-02-19 20:50:04 -05:00
Cargo.toml Median by Position (#533) 2024-02-19 20:50:04 -05:00
LICENSE-AGPL3 Add Dex pallet (#407) 2023-11-05 12:02:34 -05:00
LICENSE-APACHE2 Add Dex pallet (#407) 2023-11-05 12:02:34 -05:00