Commit Graph

695 Commits

Author SHA1 Message Date
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
Geoff Taylor fa47956fa0 Fixed incorrect market index for MATIC-PERP on devnet.2. 2022-01-08 17:38:48 +00:00
Geoff Taylor 627a68a166 Found an account where our calculations didn't match reality, so fixed bug and added it to testdata. 2022-01-08 17:34:32 +00:00
Geoff Taylor 70efa5f869 Removed include_unsettled_quote parameter in health calculation. 2022-01-07 17:40:48 +00:00
Geoff Taylor 547ba1fe05 Added debug log of transaction signature. 2022-01-07 17:40:17 +00:00
Geoff Taylor 339f77d2ec Renamed version command mango-explorer-version to avoid naming conflict. 2022-01-06 18:00:50 +00:00
Geoff Taylor 716f5cba51 v3.2.14 2022-01-06 16:42:04 +00:00
Geoff Taylor d8e61625cf Preliminary use of DataFrame calculations on Accounts. 2022-01-06 16:34:18 +00:00
Geoff Taylor 3947e337bc v3.2.13 2022-01-04 10:06:57 +00:00
Geoff Taylor 92929f213e Updated ids.json with mainnet LUNA-PERP market. 2022-01-04 10:06:28 +00:00
Geoff Taylor 33391a3756 v3.2.12 2021-12-31 12:34:54 +00:00