Christian Kamm
8fd7a5cc88
Merge deploy into dev
2024-04-23 11:00:25 +02:00
riordanp
2a6532f1c6
Openbook V2 Integration ( #836 )
...
Co-authored-by: Tyler <tjshipe@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
Co-authored-by: Serge Farny <serge.farny@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-22 11:37:53 +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
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
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
microwavedcola1
8ba71a34b5
ts: switchboard csv files
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-04 14:18:11 +02:00
microwavedcola1
b55e900855
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-03 12:57:39 +02:00
Serge Farny
f54bb6f0b0
Serge/liquidator split tcs and liquidation ( #914 )
...
liquidator: split TCS triggering and liquidation job
Concurrent execution of candidate lookup and tx building/sending
- Also added an health assertion IX to protect liqor in multi liquidation scenario
- And a timeout for jupiter v6 queries (avoid blocking liquidation because of slow TCS)
2024-03-20 15:25:52 +01:00
Christian Kamm
6f85dfa42d
Merge remote-tracking branch 'origin/deploy' into dev
2024-03-14 11:26:33 +01:00
Christian Kamm
4bf45f2576
liqtest readme update
2024-03-14 09:53:43 +01:00
Christian Kamm
e20052f6e5
Fix logging in liqtest scripts
2024-03-14 08:58:04 +01:00
Christian Kamm
25bf71c646
Add liqtest test script readme
2024-03-14 08:43:49 +01:00
microwavedcola1
dc8e903d13
ts: update
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-13 10:44:54 +01:00
microwavedcola1
a93ef13310
ts: new changes to token param updates
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-12 11:39:31 +01:00
microwavedcola1
f2442428b6
Merge branch 'main' into deploy
2024-03-10 14:26:29 +01:00
Christian Kamm
077199ed39
ts: rework getMaxWithdrawWithBorrowForToken ( #900 )
...
* ts: rework getMaxWithdrawWithBorrowForToken
* binary seach for maxWithdraw
* tests
* warnings
* revert later, change for debugging
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix looking deeper than 0.5 tokens
* no borrows on no-borrow-tokens
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-10 14:11:30 +01:00
Adrian Brzeziński
ef5da37fba
switchboard migrator example
2024-03-08 16:47:24 +01:00
Adrian Brzeziński
6841ca5166
add mangolana, fee and auto retry to create proposal for scripts
2024-03-07 13:27:57 +01:00
microwavedcola1
043b08fcc3
ts: update
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-07 09:08:36 +01:00
microwavedcola1
a006b25e39
ts: fix client errors
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-04 13:21:42 +01:00
Christian Kamm
27ecc14000
Merge tag 'program-v0.22.0' into deploy
2024-03-04 11:32:42 +01:00
Christian Kamm
834f15923d
Merge remote-tracking branch 'origin/deploy' into dev
2024-03-04 11:09:07 +01:00
Christian Kamm
46c6e86206
Add force_withdraw state and instruction ( #884 )
...
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-19 15:06:51 +01:00
microwavedcola1
4f84f984e8
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-19 13:30:12 +01:00
microwavedcola1
355bc55955
ts: sort
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-19 12:24:39 +01:00
microwavedcola1
f216b7b696
Mc/tcs premium auction ( #870 )
...
* tcs: move to premium auctions by default
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* tcs: error out if premium cant be computed
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-19 09:32:39 +01:00
microwavedcola1
5b001a9002
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-15 10:05:20 +01:00
Christian Kamm
7a1be5a188
Merge remote-tracking branch 'origin/deploy' into dev
2024-02-14 10:24:12 +01:00
microwavedcola1
4cce7aad32
extend maintain alts script ( #872 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-08 08:04:52 +01:00
Adrian Brzeziński
ea7eeb92dc
fix decoding of broken oracle ( #864 )
...
* fix
* fix
* fix
* fix
2024-01-31 15:52:06 +01:00
Christian Kamm
6c6a75d90d
liquidator: batch serum-cancel step ( #861 )
2024-01-29 15:07:24 +01:00
GoodDaisy
2f10a710c9
chore: fix typos ( #854 )
2024-01-29 13:39:33 +01:00
Adrian Brzeziński
e4bbc41a88
import fix
2024-01-16 11:02:39 +01:00
microwavedcola1
5d186421bb
ts: take liquidation batches to a script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-16 10:47:52 +01:00
microwavedcola1
fce4e18735
Merge branch 'mc/deposit-limits' into deploy
2024-01-16 10:22:04 +01:00
microwavedcola1
6e3c284220
ts: deposit limits
2024-01-16 10:21:15 +01:00
Adrian Brzeziński
68e119e726
use fast clone ( #843 )
...
* use fast clone
* fix
* add health check copy tests
* fix
* fix
* add more test
2024-01-11 21:13:41 +01:00
Christian Kamm
ce0713070a
Merge remote-tracking branch 'origin/deploy' into dev
2024-01-09 12:31:20 +01:00
Christian Kamm
40f2842c10
ts client: Support deposit-into-existing ( #837 )
...
And add a script for using it.
2024-01-04 20:21:09 +01:00
microwavedcola1
cf1ca29cee
ts: stock mm, fix perp market name
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-03 10:25:54 +01:00
microwavedcola1
56e45ad7e4
ts: rndr stock mm, quote at liq price for liqudiations
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-03 10:17:26 +01:00
microwavedcola1
f3365d4e58
ts: make backup keeper relaxed
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-03 09:55:39 +01:00
microwavedcola1
375284df25
ts: update script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-03 09:46:17 +01:00
microwavedcola1
5636146fac
ts: clean up script
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-01-03 09:08:18 +01:00
Lou-Kamades
48993ed130
ts: improve sending txns using muiltiple connections ( #826 )
2023-12-28 21:48:59 -06:00
Christian Kamm
27b1ceebe8
Accounts: Expect only the v3 MangoAccounts now ( #783 )
2023-12-19 10:08:46 +01:00
Christian Kamm
06da4768f3
Gov instruction creation helpers
...
- Add one to make a proposal for all serum markets
- Switch created proposals to be drafts
- Add PROPOSAL_LINK env arg
- Add serum3EditMarketIx()
2023-12-14 11:34:17 +01:00
microwavedcola1
f342595a88
ts keeper: skip broken tokens
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-12-13 10:52:18 +01:00