Britt Cyr
f7bb4955d3
Cancel openbook v2 order by client order id ( #969 )
...
* Cancel openbook v2 by client order id
2024-06-05 18:01:37 +02:00
Christian Kamm
1ea4528557
Merge remote-tracking branch 'origin/dev' into dev
2024-04-23 11:01:06 +02:00
Christian Kamm
8fd7a5cc88
Merge deploy into dev
2024-04-23 11:00:25 +02:00
Christian Kamm
ec2d10af6e
Allow the insurance fund to be for any bank ( #946 )
...
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2024-04-23 09:17:53 +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
Serge Farny
0dc9d9ab80
program; fix health check ix gate ( #940 )
...
(cherry picked from commit fe86295d3c
)
2024-04-11 07:22:51 +02:00
Serge Farny
fe86295d3c
program; fix health check ix gate ( #940 )
2024-04-11 07:22:29 +02:00
Adrian Brzeziński
f0264d666e
last collateral fee charge field
2024-04-09 21:09:30 +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
Lou-Kamades
27ce516703
Lou/ts fallback fetching ( #917 )
...
* ts: add CLMM oracle parsing
* ts: add functions for deriving fallback oracles
* ts: add fallbacks to buildHealthRemainingAccounts
* ts: lint
* ts: fallback contexts are keyed on string for reliable equality checks
* ts: lint
2024-03-27 10:52:33 -05:00
riordanp
d03efb7260
Fix getCumulativeFundingUi ( #920 )
...
* sum long and short funding
2024-03-21 12:16:23 +00: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
Serge Farny
b3b4cc8223
program: add a min health check ( #913 )
...
add a min health check
2024-03-12 08:27:40 +01:00
Serge Farny
0728bb566f
program: sequence check as u8 ( #909 )
...
* program: sequence check as u8 (reuse existing padding)
2024-03-11 10:45:53 +01:00
microwavedcola1
d9068758d2
ts: fix lint
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-10 14:27: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
Serge Farny
494835631b
program: add a sequence check IX ( #908 )
...
Add a sequence check IX
This new IX `SequenceCheck` can be used to avoid having multiple concurrent TX in flight causing unexpected result (multiple borrow for example)
2024-03-07 14:59:05 +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
Adrian Brzeziński
1a6a544ecd
max accounts error margin fcn ( #905 )
...
* add error for max accounts limit
* fix
2024-03-05 16:56:35 +01:00
microwavedcola1
8aff0fb8c5
ts: add missing fields
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-03-04 14:28:49 +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
a30c5a9e06
Bump program version to v0.23.0, update idl
2024-03-04 11:22:08 +01:00
Serge Farny
bc166ea54b
ts client: fix imports ( #898 )
...
(cherry picked from commit 53517f876b
)
2024-03-04 11:21:54 +01:00
Christian Kamm
e7f5cd7498
Bump program version to v0.24.0, update idl
2024-03-04 11:15:23 +01:00
Christian Kamm
834f15923d
Merge remote-tracking branch 'origin/deploy' into dev
2024-03-04 11:09:07 +01:00
Serge Farny
53517f876b
ts client: fix imports ( #898 )
2024-03-01 11:21:58 +01:00
microwavedcola1
cacf668999
ts: account for max swap fee rate, when swapping ( #892 )
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2024-02-23 09:23:30 +01:00
Christian Kamm
e107b281f9
Idl update
2024-02-21 15:06:34 +01:00
Adrian Brzeziński
6aabbb4ded
fix multi cancel ( #888 )
...
* fix multi cancel
* fix
* fix
2024-02-20 12:45:06 +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
Christian Kamm
8a3a3bf70b
flash loan: Add a "swap without fees" option ( #882 )
2024-02-19 09:00:30 +01:00