-
Notifications
You must be signed in to change notification settings - Fork 1
/
cli.schema.json
137 lines (137 loc) · 3.61 KB
/
cli.schema.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"$id": "ICliConfig",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"definitions": {},
"properties": {
"ethereum": {
"type": "object",
"properties": {
"endpoint": {
"type": "string",
"description": "Network endpoint URL"
},
"lockfilesDir": {
"type": "string",
"description": "Directory where contract deployment lock files stored"
},
"from": {
"type": "string",
"pattern": "^0x[a-zA-Z0-9]{40}$",
"description": "Network from address"
},
"gas": {
"type": "string",
"description": "Default Gas limit",
"pattern": "^\\d+(e\\d+)?$"
},
"gasPrice": {
"type": "string",
"description": "Default Gas price",
"pattern": "^\\d+(e\\d+)?$"
},
"BiometridsToken": {
"type": "object",
"description": "Biometrids token contract",
"properties": {
"schema": {
"type": "string",
"description": "Path to the contract schema"
},
"instance": {
"type": "string",
"pattern": "^0x[a-zA-Z0-9]{40}$",
"description" : "Address for deployed Token contract"
}
},
"required": [
"schema"
]
},
"IcoStagesPricingStrategy": {
"type": "object",
"description": "Ico stages pricing strategy contract",
"properties": {
"schema": {
"type": "string",
"description": "Path to the contract schema"
}
},
"required": [
"schema"
]
},
"CrowdSaleRefundVault": {
"type": "object",
"description": "Crowd sale refund vault contract",
"properties": {
"schema": {
"type": "string",
"description": "Path to the contract schema"
},
"wallet": {
"type": "string",
"pattern": "^0x[a-zA-Z0-9]{40}$",
"description": "wallet"
},
"instance": {
"type": "string",
"pattern": "^0x[a-zA-Z0-9]{40}$",
"description" : "Address for deployed Refund vault contract"
}
},
"required": [
"schema"
]
},
"CrowdSale": {
"type": "object",
"description": "Crowd sale contract",
"properties": {
"schema": {
"type": "string",
"description": "Path to the contract schema"
},
"tokens": {
"type": "string",
"description": "Tokens amount for ICO stage",
"pattern": "^\\d+(e\\d+)?$"
}
},
"required": [
"schema",
"tokens"
]
},
"IcoFinalizeAgent": {
"type": "object",
"description": "Ico finalize agent contract",
"properties": {
"schema": {
"type": "string",
"description": "Path to the contract schema"
}
},
"required": [
"schema"
]
}
},
"required": [
"endpoint",
"from",
"lockfilesDir",
"gas",
"gasPrice",
"BiometridsToken",
"IcoStagesPricingStrategy",
"CrowdSaleRefundVault",
"CrowdSale",
"IcoFinalizeAgent"
]
}
},
"required": [
"ethereum"
]
}