Commit Graph

12 Commits

Author SHA1 Message Date
Christian Kamm 5a05e9cb2e
Update anchor to v0.27.0, stop using submodule (#582) 2023-05-12 13:54:53 +02:00
Christian Kamm 953e2f76b2
Ckamm/liq fixes (#571)
* liquidator: Don't attempt to close in-use token positions

This could happen if the user manually used serum on the liquidator
account.

* Client: Move jup's CU ix outside of flash loan

That makes a flash loan based jup swap usable with delegates.
2023-05-05 09:11:12 +02:00
riordanp 757a3ee0cc
Use ghcr.io container registry (#549)
* Use ghcr.io container registry

* Update base image urls
2023-04-17 16:57:51 +01:00
microwavedcola1 b796965d6a
re-enable token rebalance in liquidator (#545)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-17 11:18:50 +02:00
microwavedcola1 350d558ee3 disable for now
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-14 11:42:02 +02:00
riordanp 6be7810c56
Add prometheus metrics to crank (#517)
* Add prometheus metrics to keeper
2023-03-29 15:51:32 +01:00
microwavedcola1 cce8bb4b14
liquidator docs (#512)
* liquidator docs

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* update

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* update

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-21 18:37:01 +01:00
riordanp fc1341f731
Rename settle-bot to settler, fix build (#492)
* Fix settler build, rename due to heroku not liking '-'

* Temporarily remove ref tag

* Remove temporary branch trigger
2023-03-14 19:10:24 +01:00
Christian Kamm 0349ace3b6
Downgrade the `fixed` crate to v1.11.0 (#500) 2023-03-12 08:50:42 +01:00
Christian Kamm 7803c47912
Liquidator: Withdraw full dust amount on rebalance (#499)
The amount was sometimes too high (stale?), causing withdraw errors.
2023-03-09 10:01:02 +01:00
Christian Kamm 5c7a2e3e10
Use the overflow-checks=true equivalent with the fixed crate (#476)
* Vendor `fixed` crate to have checked math in release mode
* remove all cm!()
* drop superfluous parens
* drop use of checked_math crate
* manual removal of redundant checked_* functions
2023-02-24 11:56:33 +01:00
Christian Kamm 7b9e19cc08
Organize paths, rename crates (#466)
liquidator, keeper, cli and settle-bot moved to bin/
client moved to lib/client

All crates have a "mango-v4-" prefix
2023-02-20 14:08:38 +01:00