-
Notifications
You must be signed in to change notification settings - Fork 0
/
genesis.json
executable file
·234 lines (234 loc) · 8.76 KB
/
genesis.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"initial_timestamp": "2019-03-25T03:14:55",
"max_core_supply": "1000000000000000000",
"initial_parameters": {
"current_fees": {
"parameters": [],
"scale": 10000,
"maximun_handling_fee": 10000000
},
"block_interval": 2,
"maintenance_interval": 1800,
"maintenance_skip_slots": 3,
"committee_proposal_review_period": 1200,
"maximum_block_size": 2000000,
"maximum_time_until_expiration": 86400,
"maximum_proposal_lifetime": 2419200,
"maximum_asset_feed_publishers": 10,
"witness_number_of_election": 11,
"committee_number_of_election": 11,
"maximum_authority_membership": 10,
"cashback_gas_period_seconds": 86400,
"cashback_vb_period_seconds" : 3600,
"cashback_vote_period_seconds" :7200,
"witness_pay_per_block": 1000000,
"witness_pay_vesting_seconds": 86400,
"worker_budget_per_day": "50000000000",
"accounts_per_fee_scale": 1000,
"account_fee_scale_bitshifts": 4,
"max_authority_depth": 2,
"maximum_run_time_ratio": 5000,
"maximum_nh_asset_order_expiration": 1209600,
"assigned_task_life_cycle": 300,
"crontab_suspend_threshold": 3,
"crontab_suspend_expiration": 2592000,
"witness_candidate_freeze": "10000000000",
"committee_candidate_freeze": "10000000000",
"candidate_award_budget": "10000000000",
"committee_percent_of_candidate_award": 5500,
"unsuccessful_candidates_percent": 1000,
"extensions": []
},
"initial_accounts": [{
"name": "init0",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init1",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init2",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init3",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init4",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init5",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init6",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init7",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init8",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init9",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "init10",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": true
},{
"name": "nicotest",
"owner_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"active_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf",
"is_lifetime_member": false
}
],
"initial_assets": [],
"initial_address_balances": [{
"owner": "COCOS48G3hk62q4rykYTTaSFiMLEFrAGWwNdUk",
"asset_symbol": "COCOS",
"amount": "500000000000000000"
}
],
"initial_account_balances":[{
"owner_name":"init0",
"asset_symbol":"COCOS",
"amount":100000000000
},
{
"owner_name":"init1",
"asset_symbol":"COCOS",
"amount":100000000000
},
{
"owner_name":"init2",
"asset_symbol":"COCOS",
"amount":100000000000
},
{
"owner_name":"init3",
"asset_symbol":"COCOS",
"amount":100090000000
},
{
"owner_name":"init4",
"asset_symbol":"COCOS",
"amount":100080000000
},
{
"owner_name":"init5",
"asset_symbol":"COCOS",
"amount":100600000000
},
{
"owner_name":"init6",
"asset_symbol":"COCOS",
"amount":105000000000
},
{
"owner_name":"init7",
"asset_symbol":"COCOS",
"amount":110000000000
},
{
"owner_name":"init8",
"asset_symbol":"COCOS",
"amount":102000000000
},
{
"owner_name":"init9",
"asset_symbol":"COCOS",
"amount":100540000000
},
{
"owner_name":"init10",
"asset_symbol":"COCOS",
"amount":100340000000
}
],
"initial_vesting_balances": [],
"initial_active_witnesses": 11,
"initial_witness_candidates": [{
"owner_name": "init0",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init1",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init2",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init3",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init4",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init5",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init6",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init7",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init8",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init9",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
},{
"owner_name": "init10",
"block_signing_key": "COCOS7yE9skpBAirth3eSNMRtwq1jYswEE3uSbbuAtXTz88HtbpQsZf"
}
],
"initial_committee_candidates": [{
"owner_name": "init0"
},{
"owner_name": "init1"
},{
"owner_name": "init2"
},{
"owner_name": "init3"
},{
"owner_name": "init4"
},{
"owner_name": "init5"
},{
"owner_name": "init6"
},{
"owner_name": "init7"
},{
"owner_name": "init8"
},{
"owner_name": "init9"
},{
"owner_name": "init10"
}
],
"initial_contract_base": "local baseENV={ cjson=cjson,date=os.date,import_contract=import_contract,get_account_contract_data=get_account_contract_data, assert=assert, next=next, pairs=pairs, pcall=pcall, print=print, select=select, tonumber=tonumber, tostring=tostring, type=type, unpack=unpack, _VERSION=_VERSION, xpcall=xpcall, coroutine={ create=coroutine.create, resume=coroutine.resume, running=coroutine.running, status=coroutine.status, wrap=coroutine.wrap, yield=coroutine.yield }, string={ byte=string.byte, char=string.char, find=string.find, format=string.format, gmatch=string.gmatch, gsub=string.gsub, len=string.len, lower=string.lower, match=string.match, rep=string.rep, reverse=string.reverse, sub=string.sub, upper=string.upper }, table={ insert=table.insert, maxn=table.maxn, remove=table.remove, sort=table.sort, concat=table.concat }, math={ abs=math.abs, acos=math.acos, asin=math.asin, atan=math.atan, atan2=math.atan2, ceil=math.ceil, cos=math.cos, cosh=math.cosh, deg=math.deg, exp=math.exp, floor=math.floor, fmod=math.fmod, frexp=math.frexp, huge=math.huge, ldexp=math.ldexp, log=math.log, log10=math.log10, max=math.max, min=math.min, modf=math.modf, pi=math.pi, pow=math.pow, rad=math.rad,sin=math.sin, sinh=math.sinh, sqrt=math.sqrt,tan=math.tan, tanh=math.tanh } } return baseENV",
"initial_chain_id": "401d46c4f994b18103febbd72c32a2e6b564f9fcb52f9e7250901f9dca73d087",
"immutable_parameters": {
"min_committee_member_count": 11,
"min_witness_count": 11
}
}