-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocgen-custom-markdown-extend.js
More file actions
36 lines (32 loc) · 1.6 KB
/
docgen-custom-markdown-extend.js
File metadata and controls
36 lines (32 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module.exports = function dataExtend() {
return {
'contracts/v2/NFTMain.sol': {
'description': [
'This it main part of NFT contract.',
].join("<br>"),
//'constructor':{'custom:shortd': 'part of ERC20'},
'exclude': [
'initialize',
// 'ADMIN_ROLE', 'DEFAULT_ADMIN_ROLE', 'REDEEM_ROLE', 'CIRCULATION_ROLE', 'CIRCULATION_DEFAULT',
// 'authorizeOperator',
// 'decimals',
// 'defaultOperators',
// 'tokensReceived',
// 'supportsInterface',
],
'fix': {
'baseURI': {'custom:shortd': 'global baseURI'},
'suffix': {'custom:shortd': 'global suffix'},
'commissionInfo': {'custom:shortd': 'global commission data '},
'costManager': {'custom:shortd': 'costManager address'},
'factory': {'custom:shortd': 'factory produced that instance'},
'mintedCountBySeries': {'custom:shortd': 'amount of tokens minted in certain series'},
'owner': {'custom:shortd': 'contract owner\'s address'},
'renounceOwnership': {'custom:calledby': 'owner', 'custom:shortd': 'leaves contract without owner'},
'seriesInfo': {'custom:shortd': 'series info'},
'transferOwnership': {'custom:shortd': 'Transfers ownership of the contract to a new account'},
'trustedForwarder': {'custom:shortd': 'trusted forwarder\'s address'},
},
},
};
}