Serge Farny
7a3075b6f2
Program: prepare v0.24.3
2024-08-12 09:19:33 +02:00
microwavedcola1
2b02489aac
Merge branch 'main' into deploy
2024-07-29 11:08:58 +02:00
Serge Farny
9c3af5cbe6
Program: regenerate IDL and bump version to v0.24.2
2024-07-17 10:46:02 +02:00
Serge Farny
b995189eb5
Program: charge collateral fee directly on borrowed tokens ( #973 )
...
* Program: charge collateral fees on borrowed tokens and fixup OO impact
(cherry picked from commit 96158e349f
)
2024-07-17 10:37:27 +02:00
Serge Farny
34c8be19c7
Program: add support for pyth v2 account ( #980 )
2024-07-17 10:21:38 +02:00
Serge Farny
b42750b674
Merge branch 'main' into deploy
2024-07-09 10:07:34 +02:00
Serge Farny
ccb98fb5b8
Program: bump version
2024-07-04 21:42:04 +02:00
Serge Farny
a5ba37be7d
Program: add switchboard on demand oracle support ( #974 )
...
---------
Co-authored-by: Mitch Gildenberg <mitch@switchboard.xyz>
(cherry picked from commit ed28450b98
)
2024-06-25 17:37:18 +02:00
Serge Farny
cc2df520c9
Clients: log git commit info at start time - using git2 lib ( #966 )
2024-05-28 09:58:29 +02:00
Serge Farny
15f623ce9f
Clients: log git commit info at start time ( #965 )
...
(cherry picked from commit 53829cb6e5
)
2024-05-23 15:19:43 +02:00
Serge Farny
bf0d748d2d
Serge/deploy v24+ ( #945 )
...
* liquidator: randomly select token/perps for rebalancing to avoid failing at every try if one token is having an issue (#921 )
(cherry picked from commit e3a7ed9e32
)
* liquidator: do not panic if token or perp rebalancing fails (#927 )
(cherry picked from commit 0b7e62e671
)
* Liquidator: add Sanctum swap (#919 )
liquidator: add sanctum swap
(cherry picked from commit 01d5237162
)
* liquidator: add more LST for sanctum swap (#944 )
(cherry picked from commit c0b61b3b37
)
2024-04-22 13:27:15 +02:00
Christian Kamm
4fcaf09c09
test: Allow replay of live transaction in program test ( #911 )
2024-03-11 15:08:58 +01:00
Serge Farny
5affbb9cee
liquidator: add some latency metrics ( #904 )
...
liquidator: add some latency metrics
2024-03-07 11:44:23 +01:00
Christian Kamm
e7f5cd7498
Bump program version to v0.24.0, update idl
2024-03-04 11:15:23 +01:00
Serge Farny
6aa8a883f4
service-mango-health: monitors/historizes accounts health ( #890 )
...
* service-mango-health: add a new service that compute health for all mango accounts and persist an history in postgres sql
2024-02-29 17:05:29 +01:00
Serge Farny
ab8393b52d
liquidator: avoid logging same oracle error (same token) in loop ( #889 )
...
* liquidator: avoid logging same oracle error (same token) in loop
2024-02-21 16:35:28 +01:00
Christian Kamm
ea91d9d353
rust client: optionally derive prio fees from feed ( #866 )
...
This allows connecting to a lite-rpc feed to receive block priority
updates and computing recently good priority fee values based on that.
2024-02-07 12:52:32 +01:00
Christian Kamm
511814ca97
Rust client: Revamp transaction confirmation ( #850 )
...
- Allow user configuration of confirmation settings
- Provide a timeout setting, default is 60s
2024-01-17 10:30:25 +01:00
Christian Kamm
71f0e5cc13
client: configurable jupiter urls ( #800 )
2023-12-05 13:23:11 +01:00
Christian Kamm
ce71c67a88
Bump program version to v0.22
2023-12-05 11:15:50 +01:00
Christian Kamm
12d74789ef
cli: save-snapshot command ( #773 )
2023-11-08 10:27:55 +01:00
Steve
f625284593
Update to solana 1.16.14 and anchor 0.28.0 ( #718 )
...
- Change fixed to be a git dependency (no more submodules!)
- Upgrade fixed to a version compatible with borsh 0.10
- Upgrade openbook-v2 dependency (for anchor compat)
- Move services from mango-feeds repo into bin/
- Update mango-feeds-connector
Co-authored-by: Christian Kamm <mail@ckamm.de>
Co-authored-by: Riordan Panayides <riordan@panayid.es>
2023-10-05 10:56:45 +02:00
Christian Kamm
1afcff5dc2
Changelog and version bump for v0.20.0 ( #739 )
2023-10-04 09:18:57 +02:00
Christian Kamm
ea7fae4687
Changelog, version bump for program v0.19.1
2023-10-02 19:54:09 +02:00
Christian Kamm
6e2363c86f
Improve CU benchmarks ( #690 )
2023-08-24 16:33:08 +02:00
Christian Kamm
3480b62945
Changelog and version bump for program v0.19.0 ( #683 )
2023-08-18 15:38:28 +02:00
Christian Kamm
7e32e2e0bd
liquidator: Add telemetry ( #668 )
...
The DAO would like to know how many potential liquidators are around.
2023-08-08 18:17:23 +02:00
Christian Kamm
b8376b4b89
logging improvements ( #641 )
...
- switch logging to tracing crate
- update liquidator logging to use tracing features
2023-07-12 08:38:38 +02:00
Christian Kamm
a7ac6f8dfb
Update Cargo.lock and IDL after merge
2023-07-11 10:39:06 +02:00
galactus
6461743f35
Openbook v2 integration: instructions and accounts ( #628 )
2023-07-11 09:59:50 +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
Christian Kamm
3867d902d2
Bump program version to v0.18.0
2023-07-04 11:10:31 +02:00
Christian Kamm
cc4a39850a
Bump version and idl to v0.17.1
2023-07-04 11:08:59 +02:00
Christian Kamm
1cc77af7fa
Bump version to 0.17.0, changelog updates, idl update
2023-05-31 09:11:56 +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
2205fe7260
Changelog for program v0.15.0, version bump, idl update ( #577 )
2023-05-08 08:13:50 +02:00
microwavedcola1
29002e7197
Spot based token rebalancer ( #541 )
...
* script to relabance account to usdc
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* update procfile
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix script
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* add prio fees
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* reset
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-19 18:15:39 +02:00
Christian Kamm
61a4f62ea4
Bump program version to v0.13.0 and update idl
2023-04-13 09:53:15 +02:00
Christian Kamm
74f7282d4e
Bump program version to v0.12.0 and update idl
2023-04-13 09:46:58 +02:00
Christian Kamm
8d18e55eee
Update mango-feeds-connector dependency
2023-04-08 08:37:08 +02:00
Christian Kamm
535b0b2d0c
Changelog for program-v0.11.0, bump version, update idl
2023-03-31 18:47:34 +02:00
riordanp
6be7810c56
Add prometheus metrics to crank ( #517 )
...
* Add prometheus metrics to keeper
2023-03-29 15:51:32 +01:00
Christian Kamm
30984bbef1
Use new shared mango-feeds-connector crate for chain_data ( #515 )
2023-03-29 09:46:06 +02:00
Christian Kamm
7c02075c80
Bump program version to v0.10.0
2023-03-21 12:51:21 +01:00
Christian Kamm
b7dd8e0663
Fee buyback: Respect USDC oracle ( #504 )
2023-03-20 11:18:11 +01:00
Christian Kamm
0349ace3b6
Downgrade the `fixed` crate to v1.11.0 ( #500 )
2023-03-12 08:50:42 +01:00
Christian Kamm
c7dd6cd9e3
Bump program version to v0.9.0
2023-03-12 08:19:05 +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
cfcda705e6
Bump program version to v0.8.0
2023-02-22 14:49:18 +01:00
Christian Kamm
6c33044e92
Dependency updates for bzip2 and openssl-src ( #475 )
2023-02-22 12:43:22 +01:00