From f31c6c7ed6774f7306f9a819ec26a5aac32c55b7 Mon Sep 17 00:00:00 2001 From: emizzle Date: Wed, 8 Apr 2020 09:51:10 +1000 Subject: [PATCH] chore: readme update --- README.md | 17 +++++++---------- package.json | 4 ++-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 63e17d8..7daeb91 100644 --- a/README.md +++ b/README.md @@ -46,20 +46,14 @@ Bank.sol 14:28 warning A call to a user-supplied address is executed https://swcregistry.io/docs/SWC-107 1:0 warning A floating pragma is set https://swcregistry.io/docs/SWC-103 - - -1:0 warning You are running MythX in free mode. Analysis depth is limited in this mode so some issues might not be detected. Upgrade to a Dev or Pro plan to unlock in-depth analysis and higher rate limits. https://mythx.io/plans N/A - -✖ 4 problems (1 error, 3 warnings) +✖ 3 problems (1 error, 2 warnings) Rendering Hack analysis report... Hack.sol 1:0 warning A floating pragma is set https://swcregistry.io/SWC-registry/docs/SWC-103 - - -1:0 warning You are running MythX in free mode. Analysis depth is limited in this mode so some issues might not be detected. Upgrade to a Dev or Pro plan to unlock in-depth analysis and higher rate limits. https://mythx.io/plans N/A - -✖ 2 problems (0 errors, 2 warnings) +✖ 1 problem (0 errors, 1 warning) Done! ``` @@ -109,7 +103,7 @@ Verify options -c, --no-cache-lookup Deactivate MythX cache lookups (default: false). -d, --debug Print MythX API request and response. -l, --limit number Maximum number of concurrent analyses (default: 10). - --timeout number Timeout in secs to wait for analysis to finish (default: smart default based + -t, --timeout number Timeout in secs to wait for analysis to finish (default: smart default based on mode). ``` @@ -120,10 +114,13 @@ Verify options $ verify # 'ERC20' and 'Ownable' full analysis -$ verify ERC20 Ownable --full +$ verify --mode full ERC20 Ownable # Check status of previous or ongoing analysis $ verify status ef5bb083-c57a-41b0-97c1-c14a54617812 + +# Get list of 20 previous analyses +$ verify list ``` ## `embark-mythx` Development diff --git a/package.json b/package.json index 23cc3b8..b817e6c 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "embark", "embark-plugin", "mythx", - "smart contract", - "security analysis", + "smart-contract", + "security-analysis", "solidity" ], "main": "dist/index.js",