sol2uml 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/parserEtherscan.d.ts +1 -1
- package/lib/parserEtherscan.js +1 -0
- package/lib/sol2uml.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ Options:
|
|
|
53
53
|
-f, --outputFormat <value> output file format. (choices: "svg", "png", "dot", "all", default: "svg")
|
|
54
54
|
-o, --outputFileName <value> output file name
|
|
55
55
|
-i, --ignoreFilesOrFolders <filesOrFolders> comma separated list of files or folders to ignore
|
|
56
|
-
-n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", default: "mainnet")
|
|
56
|
+
-n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", default: "mainnet")
|
|
57
57
|
-k, --apiKey <key> Etherscan, Polygonscan or BscScan API key
|
|
58
58
|
-v, --verbose run with debugging statements (default: false)
|
|
59
59
|
-h, --help display help for command
|
|
@@ -195,7 +195,7 @@ A Solidity variable becomes an attribute in UML and a Solidity function becomes
|
|
|
195
195
|
|
|
196
196
|
* event
|
|
197
197
|
* modifier
|
|
198
|
-
* abstract -
|
|
198
|
+
* abstract - if there is no function body on a contract, the operator is marked as abstract. Operators on an Interface do not have an abstract stereotype as all operators are abstract.
|
|
199
199
|
* fallback - abstract fallback functions will just have an abstract stereotype.
|
|
200
200
|
* payable - payable fallback functions will just have a fallback stereotype.
|
|
201
201
|
|
package/lib/parserEtherscan.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ASTNode } from '@solidity-parser/parser/dist/src/ast-types';
|
|
2
2
|
import { UmlClass } from './umlClass';
|
|
3
|
-
declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "polygon", "bsc", "arbitrum"];
|
|
3
|
+
declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", "polygon", "bsc", "arbitrum"];
|
|
4
4
|
declare type Network = typeof networks[number];
|
|
5
5
|
export declare class EtherscanParser {
|
|
6
6
|
protected apikey: string;
|
package/lib/parserEtherscan.js
CHANGED
package/lib/sol2uml.js
CHANGED