-
Notifications
You must be signed in to change notification settings - Fork 0
/
Admin Functions Overview
69 lines (43 loc) · 1.26 KB
/
Admin Functions Overview
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//Admin Functions Overview
//Collection of all the Admin functions from MISO Markets
//Functions common for all the Markets
function finalize() public
/Manually finalizes the Crowdsale.
Requires Operator Role./
function setDocument(
bytes32 _name,
string calldata _uri,
bytes32 _documentHash
)
external
/Parameter
Description
_name
Name of the document. It should be unique always.
_uri
Off-chain uri of the document from where it is accessible to investors/advisors to read.
_documentHash
Hash (of the contents) of the document.
Used to attach a new document to the contract, or update the URI or hash of an existing attached document.
Requires Operator Role./
function removeDocument(bytes32 _name) external
/Parameter
Description
_name
Name of the document. It should be unique always.
Used to remove an existing document from the contract by giving the name of the document.
Requires Operator Role./
function setList(address _list) external
/Parameter
Description
_list
List address.
Sets a pointlist for the crowdsale.
Requires Operator Role./
function enableList(bool _status) external
/Parameter
Description
_status
Whether list is enabled or not.
Sets pointlist status - enabled or disabled.
Requires Operator Role./