Commit Graph

64 Commits

Author SHA1 Message Date
Riordan Panayides ee33ff2a90 Upgrade mango-client to use Pyth oracle 2022-08-02 13:06:13 +01:00
Maximilian Schneider 51c4cbadc5 fix bug in liquidator preventing liquidation 2021-10-15 19:13:21 +00:00
Tyler Shipe f6bbd01e70 use latest client v 2.1.5 2021-09-10 13:04:20 -04:00
dd 7e0e989ba7 pushing actual reimburse.ts file used to reimburse 2021-09-01 11:03:41 -04:00
Tyler Shipe 5e297dfa84 add reimburse script 2021-08-27 00:45:10 -04:00
dd 60c2f2ceaa Merge remote-tracking branch 'origin/main' into main 2021-08-26 18:52:31 -04:00
dd 9012b04650 fixed bug 2021-08-26 18:52:27 -04:00
Drew Aquino 727caaf3b4 added dotenv to automate reading .env file, updated readme 2021-07-22 18:01:20 +02:00
dd 266f1e15be Send partial liquidate instruction just to force settle borrow 2021-06-22 09:55:48 -04:00
dd c5cfcad99a Send partial liquidate instruction just to force settle borrow 2021-06-22 09:33:17 -04:00
dd ecd854f601 added referrer rebates accrued to calculations 2021-06-22 09:25:17 -04:00
dd 2950e7c7b8 fixed minNetIndex bug 2021-06-22 09:17:36 -04:00
dd 8e9e5ff436 fixed minNetIndex bug 2021-06-22 09:15:00 -04:00
dd 1050481b74 fixed minNetIndex bug 2021-06-22 09:14:15 -04:00
dd 60ab5d1b03 added shuffling of margin accounts 2021-06-22 08:53:51 -04:00
dd a3fabb5814 updated min threshold for liq, and upgraded mango client 2021-06-22 08:47:54 -04:00
dd 2b9432823c upgrade mango client 2021-06-12 17:32:46 -04:00
Maximilian Schneider ba1a874ebb
5 tokens (#6)
* Get token decimals by index
* Update default mango group
* Update readme
* Add account filtering behind feature flag
* prettier; changed the default loading for targets
* updated version number and fixed updating of min coll ratio account

Co-authored-by: Riordan Panayides <riordan@panayid.es>
Co-authored-by: dd <dafydd.durairaj@gmail.com>
2021-06-11 15:53:17 -04:00
Maximilian Schneider 39b5ab3b4f
Improve serum dex account management (#4)
* Cancel orders before rebalance
* Prevent race-condition after settling funds
* Update dependencies
2021-05-14 05:10:46 +03:00
dafyddd 870002bdc9
Merge pull request #3 from blockworks-foundation/add-openorders-errorhandling
Add better error handling for missing openOrders accounts
2021-04-30 13:00:56 -04:00
Riordan Panayides caba812668 Add better error handling for missing openOrders accounts, make readme more helpful 2021-04-30 13:49:48 +01:00
Maximilian Schneider ffa4b39091 crank.sh logs now to a logfile 2021-04-28 17:09:03 +00:00
dd b68840c194 updated waiting 2021-04-22 17:04:33 -04:00
dd 2087f73da2 updated package.json 2021-04-22 17:01:44 -04:00
dd 17edf431f5 added time to sleep before getting accounts 2021-04-22 17:00:48 -04:00
dd de6940d057 cleaned up partial liquidator and readme 2021-04-18 10:10:30 -04:00
dd 682a90915b cleaned up partial liquidator and readme 2021-04-18 10:08:44 -04:00
dd 2427a4974a sleep time 2021-04-17 23:56:24 -04:00
dd e2051eda6f decreased liabs val thresh 2021-04-17 23:54:47 -04:00
dd 3ad720ac33 reduced sleep time 2021-04-17 23:39:13 -04:00
dd c6bd2d27a5 increased limit for partial liquidator to take care of larger 2021-04-17 23:24:51 -04:00
dd d28d0a1b60 Liquidator only liquidates when it has enough funds 2021-04-15 10:39:09 -04:00
dd 5d1b14eabd updated liquidator to only try to deposit what it has in wallet 2021-04-15 10:24:29 -04:00
dd 884134f647 fixed loop bug 2021-04-14 17:48:32 -04:00
dd e1b15ce01e added better logging for partial liquidator; removed infinite loop for liquidating in partial and full liquidator 2021-04-14 17:41:15 -04:00
dd 5150f86c2a updated readme to add instructions on partial liquidator 2021-04-10 17:29:35 -04:00
dd 93223de012 removed devnet tokenDecimalAdj 2021-04-09 20:25:53 -04:00
dd 4f9b9a4615 fixed issue with delayed token wallet updating 2021-04-09 19:47:57 -04:00
dd ce3e07a8d7 added targets 2021-04-09 17:37:10 -04:00
dd 68564b7fec package json pointing to mango client npm package 2021-04-09 16:42:02 -04:00
dd 84e0f9f7b7 Finished partial liquidator 2021-04-09 16:18:06 -04:00
dd d92212723a Now force canceling with up to 10 instructions in the partial liq transaction 2021-04-07 20:54:06 -04:00
dd fd1dc9d344 running version of partial liquidator 2021-04-06 20:43:51 -04:00
dd 09e4b9871b fixed liquidator bug 2021-04-05 14:11:23 -04:00
dd 948da75f57 fixed spl-token accounts command 2021-04-05 13:22:06 -04:00
dd a4e6cc16d5 updated crank 2021-04-05 11:53:02 -04:00
dd 748c3db38a updated crank 2021-04-05 11:51:23 -04:00
dd 09eef5a0bf updated crank 2021-04-05 11:40:43 -04:00
dd b9473d67b3 updated crank to use devnet url 2021-04-05 11:38:10 -04:00
dd ac3327dab7 updated crank.sh 2021-03-29 16:16:44 -04:00