Christian Kamm
|
ad47e9f2e9
|
tcs liq test: Add net borrow limit test
|
2023-08-14 16:15:57 +02:00 |
Christian Kamm
|
a04f5e0df0
|
liquidator: better startup for tests
|
2023-08-14 16:15:32 +02:00 |
Christian Kamm
|
f1e2b521f2
|
liquidator: Deal with net-borrow restricted tcs executions
|
2023-08-14 16:14:30 +02:00 |
Christian Kamm
|
727f9a2400
|
tcs: Change low-health-closure to absolute $1
Health ratio was too expensive to compute on-chain
|
2023-08-14 16:14:30 +02:00 |
Christian Kamm
|
7e804b228f
|
tcs: net borrow checks
|
2023-08-14 16:14:30 +02:00 |
Christian Kamm
|
1dd934f8ad
|
ts: fix stub oracle reading
|
2023-08-14 15:15:56 +02:00 |
microwavedcola1
|
40fb973731
|
v0.19.3
|
2023-08-13 12:02:08 +02:00 |
microwavedcola1
|
aa1a9f36e9
|
ts: add tcs helper for current pair price
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-13 12:01:20 +02:00 |
microwavedcola1
|
4f0f162b84
|
v0.19.2
|
2023-08-12 19:38:11 +02:00 |
microwavedcola1
|
f2d8e72057
|
doesnt need to be async
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-12 19:37:29 +02:00 |
microwavedcola1
|
4fbedf97d1
|
v0.19.1
|
2023-08-11 22:07:06 +02:00 |
microwavedcola1
|
765f82c5be
|
make helper function public
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-11 22:06:21 +02:00 |
microwavedcola1
|
916ed29498
|
v0.19.0
|
2023-08-11 19:13:27 +02:00 |
microwavedcola1
|
c1be446aab
|
Mc/slot to tx (#676)
* v0.18.17
* ts: return confirmed slot when executing a tx
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-08-11 19:12:13 +02:00 |
Christian Kamm
|
643a997723
|
Oracles: Fix units of deviation in OracleState (#675)
|
2023-08-11 16:47:52 +02:00 |
microwavedcola1
|
c37e535273
|
Fix price limit calculation in tcs
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-11 16:46:19 +02:00 |
Lou-Kamades
|
3b67bfee8a
|
ts client: estimate priority fees for only write accounts
|
2023-08-11 09:18:41 -04:00 |
Christian Kamm
|
72cb639ec9
|
liquidator: increase tx budget for tcs trigger instructions (#674)
(cherry picked from commit 8746060be0 )
|
2023-08-11 12:51:09 +02:00 |
Christian Kamm
|
8746060be0
|
liquidator: increase tx budget for tcs trigger instructions (#674)
|
2023-08-11 12:48:50 +02:00 |
Christian Kamm
|
4eca3eb9f0
|
liquidator: Collect and report persistent errors (#672)
|
2023-08-11 12:10:07 +02:00 |
Christian Kamm
|
1f55d549a6
|
liquidator: execute tcs with volume-weighted randomness (#670)
|
2023-08-11 12:08:34 +02:00 |
microwavedcola1
|
b684c32e1e
|
v0.18.16
|
2023-08-11 09:42:10 +02:00 |
Vladimir Guguiev
|
707de12bb7
|
Client: wrap SOL using createWithSeed (#671)
|
2023-08-11 09:35:57 +02:00 |
Lou-Kamades
|
aace8a06e5
|
TS: add estimatePrioritizationFee
|
2023-08-10 22:03:41 -04:00 |
microwavedcola1
|
10d26f0b07
|
v0.18.15
|
2023-08-10 16:16:52 +02:00 |
microwavedcola1
|
c7cc7c248c
|
ts: fix threshold price computation in token conditional swaps
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-10 16:16:05 +02:00 |
Christian Kamm
|
f462c62816
|
ts: reuse tcs creation function
|
2023-08-10 13:48:28 +02:00 |
Christian Kamm
|
27dadbb6bc
|
ts: Use tcsCreateV2
|
2023-08-10 13:39:39 +02:00 |
Christian Kamm
|
b2e578bc61
|
Merge remote-tracking branch 'origin/deploy' into dev
|
2023-08-10 13:32:06 +02:00 |
Christian Kamm
|
a7705a2a1b
|
liquidator: Allow overriding compute limit for potentially costly ix (#669)
|
2023-08-09 15:26:13 +02:00 |
microwavedcola1
|
25a90580fd
|
Fix group in script
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-09 15:01:19 +02:00 |
Christian Kamm
|
e4a9a56f89
|
Pass all params to token_register (#665)
Makes governance a little easier
|
2023-08-09 13:55:53 +02:00 |
Maximilian Schneider
|
e4162a8281
|
Leverage & Balance Sheet helpers (#637)
|
2023-08-09 13:54:09 +02:00 |
microwavedcola1
|
9a2433263d
|
Disallowing PDA token owners currently causes errors when the user wallet is a Smart Wallet (PDA). Fix that
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-09 13:32:03 +02:00 |
Christian Kamm
|
6dcd5c925c
|
FlashLoan swaps: Allow charging a fee (#660)
To give more flexibility to the DAO.
The fee is deducted from any deposits that happen during the flash loan
and controlled per-bank with TokenEdit.
|
2023-08-09 13:27:25 +02:00 |
Christian Kamm
|
faa0649c6a
|
Fix program tests after temporary delegate addition
|
2023-08-09 13:18:28 +02:00 |
microwavedcola1
|
8d924a8b9b
|
Delegate with expiry (#663)
* delegate with expiry
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* update idl
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>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-09 12:05:16 +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
|
4810b6afbc
|
Tcs: store a display-only intention enum (#667)
This way the ui can know what the user created the tcs order for.
Introduces tcs create and trigger v2 logs.
|
2023-08-08 18:16:59 +02:00 |
microwavedcola1
|
6d83741300
|
v0.18.14
|
2023-08-08 15:00:29 +02:00 |
microwavedcola1
|
5755480248
|
threshold price ui helper for tcs in ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-08 14:59:43 +02:00 |
microwavedcola1
|
b40a4e7e9e
|
v0.18.13
|
2023-08-08 14:11:49 +02:00 |
microwavedcola1
|
cb3159811c
|
Fix max sell in tcs client code
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-08 14:11:11 +02:00 |
Christian Kamm
|
785e6353c1
|
Fix compile after merges
|
2023-08-08 10:36:21 +02:00 |
Christian Kamm
|
774c67909e
|
Tcs: Use fees config from Bank instead of Group (#659)
To give more flexibility to the DAO, the maximum tcs fees from
the buy and sell banks will be used.
|
2023-08-08 10:21:13 +02:00 |
microwavedcola1
|
ada933453e
|
v0.18.12
|
2023-08-08 08:25:00 +02:00 |
microwavedcola1
|
f46c633a4f
|
Fix max number
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2023-08-08 08:24:20 +02:00 |
Christian Kamm
|
4f810edebc
|
Allow token withdraws/deposits even with stale oracles (#646)
|
2023-08-07 16:15:45 +02:00 |
microwavedcola1
|
688a632d53
|
v0.18.11
|
2023-08-07 13:14:26 +02:00 |
microwavedcola1
|
4c083a9a56
|
ts client: fix getMaxWithdrawWithBorrowForToken (#664)
* fix max withdraw amount, wasnt taking into account scaled weights
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-08-07 13:12:37 +02:00 |