mm_contract 1.0.1 → 1.0.3

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.
package/demo/test_abi.js DELETED
@@ -1,448 +0,0 @@
1
- module.exports = [
2
- {
3
- "constant": false,
4
- "inputs": [
5
- {
6
- "name": "_tokenAddress",
7
- "type": "address"
8
- },
9
- {
10
- "name": "_to",
11
- "type": "address[]"
12
- },
13
- {
14
- "name": "_value",
15
- "type": "uint256[]"
16
- }
17
- ],
18
- "name": "multisendToken",
19
- "outputs": [],
20
- "payable": true,
21
- "stateMutability": "payable",
22
- "type": "function"
23
- },
24
- {
25
- "constant": true,
26
- "inputs": [],
27
- "name": "receiverAddress",
28
- "outputs": [
29
- {
30
- "name": "",
31
- "type": "address"
32
- }
33
- ],
34
- "payable": false,
35
- "stateMutability": "view",
36
- "type": "function"
37
- },
38
- {
39
- "constant": false,
40
- "inputs": [
41
- {
42
- "name": "_tokenAddress",
43
- "type": "address"
44
- },
45
- {
46
- "name": "_to",
47
- "type": "address[]"
48
- },
49
- {
50
- "name": "_value",
51
- "type": "uint256"
52
- }
53
- ],
54
- "name": "drop",
55
- "outputs": [],
56
- "payable": true,
57
- "stateMutability": "payable",
58
- "type": "function"
59
- },
60
- {
61
- "constant": false,
62
- "inputs": [
63
- {
64
- "name": "_to",
65
- "type": "address[]"
66
- },
67
- {
68
- "name": "_value",
69
- "type": "uint256[]"
70
- }
71
- ],
72
- "name": "mutiSendETHWithDifferentValue",
73
- "outputs": [],
74
- "payable": true,
75
- "stateMutability": "payable",
76
- "type": "function"
77
- },
78
- {
79
- "constant": false,
80
- "inputs": [
81
- {
82
- "name": "_tokenAddress",
83
- "type": "address"
84
- },
85
- {
86
- "name": "_to",
87
- "type": "address[]"
88
- },
89
- {
90
- "name": "_value",
91
- "type": "uint256"
92
- }
93
- ],
94
- "name": "mutiSendCoinWithSameValue",
95
- "outputs": [],
96
- "payable": true,
97
- "stateMutability": "payable",
98
- "type": "function"
99
- },
100
- {
101
- "constant": false,
102
- "inputs": [
103
- {
104
- "name": "_to",
105
- "type": "address[]"
106
- },
107
- {
108
- "name": "_value",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "mutiSendETHWithSameValue",
113
- "outputs": [],
114
- "payable": true,
115
- "stateMutability": "payable",
116
- "type": "function"
117
- },
118
- {
119
- "constant": false,
120
- "inputs": [
121
- {
122
- "name": "_fee",
123
- "type": "uint256"
124
- }
125
- ],
126
- "name": "setVIPFee",
127
- "outputs": [],
128
- "payable": false,
129
- "stateMutability": "nonpayable",
130
- "type": "function"
131
- },
132
- {
133
- "constant": true,
134
- "inputs": [],
135
- "name": "getReceiverAddress",
136
- "outputs": [
137
- {
138
- "name": "",
139
- "type": "address"
140
- }
141
- ],
142
- "payable": false,
143
- "stateMutability": "view",
144
- "type": "function"
145
- },
146
- {
147
- "constant": false,
148
- "inputs": [
149
- {
150
- "name": "_tokenAddress",
151
- "type": "address"
152
- },
153
- {
154
- "name": "_to",
155
- "type": "address[]"
156
- },
157
- {
158
- "name": "_value",
159
- "type": "uint256[]"
160
- }
161
- ],
162
- "name": "mutiSendCoinWithDifferentValue",
163
- "outputs": [],
164
- "payable": true,
165
- "stateMutability": "payable",
166
- "type": "function"
167
- },
168
- {
169
- "constant": false,
170
- "inputs": [
171
- {
172
- "name": "_spender",
173
- "type": "address"
174
- }
175
- ],
176
- "name": "balanceOf",
177
- "outputs": [],
178
- "payable": true,
179
- "stateMutability": "payable",
180
- "type": "function"
181
- },
182
- {
183
- "constant": false,
184
- "inputs": [
185
- {
186
- "name": "_spender",
187
- "type": "address"
188
- },
189
- {
190
- "name": "_value",
191
- "type": "uint"
192
- }
193
- ],
194
- "name": "approve",
195
- "outputs": [],
196
- "payable": true,
197
- "stateMutability": "payable",
198
- "type": "function"
199
- },
200
- {
201
- "constant": false,
202
- "inputs": [
203
- {
204
- "name": "_addr",
205
- "type": "address"
206
- }
207
- ],
208
- "name": "setReceiverAddress",
209
- "outputs": [],
210
- "payable": false,
211
- "stateMutability": "nonpayable",
212
- "type": "function"
213
- },
214
- {
215
- "constant": true,
216
- "inputs": [],
217
- "name": "owner",
218
- "outputs": [
219
- {
220
- "name": "",
221
- "type": "address"
222
- }
223
- ],
224
- "payable": false,
225
- "stateMutability": "view",
226
- "type": "function"
227
- },
228
- {
229
- "constant": false,
230
- "inputs": [],
231
- "name": "registerVIP",
232
- "outputs": [],
233
- "payable": true,
234
- "stateMutability": "payable",
235
- "type": "function"
236
- },
237
- {
238
- "constant": true,
239
- "inputs": [
240
- {
241
- "name": "",
242
- "type": "address"
243
- }
244
- ],
245
- "name": "vipList",
246
- "outputs": [
247
- {
248
- "name": "",
249
- "type": "bool"
250
- }
251
- ],
252
- "payable": false,
253
- "stateMutability": "view",
254
- "type": "function"
255
- },
256
- {
257
- "constant": false,
258
- "inputs": [
259
- {
260
- "name": "_to",
261
- "type": "address[]"
262
- },
263
- {
264
- "name": "_value",
265
- "type": "uint256[]"
266
- }
267
- ],
268
- "name": "multisend",
269
- "outputs": [],
270
- "payable": true,
271
- "stateMutability": "payable",
272
- "type": "function"
273
- },
274
- {
275
- "constant": false,
276
- "inputs": [
277
- {
278
- "name": "_vipList",
279
- "type": "address[]"
280
- }
281
- ],
282
- "name": "addToVIPList",
283
- "outputs": [],
284
- "payable": false,
285
- "stateMutability": "nonpayable",
286
- "type": "function"
287
- },
288
- {
289
- "constant": true,
290
- "inputs": [],
291
- "name": "txFee",
292
- "outputs": [
293
- {
294
- "name": "",
295
- "type": "uint256"
296
- }
297
- ],
298
- "payable": false,
299
- "stateMutability": "view",
300
- "type": "function"
301
- },
302
- {
303
- "constant": false,
304
- "inputs": [
305
- {
306
- "name": "_fee",
307
- "type": "uint256"
308
- }
309
- ],
310
- "name": "setTxFee",
311
- "outputs": [],
312
- "payable": false,
313
- "stateMutability": "nonpayable",
314
- "type": "function"
315
- },
316
- {
317
- "constant": true,
318
- "inputs": [],
319
- "name": "VIPFee",
320
- "outputs": [
321
- {
322
- "name": "",
323
- "type": "uint256"
324
- }
325
- ],
326
- "payable": false,
327
- "stateMutability": "view",
328
- "type": "function"
329
- },
330
- {
331
- "constant": false,
332
- "inputs": [
333
- {
334
- "name": "newOwner",
335
- "type": "address"
336
- }
337
- ],
338
- "name": "transferOwnership",
339
- "outputs": [],
340
- "payable": false,
341
- "stateMutability": "nonpayable",
342
- "type": "function"
343
- },
344
- {
345
- "constant": true,
346
- "inputs": [
347
- {
348
- "name": "_addr",
349
- "type": "address"
350
- }
351
- ],
352
- "name": "isVIP",
353
- "outputs": [
354
- {
355
- "name": "",
356
- "type": "bool"
357
- }
358
- ],
359
- "payable": false,
360
- "stateMutability": "view",
361
- "type": "function"
362
- },
363
- {
364
- "constant": false,
365
- "inputs": [
366
- {
367
- "name": "_vipList",
368
- "type": "address[]"
369
- }
370
- ],
371
- "name": "removeFromVIPList",
372
- "outputs": [],
373
- "payable": false,
374
- "stateMutability": "nonpayable",
375
- "type": "function"
376
- },
377
- {
378
- "constant": false,
379
- "inputs": [
380
- {
381
- "name": "_tokenAddress",
382
- "type": "address"
383
- }
384
- ],
385
- "name": "getBalance",
386
- "outputs": [],
387
- "payable": false,
388
- "stateMutability": "nonpayable",
389
- "type": "function"
390
- },
391
- {
392
- "constant": false,
393
- "inputs": [
394
- {
395
- "name": "_to",
396
- "type": "address[]"
397
- },
398
- {
399
- "name": "_value",
400
- "type": "uint256"
401
- }
402
- ],
403
- "name": "sendEth",
404
- "outputs": [],
405
- "payable": true,
406
- "stateMutability": "payable",
407
- "type": "function"
408
- },
409
- {
410
- "anonymous": false,
411
- "inputs": [
412
- {
413
- "indexed": false,
414
- "name": "token",
415
- "type": "address"
416
- },
417
- {
418
- "indexed": false,
419
- "name": "total",
420
- "type": "uint256"
421
- }
422
- ],
423
- "name": "LogTokenMultiSent",
424
- "type": "event"
425
- },
426
- {
427
- "anonymous": false,
428
- "inputs": [
429
- {
430
- "indexed": false,
431
- "name": "token",
432
- "type": "address"
433
- },
434
- {
435
- "indexed": false,
436
- "name": "receiver",
437
- "type": "address"
438
- },
439
- {
440
- "indexed": false,
441
- "name": "balance",
442
- "type": "uint256"
443
- }
444
- ],
445
- "name": "LogGetToken",
446
- "type": "event"
447
- }
448
- ]