Christian Kamm
053b3d0f29
Client: jupiter swap and tx builder improvements
...
- jupiter swap now supports multiple hops
- tx builder can check resulting tx size
(cherry picked from commit c58ee91356
)
2023-07-17 13:21:55 +02:00
Christian Kamm
81525ed139
logging improvements ( #641 )
...
- switch logging to tracing crate
- update liquidator logging to use tracing features
(cherry picked from commit b8376b4b89
)
2023-07-17 13:21:51 +02:00
Christian Kamm
e535e81257
Pyth: Read agg.price or prev_price, depending on staleness ( #631 )
...
This updates our use of pyth oracle accounts to be more in line with
what the pyth sdk is doing.
2023-07-05 12:58:42 +02:00
Maximilian Schneider
0b22e41acd
manage dependencies in workspace ( #588 )
...
* move important dependencies to workspace
* enable workspace inheritance
2023-05-17 20:48:14 +02:00
Christian Kamm
5a05e9cb2e
Update anchor to v0.27.0, stop using submodule ( #582 )
2023-05-12 13:54:53 +02:00
Christian Kamm
0349ace3b6
Downgrade the `fixed` crate to v1.11.0 ( #500 )
2023-03-12 08:50:42 +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