Commit Graph

705 Commits

Author SHA1 Message Date
Geoff Taylor 0554a15854 Fixed string names of some marketmaker elements. 2022-01-20 09:21:22 +00:00
Geoff Taylor 7d0b65e926 Updated cancel-my-orders to use CANCEL_ALL_PERPS instruction if possible. 2022-01-19 19:54:25 +00:00
Geoff Taylor 2abb75f20c Removed Solana CLI from Dockerfile. 2022-01-19 19:24:14 +00:00
Geoff Taylor 117d709ca6 Added ConnectionError to list of exceptions that switch RPC providers. 2022-01-19 19:23:18 +00:00
Geoff Taylor 440a7bc613 Added generate-keypair command. 2022-01-19 14:35:00 +00:00
Geoff Taylor 3c048cf3b6 Updated dependencies. 2022-01-19 12:12:00 +00:00
Geoff Taylor 47625ed492 Deleted fetch-price. 2022-01-19 12:11:46 +00:00
Geoff Taylor 3133d5ba15 Renamed fetch-price to show-price 2022-01-19 12:11:19 +00:00
Geoff Taylor 8ad9033948 Fixed Pyth oracle to use different (new?) symbol naming convention on devnet. 2022-01-19 12:09:59 +00:00
Geoff Taylor f1b14acdcf Added instructions and commands for account delegation. 2022-01-18 17:51:11 +00:00
Geoff Taylor f9b7d7b03f Updated Account layout for v3.3. 2022-01-18 14:35:01 +00:00
Geoff Taylor ad8f8efd47 Updated Group layout for v3.3. 2022-01-18 12:09:15 +00:00
Geoff Taylor 542143975c Changed build_create_account_instructions to use CREATE_MANGO_ACCOUNT instead of INIT_MANGO_ACCOUNT. 2022-01-18 11:25:26 +00:00
Geoff Taylor 9021b619e2 Fixed Dockerfile so curl is installed before use. 2022-01-17 12:19:17 +00:00
Geoff Taylor cd30355ace Added passive-aggressive logging of time take looking for transaction results. 2022-01-15 18:43:14 +00:00
Geoff Taylor 77cc77eedc Added better logging for cancelling all perp orders. 2022-01-15 15:47:14 +00:00
Geoff Taylor 548945cf17 Marketmaker now uses perp's CANCEL_ALL if it's cancelling all orders on a perp market. 2022-01-14 18:32:47 +00:00
Geoff Taylor 1c42e59609 Added note to documentation on how to disable stale data checks. 2022-01-14 17:47:08 +00:00
Geoff Taylor a96099511d Added an AlwaysReplaceOrderReconciler. 2022-01-14 17:44:07 +00:00
Geoff Taylor d0d9fc45c1 Changed transaction reporting to run on a threadpool instead of creating a thread each time. 2022-01-14 17:36:01 +00:00
Geoff Taylor 3ef9295c31 Added CANCEL_ALL_PERPS instruction and a transaction reporter. 2022-01-14 17:18:31 +00:00
Geoff Taylor 73e422f796 Streamlined use of CompoundException. 2022-01-12 15:04:03 +00:00
Geoff Taylor c670853523 Improved symbol comparisons for Instruments, Tokens and Markets. 2022-01-12 14:51:30 +00:00
Geoff Taylor ced9d209d8 Replaced NamedTuples with dataclasses. 2022-01-12 14:04:54 +00:00
Geoff Taylor c9db50d07a v3.2.17 2022-01-11 19:43:03 +00:00
Geoff Taylor 4c31d05a13 Added description of some health calculation from ckamm in comment. 2022-01-11 19:39:25 +00:00
Geoff Taylor 3695dd20fb Added documentation for common parameters. 2022-01-11 19:35:12 +00:00
Geoff Taylor 5db9dfbd30 Another attempt at making Bandit happy. 2022-01-11 15:45:28 +00:00
Geoff Taylor 56cb69fe4d Another attempt at finding the right line to tell Bandit to allow 'pass'. 2022-01-11 15:24:36 +00:00
Geoff Taylor 2d24d6f74e Trying again to get Bandit to accept the false positive. 2022-01-11 15:20:15 +00:00
Geoff Taylor c07216a224 Marked a Bandit B110 false positive to be ignored. 2022-01-11 14:58:11 +00:00
Geoff Taylor 78921bd543 Removed assertions from layouts, replaced with Exceptions. 2022-01-11 14:53:36 +00:00
Geoff Taylor bd35dc7fb4 Export TransactionAlreadyProcessedException and StaleSlotException. 2022-01-11 14:43:14 +00:00
Geoff Taylor d8ffa03491 Refactored to use mango.output() consistently instead of print(). 2022-01-11 14:36:08 +00:00
Geoff Taylor 6352844ed1 Improved perp cranking and added public key sorting tests. 2022-01-11 12:24:15 +00:00
Geoff Taylor 59394060e9 Merge branch 'main' of https://github.com/blockworks-foundation/mango-explorer into main 2022-01-11 12:21:13 +00:00
Geoff Taylor 047193c864 Updated docker base image to a slimmer, more up-to-date version. 2022-01-11 12:20:38 +00:00
Geoff Taylor b33ea6f6db
Merge pull request #26 from silas-x/main
Automated security scanning
2022-01-11 10:25:29 +00:00
Geoff Taylor 52e9201074 Improved sorting of public keys, and added test to make sure our sort order matches Rust's. 2022-01-10 14:38:05 +00:00
Geoff Taylor f652ebfede Updated to very latest SPL tokenlist. 2022-01-09 19:53:37 +00:00
Geoff Taylor 7b2479829b
Merge pull request #27 from kronael/20220109_tokenslist_update
Update solana.tokenslist.json
2022-01-09 19:49:41 +00:00
Ondrej Vostal 0990ce12e2 Update solana.tokenslist.json
Mainly because AVAX, LUNA, BNB SPOT markets added to Mango.
2022-01-09 20:27:16 +01:00
Geoff Taylor 6292c089c2 v3.2.16 2022-01-09 19:12:08 +00:00
Geoff Taylor 7ed89c364a Updated ids.json for new spot markets. 2022-01-09 19:11:20 +00:00
silas 7e22864f54
Including Bandit 2022-01-09 17:57:35 +00:00
silas 0a43ab4fe0
Syntax fix 2022-01-09 17:51:37 +00:00
silas f73df4574e
New feature: dockerfile lint 2022-01-09 17:43:21 +00:00
silas bcda27443f
Create trivy-scan.yml 2022-01-08 19:13:20 +00:00
silas 7697cc3dad
Create codeql-scan.yml 2022-01-08 19:12:47 +00:00
Geoff Taylor 63d930e27c v3.2.15 2022-01-08 17:40:24 +00:00