microwavedcola1
|
717b72857d
|
Remove anchor dummy type workaround (#53)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-05-18 17:16:14 +02:00 |
microwavedcola1
|
1b1dd1a541
|
poc keeper
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-04-09 21:18:07 +02:00 |
Christian Kamm
|
afbfd3b7f9
|
serum3_register_market: better validation
Previously we just trusted the base and quote token index to be correct,
now the appropriate banks are validated.
|
2022-03-30 12:24:49 +02:00 |
Christian Kamm
|
69426d6d96
|
liq: Introduce HealthCache to get init/maint health after liquidation
The concept only works if all serum3 open orders have been fully
cancelled and settled.
|
2022-03-29 09:18:13 +02:00 |
Christian Kamm
|
a6ff388e20
|
health: avoid divisions, reducing compute needs
|
2022-03-27 14:47:42 +02:00 |
Christian Kamm
|
27f882a333
|
Tests: More flexible test context construction
|
2022-03-21 10:45:55 +01:00 |
Christian Kamm
|
a6a31f226c
|
Tests: Unify group + tokens setup
|
2022-03-21 07:49:51 +01:00 |
Christian Kamm
|
9d05db68f9
|
Serum: Prefix instructions with serum3_ and related renames
|
2022-03-18 13:42:20 +01:00 |
Christian Kamm
|
7b3cd9a81f
|
Health: Use split_at_mut to get two element &muts
Previously we re-indexed token_infos every time, now we can just have
mutable references to the base and quote elements at the same time.
|
2022-03-18 07:44:44 +01:00 |
Christian Kamm
|
430d5c85fa
|
Health: compute optimizations
Basic caching of multiplications and divisions.
|
2022-03-17 21:53:41 +01:00 |
Christian Kamm
|
af2f4a0923
|
Health compute tests
|
2022-03-17 14:17:28 +01:00 |