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