mm_contract 1.0.1 → 1.0.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.
@@ -1,773 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "uint256",
6
- "name": "_days",
7
- "type": "uint256"
8
- }
9
- ],
10
- "stateMutability": "nonpayable",
11
- "type": "constructor"
12
- },
13
- {
14
- "anonymous": false,
15
- "inputs": [
16
- {
17
- "indexed": false,
18
- "internalType": "address",
19
- "name": "_operator",
20
- "type": "address"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "_power",
26
- "type": "uint256"
27
- }
28
- ],
29
- "name": "AdminChaged",
30
- "type": "event"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": false,
37
- "internalType": "address",
38
- "name": "_previousOwner",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": false,
43
- "internalType": "address",
44
- "name": "_newOwner",
45
- "type": "address"
46
- }
47
- ],
48
- "name": "OwnershipTransferred",
49
- "type": "event"
50
- },
51
- {
52
- "anonymous": false,
53
- "inputs": [
54
- {
55
- "indexed": false,
56
- "internalType": "uint256",
57
- "name": "_coinType",
58
- "type": "uint256"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "uint256",
63
- "name": "_reward",
64
- "type": "uint256"
65
- }
66
- ],
67
- "name": "RewardAdded",
68
- "type": "event"
69
- },
70
- {
71
- "anonymous": false,
72
- "inputs": [
73
- {
74
- "indexed": true,
75
- "internalType": "address",
76
- "name": "_user",
77
- "type": "address"
78
- },
79
- {
80
- "indexed": false,
81
- "internalType": "uint256",
82
- "name": "_coinType",
83
- "type": "uint256"
84
- },
85
- {
86
- "indexed": false,
87
- "internalType": "uint256",
88
- "name": "_reward",
89
- "type": "uint256"
90
- }
91
- ],
92
- "name": "RewardPaid",
93
- "type": "event"
94
- },
95
- {
96
- "anonymous": false,
97
- "inputs": [
98
- {
99
- "indexed": true,
100
- "internalType": "address",
101
- "name": "_user",
102
- "type": "address"
103
- },
104
- {
105
- "indexed": false,
106
- "internalType": "uint256",
107
- "name": "_amount",
108
- "type": "uint256"
109
- }
110
- ],
111
- "name": "Staked",
112
- "type": "event"
113
- },
114
- {
115
- "anonymous": false,
116
- "inputs": [
117
- {
118
- "indexed": true,
119
- "internalType": "address",
120
- "name": "_user",
121
- "type": "address"
122
- },
123
- {
124
- "indexed": false,
125
- "internalType": "uint256",
126
- "name": "_amount",
127
- "type": "uint256"
128
- }
129
- ],
130
- "name": "Withdrawn",
131
- "type": "event"
132
- },
133
- {
134
- "inputs": [],
135
- "name": "DURATION",
136
- "outputs": [
137
- {
138
- "internalType": "uint256",
139
- "name": "",
140
- "type": "uint256"
141
- }
142
- ],
143
- "stateMutability": "view",
144
- "type": "function"
145
- },
146
- {
147
- "inputs": [
148
- {
149
- "internalType": "address",
150
- "name": "_account",
151
- "type": "address"
152
- }
153
- ],
154
- "name": "balanceOf",
155
- "outputs": [
156
- {
157
- "internalType": "uint256",
158
- "name": "",
159
- "type": "uint256"
160
- }
161
- ],
162
- "stateMutability": "view",
163
- "type": "function"
164
- },
165
- {
166
- "inputs": [
167
- {
168
- "internalType": "address",
169
- "name": "_account",
170
- "type": "address"
171
- }
172
- ],
173
- "name": "earnedMETA",
174
- "outputs": [
175
- {
176
- "internalType": "uint256",
177
- "name": "",
178
- "type": "uint256"
179
- }
180
- ],
181
- "stateMutability": "view",
182
- "type": "function"
183
- },
184
- {
185
- "inputs": [
186
- {
187
- "internalType": "address",
188
- "name": "_account",
189
- "type": "address"
190
- }
191
- ],
192
- "name": "earnedUSDT",
193
- "outputs": [
194
- {
195
- "internalType": "uint256",
196
- "name": "",
197
- "type": "uint256"
198
- }
199
- ],
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [],
205
- "name": "exit",
206
- "outputs": [],
207
- "stateMutability": "nonpayable",
208
- "type": "function"
209
- },
210
- {
211
- "inputs": [],
212
- "name": "gainReward",
213
- "outputs": [],
214
- "stateMutability": "nonpayable",
215
- "type": "function"
216
- },
217
- {
218
- "inputs": [],
219
- "name": "gainRewardMETA",
220
- "outputs": [],
221
- "stateMutability": "nonpayable",
222
- "type": "function"
223
- },
224
- {
225
- "inputs": [],
226
- "name": "gainRewardUSDT",
227
- "outputs": [],
228
- "stateMutability": "nonpayable",
229
- "type": "function"
230
- },
231
- {
232
- "inputs": [],
233
- "name": "getOwner",
234
- "outputs": [
235
- {
236
- "internalType": "address",
237
- "name": "",
238
- "type": "address"
239
- }
240
- ],
241
- "stateMutability": "view",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [],
246
- "name": "initReward_meta",
247
- "outputs": [
248
- {
249
- "internalType": "uint256",
250
- "name": "",
251
- "type": "uint256"
252
- }
253
- ],
254
- "stateMutability": "view",
255
- "type": "function"
256
- },
257
- {
258
- "inputs": [],
259
- "name": "initReward_usdt",
260
- "outputs": [
261
- {
262
- "internalType": "uint256",
263
- "name": "",
264
- "type": "uint256"
265
- }
266
- ],
267
- "stateMutability": "view",
268
- "type": "function"
269
- },
270
- {
271
- "inputs": [
272
- {
273
- "internalType": "address",
274
- "name": "_operator",
275
- "type": "address"
276
- }
277
- ],
278
- "name": "isAdmin",
279
- "outputs": [
280
- {
281
- "internalType": "uint256",
282
- "name": "",
283
- "type": "uint256"
284
- }
285
- ],
286
- "stateMutability": "view",
287
- "type": "function"
288
- },
289
- {
290
- "inputs": [],
291
- "name": "lastTimeRewardMETA",
292
- "outputs": [
293
- {
294
- "internalType": "uint256",
295
- "name": "",
296
- "type": "uint256"
297
- }
298
- ],
299
- "stateMutability": "view",
300
- "type": "function"
301
- },
302
- {
303
- "inputs": [],
304
- "name": "lastTimeRewardUSDT",
305
- "outputs": [
306
- {
307
- "internalType": "uint256",
308
- "name": "",
309
- "type": "uint256"
310
- }
311
- ],
312
- "stateMutability": "view",
313
- "type": "function"
314
- },
315
- {
316
- "inputs": [],
317
- "name": "lastUpdateTime_meta",
318
- "outputs": [
319
- {
320
- "internalType": "uint256",
321
- "name": "",
322
- "type": "uint256"
323
- }
324
- ],
325
- "stateMutability": "view",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [],
330
- "name": "lastUpdateTime_usdt",
331
- "outputs": [
332
- {
333
- "internalType": "uint256",
334
- "name": "",
335
- "type": "uint256"
336
- }
337
- ],
338
- "stateMutability": "view",
339
- "type": "function"
340
- },
341
- {
342
- "inputs": [],
343
- "name": "meta",
344
- "outputs": [
345
- {
346
- "internalType": "contract IBEP20",
347
- "name": "",
348
- "type": "address"
349
- }
350
- ],
351
- "stateMutability": "view",
352
- "type": "function"
353
- },
354
- {
355
- "inputs": [
356
- {
357
- "internalType": "uint256",
358
- "name": "_reward",
359
- "type": "uint256"
360
- }
361
- ],
362
- "name": "notifyRewardAmountMETA",
363
- "outputs": [],
364
- "stateMutability": "nonpayable",
365
- "type": "function"
366
- },
367
- {
368
- "inputs": [
369
- {
370
- "internalType": "uint256",
371
- "name": "_reward",
372
- "type": "uint256"
373
- }
374
- ],
375
- "name": "notifyRewardAmountUSDT",
376
- "outputs": [],
377
- "stateMutability": "nonpayable",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [],
382
- "name": "periodFinish_meta",
383
- "outputs": [
384
- {
385
- "internalType": "uint256",
386
- "name": "",
387
- "type": "uint256"
388
- }
389
- ],
390
- "stateMutability": "view",
391
- "type": "function"
392
- },
393
- {
394
- "inputs": [],
395
- "name": "periodFinish_usdt",
396
- "outputs": [
397
- {
398
- "internalType": "uint256",
399
- "name": "",
400
- "type": "uint256"
401
- }
402
- ],
403
- "stateMutability": "view",
404
- "type": "function"
405
- },
406
- {
407
- "inputs": [],
408
- "name": "rewardPerTokenMETA",
409
- "outputs": [
410
- {
411
- "internalType": "uint256",
412
- "name": "",
413
- "type": "uint256"
414
- }
415
- ],
416
- "stateMutability": "view",
417
- "type": "function"
418
- },
419
- {
420
- "inputs": [],
421
- "name": "rewardPerTokenStored_meta",
422
- "outputs": [
423
- {
424
- "internalType": "uint256",
425
- "name": "",
426
- "type": "uint256"
427
- }
428
- ],
429
- "stateMutability": "view",
430
- "type": "function"
431
- },
432
- {
433
- "inputs": [],
434
- "name": "rewardPerTokenStored_usdt",
435
- "outputs": [
436
- {
437
- "internalType": "uint256",
438
- "name": "",
439
- "type": "uint256"
440
- }
441
- ],
442
- "stateMutability": "view",
443
- "type": "function"
444
- },
445
- {
446
- "inputs": [],
447
- "name": "rewardPerTokenUSDT",
448
- "outputs": [
449
- {
450
- "internalType": "uint256",
451
- "name": "",
452
- "type": "uint256"
453
- }
454
- ],
455
- "stateMutability": "view",
456
- "type": "function"
457
- },
458
- {
459
- "inputs": [],
460
- "name": "rewardRate_meta",
461
- "outputs": [
462
- {
463
- "internalType": "uint256",
464
- "name": "",
465
- "type": "uint256"
466
- }
467
- ],
468
- "stateMutability": "view",
469
- "type": "function"
470
- },
471
- {
472
- "inputs": [],
473
- "name": "rewardRate_usdt",
474
- "outputs": [
475
- {
476
- "internalType": "uint256",
477
- "name": "",
478
- "type": "uint256"
479
- }
480
- ],
481
- "stateMutability": "view",
482
- "type": "function"
483
- },
484
- {
485
- "inputs": [
486
- {
487
- "internalType": "address",
488
- "name": "",
489
- "type": "address"
490
- }
491
- ],
492
- "name": "rewards_meta",
493
- "outputs": [
494
- {
495
- "internalType": "uint256",
496
- "name": "",
497
- "type": "uint256"
498
- }
499
- ],
500
- "stateMutability": "view",
501
- "type": "function"
502
- },
503
- {
504
- "inputs": [
505
- {
506
- "internalType": "address",
507
- "name": "",
508
- "type": "address"
509
- }
510
- ],
511
- "name": "rewards_usdt",
512
- "outputs": [
513
- {
514
- "internalType": "uint256",
515
- "name": "",
516
- "type": "uint256"
517
- }
518
- ],
519
- "stateMutability": "view",
520
- "type": "function"
521
- },
522
- {
523
- "inputs": [
524
- {
525
- "internalType": "address",
526
- "name": "_operator",
527
- "type": "address"
528
- },
529
- {
530
- "internalType": "uint256",
531
- "name": "_power",
532
- "type": "uint256"
533
- }
534
- ],
535
- "name": "setAdmin",
536
- "outputs": [],
537
- "stateMutability": "nonpayable",
538
- "type": "function"
539
- },
540
- {
541
- "inputs": [
542
- {
543
- "internalType": "address",
544
- "name": "_meta",
545
- "type": "address"
546
- }
547
- ],
548
- "name": "setMETA",
549
- "outputs": [],
550
- "stateMutability": "nonpayable",
551
- "type": "function"
552
- },
553
- {
554
- "inputs": [
555
- {
556
- "internalType": "address",
557
- "name": "_stock_dai",
558
- "type": "address"
559
- }
560
- ],
561
- "name": "setStockDai",
562
- "outputs": [],
563
- "stateMutability": "nonpayable",
564
- "type": "function"
565
- },
566
- {
567
- "inputs": [
568
- {
569
- "internalType": "address",
570
- "name": "_usdt",
571
- "type": "address"
572
- }
573
- ],
574
- "name": "setUSDT",
575
- "outputs": [],
576
- "stateMutability": "nonpayable",
577
- "type": "function"
578
- },
579
- {
580
- "inputs": [
581
- {
582
- "internalType": "uint256",
583
- "name": "_amount",
584
- "type": "uint256"
585
- }
586
- ],
587
- "name": "stake",
588
- "outputs": [],
589
- "stateMutability": "nonpayable",
590
- "type": "function"
591
- },
592
- {
593
- "inputs": [
594
- {
595
- "internalType": "uint256",
596
- "name": "_timestamp",
597
- "type": "uint256"
598
- }
599
- ],
600
- "name": "start",
601
- "outputs": [],
602
- "stateMutability": "nonpayable",
603
- "type": "function"
604
- },
605
- {
606
- "inputs": [],
607
- "name": "startTime_",
608
- "outputs": [
609
- {
610
- "internalType": "uint256",
611
- "name": "",
612
- "type": "uint256"
613
- }
614
- ],
615
- "stateMutability": "view",
616
- "type": "function"
617
- },
618
- {
619
- "inputs": [],
620
- "name": "stock_dai",
621
- "outputs": [
622
- {
623
- "internalType": "contract IBEP20",
624
- "name": "",
625
- "type": "address"
626
- }
627
- ],
628
- "stateMutability": "view",
629
- "type": "function"
630
- },
631
- {
632
- "inputs": [],
633
- "name": "totalReward_meta",
634
- "outputs": [
635
- {
636
- "internalType": "uint256",
637
- "name": "",
638
- "type": "uint256"
639
- }
640
- ],
641
- "stateMutability": "view",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [],
646
- "name": "totalReward_usdt",
647
- "outputs": [
648
- {
649
- "internalType": "uint256",
650
- "name": "",
651
- "type": "uint256"
652
- }
653
- ],
654
- "stateMutability": "view",
655
- "type": "function"
656
- },
657
- {
658
- "inputs": [],
659
- "name": "totalSupply",
660
- "outputs": [
661
- {
662
- "internalType": "uint256",
663
- "name": "",
664
- "type": "uint256"
665
- }
666
- ],
667
- "stateMutability": "view",
668
- "type": "function"
669
- },
670
- {
671
- "inputs": [
672
- {
673
- "internalType": "address",
674
- "name": "_newOwner",
675
- "type": "address"
676
- }
677
- ],
678
- "name": "transferOwnership",
679
- "outputs": [],
680
- "stateMutability": "nonpayable",
681
- "type": "function"
682
- },
683
- {
684
- "inputs": [
685
- {
686
- "internalType": "uint256",
687
- "name": "_longTime",
688
- "type": "uint256"
689
- }
690
- ],
691
- "name": "updateTimeMETA",
692
- "outputs": [],
693
- "stateMutability": "nonpayable",
694
- "type": "function"
695
- },
696
- {
697
- "inputs": [
698
- {
699
- "internalType": "uint256",
700
- "name": "_longTime",
701
- "type": "uint256"
702
- }
703
- ],
704
- "name": "updateTimeUSDT",
705
- "outputs": [],
706
- "stateMutability": "nonpayable",
707
- "type": "function"
708
- },
709
- {
710
- "inputs": [],
711
- "name": "usdt",
712
- "outputs": [
713
- {
714
- "internalType": "contract IBEP20",
715
- "name": "",
716
- "type": "address"
717
- }
718
- ],
719
- "stateMutability": "view",
720
- "type": "function"
721
- },
722
- {
723
- "inputs": [
724
- {
725
- "internalType": "address",
726
- "name": "",
727
- "type": "address"
728
- }
729
- ],
730
- "name": "userRewardPerTokenPaid_meta",
731
- "outputs": [
732
- {
733
- "internalType": "uint256",
734
- "name": "",
735
- "type": "uint256"
736
- }
737
- ],
738
- "stateMutability": "view",
739
- "type": "function"
740
- },
741
- {
742
- "inputs": [
743
- {
744
- "internalType": "address",
745
- "name": "",
746
- "type": "address"
747
- }
748
- ],
749
- "name": "userRewardPerTokenPaid_usdt",
750
- "outputs": [
751
- {
752
- "internalType": "uint256",
753
- "name": "",
754
- "type": "uint256"
755
- }
756
- ],
757
- "stateMutability": "view",
758
- "type": "function"
759
- },
760
- {
761
- "inputs": [
762
- {
763
- "internalType": "uint256",
764
- "name": "_amount",
765
- "type": "uint256"
766
- }
767
- ],
768
- "name": "withdraw",
769
- "outputs": [],
770
- "stateMutability": "nonpayable",
771
- "type": "function"
772
- }
773
- ]