ethereum-input-data-decode 0.4.2
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.
Potentially problematic release.
This version of ethereum-input-data-decode might be problematic. Click here for more details.
- package/.editorconfig +23 -0
- package/.gitattributes +2 -0
- package/.github/FUNDING.yml +2 -0
- package/.travis.yml +10 -0
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +283 -0
- package/bin/ethereum_input_data_decoder +3 -0
- package/cli.js +85 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +396 -0
- package/example/bundle.js +33425 -0
- package/example/index.html +1213 -0
- package/example/main.js +35 -0
- package/example/style.css +28 -0
- package/index.d.ts +19 -0
- package/index.js +362 -0
- package/package.json +60 -0
- package/test/cli_test.js +1 -0
- package/test/data/0x_exchange.json +882 -0
- package/test/data/0x_exchange_data.txt +1 -0
- package/test/data/1inch_exchange_v2_abi.json +404 -0
- package/test/data/1inch_exchange_v2_abi_no_eth.txt +1 -0
- package/test/data/1inch_exchange_v2_abi_with_eth.txt +1 -0
- package/test/data/PayableProxyForSoloMargin_abi.json +134 -0
- package/test/data/PayableProxyForSoloMargin_tx_data.txt +1 -0
- package/test/data/abi1.json +1171 -0
- package/test/data/abi1_input_data.txt +1 -0
- package/test/data/abi2.json +1 -0
- package/test/data/abi3.json +1 -0
- package/test/data/abi3_data.txt +1 -0
- package/test/data/abi4.json +2 -0
- package/test/data/abi4_data.txt +1 -0
- package/test/data/abi5.json +1 -0
- package/test/data/abi5_data.txt +1 -0
- package/test/data/abi6.json +1 -0
- package/test/data/abi6_data.txt +1 -0
- package/test/data/abi7.json +1 -0
- package/test/data/abi7_data.txt +1 -0
- package/test/data/contract_creation_data.txt +2 -0
- package/test/data/erc721_abi.json +1 -0
- package/test/data/erc721_transferfrom_tx_data.txt +1 -0
- package/test/data/set_exchange_issuance_lib.json +195 -0
- package/test/data/set_issuance.txt +1 -0
- package/test/index.js +628 -0
- package/tsconfig.json +27 -0
@@ -0,0 +1,1171 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"constant": false,
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"name": "newAddr",
|
7
|
+
"type": "address"
|
8
|
+
}
|
9
|
+
],
|
10
|
+
"name": "setFoundationWallet",
|
11
|
+
"outputs": [],
|
12
|
+
"payable": false,
|
13
|
+
"type": "function"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"constant": true,
|
17
|
+
"inputs": [],
|
18
|
+
"name": "name",
|
19
|
+
"outputs": [
|
20
|
+
{
|
21
|
+
"name": "",
|
22
|
+
"type": "string"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"payable": false,
|
26
|
+
"type": "function"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"constant": true,
|
30
|
+
"inputs": [],
|
31
|
+
"name": "totalUnrestrictedAssignments",
|
32
|
+
"outputs": [
|
33
|
+
{
|
34
|
+
"name": "",
|
35
|
+
"type": "uint256"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"payable": false,
|
39
|
+
"type": "function"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"constant": true,
|
43
|
+
"inputs": [],
|
44
|
+
"name": "getState",
|
45
|
+
"outputs": [
|
46
|
+
{
|
47
|
+
"name": "",
|
48
|
+
"type": "uint8"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"payable": false,
|
52
|
+
"type": "function"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"constant": true,
|
56
|
+
"inputs": [],
|
57
|
+
"name": "round0StartTime",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"name": "",
|
61
|
+
"type": "uint256"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"payable": false,
|
65
|
+
"type": "function"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"constant": true,
|
69
|
+
"inputs": [],
|
70
|
+
"name": "round0Target",
|
71
|
+
"outputs": [
|
72
|
+
{
|
73
|
+
"name": "",
|
74
|
+
"type": "uint256"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"payable": false,
|
78
|
+
"type": "function"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"constant": true,
|
82
|
+
"inputs": [],
|
83
|
+
"name": "minDonation",
|
84
|
+
"outputs": [
|
85
|
+
{
|
86
|
+
"name": "",
|
87
|
+
"type": "uint256"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"payable": false,
|
91
|
+
"type": "function"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"constant": true,
|
95
|
+
"inputs": [
|
96
|
+
{
|
97
|
+
"name": "",
|
98
|
+
"type": "address"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"name": "weiDonated",
|
102
|
+
"outputs": [
|
103
|
+
{
|
104
|
+
"name": "",
|
105
|
+
"type": "uint256"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"payable": false,
|
109
|
+
"type": "function"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"constant": false,
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"name": "x",
|
116
|
+
"type": "uint256"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "a",
|
120
|
+
"type": "uint256"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"name": "b",
|
124
|
+
"type": "uint256"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "multFracCeiling",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"name": "",
|
131
|
+
"type": "uint256"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"payable": false,
|
135
|
+
"type": "function"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"constant": true,
|
139
|
+
"inputs": [],
|
140
|
+
"name": "totalRestrictedTokens",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"name": "",
|
144
|
+
"type": "uint256"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"payable": false,
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"constant": true,
|
152
|
+
"inputs": [],
|
153
|
+
"name": "round1BonusSteps",
|
154
|
+
"outputs": [
|
155
|
+
{
|
156
|
+
"name": "",
|
157
|
+
"type": "uint256"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"payable": false,
|
161
|
+
"type": "function"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"constant": false,
|
165
|
+
"inputs": [
|
166
|
+
{
|
167
|
+
"name": "newAuth",
|
168
|
+
"type": "address"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"name": "setExchangeRateAuth",
|
172
|
+
"outputs": [],
|
173
|
+
"payable": false,
|
174
|
+
"type": "function"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"constant": true,
|
178
|
+
"inputs": [],
|
179
|
+
"name": "round1StartTime",
|
180
|
+
"outputs": [
|
181
|
+
{
|
182
|
+
"name": "",
|
183
|
+
"type": "uint256"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"payable": false,
|
187
|
+
"type": "function"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"constant": true,
|
191
|
+
"inputs": [],
|
192
|
+
"name": "round1EndTime",
|
193
|
+
"outputs": [
|
194
|
+
{
|
195
|
+
"name": "",
|
196
|
+
"type": "uint256"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
"payable": false,
|
200
|
+
"type": "function"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"constant": true,
|
204
|
+
"inputs": [],
|
205
|
+
"name": "maxRoundDelay",
|
206
|
+
"outputs": [
|
207
|
+
{
|
208
|
+
"name": "",
|
209
|
+
"type": "uint256"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"payable": false,
|
213
|
+
"type": "function"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"constant": true,
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"name": "n",
|
220
|
+
"type": "uint256"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "getPhaseStartTime",
|
224
|
+
"outputs": [
|
225
|
+
{
|
226
|
+
"name": "",
|
227
|
+
"type": "uint256"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"payable": false,
|
231
|
+
"type": "function"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"constant": true,
|
235
|
+
"inputs": [
|
236
|
+
{
|
237
|
+
"name": "time",
|
238
|
+
"type": "uint256"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"name": "getMultiplierAtTime",
|
242
|
+
"outputs": [
|
243
|
+
{
|
244
|
+
"name": "",
|
245
|
+
"type": "uint256"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"payable": false,
|
249
|
+
"type": "function"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"constant": true,
|
253
|
+
"inputs": [
|
254
|
+
{
|
255
|
+
"name": "id",
|
256
|
+
"type": "uint256"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"name": "targetReached",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"name": "",
|
263
|
+
"type": "bool"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"payable": false,
|
267
|
+
"type": "function"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"constant": false,
|
271
|
+
"inputs": [
|
272
|
+
{
|
273
|
+
"name": "addr",
|
274
|
+
"type": "address"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"name": "finalize",
|
278
|
+
"outputs": [],
|
279
|
+
"payable": false,
|
280
|
+
"type": "function"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"constant": true,
|
284
|
+
"inputs": [],
|
285
|
+
"name": "assignmentsClosed",
|
286
|
+
"outputs": [
|
287
|
+
{
|
288
|
+
"name": "",
|
289
|
+
"type": "bool"
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"payable": false,
|
293
|
+
"type": "function"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"constant": true,
|
297
|
+
"inputs": [
|
298
|
+
{
|
299
|
+
"name": "",
|
300
|
+
"type": "uint256"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
"name": "donorList",
|
304
|
+
"outputs": [
|
305
|
+
{
|
306
|
+
"name": "",
|
307
|
+
"type": "address"
|
308
|
+
}
|
309
|
+
],
|
310
|
+
"payable": false,
|
311
|
+
"type": "function"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"constant": true,
|
315
|
+
"inputs": [],
|
316
|
+
"name": "phaseLength",
|
317
|
+
"outputs": [
|
318
|
+
{
|
319
|
+
"name": "",
|
320
|
+
"type": "uint256"
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"payable": false,
|
324
|
+
"type": "function"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"constant": false,
|
328
|
+
"inputs": [
|
329
|
+
{
|
330
|
+
"name": "addr",
|
331
|
+
"type": "address"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"name": "timestamp",
|
335
|
+
"type": "uint256"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"name": "chfCents",
|
339
|
+
"type": "uint256"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"name": "currency",
|
343
|
+
"type": "string"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"name": "memo",
|
347
|
+
"type": "bytes32"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"name": "registerOffChainDonation",
|
351
|
+
"outputs": [],
|
352
|
+
"payable": false,
|
353
|
+
"type": "function"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"constant": true,
|
357
|
+
"inputs": [],
|
358
|
+
"name": "gracePeriodAfterRound1Target",
|
359
|
+
"outputs": [
|
360
|
+
{
|
361
|
+
"name": "",
|
362
|
+
"type": "uint256"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"payable": false,
|
366
|
+
"type": "function"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"constant": true,
|
370
|
+
"inputs": [],
|
371
|
+
"name": "totalRestrictedAssignments",
|
372
|
+
"outputs": [
|
373
|
+
{
|
374
|
+
"name": "",
|
375
|
+
"type": "uint256"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"payable": false,
|
379
|
+
"type": "function"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"constant": true,
|
383
|
+
"inputs": [],
|
384
|
+
"name": "burnMultNom",
|
385
|
+
"outputs": [
|
386
|
+
{
|
387
|
+
"name": "",
|
388
|
+
"type": "uint256"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"payable": false,
|
392
|
+
"type": "function"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"constant": true,
|
396
|
+
"inputs": [],
|
397
|
+
"name": "foundationWallet",
|
398
|
+
"outputs": [
|
399
|
+
{
|
400
|
+
"name": "",
|
401
|
+
"type": "address"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"payable": false,
|
405
|
+
"type": "function"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"constant": true,
|
409
|
+
"inputs": [],
|
410
|
+
"name": "gracePeriodAfterRound0Target",
|
411
|
+
"outputs": [
|
412
|
+
{
|
413
|
+
"name": "",
|
414
|
+
"type": "uint256"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"payable": false,
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"constant": true,
|
422
|
+
"inputs": [],
|
423
|
+
"name": "finalizeStartTime",
|
424
|
+
"outputs": [
|
425
|
+
{
|
426
|
+
"name": "",
|
427
|
+
"type": "uint256"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"payable": false,
|
431
|
+
"type": "function"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"constant": true,
|
435
|
+
"inputs": [],
|
436
|
+
"name": "finalizeEndTime",
|
437
|
+
"outputs": [
|
438
|
+
{
|
439
|
+
"name": "",
|
440
|
+
"type": "uint256"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"payable": false,
|
444
|
+
"type": "function"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"constant": true,
|
448
|
+
"inputs": [
|
449
|
+
{
|
450
|
+
"name": "donationRound",
|
451
|
+
"type": "uint256"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"name": "dfnAddr",
|
455
|
+
"type": "address"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"name": "fwdAddr",
|
459
|
+
"type": "address"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"name": "getStatus",
|
463
|
+
"outputs": [
|
464
|
+
{
|
465
|
+
"name": "currentState",
|
466
|
+
"type": "uint8"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"name": "fxRate",
|
470
|
+
"type": "uint256"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"name": "currentMultiplier",
|
474
|
+
"type": "uint256"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"name": "donationCount",
|
478
|
+
"type": "uint256"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"name": "totalTokenAmount",
|
482
|
+
"type": "uint256"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"name": "startTime",
|
486
|
+
"type": "uint256"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"name": "endTime",
|
490
|
+
"type": "uint256"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"name": "isTargetReached",
|
494
|
+
"type": "bool"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"name": "chfCentsDonated",
|
498
|
+
"type": "uint256"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"name": "tokenAmount",
|
502
|
+
"type": "uint256"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"name": "fwdBalance",
|
506
|
+
"type": "uint256"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"name": "donated",
|
510
|
+
"type": "uint256"
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"payable": false,
|
514
|
+
"type": "function"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"constant": true,
|
518
|
+
"inputs": [],
|
519
|
+
"name": "burnMultDen",
|
520
|
+
"outputs": [
|
521
|
+
{
|
522
|
+
"name": "",
|
523
|
+
"type": "uint256"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"payable": false,
|
527
|
+
"type": "function"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"constant": false,
|
531
|
+
"inputs": [
|
532
|
+
{
|
533
|
+
"name": "donPhase",
|
534
|
+
"type": "uint256"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"name": "timedelta",
|
538
|
+
"type": "uint256"
|
539
|
+
}
|
540
|
+
],
|
541
|
+
"name": "delayDonPhase",
|
542
|
+
"outputs": [],
|
543
|
+
"payable": false,
|
544
|
+
"type": "function"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"constant": true,
|
548
|
+
"inputs": [],
|
549
|
+
"name": "round1Target",
|
550
|
+
"outputs": [
|
551
|
+
{
|
552
|
+
"name": "",
|
553
|
+
"type": "uint256"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"payable": false,
|
557
|
+
"type": "function"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"constant": true,
|
561
|
+
"inputs": [
|
562
|
+
{
|
563
|
+
"name": "",
|
564
|
+
"type": "uint256"
|
565
|
+
}
|
566
|
+
],
|
567
|
+
"name": "earlyContribList",
|
568
|
+
"outputs": [
|
569
|
+
{
|
570
|
+
"name": "",
|
571
|
+
"type": "address"
|
572
|
+
}
|
573
|
+
],
|
574
|
+
"payable": false,
|
575
|
+
"type": "function"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"constant": true,
|
579
|
+
"inputs": [],
|
580
|
+
"name": "round0EndTime",
|
581
|
+
"outputs": [
|
582
|
+
{
|
583
|
+
"name": "",
|
584
|
+
"type": "uint256"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"payable": false,
|
588
|
+
"type": "function"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"constant": true,
|
592
|
+
"inputs": [],
|
593
|
+
"name": "isUnrestricted",
|
594
|
+
"outputs": [
|
595
|
+
{
|
596
|
+
"name": "",
|
597
|
+
"type": "bool"
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"payable": false,
|
601
|
+
"type": "function"
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"constant": true,
|
605
|
+
"inputs": [
|
606
|
+
{
|
607
|
+
"name": "",
|
608
|
+
"type": "address"
|
609
|
+
}
|
610
|
+
],
|
611
|
+
"name": "restrictions",
|
612
|
+
"outputs": [
|
613
|
+
{
|
614
|
+
"name": "",
|
615
|
+
"type": "uint256"
|
616
|
+
}
|
617
|
+
],
|
618
|
+
"payable": false,
|
619
|
+
"type": "function"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"constant": true,
|
623
|
+
"inputs": [],
|
624
|
+
"name": "earlyContribShare",
|
625
|
+
"outputs": [
|
626
|
+
{
|
627
|
+
"name": "",
|
628
|
+
"type": "uint256"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"payable": false,
|
632
|
+
"type": "function"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"constant": true,
|
636
|
+
"inputs": [
|
637
|
+
{
|
638
|
+
"name": "",
|
639
|
+
"type": "uint256"
|
640
|
+
}
|
641
|
+
],
|
642
|
+
"name": "target",
|
643
|
+
"outputs": [
|
644
|
+
{
|
645
|
+
"name": "",
|
646
|
+
"type": "uint256"
|
647
|
+
}
|
648
|
+
],
|
649
|
+
"payable": false,
|
650
|
+
"type": "function"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"constant": false,
|
654
|
+
"inputs": [
|
655
|
+
{
|
656
|
+
"name": "newAuth",
|
657
|
+
"type": "address"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"name": "setRegistrarAuth",
|
661
|
+
"outputs": [],
|
662
|
+
"payable": false,
|
663
|
+
"type": "function"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"constant": true,
|
667
|
+
"inputs": [],
|
668
|
+
"name": "totalUnrestrictedTokens",
|
669
|
+
"outputs": [
|
670
|
+
{
|
671
|
+
"name": "",
|
672
|
+
"type": "uint256"
|
673
|
+
}
|
674
|
+
],
|
675
|
+
"payable": false,
|
676
|
+
"type": "function"
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"constant": true,
|
680
|
+
"inputs": [],
|
681
|
+
"name": "weiPerCHF",
|
682
|
+
"outputs": [
|
683
|
+
{
|
684
|
+
"name": "",
|
685
|
+
"type": "uint256"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"payable": false,
|
689
|
+
"type": "function"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"constant": true,
|
693
|
+
"inputs": [
|
694
|
+
{
|
695
|
+
"name": "elapsedTime",
|
696
|
+
"type": "uint256"
|
697
|
+
}
|
698
|
+
],
|
699
|
+
"name": "getStepFunction",
|
700
|
+
"outputs": [
|
701
|
+
{
|
702
|
+
"name": "",
|
703
|
+
"type": "uint256"
|
704
|
+
}
|
705
|
+
],
|
706
|
+
"payable": false,
|
707
|
+
"type": "function"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"constant": true,
|
711
|
+
"inputs": [],
|
712
|
+
"name": "exchangeRateAuth",
|
713
|
+
"outputs": [
|
714
|
+
{
|
715
|
+
"name": "",
|
716
|
+
"type": "address"
|
717
|
+
}
|
718
|
+
],
|
719
|
+
"payable": false,
|
720
|
+
"type": "function"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"constant": true,
|
724
|
+
"inputs": [
|
725
|
+
{
|
726
|
+
"name": "",
|
727
|
+
"type": "uint256"
|
728
|
+
}
|
729
|
+
],
|
730
|
+
"name": "counter",
|
731
|
+
"outputs": [
|
732
|
+
{
|
733
|
+
"name": "",
|
734
|
+
"type": "uint256"
|
735
|
+
}
|
736
|
+
],
|
737
|
+
"payable": false,
|
738
|
+
"type": "function"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"constant": true,
|
742
|
+
"inputs": [],
|
743
|
+
"name": "masterAuth",
|
744
|
+
"outputs": [
|
745
|
+
{
|
746
|
+
"name": "",
|
747
|
+
"type": "address"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"payable": false,
|
751
|
+
"type": "function"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"constant": true,
|
755
|
+
"inputs": [
|
756
|
+
{
|
757
|
+
"name": "time",
|
758
|
+
"type": "uint256"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"name": "n",
|
762
|
+
"type": "uint256"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"name": "isPhase",
|
766
|
+
"outputs": [
|
767
|
+
{
|
768
|
+
"name": "",
|
769
|
+
"type": "bool"
|
770
|
+
}
|
771
|
+
],
|
772
|
+
"payable": false,
|
773
|
+
"type": "function"
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"constant": true,
|
777
|
+
"inputs": [],
|
778
|
+
"name": "registrarAuth",
|
779
|
+
"outputs": [
|
780
|
+
{
|
781
|
+
"name": "",
|
782
|
+
"type": "address"
|
783
|
+
}
|
784
|
+
],
|
785
|
+
"payable": false,
|
786
|
+
"type": "function"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"constant": true,
|
790
|
+
"inputs": [],
|
791
|
+
"name": "restrictedShare",
|
792
|
+
"outputs": [
|
793
|
+
{
|
794
|
+
"name": "",
|
795
|
+
"type": "uint256"
|
796
|
+
}
|
797
|
+
],
|
798
|
+
"payable": false,
|
799
|
+
"type": "function"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"constant": true,
|
803
|
+
"inputs": [],
|
804
|
+
"name": "tokensPerCHF",
|
805
|
+
"outputs": [
|
806
|
+
{
|
807
|
+
"name": "",
|
808
|
+
"type": "uint256"
|
809
|
+
}
|
810
|
+
],
|
811
|
+
"payable": false,
|
812
|
+
"type": "function"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"constant": true,
|
816
|
+
"inputs": [],
|
817
|
+
"name": "round1InitialBonus",
|
818
|
+
"outputs": [
|
819
|
+
{
|
820
|
+
"name": "",
|
821
|
+
"type": "uint256"
|
822
|
+
}
|
823
|
+
],
|
824
|
+
"payable": false,
|
825
|
+
"type": "function"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"constant": false,
|
829
|
+
"inputs": [
|
830
|
+
{
|
831
|
+
"name": "weis",
|
832
|
+
"type": "uint256"
|
833
|
+
}
|
834
|
+
],
|
835
|
+
"name": "setWeiPerCHF",
|
836
|
+
"outputs": [],
|
837
|
+
"payable": false,
|
838
|
+
"type": "function"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"constant": true,
|
842
|
+
"inputs": [],
|
843
|
+
"name": "N",
|
844
|
+
"outputs": [
|
845
|
+
{
|
846
|
+
"name": "",
|
847
|
+
"type": "uint256"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"payable": false,
|
851
|
+
"type": "function"
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"constant": false,
|
855
|
+
"inputs": [
|
856
|
+
{
|
857
|
+
"name": "addr",
|
858
|
+
"type": "address"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"name": "checksum",
|
862
|
+
"type": "bytes4"
|
863
|
+
}
|
864
|
+
],
|
865
|
+
"name": "donateAsWithChecksum",
|
866
|
+
"outputs": [
|
867
|
+
{
|
868
|
+
"name": "",
|
869
|
+
"type": "bool"
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"payable": true,
|
873
|
+
"type": "function"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"constant": true,
|
877
|
+
"inputs": [
|
878
|
+
{
|
879
|
+
"name": "",
|
880
|
+
"type": "uint256"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"name": "phaseEndTime",
|
884
|
+
"outputs": [
|
885
|
+
{
|
886
|
+
"name": "",
|
887
|
+
"type": "uint256"
|
888
|
+
}
|
889
|
+
],
|
890
|
+
"payable": false,
|
891
|
+
"type": "function"
|
892
|
+
},
|
893
|
+
{
|
894
|
+
"constant": true,
|
895
|
+
"inputs": [
|
896
|
+
{
|
897
|
+
"name": "addr",
|
898
|
+
"type": "address"
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"name": "restricted",
|
902
|
+
"type": "bool"
|
903
|
+
}
|
904
|
+
],
|
905
|
+
"name": "isRegistered",
|
906
|
+
"outputs": [
|
907
|
+
{
|
908
|
+
"name": "",
|
909
|
+
"type": "bool"
|
910
|
+
}
|
911
|
+
],
|
912
|
+
"payable": false,
|
913
|
+
"type": "function"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"constant": true,
|
917
|
+
"inputs": [
|
918
|
+
{
|
919
|
+
"name": "",
|
920
|
+
"type": "uint256"
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"name": "maxDelay",
|
924
|
+
"outputs": [
|
925
|
+
{
|
926
|
+
"name": "",
|
927
|
+
"type": "uint256"
|
928
|
+
}
|
929
|
+
],
|
930
|
+
"payable": false,
|
931
|
+
"type": "function"
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"constant": false,
|
935
|
+
"inputs": [
|
936
|
+
{
|
937
|
+
"name": "newAuth",
|
938
|
+
"type": "address"
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"name": "setMasterAuth",
|
942
|
+
"outputs": [],
|
943
|
+
"payable": false,
|
944
|
+
"type": "function"
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"constant": true,
|
948
|
+
"inputs": [],
|
949
|
+
"name": "step",
|
950
|
+
"outputs": [
|
951
|
+
{
|
952
|
+
"name": "",
|
953
|
+
"type": "uint256"
|
954
|
+
}
|
955
|
+
],
|
956
|
+
"payable": false,
|
957
|
+
"type": "function"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"constant": true,
|
961
|
+
"inputs": [
|
962
|
+
{
|
963
|
+
"name": "",
|
964
|
+
"type": "address"
|
965
|
+
}
|
966
|
+
],
|
967
|
+
"name": "tokens",
|
968
|
+
"outputs": [
|
969
|
+
{
|
970
|
+
"name": "",
|
971
|
+
"type": "uint256"
|
972
|
+
}
|
973
|
+
],
|
974
|
+
"payable": false,
|
975
|
+
"type": "function"
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"constant": true,
|
979
|
+
"inputs": [
|
980
|
+
{
|
981
|
+
"name": "time",
|
982
|
+
"type": "uint256"
|
983
|
+
}
|
984
|
+
],
|
985
|
+
"name": "getPhaseAtTime",
|
986
|
+
"outputs": [
|
987
|
+
{
|
988
|
+
"name": "n",
|
989
|
+
"type": "uint256"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"payable": false,
|
993
|
+
"type": "function"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"constant": true,
|
997
|
+
"inputs": [],
|
998
|
+
"name": "round0Bonus",
|
999
|
+
"outputs": [
|
1000
|
+
{
|
1001
|
+
"name": "",
|
1002
|
+
"type": "uint256"
|
1003
|
+
}
|
1004
|
+
],
|
1005
|
+
"payable": false,
|
1006
|
+
"type": "function"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"constant": false,
|
1010
|
+
"inputs": [],
|
1011
|
+
"name": "empty",
|
1012
|
+
"outputs": [
|
1013
|
+
{
|
1014
|
+
"name": "",
|
1015
|
+
"type": "bool"
|
1016
|
+
}
|
1017
|
+
],
|
1018
|
+
"payable": false,
|
1019
|
+
"type": "function"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"constant": true,
|
1023
|
+
"inputs": [],
|
1024
|
+
"name": "nSteps",
|
1025
|
+
"outputs": [
|
1026
|
+
{
|
1027
|
+
"name": "",
|
1028
|
+
"type": "uint256"
|
1029
|
+
}
|
1030
|
+
],
|
1031
|
+
"payable": false,
|
1032
|
+
"type": "function"
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
"constant": false,
|
1036
|
+
"inputs": [
|
1037
|
+
{
|
1038
|
+
"name": "addr",
|
1039
|
+
"type": "address"
|
1040
|
+
},
|
1041
|
+
{
|
1042
|
+
"name": "tokenAmount",
|
1043
|
+
"type": "uint256"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"name": "memo",
|
1047
|
+
"type": "bytes32"
|
1048
|
+
}
|
1049
|
+
],
|
1050
|
+
"name": "registerEarlyContrib",
|
1051
|
+
"outputs": [],
|
1052
|
+
"payable": false,
|
1053
|
+
"type": "function"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"constant": true,
|
1057
|
+
"inputs": [],
|
1058
|
+
"name": "totalWeiDonated",
|
1059
|
+
"outputs": [
|
1060
|
+
{
|
1061
|
+
"name": "",
|
1062
|
+
"type": "uint256"
|
1063
|
+
}
|
1064
|
+
],
|
1065
|
+
"payable": false,
|
1066
|
+
"type": "function"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"constant": true,
|
1070
|
+
"inputs": [],
|
1071
|
+
"name": "millionInCents",
|
1072
|
+
"outputs": [
|
1073
|
+
{
|
1074
|
+
"name": "",
|
1075
|
+
"type": "uint256"
|
1076
|
+
}
|
1077
|
+
],
|
1078
|
+
"payable": false,
|
1079
|
+
"type": "function"
|
1080
|
+
},
|
1081
|
+
{
|
1082
|
+
"inputs": [
|
1083
|
+
{
|
1084
|
+
"name": "_masterAuth",
|
1085
|
+
"type": "address"
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"name": "_name",
|
1089
|
+
"type": "string"
|
1090
|
+
}
|
1091
|
+
],
|
1092
|
+
"payable": false,
|
1093
|
+
"type": "constructor"
|
1094
|
+
},
|
1095
|
+
{
|
1096
|
+
"anonymous": false,
|
1097
|
+
"inputs": [
|
1098
|
+
{
|
1099
|
+
"indexed": true,
|
1100
|
+
"name": "addr",
|
1101
|
+
"type": "address"
|
1102
|
+
},
|
1103
|
+
{
|
1104
|
+
"indexed": true,
|
1105
|
+
"name": "currency",
|
1106
|
+
"type": "string"
|
1107
|
+
},
|
1108
|
+
{
|
1109
|
+
"indexed": true,
|
1110
|
+
"name": "bonusMultiplierApplied",
|
1111
|
+
"type": "uint256"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"indexed": false,
|
1115
|
+
"name": "timestamp",
|
1116
|
+
"type": "uint256"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"indexed": false,
|
1120
|
+
"name": "tokenAmount",
|
1121
|
+
"type": "uint256"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"indexed": false,
|
1125
|
+
"name": "memo",
|
1126
|
+
"type": "bytes32"
|
1127
|
+
}
|
1128
|
+
],
|
1129
|
+
"name": "DonationReceipt",
|
1130
|
+
"type": "event"
|
1131
|
+
},
|
1132
|
+
{
|
1133
|
+
"anonymous": false,
|
1134
|
+
"inputs": [
|
1135
|
+
{
|
1136
|
+
"indexed": true,
|
1137
|
+
"name": "addr",
|
1138
|
+
"type": "address"
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"indexed": false,
|
1142
|
+
"name": "tokenAmount",
|
1143
|
+
"type": "uint256"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"indexed": false,
|
1147
|
+
"name": "memo",
|
1148
|
+
"type": "bytes32"
|
1149
|
+
}
|
1150
|
+
],
|
1151
|
+
"name": "EarlyContribReceipt",
|
1152
|
+
"type": "event"
|
1153
|
+
},
|
1154
|
+
{
|
1155
|
+
"anonymous": false,
|
1156
|
+
"inputs": [
|
1157
|
+
{
|
1158
|
+
"indexed": true,
|
1159
|
+
"name": "addr",
|
1160
|
+
"type": "address"
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"indexed": false,
|
1164
|
+
"name": "tokenAmountBurned",
|
1165
|
+
"type": "uint256"
|
1166
|
+
}
|
1167
|
+
],
|
1168
|
+
"name": "BurnReceipt",
|
1169
|
+
"type": "event"
|
1170
|
+
}
|
1171
|
+
]
|