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
microwavedcola1
2a5fdc89e6
more logging for keeper
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-23 10:05:19 +02:00
microwavedcola1
c96af46f96
Dont repat wosl creation
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-21 14:17:55 +02:00
Adrian Brzeziński
334b06d64f
v0.26.0
2024-05-17 13:53:31 +02:00
Adrian Brzeziński
f9246e9916
yarn-deduplicate
2024-05-17 13:50:17 +02:00
Adrian Brzeziński
c58b23f6d0
v0.25.0
2024-05-17 13:33:51 +02:00
Adrian Brzeziński
23360a1630
update internal libs
2024-05-17 13:29:24 +02:00
microwavedcola1
56614fac28
Update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-15 09:10:27 +02:00
microwavedcola1
6a50b7ccd7
--wip-- [skip ci]
2024-05-14 10:01:05 +02:00
microwavedcola1
f0d32f07da
keeper: dont crank closed tokens ( #951 )
...
* keeper: dont crank closed tokens
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>
2024-05-13 11:14:57 +02:00
microwavedcola1
2e4b08dad4
sample
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-13 10:16:46 +02:00
microwavedcola1
4a572bacb2
todo
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-06 08:16:44 +02:00
microwavedcola1
82159d9284
ts: script to withdraw fees
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-06 08:16:20 +02:00
microwavedcola1
d3794d1b33
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-05-06 07:36:54 +02:00
microwavedcola1
8208e94f95
update
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-29 10:18:37 +02:00
microwavedcola1
d577fad48c
ts: update spot market upgrade script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-29 10:11:12 +02:00
microwavedcola1
cae6fd0a16
ts: update withdraw script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-29 09:40:54 +02:00
Serge Farny
36feea23b7
RustClient: propagate error in chain data fetcher instead of panicking ( #952 )
...
(cherry picked from commit e4098b4550
)
2024-04-25 14:31:20 +02:00
microwavedcola1
f4c6a086c1
small updates to token withdraw script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-24 11:29:46 +02:00
Christian Kamm
88451debed
keeper: fix collateral fee charging on main group
...
- longer timeout of 120s for gPA call
- filter out mango accounts for foreign groups
2024-04-23 08:12:04 +02:00
Christian Kamm
d08ef26a99
rust client: rename Client::owner to "authority" ( #948 )
...
It could be the owner or the delegate
2024-04-22 14:52:36 +02:00
Christian Kamm
0fe18b59af
rust client: fix withdraws as delegate
...
they need to go to the owner's ata
2024-04-22 14:20:32 +02:00
Christian Kamm
66c6ae1cff
liquidator: fix rebalance loops
...
selling 100% with flash loan swap fee charged on top meant creating a
borrow
2024-04-22 14:10:01 +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
4250e06364
fix build
2024-04-22 13:14:48 +02:00
microwavedcola1
d9011881c3
ts: script to add tokens to borroers
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-20 16:07:17 +02:00
microwavedcola1
09c3dbe5a0
v0.24.0
2024-04-18 15:17:15 +02:00
microwavedcola1
fb6311e842
Merge branch 'main' into deploy
2024-04-18 15:15:44 +02:00
Serge Farny
a87be8ece0
TS: Fix formatting
2024-04-15 09:29:53 +02:00
Serge Farny
3e406768ca
Changelog for v0.24.0 ( #942 )
...
(cherry picked from commit 4c3814c466
)
2024-04-15 09:10:48 +02:00
thibaultosec
286eeb60fb
add audit report for v0.24.0 ( #941 )
...
Co-authored-by: CanardMandarin <thibault.marboud@gmail.com>
(cherry picked from commit ccc479ba21
)
2024-04-15 09:10:48 +02:00
Serge Farny
0dc9d9ab80
program; fix health check ix gate ( #940 )
...
(cherry picked from commit fe86295d3c
)
2024-04-11 07:22:51 +02:00
Adrian Brzeziński
32d7ba8f2e
v0.23.4
2024-04-09 21:12:09 +02:00
Adrian Brzeziński
f0264d666e
last collateral fee charge field
2024-04-09 21:09:30 +02:00
Serge Farny
e090104c69
keeper: add CU estimate for perp update funding, perp consume events and token update index & rates ( #937 )
2024-04-09 10:50:35 +02:00
Christian Kamm
5c7502d360
token_withdraw: avoid silencing errors with is_ok() ( #936 )
...
(cherry picked from commit 653cf9f30b
)
2024-04-08 16:28:44 +02:00
Christian Kamm
d16def9745
Audit: Remove unused fn, add comments ( #935 )
...
(cherry picked from commit 9df73a0dfd
)
2024-04-08 15:15:16 +02:00
Serge Farny
70b7bc74d8
rust client: add a CU estimate for token withdrawal ( #934 )
...
(cherry picked from commit 55105e085f
)
2024-04-08 12:44:55 +02:00
microwavedcola1
735ea431b5
mm: use fallbacks
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-05 12:33:38 +02:00
microwavedcola1
55f0616069
mm: switch to api
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-05 12:19:59 +02:00
riordanp
090ef649d5
Allow liquidator delegates to withdraw ( #932 )
...
* Add token_withdraw_as_delegate_instructions method
2024-04-04 15:43:28 +01:00
microwavedcola1
8ba71a34b5
ts: switchboard csv files
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-04 14:18:11 +02:00
Christian Kamm
fa32449feb
liquidator: track fallback oracles ( #931 )
2024-04-04 11:23:58 +02:00
Serge Farny
fbea22612e
service-mango-health: use jemalloc ( #922 )
...
(cherry picked from commit ceeac9d3a4
)
2024-04-04 09:35:33 +02:00
Serge Farny
abeb14c17f
service-mango-health: add config for snapshot interval (reduce memory pressure)
...
(cherry picked from commit 78ea5e220cc032d6a280b0f3c66cb94051da3267)
2024-04-04 09:35:33 +02:00
Serge Farny
bf6d2a11ec
liquidator: forcefully exit process if snapshot job die ( #924 )
...
* liquidator: forcefully exit process if snapshot job die
* client: return snapshot_job join handle so it can be watched for early unexpected exit
(cherry picked from commit 2520c7d095
)
2024-04-04 09:28:48 +02:00
microwavedcola1
b55e900855
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-03 12:57:39 +02:00
Christian Kamm
c2544d9bbd
keeper: fix all confirmation reporting to be on success ( #930 )
2024-04-03 11:39:00 +02:00
Adrian Brzeziński
2040aa9fa6
upgrade mangolana lib
2024-04-02 16:59:28 +02:00
Christian Kamm
3937590fd1
liquidator: fix withdraws on rebalance ( #929 )
...
- always allow them, now that v0.22 is deployed and delegates can
withdraw small token amounts to the owner's ata
- increase the dust amount to $0.001 to avoid issues where the logic is
a few lamports off
2024-04-02 14:44:04 +02:00