@gitmyabi/mne 1.0.0

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.
@@ -0,0 +1,3714 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Minereum_json = exports.Minereum_jsonAbi = void 0;
4
+ const viem_1 = require("viem");
5
+ /**
6
+ * Minereum_json ABI
7
+ *
8
+ * This ABI is typed using viem's type system for full type safety.
9
+ */
10
+ exports.Minereum_jsonAbi = [
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "_publicCallsAddress",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "_publicArraysAddress",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "_genesisCallsAddress",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "_normalAddressAddress",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "internalType": "address",
35
+ "name": "_stakesAddress",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "internalType": "address",
40
+ "name": "_stakesBuysAddress",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "internalType": "address",
45
+ "name": "_genesisBuysAddress",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "internalType": "address",
50
+ "name": "_tokenServiceAddress",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "internalType": "address",
55
+ "name": "_baseTransfersAddress",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "stateMutability": "nonpayable",
60
+ "type": "constructor"
61
+ },
62
+ {
63
+ "anonymous": false,
64
+ "inputs": [
65
+ {
66
+ "indexed": true,
67
+ "internalType": "address",
68
+ "name": "_owner",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "indexed": true,
73
+ "internalType": "address",
74
+ "name": "_spender",
75
+ "type": "address"
76
+ },
77
+ {
78
+ "indexed": false,
79
+ "internalType": "uint256",
80
+ "name": "_value",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "name": "Approval",
85
+ "type": "event"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "to",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": false,
98
+ "internalType": "uint256",
99
+ "name": "balance",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "amountToSend",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "LogFailedStakeHolderSends",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": true,
117
+ "internalType": "address",
118
+ "name": "to",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint256",
124
+ "name": "balance",
125
+ "type": "uint256"
126
+ },
127
+ {
128
+ "indexed": false,
129
+ "internalType": "uint256",
130
+ "name": "amountToSend",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "name": "LogStakeHolderSends",
135
+ "type": "event"
136
+ },
137
+ {
138
+ "anonymous": false,
139
+ "inputs": [
140
+ {
141
+ "indexed": true,
142
+ "internalType": "address",
143
+ "name": "from",
144
+ "type": "address"
145
+ },
146
+ {
147
+ "indexed": true,
148
+ "internalType": "address",
149
+ "name": "to",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "indexed": false,
154
+ "internalType": "uint256",
155
+ "name": "value",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "name": "StakeTransfer",
160
+ "type": "event"
161
+ },
162
+ {
163
+ "anonymous": false,
164
+ "inputs": [
165
+ {
166
+ "indexed": true,
167
+ "internalType": "address",
168
+ "name": "from",
169
+ "type": "address"
170
+ },
171
+ {
172
+ "indexed": false,
173
+ "internalType": "address",
174
+ "name": "contractAdd",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "TokenCreation",
179
+ "type": "event"
180
+ },
181
+ {
182
+ "anonymous": false,
183
+ "inputs": [
184
+ {
185
+ "indexed": true,
186
+ "internalType": "address",
187
+ "name": "from",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "address",
193
+ "name": "contractAdd",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "TokenCreationICO",
198
+ "type": "event"
199
+ },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": true,
205
+ "internalType": "address",
206
+ "name": "from",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "indexed": true,
211
+ "internalType": "address",
212
+ "name": "to",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "indexed": false,
217
+ "internalType": "uint256",
218
+ "name": "value",
219
+ "type": "uint256"
220
+ }
221
+ ],
222
+ "name": "Transfer",
223
+ "type": "event"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "address",
229
+ "name": "_address",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "AllowAddressToDestroyGenesis",
234
+ "outputs": [],
235
+ "stateMutability": "nonpayable",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "AllowReceiveGenesisTransfers",
241
+ "outputs": [],
242
+ "stateMutability": "nonpayable",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "inputs": [
247
+ {
248
+ "internalType": "address[]",
249
+ "name": "_genesisAddressesToBurn",
250
+ "type": "address[]"
251
+ }
252
+ ],
253
+ "name": "BurnGenesisAddresses",
254
+ "outputs": [],
255
+ "stateMutability": "nonpayable",
256
+ "type": "function"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "mneToBurn",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "BurnTokens",
267
+ "outputs": [
268
+ {
269
+ "internalType": "bool",
270
+ "name": "success",
271
+ "type": "bool"
272
+ }
273
+ ],
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "address payable",
281
+ "name": "_address",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "BuyGenesisAddress",
286
+ "outputs": [],
287
+ "stateMutability": "payable",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [
292
+ {
293
+ "internalType": "address payable",
294
+ "name": "_address",
295
+ "type": "address"
296
+ }
297
+ ],
298
+ "name": "BuyGenesisLevel1FromNormal",
299
+ "outputs": [],
300
+ "stateMutability": "payable",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "address payable",
307
+ "name": "_address",
308
+ "type": "address"
309
+ }
310
+ ],
311
+ "name": "BuyGenesisLevel2FromNormal",
312
+ "outputs": [],
313
+ "stateMutability": "payable",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address payable",
320
+ "name": "_address",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "BuyGenesisLevel3FromNormal",
325
+ "outputs": [],
326
+ "stateMutability": "payable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "uint256[]",
333
+ "name": "max",
334
+ "type": "uint256[]"
335
+ }
336
+ ],
337
+ "name": "BuyLuckyDrawTickets",
338
+ "outputs": [],
339
+ "stateMutability": "payable",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "address payable",
346
+ "name": "_address",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "name": "BuyNormalAddress",
351
+ "outputs": [],
352
+ "stateMutability": "payable",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [
357
+ {
358
+ "internalType": "address payable",
359
+ "name": "_address",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "internalType": "address[]",
364
+ "name": "_genesisAddressesToBurn",
365
+ "type": "address[]"
366
+ }
367
+ ],
368
+ "name": "BuyStakeGenesis",
369
+ "outputs": [],
370
+ "stateMutability": "payable",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "internalType": "address payable",
377
+ "name": "_address",
378
+ "type": "address"
379
+ }
380
+ ],
381
+ "name": "BuyStakeMNE",
382
+ "outputs": [],
383
+ "stateMutability": "payable",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "ContractTransferAllFundsOut",
389
+ "outputs": [],
390
+ "stateMutability": "nonpayable",
391
+ "type": "function"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "CreateToken",
396
+ "outputs": [],
397
+ "stateMutability": "payable",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [],
402
+ "name": "CreateTokenICO",
403
+ "outputs": [],
404
+ "stateMutability": "payable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [],
409
+ "name": "Payment",
410
+ "outputs": [],
411
+ "stateMutability": "payable",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "PayoutStakeHolders",
417
+ "outputs": [],
418
+ "stateMutability": "nonpayable",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [
423
+ {
424
+ "internalType": "uint256",
425
+ "name": "_mneAmount",
426
+ "type": "uint256"
427
+ },
428
+ {
429
+ "internalType": "address[]",
430
+ "name": "_addressList",
431
+ "type": "address[]"
432
+ },
433
+ {
434
+ "internalType": "uint256[]",
435
+ "name": "_uintList",
436
+ "type": "uint256[]"
437
+ }
438
+ ],
439
+ "name": "ReceiverFunction1",
440
+ "outputs": [],
441
+ "stateMutability": "payable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [],
446
+ "name": "RemoveAllowAddressToDestroyGenesis",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "RemoveAllowReceiveGenesisTransfers",
454
+ "outputs": [],
455
+ "stateMutability": "nonpayable",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [],
460
+ "name": "RemoveGenesisAddressFromSale",
461
+ "outputs": [],
462
+ "stateMutability": "nonpayable",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [],
467
+ "name": "RemoveNormalAddressFromSale",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "RemoveStakeFromSale",
475
+ "outputs": [],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address[]",
483
+ "name": "_addressList",
484
+ "type": "address[]"
485
+ },
486
+ {
487
+ "internalType": "uint256[]",
488
+ "name": "_uintList",
489
+ "type": "uint256[]"
490
+ }
491
+ ],
492
+ "name": "ServiceFunction1",
493
+ "outputs": [],
494
+ "stateMutability": "payable",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "bool",
501
+ "name": "toBlock",
502
+ "type": "bool"
503
+ }
504
+ ],
505
+ "name": "SetBlockPayouts",
506
+ "outputs": [],
507
+ "stateMutability": "nonpayable",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [
512
+ {
513
+ "internalType": "uint256",
514
+ "name": "weiPrice",
515
+ "type": "uint256"
516
+ }
517
+ ],
518
+ "name": "SetGenesisForSale",
519
+ "outputs": [],
520
+ "stateMutability": "nonpayable",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [
525
+ {
526
+ "internalType": "uint256",
527
+ "name": "weiPricePerMNE",
528
+ "type": "uint256"
529
+ }
530
+ ],
531
+ "name": "SetNormalAddressForSale",
532
+ "outputs": [],
533
+ "stateMutability": "nonpayable",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [
538
+ {
539
+ "internalType": "uint256",
540
+ "name": "priceInWei",
541
+ "type": "uint256"
542
+ }
543
+ ],
544
+ "name": "SetStakeForSale",
545
+ "outputs": [],
546
+ "stateMutability": "nonpayable",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "address",
553
+ "name": "_to",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "internalType": "uint256",
558
+ "name": "_value",
559
+ "type": "uint256"
560
+ },
561
+ {
562
+ "internalType": "address[]",
563
+ "name": "_genesisAddressesToBurn",
564
+ "type": "address[]"
565
+ }
566
+ ],
567
+ "name": "StakeTransferGenesis",
568
+ "outputs": [],
569
+ "stateMutability": "nonpayable",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "_to",
577
+ "type": "address"
578
+ },
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "_value",
582
+ "type": "uint256"
583
+ }
584
+ ],
585
+ "name": "StakeTransferMNE",
586
+ "outputs": [],
587
+ "stateMutability": "nonpayable",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "uint256",
594
+ "name": "_amountToStake",
595
+ "type": "uint256"
596
+ },
597
+ {
598
+ "internalType": "address[]",
599
+ "name": "_addressList",
600
+ "type": "address[]"
601
+ },
602
+ {
603
+ "internalType": "uint256[]",
604
+ "name": "uintList",
605
+ "type": "uint256[]"
606
+ }
607
+ ],
608
+ "name": "Staking",
609
+ "outputs": [],
610
+ "stateMutability": "nonpayable",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "address",
617
+ "name": "_to",
618
+ "type": "address"
619
+ }
620
+ ],
621
+ "name": "TransferGenesis",
622
+ "outputs": [],
623
+ "stateMutability": "nonpayable",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
628
+ {
629
+ "internalType": "address[]",
630
+ "name": "_addresses",
631
+ "type": "address[]"
632
+ }
633
+ ],
634
+ "name": "UpgradeOthersToLevel2FromLevel1",
635
+ "outputs": [],
636
+ "stateMutability": "payable",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "address[]",
643
+ "name": "_addresses",
644
+ "type": "address[]"
645
+ }
646
+ ],
647
+ "name": "UpgradeOthersToLevel3FromDev",
648
+ "outputs": [],
649
+ "stateMutability": "nonpayable",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [
654
+ {
655
+ "internalType": "address[]",
656
+ "name": "_addresses",
657
+ "type": "address[]"
658
+ }
659
+ ],
660
+ "name": "UpgradeOthersToLevel3FromLevel1",
661
+ "outputs": [],
662
+ "stateMutability": "payable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "address[]",
669
+ "name": "_addresses",
670
+ "type": "address[]"
671
+ }
672
+ ],
673
+ "name": "UpgradeOthersToLevel3FromLevel2",
674
+ "outputs": [],
675
+ "stateMutability": "payable",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [],
680
+ "name": "UpgradeToLevel2FromLevel1",
681
+ "outputs": [],
682
+ "stateMutability": "payable",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [],
687
+ "name": "UpgradeToLevel3FromDev",
688
+ "outputs": [],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [],
694
+ "name": "UpgradeToLevel3FromLevel1",
695
+ "outputs": [],
696
+ "stateMutability": "payable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [],
701
+ "name": "UpgradeToLevel3FromLevel2",
702
+ "outputs": [],
703
+ "stateMutability": "payable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "_owner",
711
+ "type": "address"
712
+ },
713
+ {
714
+ "internalType": "address",
715
+ "name": "_spender",
716
+ "type": "address"
717
+ }
718
+ ],
719
+ "name": "allowance",
720
+ "outputs": [
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "remaining",
724
+ "type": "uint256"
725
+ }
726
+ ],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "_amountOfGenesisToBuyStakes",
735
+ "type": "uint256"
736
+ }
737
+ ],
738
+ "name": "amountOfGenesisToBuyStakesSet",
739
+ "outputs": [],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "_amountOfGenesisToTransferStakes",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "name": "amountOfGenesisToTransferStakesSet",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "_amountOfMNEForTokenICO",
761
+ "type": "uint256"
762
+ }
763
+ ],
764
+ "name": "amountOfMNEForTokenICOSet",
765
+ "outputs": [],
766
+ "stateMutability": "nonpayable",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [
771
+ {
772
+ "internalType": "uint256",
773
+ "name": "_amountOfMNEForToken",
774
+ "type": "uint256"
775
+ }
776
+ ],
777
+ "name": "amountOfMNEForTokenSet",
778
+ "outputs": [],
779
+ "stateMutability": "nonpayable",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "uint256",
786
+ "name": "_amountOfMNEToBuyStakes",
787
+ "type": "uint256"
788
+ }
789
+ ],
790
+ "name": "amountOfMNEToBuyStakesSet",
791
+ "outputs": [],
792
+ "stateMutability": "nonpayable",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "_amountOfMNEToTransferStakes",
800
+ "type": "uint256"
801
+ }
802
+ ],
803
+ "name": "amountOfMNEToTransferStakesSet",
804
+ "outputs": [],
805
+ "stateMutability": "nonpayable",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
810
+ {
811
+ "internalType": "address",
812
+ "name": "_spender",
813
+ "type": "address"
814
+ },
815
+ {
816
+ "internalType": "uint256",
817
+ "name": "_amount",
818
+ "type": "uint256"
819
+ }
820
+ ],
821
+ "name": "approve",
822
+ "outputs": [
823
+ {
824
+ "internalType": "bool",
825
+ "name": "success",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "_address",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "availableBalanceOf",
841
+ "outputs": [
842
+ {
843
+ "internalType": "uint256",
844
+ "name": "Balance",
845
+ "type": "uint256"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [
853
+ {
854
+ "internalType": "address",
855
+ "name": "_address",
856
+ "type": "address"
857
+ }
858
+ ],
859
+ "name": "balanceOf",
860
+ "outputs": [
861
+ {
862
+ "internalType": "uint256",
863
+ "name": "balance",
864
+ "type": "uint256"
865
+ }
866
+ ],
867
+ "stateMutability": "view",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "inputs": [],
872
+ "name": "bst",
873
+ "outputs": [
874
+ {
875
+ "internalType": "contract baseTransfers",
876
+ "name": "",
877
+ "type": "address"
878
+ }
879
+ ],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [],
885
+ "name": "currentBlock",
886
+ "outputs": [
887
+ {
888
+ "internalType": "uint256",
889
+ "name": "blockNumber",
890
+ "type": "uint256"
891
+ }
892
+ ],
893
+ "stateMutability": "view",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [],
898
+ "name": "currentEthBlock",
899
+ "outputs": [
900
+ {
901
+ "internalType": "uint256",
902
+ "name": "blockNumber",
903
+ "type": "uint256"
904
+ }
905
+ ],
906
+ "stateMutability": "view",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [],
911
+ "name": "decimals",
912
+ "outputs": [
913
+ {
914
+ "internalType": "uint8",
915
+ "name": "",
916
+ "type": "uint8"
917
+ }
918
+ ],
919
+ "stateMutability": "view",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "_ethFeeForSellerLevel1",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "name": "ethFeeForSellerLevel1Set",
931
+ "outputs": [],
932
+ "stateMutability": "nonpayable",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "_ethFeeForTokenICO",
940
+ "type": "uint256"
941
+ }
942
+ ],
943
+ "name": "ethFeeForTokenICOSet",
944
+ "outputs": [],
945
+ "stateMutability": "nonpayable",
946
+ "type": "function"
947
+ },
948
+ {
949
+ "inputs": [
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "_ethFeeForToken",
953
+ "type": "uint256"
954
+ }
955
+ ],
956
+ "name": "ethFeeForTokenSet",
957
+ "outputs": [],
958
+ "stateMutability": "nonpayable",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "_ethFeeToBuyLevel1",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "name": "ethFeeToBuyLevel1Set",
970
+ "outputs": [],
971
+ "stateMutability": "nonpayable",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "inputs": [
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "_ethFeeToUpgradeToLevel2",
979
+ "type": "uint256"
980
+ }
981
+ ],
982
+ "name": "ethFeeToUpgradeToLevel2Set",
983
+ "outputs": [],
984
+ "stateMutability": "nonpayable",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "_ethFeeToUpgradeToLevel3",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "name": "ethFeeToUpgradeToLevel3Set",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "uint256",
1004
+ "name": "_ethPercentFeeGenesisExchange",
1005
+ "type": "uint256"
1006
+ }
1007
+ ],
1008
+ "name": "ethPercentFeeGenesisExchangeSet",
1009
+ "outputs": [],
1010
+ "stateMutability": "nonpayable",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [
1015
+ {
1016
+ "internalType": "uint256",
1017
+ "name": "_ethPercentFeeNormalExchange",
1018
+ "type": "uint256"
1019
+ }
1020
+ ],
1021
+ "name": "ethPercentFeeNormalExchangeSet",
1022
+ "outputs": [],
1023
+ "stateMutability": "nonpayable",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "uint256",
1030
+ "name": "_ethPercentStakeExchange",
1031
+ "type": "uint256"
1032
+ }
1033
+ ],
1034
+ "name": "ethPercentStakeExchangeSet",
1035
+ "outputs": [],
1036
+ "stateMutability": "nonpayable",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [],
1041
+ "name": "extR1",
1042
+ "outputs": [
1043
+ {
1044
+ "internalType": "contract externalReceiver",
1045
+ "name": "",
1046
+ "type": "address"
1047
+ }
1048
+ ],
1049
+ "stateMutability": "view",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [],
1054
+ "name": "extS1",
1055
+ "outputs": [
1056
+ {
1057
+ "internalType": "contract externalService",
1058
+ "name": "",
1059
+ "type": "address"
1060
+ }
1061
+ ],
1062
+ "stateMutability": "view",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "inputs": [
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "_address",
1070
+ "type": "address"
1071
+ }
1072
+ ],
1073
+ "name": "externalReceiver1",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "_address",
1083
+ "type": "address"
1084
+ }
1085
+ ],
1086
+ "name": "externalService1",
1087
+ "outputs": [],
1088
+ "stateMutability": "nonpayable",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [],
1093
+ "name": "gn",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "contract genesisCalls",
1097
+ "name": "",
1098
+ "type": "address"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [],
1106
+ "name": "gnb",
1107
+ "outputs": [
1108
+ {
1109
+ "internalType": "contract genesisBuys",
1110
+ "name": "",
1111
+ "type": "address"
1112
+ }
1113
+ ],
1114
+ "stateMutability": "view",
1115
+ "type": "function"
1116
+ },
1117
+ {
1118
+ "inputs": [
1119
+ {
1120
+ "internalType": "address",
1121
+ "name": "_address",
1122
+ "type": "address"
1123
+ }
1124
+ ],
1125
+ "name": "isAnyGenesisAddress",
1126
+ "outputs": [
1127
+ {
1128
+ "internalType": "bool",
1129
+ "name": "success",
1130
+ "type": "bool"
1131
+ }
1132
+ ],
1133
+ "stateMutability": "view",
1134
+ "type": "function"
1135
+ },
1136
+ {
1137
+ "inputs": [
1138
+ {
1139
+ "internalType": "address",
1140
+ "name": "_address",
1141
+ "type": "address"
1142
+ }
1143
+ ],
1144
+ "name": "isGenesisAddressLevel1",
1145
+ "outputs": [
1146
+ {
1147
+ "internalType": "bool",
1148
+ "name": "success",
1149
+ "type": "bool"
1150
+ }
1151
+ ],
1152
+ "stateMutability": "view",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "address",
1159
+ "name": "_address",
1160
+ "type": "address"
1161
+ }
1162
+ ],
1163
+ "name": "isGenesisAddressLevel2",
1164
+ "outputs": [
1165
+ {
1166
+ "internalType": "bool",
1167
+ "name": "success",
1168
+ "type": "bool"
1169
+ }
1170
+ ],
1171
+ "stateMutability": "view",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "inputs": [
1176
+ {
1177
+ "internalType": "address",
1178
+ "name": "_address",
1179
+ "type": "address"
1180
+ }
1181
+ ],
1182
+ "name": "isGenesisAddressLevel2Or3",
1183
+ "outputs": [
1184
+ {
1185
+ "internalType": "bool",
1186
+ "name": "success",
1187
+ "type": "bool"
1188
+ }
1189
+ ],
1190
+ "stateMutability": "view",
1191
+ "type": "function"
1192
+ },
1193
+ {
1194
+ "inputs": [
1195
+ {
1196
+ "internalType": "address",
1197
+ "name": "_address",
1198
+ "type": "address"
1199
+ }
1200
+ ],
1201
+ "name": "isGenesisAddressLevel3",
1202
+ "outputs": [
1203
+ {
1204
+ "internalType": "bool",
1205
+ "name": "success",
1206
+ "type": "bool"
1207
+ }
1208
+ ],
1209
+ "stateMutability": "view",
1210
+ "type": "function"
1211
+ },
1212
+ {
1213
+ "inputs": [],
1214
+ "name": "lkd",
1215
+ "outputs": [
1216
+ {
1217
+ "internalType": "contract luckyDraw",
1218
+ "name": "",
1219
+ "type": "address"
1220
+ }
1221
+ ],
1222
+ "stateMutability": "view",
1223
+ "type": "function"
1224
+ },
1225
+ {
1226
+ "inputs": [
1227
+ {
1228
+ "internalType": "address",
1229
+ "name": "_address",
1230
+ "type": "address"
1231
+ }
1232
+ ],
1233
+ "name": "loadLuckyDraw",
1234
+ "outputs": [],
1235
+ "stateMutability": "nonpayable",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [
1240
+ {
1241
+ "internalType": "address",
1242
+ "name": "_address",
1243
+ "type": "address"
1244
+ }
1245
+ ],
1246
+ "name": "loadMNEStaking",
1247
+ "outputs": [],
1248
+ "stateMutability": "nonpayable",
1249
+ "type": "function"
1250
+ },
1251
+ {
1252
+ "inputs": [],
1253
+ "name": "mneStk",
1254
+ "outputs": [
1255
+ {
1256
+ "internalType": "contract mneStaking",
1257
+ "name": "",
1258
+ "type": "address"
1259
+ }
1260
+ ],
1261
+ "stateMutability": "view",
1262
+ "type": "function"
1263
+ },
1264
+ {
1265
+ "inputs": [],
1266
+ "name": "na",
1267
+ "outputs": [
1268
+ {
1269
+ "internalType": "contract normalAddress",
1270
+ "name": "",
1271
+ "type": "address"
1272
+ }
1273
+ ],
1274
+ "stateMutability": "view",
1275
+ "type": "function"
1276
+ },
1277
+ {
1278
+ "inputs": [],
1279
+ "name": "name",
1280
+ "outputs": [
1281
+ {
1282
+ "internalType": "string",
1283
+ "name": "",
1284
+ "type": "string"
1285
+ }
1286
+ ],
1287
+ "stateMutability": "view",
1288
+ "type": "function"
1289
+ },
1290
+ {
1291
+ "inputs": [],
1292
+ "name": "pa",
1293
+ "outputs": [
1294
+ {
1295
+ "internalType": "contract publicArrays",
1296
+ "name": "",
1297
+ "type": "address"
1298
+ }
1299
+ ],
1300
+ "stateMutability": "view",
1301
+ "type": "function"
1302
+ },
1303
+ {
1304
+ "inputs": [],
1305
+ "name": "payoutBlocked",
1306
+ "outputs": [
1307
+ {
1308
+ "internalType": "bool",
1309
+ "name": "",
1310
+ "type": "bool"
1311
+ }
1312
+ ],
1313
+ "stateMutability": "view",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "inputs": [],
1318
+ "name": "payoutOwner",
1319
+ "outputs": [
1320
+ {
1321
+ "internalType": "address",
1322
+ "name": "",
1323
+ "type": "address"
1324
+ }
1325
+ ],
1326
+ "stateMutability": "view",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [],
1331
+ "name": "pc",
1332
+ "outputs": [
1333
+ {
1334
+ "internalType": "contract publicCalls",
1335
+ "name": "",
1336
+ "type": "address"
1337
+ }
1338
+ ],
1339
+ "stateMutability": "view",
1340
+ "type": "function"
1341
+ },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "address[]",
1346
+ "name": "_addressList",
1347
+ "type": "address[]"
1348
+ }
1349
+ ],
1350
+ "name": "registerAddresses",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "address[]",
1359
+ "name": "_addressList",
1360
+ "type": "address[]"
1361
+ },
1362
+ {
1363
+ "internalType": "uint256",
1364
+ "name": "_value",
1365
+ "type": "uint256"
1366
+ }
1367
+ ],
1368
+ "name": "registerAddressesValue",
1369
+ "outputs": [],
1370
+ "stateMutability": "nonpayable",
1371
+ "type": "function"
1372
+ },
1373
+ {
1374
+ "inputs": [
1375
+ {
1376
+ "internalType": "address",
1377
+ "name": "_address",
1378
+ "type": "address"
1379
+ }
1380
+ ],
1381
+ "name": "reloadBaseTransfers",
1382
+ "outputs": [],
1383
+ "stateMutability": "nonpayable",
1384
+ "type": "function"
1385
+ },
1386
+ {
1387
+ "inputs": [
1388
+ {
1389
+ "internalType": "address",
1390
+ "name": "_address",
1391
+ "type": "address"
1392
+ }
1393
+ ],
1394
+ "name": "reloadGenesis",
1395
+ "outputs": [],
1396
+ "stateMutability": "nonpayable",
1397
+ "type": "function"
1398
+ },
1399
+ {
1400
+ "inputs": [
1401
+ {
1402
+ "internalType": "address",
1403
+ "name": "_address",
1404
+ "type": "address"
1405
+ }
1406
+ ],
1407
+ "name": "reloadGenesisBuys",
1408
+ "outputs": [],
1409
+ "stateMutability": "nonpayable",
1410
+ "type": "function"
1411
+ },
1412
+ {
1413
+ "inputs": [
1414
+ {
1415
+ "internalType": "address",
1416
+ "name": "_address",
1417
+ "type": "address"
1418
+ }
1419
+ ],
1420
+ "name": "reloadNormalAddress",
1421
+ "outputs": [],
1422
+ "stateMutability": "nonpayable",
1423
+ "type": "function"
1424
+ },
1425
+ {
1426
+ "inputs": [
1427
+ {
1428
+ "internalType": "address",
1429
+ "name": "_address",
1430
+ "type": "address"
1431
+ },
1432
+ {
1433
+ "internalType": "uint256",
1434
+ "name": "code",
1435
+ "type": "uint256"
1436
+ }
1437
+ ],
1438
+ "name": "reloadPublicArrays",
1439
+ "outputs": [],
1440
+ "stateMutability": "nonpayable",
1441
+ "type": "function"
1442
+ },
1443
+ {
1444
+ "inputs": [
1445
+ {
1446
+ "internalType": "address",
1447
+ "name": "_address",
1448
+ "type": "address"
1449
+ },
1450
+ {
1451
+ "internalType": "uint256",
1452
+ "name": "code",
1453
+ "type": "uint256"
1454
+ }
1455
+ ],
1456
+ "name": "reloadPublicCalls",
1457
+ "outputs": [],
1458
+ "stateMutability": "nonpayable",
1459
+ "type": "function"
1460
+ },
1461
+ {
1462
+ "inputs": [
1463
+ {
1464
+ "internalType": "address",
1465
+ "name": "_address",
1466
+ "type": "address"
1467
+ }
1468
+ ],
1469
+ "name": "reloadStakeBuys",
1470
+ "outputs": [],
1471
+ "stateMutability": "nonpayable",
1472
+ "type": "function"
1473
+ },
1474
+ {
1475
+ "inputs": [
1476
+ {
1477
+ "internalType": "address",
1478
+ "name": "_address",
1479
+ "type": "address"
1480
+ }
1481
+ ],
1482
+ "name": "reloadStakes",
1483
+ "outputs": [],
1484
+ "stateMutability": "nonpayable",
1485
+ "type": "function"
1486
+ },
1487
+ {
1488
+ "inputs": [
1489
+ {
1490
+ "internalType": "address",
1491
+ "name": "_address",
1492
+ "type": "address"
1493
+ }
1494
+ ],
1495
+ "name": "reloadTokenService",
1496
+ "outputs": [],
1497
+ "stateMutability": "nonpayable",
1498
+ "type": "function"
1499
+ },
1500
+ {
1501
+ "inputs": [],
1502
+ "name": "secondaryPayoutAddress",
1503
+ "outputs": [
1504
+ {
1505
+ "internalType": "address payable",
1506
+ "name": "",
1507
+ "type": "address"
1508
+ }
1509
+ ],
1510
+ "stateMutability": "view",
1511
+ "type": "function"
1512
+ },
1513
+ {
1514
+ "inputs": [
1515
+ {
1516
+ "internalType": "address",
1517
+ "name": "_address",
1518
+ "type": "address"
1519
+ },
1520
+ {
1521
+ "internalType": "uint256",
1522
+ "name": "_balance",
1523
+ "type": "uint256"
1524
+ }
1525
+ ],
1526
+ "name": "setBalanceNormalAddress",
1527
+ "outputs": [],
1528
+ "stateMutability": "nonpayable",
1529
+ "type": "function"
1530
+ },
1531
+ {
1532
+ "inputs": [
1533
+ {
1534
+ "internalType": "address",
1535
+ "name": "_address",
1536
+ "type": "address"
1537
+ },
1538
+ {
1539
+ "internalType": "uint256",
1540
+ "name": "balance",
1541
+ "type": "uint256"
1542
+ }
1543
+ ],
1544
+ "name": "setBalanceStakes",
1545
+ "outputs": [],
1546
+ "stateMutability": "nonpayable",
1547
+ "type": "function"
1548
+ },
1549
+ {
1550
+ "inputs": [],
1551
+ "name": "setPayoutOwner",
1552
+ "outputs": [],
1553
+ "stateMutability": "nonpayable",
1554
+ "type": "function"
1555
+ },
1556
+ {
1557
+ "inputs": [
1558
+ {
1559
+ "internalType": "address payable",
1560
+ "name": "_address",
1561
+ "type": "address"
1562
+ }
1563
+ ],
1564
+ "name": "setSecondaryPayoutAddress",
1565
+ "outputs": [],
1566
+ "stateMutability": "nonpayable",
1567
+ "type": "function"
1568
+ },
1569
+ {
1570
+ "inputs": [],
1571
+ "name": "setUpdater",
1572
+ "outputs": [],
1573
+ "stateMutability": "nonpayable",
1574
+ "type": "function"
1575
+ },
1576
+ {
1577
+ "inputs": [],
1578
+ "name": "st",
1579
+ "outputs": [
1580
+ {
1581
+ "internalType": "contract stakes",
1582
+ "name": "",
1583
+ "type": "address"
1584
+ }
1585
+ ],
1586
+ "stateMutability": "view",
1587
+ "type": "function"
1588
+ },
1589
+ {
1590
+ "inputs": [
1591
+ {
1592
+ "internalType": "address",
1593
+ "name": "_address",
1594
+ "type": "address"
1595
+ }
1596
+ ],
1597
+ "name": "stakeBalanceOf",
1598
+ "outputs": [
1599
+ {
1600
+ "internalType": "uint256",
1601
+ "name": "balance",
1602
+ "type": "uint256"
1603
+ }
1604
+ ],
1605
+ "stateMutability": "view",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1610
+ {
1611
+ "internalType": "uint256",
1612
+ "name": "_stakeDecimals",
1613
+ "type": "uint256"
1614
+ }
1615
+ ],
1616
+ "name": "stakeDecimalsSet",
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [],
1623
+ "name": "stb",
1624
+ "outputs": [
1625
+ {
1626
+ "internalType": "contract stakeBuys",
1627
+ "name": "",
1628
+ "type": "address"
1629
+ }
1630
+ ],
1631
+ "stateMutability": "view",
1632
+ "type": "function"
1633
+ },
1634
+ {
1635
+ "inputs": [],
1636
+ "name": "stopSetup",
1637
+ "outputs": [
1638
+ {
1639
+ "internalType": "bool",
1640
+ "name": "success",
1641
+ "type": "bool"
1642
+ }
1643
+ ],
1644
+ "stateMutability": "nonpayable",
1645
+ "type": "function"
1646
+ },
1647
+ {
1648
+ "inputs": [],
1649
+ "name": "symbol",
1650
+ "outputs": [
1651
+ {
1652
+ "internalType": "string",
1653
+ "name": "",
1654
+ "type": "string"
1655
+ }
1656
+ ],
1657
+ "stateMutability": "view",
1658
+ "type": "function"
1659
+ },
1660
+ {
1661
+ "inputs": [],
1662
+ "name": "tks",
1663
+ "outputs": [
1664
+ {
1665
+ "internalType": "contract tokenService",
1666
+ "name": "",
1667
+ "type": "address"
1668
+ }
1669
+ ],
1670
+ "stateMutability": "view",
1671
+ "type": "function"
1672
+ },
1673
+ {
1674
+ "inputs": [],
1675
+ "name": "totalSupply",
1676
+ "outputs": [
1677
+ {
1678
+ "internalType": "uint256",
1679
+ "name": "TotalSupply",
1680
+ "type": "uint256"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "view",
1684
+ "type": "function"
1685
+ },
1686
+ {
1687
+ "inputs": [
1688
+ {
1689
+ "internalType": "address",
1690
+ "name": "_to",
1691
+ "type": "address"
1692
+ },
1693
+ {
1694
+ "internalType": "uint256",
1695
+ "name": "_value",
1696
+ "type": "uint256"
1697
+ }
1698
+ ],
1699
+ "name": "transfer",
1700
+ "outputs": [],
1701
+ "stateMutability": "nonpayable",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [
1706
+ {
1707
+ "internalType": "address",
1708
+ "name": "_from",
1709
+ "type": "address"
1710
+ },
1711
+ {
1712
+ "internalType": "address",
1713
+ "name": "_to",
1714
+ "type": "address"
1715
+ },
1716
+ {
1717
+ "internalType": "uint256",
1718
+ "name": "_amount",
1719
+ "type": "uint256"
1720
+ }
1721
+ ],
1722
+ "name": "transferFrom",
1723
+ "outputs": [
1724
+ {
1725
+ "internalType": "bool",
1726
+ "name": "success",
1727
+ "type": "bool"
1728
+ }
1729
+ ],
1730
+ "stateMutability": "nonpayable",
1731
+ "type": "function"
1732
+ },
1733
+ {
1734
+ "inputs": [],
1735
+ "name": "updaterAddress",
1736
+ "outputs": [
1737
+ {
1738
+ "internalType": "address",
1739
+ "name": "",
1740
+ "type": "address"
1741
+ }
1742
+ ],
1743
+ "stateMutability": "view",
1744
+ "type": "function"
1745
+ }
1746
+ ];
1747
+ /**
1748
+ * Minereum_json Contract Class
1749
+ *
1750
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1751
+ *
1752
+ * @example
1753
+ * ```typescript
1754
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1755
+ * import { mainnet } from 'viem/chains';
1756
+ * import { Minereum_json } from 'Minereum_json';
1757
+ *
1758
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1759
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1760
+ *
1761
+ * const contract = new Minereum_json('0x...', { publicClient, walletClient });
1762
+ *
1763
+ * // Read functions
1764
+ * const result = await contract.balanceOf('0x...');
1765
+ *
1766
+ * // Write functions
1767
+ * const hash = await contract.transfer('0x...', 1000n);
1768
+ *
1769
+ * // Simulate transactions (dry-run)
1770
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1771
+ * console.log('Gas estimate:', simulation.request.gas);
1772
+ *
1773
+ * // Watch events
1774
+ * const unwatch = contract.watch.Transfer((event) => {
1775
+ * console.log('Transfer event:', event);
1776
+ * });
1777
+ * ```
1778
+ */
1779
+ class Minereum_json {
1780
+ constructor(address, clients) {
1781
+ this.contractAddress = address;
1782
+ this.publicClient = clients.publicClient;
1783
+ this.contract = (0, viem_1.getContract)({
1784
+ address,
1785
+ abi: exports.Minereum_jsonAbi,
1786
+ client: {
1787
+ public: clients.publicClient,
1788
+ wallet: clients.walletClient,
1789
+ },
1790
+ });
1791
+ }
1792
+ /**
1793
+ * Get the contract address
1794
+ */
1795
+ get address() {
1796
+ return this.contractAddress;
1797
+ }
1798
+ /**
1799
+ * Get the underlying viem contract instance
1800
+ */
1801
+ getContract() {
1802
+ return this.contract;
1803
+ }
1804
+ /**
1805
+ * allowance
1806
+ * view
1807
+ */
1808
+ async allowance(_owner, _spender) {
1809
+ return this.contract.read.allowance([_owner, _spender]);
1810
+ }
1811
+ /**
1812
+ * availableBalanceOf
1813
+ * view
1814
+ */
1815
+ async availableBalanceOf(_address) {
1816
+ return this.contract.read.availableBalanceOf([_address]);
1817
+ }
1818
+ /**
1819
+ * balanceOf
1820
+ * view
1821
+ */
1822
+ async balanceOf(_address) {
1823
+ return this.contract.read.balanceOf([_address]);
1824
+ }
1825
+ /**
1826
+ * bst
1827
+ * view
1828
+ */
1829
+ async bst() {
1830
+ return this.contract.read.bst();
1831
+ }
1832
+ /**
1833
+ * currentBlock
1834
+ * view
1835
+ */
1836
+ async currentBlock() {
1837
+ return this.contract.read.currentBlock();
1838
+ }
1839
+ /**
1840
+ * currentEthBlock
1841
+ * view
1842
+ */
1843
+ async currentEthBlock() {
1844
+ return this.contract.read.currentEthBlock();
1845
+ }
1846
+ /**
1847
+ * decimals
1848
+ * view
1849
+ */
1850
+ async decimals() {
1851
+ return this.contract.read.decimals();
1852
+ }
1853
+ /**
1854
+ * extR1
1855
+ * view
1856
+ */
1857
+ async extR1() {
1858
+ return this.contract.read.extR1();
1859
+ }
1860
+ /**
1861
+ * extS1
1862
+ * view
1863
+ */
1864
+ async extS1() {
1865
+ return this.contract.read.extS1();
1866
+ }
1867
+ /**
1868
+ * gn
1869
+ * view
1870
+ */
1871
+ async gn() {
1872
+ return this.contract.read.gn();
1873
+ }
1874
+ /**
1875
+ * gnb
1876
+ * view
1877
+ */
1878
+ async gnb() {
1879
+ return this.contract.read.gnb();
1880
+ }
1881
+ /**
1882
+ * isAnyGenesisAddress
1883
+ * view
1884
+ */
1885
+ async isAnyGenesisAddress(_address) {
1886
+ return this.contract.read.isAnyGenesisAddress([_address]);
1887
+ }
1888
+ /**
1889
+ * isGenesisAddressLevel1
1890
+ * view
1891
+ */
1892
+ async isGenesisAddressLevel1(_address) {
1893
+ return this.contract.read.isGenesisAddressLevel1([_address]);
1894
+ }
1895
+ /**
1896
+ * isGenesisAddressLevel2
1897
+ * view
1898
+ */
1899
+ async isGenesisAddressLevel2(_address) {
1900
+ return this.contract.read.isGenesisAddressLevel2([_address]);
1901
+ }
1902
+ /**
1903
+ * isGenesisAddressLevel2Or3
1904
+ * view
1905
+ */
1906
+ async isGenesisAddressLevel2Or3(_address) {
1907
+ return this.contract.read.isGenesisAddressLevel2Or3([_address]);
1908
+ }
1909
+ /**
1910
+ * isGenesisAddressLevel3
1911
+ * view
1912
+ */
1913
+ async isGenesisAddressLevel3(_address) {
1914
+ return this.contract.read.isGenesisAddressLevel3([_address]);
1915
+ }
1916
+ /**
1917
+ * lkd
1918
+ * view
1919
+ */
1920
+ async lkd() {
1921
+ return this.contract.read.lkd();
1922
+ }
1923
+ /**
1924
+ * mneStk
1925
+ * view
1926
+ */
1927
+ async mneStk() {
1928
+ return this.contract.read.mneStk();
1929
+ }
1930
+ /**
1931
+ * na
1932
+ * view
1933
+ */
1934
+ async na() {
1935
+ return this.contract.read.na();
1936
+ }
1937
+ /**
1938
+ * name
1939
+ * view
1940
+ */
1941
+ async name() {
1942
+ return this.contract.read.name();
1943
+ }
1944
+ /**
1945
+ * pa
1946
+ * view
1947
+ */
1948
+ async pa() {
1949
+ return this.contract.read.pa();
1950
+ }
1951
+ /**
1952
+ * payoutBlocked
1953
+ * view
1954
+ */
1955
+ async payoutBlocked() {
1956
+ return this.contract.read.payoutBlocked();
1957
+ }
1958
+ /**
1959
+ * payoutOwner
1960
+ * view
1961
+ */
1962
+ async payoutOwner() {
1963
+ return this.contract.read.payoutOwner();
1964
+ }
1965
+ /**
1966
+ * pc
1967
+ * view
1968
+ */
1969
+ async pc() {
1970
+ return this.contract.read.pc();
1971
+ }
1972
+ /**
1973
+ * secondaryPayoutAddress
1974
+ * view
1975
+ */
1976
+ async secondaryPayoutAddress() {
1977
+ return this.contract.read.secondaryPayoutAddress();
1978
+ }
1979
+ /**
1980
+ * st
1981
+ * view
1982
+ */
1983
+ async st() {
1984
+ return this.contract.read.st();
1985
+ }
1986
+ /**
1987
+ * stakeBalanceOf
1988
+ * view
1989
+ */
1990
+ async stakeBalanceOf(_address) {
1991
+ return this.contract.read.stakeBalanceOf([_address]);
1992
+ }
1993
+ /**
1994
+ * stb
1995
+ * view
1996
+ */
1997
+ async stb() {
1998
+ return this.contract.read.stb();
1999
+ }
2000
+ /**
2001
+ * symbol
2002
+ * view
2003
+ */
2004
+ async symbol() {
2005
+ return this.contract.read.symbol();
2006
+ }
2007
+ /**
2008
+ * tks
2009
+ * view
2010
+ */
2011
+ async tks() {
2012
+ return this.contract.read.tks();
2013
+ }
2014
+ /**
2015
+ * totalSupply
2016
+ * view
2017
+ */
2018
+ async totalSupply() {
2019
+ return this.contract.read.totalSupply();
2020
+ }
2021
+ /**
2022
+ * updaterAddress
2023
+ * view
2024
+ */
2025
+ async updaterAddress() {
2026
+ return this.contract.read.updaterAddress();
2027
+ }
2028
+ /**
2029
+ * AllowAddressToDestroyGenesis
2030
+ * nonpayable
2031
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2032
+ */
2033
+ async AllowAddressToDestroyGenesis(_address, options) {
2034
+ if (!this.contract.write) {
2035
+ throw new Error('Wallet client is required for write operations');
2036
+ }
2037
+ return this.contract.write.AllowAddressToDestroyGenesis([_address], options);
2038
+ }
2039
+ /**
2040
+ * AllowReceiveGenesisTransfers
2041
+ * nonpayable
2042
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2043
+ */
2044
+ async AllowReceiveGenesisTransfers(options) {
2045
+ if (!this.contract.write) {
2046
+ throw new Error('Wallet client is required for write operations');
2047
+ }
2048
+ return this.contract.write.AllowReceiveGenesisTransfers(options);
2049
+ }
2050
+ /**
2051
+ * BurnGenesisAddresses
2052
+ * nonpayable
2053
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2054
+ */
2055
+ async BurnGenesisAddresses(_genesisAddressesToBurn, options) {
2056
+ if (!this.contract.write) {
2057
+ throw new Error('Wallet client is required for write operations');
2058
+ }
2059
+ return this.contract.write.BurnGenesisAddresses([_genesisAddressesToBurn], options);
2060
+ }
2061
+ /**
2062
+ * BurnTokens
2063
+ * nonpayable
2064
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2065
+ */
2066
+ async BurnTokens(mneToBurn, options) {
2067
+ if (!this.contract.write) {
2068
+ throw new Error('Wallet client is required for write operations');
2069
+ }
2070
+ return this.contract.write.BurnTokens([mneToBurn], options);
2071
+ }
2072
+ /**
2073
+ * BuyGenesisAddress
2074
+ * payable
2075
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2076
+ */
2077
+ async BuyGenesisAddress(_address, options) {
2078
+ if (!this.contract.write) {
2079
+ throw new Error('Wallet client is required for write operations');
2080
+ }
2081
+ return this.contract.write.BuyGenesisAddress([_address], options);
2082
+ }
2083
+ /**
2084
+ * BuyGenesisLevel1FromNormal
2085
+ * payable
2086
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2087
+ */
2088
+ async BuyGenesisLevel1FromNormal(_address, options) {
2089
+ if (!this.contract.write) {
2090
+ throw new Error('Wallet client is required for write operations');
2091
+ }
2092
+ return this.contract.write.BuyGenesisLevel1FromNormal([_address], options);
2093
+ }
2094
+ /**
2095
+ * BuyGenesisLevel2FromNormal
2096
+ * payable
2097
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2098
+ */
2099
+ async BuyGenesisLevel2FromNormal(_address, options) {
2100
+ if (!this.contract.write) {
2101
+ throw new Error('Wallet client is required for write operations');
2102
+ }
2103
+ return this.contract.write.BuyGenesisLevel2FromNormal([_address], options);
2104
+ }
2105
+ /**
2106
+ * BuyGenesisLevel3FromNormal
2107
+ * payable
2108
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2109
+ */
2110
+ async BuyGenesisLevel3FromNormal(_address, options) {
2111
+ if (!this.contract.write) {
2112
+ throw new Error('Wallet client is required for write operations');
2113
+ }
2114
+ return this.contract.write.BuyGenesisLevel3FromNormal([_address], options);
2115
+ }
2116
+ /**
2117
+ * BuyLuckyDrawTickets
2118
+ * payable
2119
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2120
+ */
2121
+ async BuyLuckyDrawTickets(max, options) {
2122
+ if (!this.contract.write) {
2123
+ throw new Error('Wallet client is required for write operations');
2124
+ }
2125
+ return this.contract.write.BuyLuckyDrawTickets([max], options);
2126
+ }
2127
+ /**
2128
+ * BuyNormalAddress
2129
+ * payable
2130
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2131
+ */
2132
+ async BuyNormalAddress(_address, options) {
2133
+ if (!this.contract.write) {
2134
+ throw new Error('Wallet client is required for write operations');
2135
+ }
2136
+ return this.contract.write.BuyNormalAddress([_address], options);
2137
+ }
2138
+ /**
2139
+ * BuyStakeGenesis
2140
+ * payable
2141
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2142
+ */
2143
+ async BuyStakeGenesis(_address, _genesisAddressesToBurn, options) {
2144
+ if (!this.contract.write) {
2145
+ throw new Error('Wallet client is required for write operations');
2146
+ }
2147
+ return this.contract.write.BuyStakeGenesis([_address, _genesisAddressesToBurn], options);
2148
+ }
2149
+ /**
2150
+ * BuyStakeMNE
2151
+ * payable
2152
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2153
+ */
2154
+ async BuyStakeMNE(_address, options) {
2155
+ if (!this.contract.write) {
2156
+ throw new Error('Wallet client is required for write operations');
2157
+ }
2158
+ return this.contract.write.BuyStakeMNE([_address], options);
2159
+ }
2160
+ /**
2161
+ * ContractTransferAllFundsOut
2162
+ * nonpayable
2163
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2164
+ */
2165
+ async ContractTransferAllFundsOut(options) {
2166
+ if (!this.contract.write) {
2167
+ throw new Error('Wallet client is required for write operations');
2168
+ }
2169
+ return this.contract.write.ContractTransferAllFundsOut(options);
2170
+ }
2171
+ /**
2172
+ * CreateToken
2173
+ * payable
2174
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2175
+ */
2176
+ async CreateToken(options) {
2177
+ if (!this.contract.write) {
2178
+ throw new Error('Wallet client is required for write operations');
2179
+ }
2180
+ return this.contract.write.CreateToken(options);
2181
+ }
2182
+ /**
2183
+ * CreateTokenICO
2184
+ * payable
2185
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2186
+ */
2187
+ async CreateTokenICO(options) {
2188
+ if (!this.contract.write) {
2189
+ throw new Error('Wallet client is required for write operations');
2190
+ }
2191
+ return this.contract.write.CreateTokenICO(options);
2192
+ }
2193
+ /**
2194
+ * Payment
2195
+ * payable
2196
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2197
+ */
2198
+ async Payment(options) {
2199
+ if (!this.contract.write) {
2200
+ throw new Error('Wallet client is required for write operations');
2201
+ }
2202
+ return this.contract.write.Payment(options);
2203
+ }
2204
+ /**
2205
+ * PayoutStakeHolders
2206
+ * nonpayable
2207
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2208
+ */
2209
+ async PayoutStakeHolders(options) {
2210
+ if (!this.contract.write) {
2211
+ throw new Error('Wallet client is required for write operations');
2212
+ }
2213
+ return this.contract.write.PayoutStakeHolders(options);
2214
+ }
2215
+ /**
2216
+ * ReceiverFunction1
2217
+ * payable
2218
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2219
+ */
2220
+ async ReceiverFunction1(_mneAmount, _addressList, _uintList, options) {
2221
+ if (!this.contract.write) {
2222
+ throw new Error('Wallet client is required for write operations');
2223
+ }
2224
+ return this.contract.write.ReceiverFunction1([_mneAmount, _addressList, _uintList], options);
2225
+ }
2226
+ /**
2227
+ * RemoveAllowAddressToDestroyGenesis
2228
+ * nonpayable
2229
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2230
+ */
2231
+ async RemoveAllowAddressToDestroyGenesis(options) {
2232
+ if (!this.contract.write) {
2233
+ throw new Error('Wallet client is required for write operations');
2234
+ }
2235
+ return this.contract.write.RemoveAllowAddressToDestroyGenesis(options);
2236
+ }
2237
+ /**
2238
+ * RemoveAllowReceiveGenesisTransfers
2239
+ * nonpayable
2240
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2241
+ */
2242
+ async RemoveAllowReceiveGenesisTransfers(options) {
2243
+ if (!this.contract.write) {
2244
+ throw new Error('Wallet client is required for write operations');
2245
+ }
2246
+ return this.contract.write.RemoveAllowReceiveGenesisTransfers(options);
2247
+ }
2248
+ /**
2249
+ * RemoveGenesisAddressFromSale
2250
+ * nonpayable
2251
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2252
+ */
2253
+ async RemoveGenesisAddressFromSale(options) {
2254
+ if (!this.contract.write) {
2255
+ throw new Error('Wallet client is required for write operations');
2256
+ }
2257
+ return this.contract.write.RemoveGenesisAddressFromSale(options);
2258
+ }
2259
+ /**
2260
+ * RemoveNormalAddressFromSale
2261
+ * nonpayable
2262
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2263
+ */
2264
+ async RemoveNormalAddressFromSale(options) {
2265
+ if (!this.contract.write) {
2266
+ throw new Error('Wallet client is required for write operations');
2267
+ }
2268
+ return this.contract.write.RemoveNormalAddressFromSale(options);
2269
+ }
2270
+ /**
2271
+ * RemoveStakeFromSale
2272
+ * nonpayable
2273
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2274
+ */
2275
+ async RemoveStakeFromSale(options) {
2276
+ if (!this.contract.write) {
2277
+ throw new Error('Wallet client is required for write operations');
2278
+ }
2279
+ return this.contract.write.RemoveStakeFromSale(options);
2280
+ }
2281
+ /**
2282
+ * ServiceFunction1
2283
+ * payable
2284
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2285
+ */
2286
+ async ServiceFunction1(_addressList, _uintList, options) {
2287
+ if (!this.contract.write) {
2288
+ throw new Error('Wallet client is required for write operations');
2289
+ }
2290
+ return this.contract.write.ServiceFunction1([_addressList, _uintList], options);
2291
+ }
2292
+ /**
2293
+ * SetBlockPayouts
2294
+ * nonpayable
2295
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2296
+ */
2297
+ async SetBlockPayouts(toBlock, options) {
2298
+ if (!this.contract.write) {
2299
+ throw new Error('Wallet client is required for write operations');
2300
+ }
2301
+ return this.contract.write.SetBlockPayouts([toBlock], options);
2302
+ }
2303
+ /**
2304
+ * SetGenesisForSale
2305
+ * nonpayable
2306
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2307
+ */
2308
+ async SetGenesisForSale(weiPrice, options) {
2309
+ if (!this.contract.write) {
2310
+ throw new Error('Wallet client is required for write operations');
2311
+ }
2312
+ return this.contract.write.SetGenesisForSale([weiPrice], options);
2313
+ }
2314
+ /**
2315
+ * SetNormalAddressForSale
2316
+ * nonpayable
2317
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2318
+ */
2319
+ async SetNormalAddressForSale(weiPricePerMNE, options) {
2320
+ if (!this.contract.write) {
2321
+ throw new Error('Wallet client is required for write operations');
2322
+ }
2323
+ return this.contract.write.SetNormalAddressForSale([weiPricePerMNE], options);
2324
+ }
2325
+ /**
2326
+ * SetStakeForSale
2327
+ * nonpayable
2328
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2329
+ */
2330
+ async SetStakeForSale(priceInWei, options) {
2331
+ if (!this.contract.write) {
2332
+ throw new Error('Wallet client is required for write operations');
2333
+ }
2334
+ return this.contract.write.SetStakeForSale([priceInWei], options);
2335
+ }
2336
+ /**
2337
+ * StakeTransferGenesis
2338
+ * nonpayable
2339
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2340
+ */
2341
+ async StakeTransferGenesis(_to, _value, _genesisAddressesToBurn, options) {
2342
+ if (!this.contract.write) {
2343
+ throw new Error('Wallet client is required for write operations');
2344
+ }
2345
+ return this.contract.write.StakeTransferGenesis([_to, _value, _genesisAddressesToBurn], options);
2346
+ }
2347
+ /**
2348
+ * StakeTransferMNE
2349
+ * nonpayable
2350
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2351
+ */
2352
+ async StakeTransferMNE(_to, _value, options) {
2353
+ if (!this.contract.write) {
2354
+ throw new Error('Wallet client is required for write operations');
2355
+ }
2356
+ return this.contract.write.StakeTransferMNE([_to, _value], options);
2357
+ }
2358
+ /**
2359
+ * Staking
2360
+ * nonpayable
2361
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2362
+ */
2363
+ async Staking(_amountToStake, _addressList, uintList, options) {
2364
+ if (!this.contract.write) {
2365
+ throw new Error('Wallet client is required for write operations');
2366
+ }
2367
+ return this.contract.write.Staking([_amountToStake, _addressList, uintList], options);
2368
+ }
2369
+ /**
2370
+ * TransferGenesis
2371
+ * nonpayable
2372
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2373
+ */
2374
+ async TransferGenesis(_to, options) {
2375
+ if (!this.contract.write) {
2376
+ throw new Error('Wallet client is required for write operations');
2377
+ }
2378
+ return this.contract.write.TransferGenesis([_to], options);
2379
+ }
2380
+ /**
2381
+ * UpgradeOthersToLevel2FromLevel1
2382
+ * payable
2383
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2384
+ */
2385
+ async UpgradeOthersToLevel2FromLevel1(_addresses, options) {
2386
+ if (!this.contract.write) {
2387
+ throw new Error('Wallet client is required for write operations');
2388
+ }
2389
+ return this.contract.write.UpgradeOthersToLevel2FromLevel1([_addresses], options);
2390
+ }
2391
+ /**
2392
+ * UpgradeOthersToLevel3FromDev
2393
+ * nonpayable
2394
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2395
+ */
2396
+ async UpgradeOthersToLevel3FromDev(_addresses, options) {
2397
+ if (!this.contract.write) {
2398
+ throw new Error('Wallet client is required for write operations');
2399
+ }
2400
+ return this.contract.write.UpgradeOthersToLevel3FromDev([_addresses], options);
2401
+ }
2402
+ /**
2403
+ * UpgradeOthersToLevel3FromLevel1
2404
+ * payable
2405
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2406
+ */
2407
+ async UpgradeOthersToLevel3FromLevel1(_addresses, options) {
2408
+ if (!this.contract.write) {
2409
+ throw new Error('Wallet client is required for write operations');
2410
+ }
2411
+ return this.contract.write.UpgradeOthersToLevel3FromLevel1([_addresses], options);
2412
+ }
2413
+ /**
2414
+ * UpgradeOthersToLevel3FromLevel2
2415
+ * payable
2416
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2417
+ */
2418
+ async UpgradeOthersToLevel3FromLevel2(_addresses, options) {
2419
+ if (!this.contract.write) {
2420
+ throw new Error('Wallet client is required for write operations');
2421
+ }
2422
+ return this.contract.write.UpgradeOthersToLevel3FromLevel2([_addresses], options);
2423
+ }
2424
+ /**
2425
+ * UpgradeToLevel2FromLevel1
2426
+ * payable
2427
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2428
+ */
2429
+ async UpgradeToLevel2FromLevel1(options) {
2430
+ if (!this.contract.write) {
2431
+ throw new Error('Wallet client is required for write operations');
2432
+ }
2433
+ return this.contract.write.UpgradeToLevel2FromLevel1(options);
2434
+ }
2435
+ /**
2436
+ * UpgradeToLevel3FromDev
2437
+ * nonpayable
2438
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2439
+ */
2440
+ async UpgradeToLevel3FromDev(options) {
2441
+ if (!this.contract.write) {
2442
+ throw new Error('Wallet client is required for write operations');
2443
+ }
2444
+ return this.contract.write.UpgradeToLevel3FromDev(options);
2445
+ }
2446
+ /**
2447
+ * UpgradeToLevel3FromLevel1
2448
+ * payable
2449
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2450
+ */
2451
+ async UpgradeToLevel3FromLevel1(options) {
2452
+ if (!this.contract.write) {
2453
+ throw new Error('Wallet client is required for write operations');
2454
+ }
2455
+ return this.contract.write.UpgradeToLevel3FromLevel1(options);
2456
+ }
2457
+ /**
2458
+ * UpgradeToLevel3FromLevel2
2459
+ * payable
2460
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2461
+ */
2462
+ async UpgradeToLevel3FromLevel2(options) {
2463
+ if (!this.contract.write) {
2464
+ throw new Error('Wallet client is required for write operations');
2465
+ }
2466
+ return this.contract.write.UpgradeToLevel3FromLevel2(options);
2467
+ }
2468
+ /**
2469
+ * amountOfGenesisToBuyStakesSet
2470
+ * nonpayable
2471
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2472
+ */
2473
+ async amountOfGenesisToBuyStakesSet(_amountOfGenesisToBuyStakes, options) {
2474
+ if (!this.contract.write) {
2475
+ throw new Error('Wallet client is required for write operations');
2476
+ }
2477
+ return this.contract.write.amountOfGenesisToBuyStakesSet([_amountOfGenesisToBuyStakes], options);
2478
+ }
2479
+ /**
2480
+ * amountOfGenesisToTransferStakesSet
2481
+ * nonpayable
2482
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2483
+ */
2484
+ async amountOfGenesisToTransferStakesSet(_amountOfGenesisToTransferStakes, options) {
2485
+ if (!this.contract.write) {
2486
+ throw new Error('Wallet client is required for write operations');
2487
+ }
2488
+ return this.contract.write.amountOfGenesisToTransferStakesSet([_amountOfGenesisToTransferStakes], options);
2489
+ }
2490
+ /**
2491
+ * amountOfMNEForTokenICOSet
2492
+ * nonpayable
2493
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2494
+ */
2495
+ async amountOfMNEForTokenICOSet(_amountOfMNEForTokenICO, options) {
2496
+ if (!this.contract.write) {
2497
+ throw new Error('Wallet client is required for write operations');
2498
+ }
2499
+ return this.contract.write.amountOfMNEForTokenICOSet([_amountOfMNEForTokenICO], options);
2500
+ }
2501
+ /**
2502
+ * amountOfMNEForTokenSet
2503
+ * nonpayable
2504
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2505
+ */
2506
+ async amountOfMNEForTokenSet(_amountOfMNEForToken, options) {
2507
+ if (!this.contract.write) {
2508
+ throw new Error('Wallet client is required for write operations');
2509
+ }
2510
+ return this.contract.write.amountOfMNEForTokenSet([_amountOfMNEForToken], options);
2511
+ }
2512
+ /**
2513
+ * amountOfMNEToBuyStakesSet
2514
+ * nonpayable
2515
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2516
+ */
2517
+ async amountOfMNEToBuyStakesSet(_amountOfMNEToBuyStakes, options) {
2518
+ if (!this.contract.write) {
2519
+ throw new Error('Wallet client is required for write operations');
2520
+ }
2521
+ return this.contract.write.amountOfMNEToBuyStakesSet([_amountOfMNEToBuyStakes], options);
2522
+ }
2523
+ /**
2524
+ * amountOfMNEToTransferStakesSet
2525
+ * nonpayable
2526
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2527
+ */
2528
+ async amountOfMNEToTransferStakesSet(_amountOfMNEToTransferStakes, options) {
2529
+ if (!this.contract.write) {
2530
+ throw new Error('Wallet client is required for write operations');
2531
+ }
2532
+ return this.contract.write.amountOfMNEToTransferStakesSet([_amountOfMNEToTransferStakes], options);
2533
+ }
2534
+ /**
2535
+ * approve
2536
+ * nonpayable
2537
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2538
+ */
2539
+ async approve(_spender, _amount, options) {
2540
+ if (!this.contract.write) {
2541
+ throw new Error('Wallet client is required for write operations');
2542
+ }
2543
+ return this.contract.write.approve([_spender, _amount], options);
2544
+ }
2545
+ /**
2546
+ * ethFeeForSellerLevel1Set
2547
+ * nonpayable
2548
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2549
+ */
2550
+ async ethFeeForSellerLevel1Set(_ethFeeForSellerLevel1, options) {
2551
+ if (!this.contract.write) {
2552
+ throw new Error('Wallet client is required for write operations');
2553
+ }
2554
+ return this.contract.write.ethFeeForSellerLevel1Set([_ethFeeForSellerLevel1], options);
2555
+ }
2556
+ /**
2557
+ * ethFeeForTokenICOSet
2558
+ * nonpayable
2559
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2560
+ */
2561
+ async ethFeeForTokenICOSet(_ethFeeForTokenICO, options) {
2562
+ if (!this.contract.write) {
2563
+ throw new Error('Wallet client is required for write operations');
2564
+ }
2565
+ return this.contract.write.ethFeeForTokenICOSet([_ethFeeForTokenICO], options);
2566
+ }
2567
+ /**
2568
+ * ethFeeForTokenSet
2569
+ * nonpayable
2570
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2571
+ */
2572
+ async ethFeeForTokenSet(_ethFeeForToken, options) {
2573
+ if (!this.contract.write) {
2574
+ throw new Error('Wallet client is required for write operations');
2575
+ }
2576
+ return this.contract.write.ethFeeForTokenSet([_ethFeeForToken], options);
2577
+ }
2578
+ /**
2579
+ * ethFeeToBuyLevel1Set
2580
+ * nonpayable
2581
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2582
+ */
2583
+ async ethFeeToBuyLevel1Set(_ethFeeToBuyLevel1, options) {
2584
+ if (!this.contract.write) {
2585
+ throw new Error('Wallet client is required for write operations');
2586
+ }
2587
+ return this.contract.write.ethFeeToBuyLevel1Set([_ethFeeToBuyLevel1], options);
2588
+ }
2589
+ /**
2590
+ * ethFeeToUpgradeToLevel2Set
2591
+ * nonpayable
2592
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2593
+ */
2594
+ async ethFeeToUpgradeToLevel2Set(_ethFeeToUpgradeToLevel2, options) {
2595
+ if (!this.contract.write) {
2596
+ throw new Error('Wallet client is required for write operations');
2597
+ }
2598
+ return this.contract.write.ethFeeToUpgradeToLevel2Set([_ethFeeToUpgradeToLevel2], options);
2599
+ }
2600
+ /**
2601
+ * ethFeeToUpgradeToLevel3Set
2602
+ * nonpayable
2603
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2604
+ */
2605
+ async ethFeeToUpgradeToLevel3Set(_ethFeeToUpgradeToLevel3, options) {
2606
+ if (!this.contract.write) {
2607
+ throw new Error('Wallet client is required for write operations');
2608
+ }
2609
+ return this.contract.write.ethFeeToUpgradeToLevel3Set([_ethFeeToUpgradeToLevel3], options);
2610
+ }
2611
+ /**
2612
+ * ethPercentFeeGenesisExchangeSet
2613
+ * nonpayable
2614
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2615
+ */
2616
+ async ethPercentFeeGenesisExchangeSet(_ethPercentFeeGenesisExchange, options) {
2617
+ if (!this.contract.write) {
2618
+ throw new Error('Wallet client is required for write operations');
2619
+ }
2620
+ return this.contract.write.ethPercentFeeGenesisExchangeSet([_ethPercentFeeGenesisExchange], options);
2621
+ }
2622
+ /**
2623
+ * ethPercentFeeNormalExchangeSet
2624
+ * nonpayable
2625
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2626
+ */
2627
+ async ethPercentFeeNormalExchangeSet(_ethPercentFeeNormalExchange, options) {
2628
+ if (!this.contract.write) {
2629
+ throw new Error('Wallet client is required for write operations');
2630
+ }
2631
+ return this.contract.write.ethPercentFeeNormalExchangeSet([_ethPercentFeeNormalExchange], options);
2632
+ }
2633
+ /**
2634
+ * ethPercentStakeExchangeSet
2635
+ * nonpayable
2636
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2637
+ */
2638
+ async ethPercentStakeExchangeSet(_ethPercentStakeExchange, options) {
2639
+ if (!this.contract.write) {
2640
+ throw new Error('Wallet client is required for write operations');
2641
+ }
2642
+ return this.contract.write.ethPercentStakeExchangeSet([_ethPercentStakeExchange], options);
2643
+ }
2644
+ /**
2645
+ * externalReceiver1
2646
+ * nonpayable
2647
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2648
+ */
2649
+ async externalReceiver1(_address, options) {
2650
+ if (!this.contract.write) {
2651
+ throw new Error('Wallet client is required for write operations');
2652
+ }
2653
+ return this.contract.write.externalReceiver1([_address], options);
2654
+ }
2655
+ /**
2656
+ * externalService1
2657
+ * nonpayable
2658
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2659
+ */
2660
+ async externalService1(_address, options) {
2661
+ if (!this.contract.write) {
2662
+ throw new Error('Wallet client is required for write operations');
2663
+ }
2664
+ return this.contract.write.externalService1([_address], options);
2665
+ }
2666
+ /**
2667
+ * loadLuckyDraw
2668
+ * nonpayable
2669
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2670
+ */
2671
+ async loadLuckyDraw(_address, options) {
2672
+ if (!this.contract.write) {
2673
+ throw new Error('Wallet client is required for write operations');
2674
+ }
2675
+ return this.contract.write.loadLuckyDraw([_address], options);
2676
+ }
2677
+ /**
2678
+ * loadMNEStaking
2679
+ * nonpayable
2680
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2681
+ */
2682
+ async loadMNEStaking(_address, options) {
2683
+ if (!this.contract.write) {
2684
+ throw new Error('Wallet client is required for write operations');
2685
+ }
2686
+ return this.contract.write.loadMNEStaking([_address], options);
2687
+ }
2688
+ /**
2689
+ * registerAddresses
2690
+ * nonpayable
2691
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2692
+ */
2693
+ async registerAddresses(_addressList, options) {
2694
+ if (!this.contract.write) {
2695
+ throw new Error('Wallet client is required for write operations');
2696
+ }
2697
+ return this.contract.write.registerAddresses([_addressList], options);
2698
+ }
2699
+ /**
2700
+ * registerAddressesValue
2701
+ * nonpayable
2702
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2703
+ */
2704
+ async registerAddressesValue(_addressList, _value, options) {
2705
+ if (!this.contract.write) {
2706
+ throw new Error('Wallet client is required for write operations');
2707
+ }
2708
+ return this.contract.write.registerAddressesValue([_addressList, _value], options);
2709
+ }
2710
+ /**
2711
+ * reloadBaseTransfers
2712
+ * nonpayable
2713
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2714
+ */
2715
+ async reloadBaseTransfers(_address, options) {
2716
+ if (!this.contract.write) {
2717
+ throw new Error('Wallet client is required for write operations');
2718
+ }
2719
+ return this.contract.write.reloadBaseTransfers([_address], options);
2720
+ }
2721
+ /**
2722
+ * reloadGenesis
2723
+ * nonpayable
2724
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2725
+ */
2726
+ async reloadGenesis(_address, options) {
2727
+ if (!this.contract.write) {
2728
+ throw new Error('Wallet client is required for write operations');
2729
+ }
2730
+ return this.contract.write.reloadGenesis([_address], options);
2731
+ }
2732
+ /**
2733
+ * reloadGenesisBuys
2734
+ * nonpayable
2735
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2736
+ */
2737
+ async reloadGenesisBuys(_address, options) {
2738
+ if (!this.contract.write) {
2739
+ throw new Error('Wallet client is required for write operations');
2740
+ }
2741
+ return this.contract.write.reloadGenesisBuys([_address], options);
2742
+ }
2743
+ /**
2744
+ * reloadNormalAddress
2745
+ * nonpayable
2746
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2747
+ */
2748
+ async reloadNormalAddress(_address, options) {
2749
+ if (!this.contract.write) {
2750
+ throw new Error('Wallet client is required for write operations');
2751
+ }
2752
+ return this.contract.write.reloadNormalAddress([_address], options);
2753
+ }
2754
+ /**
2755
+ * reloadPublicArrays
2756
+ * nonpayable
2757
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2758
+ */
2759
+ async reloadPublicArrays(_address, code, options) {
2760
+ if (!this.contract.write) {
2761
+ throw new Error('Wallet client is required for write operations');
2762
+ }
2763
+ return this.contract.write.reloadPublicArrays([_address, code], options);
2764
+ }
2765
+ /**
2766
+ * reloadPublicCalls
2767
+ * nonpayable
2768
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2769
+ */
2770
+ async reloadPublicCalls(_address, code, options) {
2771
+ if (!this.contract.write) {
2772
+ throw new Error('Wallet client is required for write operations');
2773
+ }
2774
+ return this.contract.write.reloadPublicCalls([_address, code], options);
2775
+ }
2776
+ /**
2777
+ * reloadStakeBuys
2778
+ * nonpayable
2779
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2780
+ */
2781
+ async reloadStakeBuys(_address, options) {
2782
+ if (!this.contract.write) {
2783
+ throw new Error('Wallet client is required for write operations');
2784
+ }
2785
+ return this.contract.write.reloadStakeBuys([_address], options);
2786
+ }
2787
+ /**
2788
+ * reloadStakes
2789
+ * nonpayable
2790
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2791
+ */
2792
+ async reloadStakes(_address, options) {
2793
+ if (!this.contract.write) {
2794
+ throw new Error('Wallet client is required for write operations');
2795
+ }
2796
+ return this.contract.write.reloadStakes([_address], options);
2797
+ }
2798
+ /**
2799
+ * reloadTokenService
2800
+ * nonpayable
2801
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2802
+ */
2803
+ async reloadTokenService(_address, options) {
2804
+ if (!this.contract.write) {
2805
+ throw new Error('Wallet client is required for write operations');
2806
+ }
2807
+ return this.contract.write.reloadTokenService([_address], options);
2808
+ }
2809
+ /**
2810
+ * setBalanceNormalAddress
2811
+ * nonpayable
2812
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2813
+ */
2814
+ async setBalanceNormalAddress(_address, _balance, options) {
2815
+ if (!this.contract.write) {
2816
+ throw new Error('Wallet client is required for write operations');
2817
+ }
2818
+ return this.contract.write.setBalanceNormalAddress([_address, _balance], options);
2819
+ }
2820
+ /**
2821
+ * setBalanceStakes
2822
+ * nonpayable
2823
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2824
+ */
2825
+ async setBalanceStakes(_address, balance, options) {
2826
+ if (!this.contract.write) {
2827
+ throw new Error('Wallet client is required for write operations');
2828
+ }
2829
+ return this.contract.write.setBalanceStakes([_address, balance], options);
2830
+ }
2831
+ /**
2832
+ * setPayoutOwner
2833
+ * nonpayable
2834
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2835
+ */
2836
+ async setPayoutOwner(options) {
2837
+ if (!this.contract.write) {
2838
+ throw new Error('Wallet client is required for write operations');
2839
+ }
2840
+ return this.contract.write.setPayoutOwner(options);
2841
+ }
2842
+ /**
2843
+ * setSecondaryPayoutAddress
2844
+ * nonpayable
2845
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2846
+ */
2847
+ async setSecondaryPayoutAddress(_address, options) {
2848
+ if (!this.contract.write) {
2849
+ throw new Error('Wallet client is required for write operations');
2850
+ }
2851
+ return this.contract.write.setSecondaryPayoutAddress([_address], options);
2852
+ }
2853
+ /**
2854
+ * setUpdater
2855
+ * nonpayable
2856
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2857
+ */
2858
+ async setUpdater(options) {
2859
+ if (!this.contract.write) {
2860
+ throw new Error('Wallet client is required for write operations');
2861
+ }
2862
+ return this.contract.write.setUpdater(options);
2863
+ }
2864
+ /**
2865
+ * stakeDecimalsSet
2866
+ * nonpayable
2867
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2868
+ */
2869
+ async stakeDecimalsSet(_stakeDecimals, options) {
2870
+ if (!this.contract.write) {
2871
+ throw new Error('Wallet client is required for write operations');
2872
+ }
2873
+ return this.contract.write.stakeDecimalsSet([_stakeDecimals], options);
2874
+ }
2875
+ /**
2876
+ * stopSetup
2877
+ * nonpayable
2878
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2879
+ */
2880
+ async stopSetup(options) {
2881
+ if (!this.contract.write) {
2882
+ throw new Error('Wallet client is required for write operations');
2883
+ }
2884
+ return this.contract.write.stopSetup(options);
2885
+ }
2886
+ /**
2887
+ * transfer
2888
+ * nonpayable
2889
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2890
+ */
2891
+ async transfer(_to, _value, options) {
2892
+ if (!this.contract.write) {
2893
+ throw new Error('Wallet client is required for write operations');
2894
+ }
2895
+ return this.contract.write.transfer([_to, _value], options);
2896
+ }
2897
+ /**
2898
+ * transferFrom
2899
+ * nonpayable
2900
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2901
+ */
2902
+ async transferFrom(_from, _to, _amount, options) {
2903
+ if (!this.contract.write) {
2904
+ throw new Error('Wallet client is required for write operations');
2905
+ }
2906
+ return this.contract.write.transferFrom([_from, _to, _amount], options);
2907
+ }
2908
+ /**
2909
+ * Simulate contract write operations (dry-run without sending transaction)
2910
+ *
2911
+ * @example
2912
+ * const result = await contract.simulate.transfer('0x...', 1000n);
2913
+ * console.log('Gas estimate:', result.request.gas);
2914
+ * console.log('Would succeed:', result.result);
2915
+ */
2916
+ get simulate() {
2917
+ const contract = this.contract;
2918
+ if (!contract.simulate) {
2919
+ throw new Error('Public client is required for simulation');
2920
+ }
2921
+ return {
2922
+ /**
2923
+ * Simulate AllowAddressToDestroyGenesis
2924
+ * Returns gas estimate and result without sending transaction
2925
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2926
+ */
2927
+ async AllowAddressToDestroyGenesis(_address, options) {
2928
+ return contract.simulate.AllowAddressToDestroyGenesis([_address], options);
2929
+ },
2930
+ /**
2931
+ * Simulate AllowReceiveGenesisTransfers
2932
+ * Returns gas estimate and result without sending transaction
2933
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2934
+ */
2935
+ async AllowReceiveGenesisTransfers(options) {
2936
+ return contract.simulate.AllowReceiveGenesisTransfers(options);
2937
+ },
2938
+ /**
2939
+ * Simulate BurnGenesisAddresses
2940
+ * Returns gas estimate and result without sending transaction
2941
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2942
+ */
2943
+ async BurnGenesisAddresses(_genesisAddressesToBurn, options) {
2944
+ return contract.simulate.BurnGenesisAddresses([_genesisAddressesToBurn], options);
2945
+ },
2946
+ /**
2947
+ * Simulate BurnTokens
2948
+ * Returns gas estimate and result without sending transaction
2949
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2950
+ */
2951
+ async BurnTokens(mneToBurn, options) {
2952
+ return contract.simulate.BurnTokens([mneToBurn], options);
2953
+ },
2954
+ /**
2955
+ * Simulate BuyGenesisAddress
2956
+ * Returns gas estimate and result without sending transaction
2957
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2958
+ */
2959
+ async BuyGenesisAddress(_address, options) {
2960
+ return contract.simulate.BuyGenesisAddress([_address], options);
2961
+ },
2962
+ /**
2963
+ * Simulate BuyGenesisLevel1FromNormal
2964
+ * Returns gas estimate and result without sending transaction
2965
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2966
+ */
2967
+ async BuyGenesisLevel1FromNormal(_address, options) {
2968
+ return contract.simulate.BuyGenesisLevel1FromNormal([_address], options);
2969
+ },
2970
+ /**
2971
+ * Simulate BuyGenesisLevel2FromNormal
2972
+ * Returns gas estimate and result without sending transaction
2973
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2974
+ */
2975
+ async BuyGenesisLevel2FromNormal(_address, options) {
2976
+ return contract.simulate.BuyGenesisLevel2FromNormal([_address], options);
2977
+ },
2978
+ /**
2979
+ * Simulate BuyGenesisLevel3FromNormal
2980
+ * Returns gas estimate and result without sending transaction
2981
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2982
+ */
2983
+ async BuyGenesisLevel3FromNormal(_address, options) {
2984
+ return contract.simulate.BuyGenesisLevel3FromNormal([_address], options);
2985
+ },
2986
+ /**
2987
+ * Simulate BuyLuckyDrawTickets
2988
+ * Returns gas estimate and result without sending transaction
2989
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2990
+ */
2991
+ async BuyLuckyDrawTickets(max, options) {
2992
+ return contract.simulate.BuyLuckyDrawTickets([max], options);
2993
+ },
2994
+ /**
2995
+ * Simulate BuyNormalAddress
2996
+ * Returns gas estimate and result without sending transaction
2997
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2998
+ */
2999
+ async BuyNormalAddress(_address, options) {
3000
+ return contract.simulate.BuyNormalAddress([_address], options);
3001
+ },
3002
+ /**
3003
+ * Simulate BuyStakeGenesis
3004
+ * Returns gas estimate and result without sending transaction
3005
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3006
+ */
3007
+ async BuyStakeGenesis(_address, _genesisAddressesToBurn, options) {
3008
+ return contract.simulate.BuyStakeGenesis([_address, _genesisAddressesToBurn], options);
3009
+ },
3010
+ /**
3011
+ * Simulate BuyStakeMNE
3012
+ * Returns gas estimate and result without sending transaction
3013
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3014
+ */
3015
+ async BuyStakeMNE(_address, options) {
3016
+ return contract.simulate.BuyStakeMNE([_address], options);
3017
+ },
3018
+ /**
3019
+ * Simulate ContractTransferAllFundsOut
3020
+ * Returns gas estimate and result without sending transaction
3021
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3022
+ */
3023
+ async ContractTransferAllFundsOut(options) {
3024
+ return contract.simulate.ContractTransferAllFundsOut(options);
3025
+ },
3026
+ /**
3027
+ * Simulate CreateToken
3028
+ * Returns gas estimate and result without sending transaction
3029
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3030
+ */
3031
+ async CreateToken(options) {
3032
+ return contract.simulate.CreateToken(options);
3033
+ },
3034
+ /**
3035
+ * Simulate CreateTokenICO
3036
+ * Returns gas estimate and result without sending transaction
3037
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3038
+ */
3039
+ async CreateTokenICO(options) {
3040
+ return contract.simulate.CreateTokenICO(options);
3041
+ },
3042
+ /**
3043
+ * Simulate Payment
3044
+ * Returns gas estimate and result without sending transaction
3045
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3046
+ */
3047
+ async Payment(options) {
3048
+ return contract.simulate.Payment(options);
3049
+ },
3050
+ /**
3051
+ * Simulate PayoutStakeHolders
3052
+ * Returns gas estimate and result without sending transaction
3053
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3054
+ */
3055
+ async PayoutStakeHolders(options) {
3056
+ return contract.simulate.PayoutStakeHolders(options);
3057
+ },
3058
+ /**
3059
+ * Simulate ReceiverFunction1
3060
+ * Returns gas estimate and result without sending transaction
3061
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3062
+ */
3063
+ async ReceiverFunction1(_mneAmount, _addressList, _uintList, options) {
3064
+ return contract.simulate.ReceiverFunction1([_mneAmount, _addressList, _uintList], options);
3065
+ },
3066
+ /**
3067
+ * Simulate RemoveAllowAddressToDestroyGenesis
3068
+ * Returns gas estimate and result without sending transaction
3069
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3070
+ */
3071
+ async RemoveAllowAddressToDestroyGenesis(options) {
3072
+ return contract.simulate.RemoveAllowAddressToDestroyGenesis(options);
3073
+ },
3074
+ /**
3075
+ * Simulate RemoveAllowReceiveGenesisTransfers
3076
+ * Returns gas estimate and result without sending transaction
3077
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3078
+ */
3079
+ async RemoveAllowReceiveGenesisTransfers(options) {
3080
+ return contract.simulate.RemoveAllowReceiveGenesisTransfers(options);
3081
+ },
3082
+ /**
3083
+ * Simulate RemoveGenesisAddressFromSale
3084
+ * Returns gas estimate and result without sending transaction
3085
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3086
+ */
3087
+ async RemoveGenesisAddressFromSale(options) {
3088
+ return contract.simulate.RemoveGenesisAddressFromSale(options);
3089
+ },
3090
+ /**
3091
+ * Simulate RemoveNormalAddressFromSale
3092
+ * Returns gas estimate and result without sending transaction
3093
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3094
+ */
3095
+ async RemoveNormalAddressFromSale(options) {
3096
+ return contract.simulate.RemoveNormalAddressFromSale(options);
3097
+ },
3098
+ /**
3099
+ * Simulate RemoveStakeFromSale
3100
+ * Returns gas estimate and result without sending transaction
3101
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3102
+ */
3103
+ async RemoveStakeFromSale(options) {
3104
+ return contract.simulate.RemoveStakeFromSale(options);
3105
+ },
3106
+ /**
3107
+ * Simulate ServiceFunction1
3108
+ * Returns gas estimate and result without sending transaction
3109
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3110
+ */
3111
+ async ServiceFunction1(_addressList, _uintList, options) {
3112
+ return contract.simulate.ServiceFunction1([_addressList, _uintList], options);
3113
+ },
3114
+ /**
3115
+ * Simulate SetBlockPayouts
3116
+ * Returns gas estimate and result without sending transaction
3117
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3118
+ */
3119
+ async SetBlockPayouts(toBlock, options) {
3120
+ return contract.simulate.SetBlockPayouts([toBlock], options);
3121
+ },
3122
+ /**
3123
+ * Simulate SetGenesisForSale
3124
+ * Returns gas estimate and result without sending transaction
3125
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3126
+ */
3127
+ async SetGenesisForSale(weiPrice, options) {
3128
+ return contract.simulate.SetGenesisForSale([weiPrice], options);
3129
+ },
3130
+ /**
3131
+ * Simulate SetNormalAddressForSale
3132
+ * Returns gas estimate and result without sending transaction
3133
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3134
+ */
3135
+ async SetNormalAddressForSale(weiPricePerMNE, options) {
3136
+ return contract.simulate.SetNormalAddressForSale([weiPricePerMNE], options);
3137
+ },
3138
+ /**
3139
+ * Simulate SetStakeForSale
3140
+ * Returns gas estimate and result without sending transaction
3141
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3142
+ */
3143
+ async SetStakeForSale(priceInWei, options) {
3144
+ return contract.simulate.SetStakeForSale([priceInWei], options);
3145
+ },
3146
+ /**
3147
+ * Simulate StakeTransferGenesis
3148
+ * Returns gas estimate and result without sending transaction
3149
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3150
+ */
3151
+ async StakeTransferGenesis(_to, _value, _genesisAddressesToBurn, options) {
3152
+ return contract.simulate.StakeTransferGenesis([_to, _value, _genesisAddressesToBurn], options);
3153
+ },
3154
+ /**
3155
+ * Simulate StakeTransferMNE
3156
+ * Returns gas estimate and result without sending transaction
3157
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3158
+ */
3159
+ async StakeTransferMNE(_to, _value, options) {
3160
+ return contract.simulate.StakeTransferMNE([_to, _value], options);
3161
+ },
3162
+ /**
3163
+ * Simulate Staking
3164
+ * Returns gas estimate and result without sending transaction
3165
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3166
+ */
3167
+ async Staking(_amountToStake, _addressList, uintList, options) {
3168
+ return contract.simulate.Staking([_amountToStake, _addressList, uintList], options);
3169
+ },
3170
+ /**
3171
+ * Simulate TransferGenesis
3172
+ * Returns gas estimate and result without sending transaction
3173
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3174
+ */
3175
+ async TransferGenesis(_to, options) {
3176
+ return contract.simulate.TransferGenesis([_to], options);
3177
+ },
3178
+ /**
3179
+ * Simulate UpgradeOthersToLevel2FromLevel1
3180
+ * Returns gas estimate and result without sending transaction
3181
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3182
+ */
3183
+ async UpgradeOthersToLevel2FromLevel1(_addresses, options) {
3184
+ return contract.simulate.UpgradeOthersToLevel2FromLevel1([_addresses], options);
3185
+ },
3186
+ /**
3187
+ * Simulate UpgradeOthersToLevel3FromDev
3188
+ * Returns gas estimate and result without sending transaction
3189
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3190
+ */
3191
+ async UpgradeOthersToLevel3FromDev(_addresses, options) {
3192
+ return contract.simulate.UpgradeOthersToLevel3FromDev([_addresses], options);
3193
+ },
3194
+ /**
3195
+ * Simulate UpgradeOthersToLevel3FromLevel1
3196
+ * Returns gas estimate and result without sending transaction
3197
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3198
+ */
3199
+ async UpgradeOthersToLevel3FromLevel1(_addresses, options) {
3200
+ return contract.simulate.UpgradeOthersToLevel3FromLevel1([_addresses], options);
3201
+ },
3202
+ /**
3203
+ * Simulate UpgradeOthersToLevel3FromLevel2
3204
+ * Returns gas estimate and result without sending transaction
3205
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3206
+ */
3207
+ async UpgradeOthersToLevel3FromLevel2(_addresses, options) {
3208
+ return contract.simulate.UpgradeOthersToLevel3FromLevel2([_addresses], options);
3209
+ },
3210
+ /**
3211
+ * Simulate UpgradeToLevel2FromLevel1
3212
+ * Returns gas estimate and result without sending transaction
3213
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3214
+ */
3215
+ async UpgradeToLevel2FromLevel1(options) {
3216
+ return contract.simulate.UpgradeToLevel2FromLevel1(options);
3217
+ },
3218
+ /**
3219
+ * Simulate UpgradeToLevel3FromDev
3220
+ * Returns gas estimate and result without sending transaction
3221
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3222
+ */
3223
+ async UpgradeToLevel3FromDev(options) {
3224
+ return contract.simulate.UpgradeToLevel3FromDev(options);
3225
+ },
3226
+ /**
3227
+ * Simulate UpgradeToLevel3FromLevel1
3228
+ * Returns gas estimate and result without sending transaction
3229
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3230
+ */
3231
+ async UpgradeToLevel3FromLevel1(options) {
3232
+ return contract.simulate.UpgradeToLevel3FromLevel1(options);
3233
+ },
3234
+ /**
3235
+ * Simulate UpgradeToLevel3FromLevel2
3236
+ * Returns gas estimate and result without sending transaction
3237
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3238
+ */
3239
+ async UpgradeToLevel3FromLevel2(options) {
3240
+ return contract.simulate.UpgradeToLevel3FromLevel2(options);
3241
+ },
3242
+ /**
3243
+ * Simulate amountOfGenesisToBuyStakesSet
3244
+ * Returns gas estimate and result without sending transaction
3245
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3246
+ */
3247
+ async amountOfGenesisToBuyStakesSet(_amountOfGenesisToBuyStakes, options) {
3248
+ return contract.simulate.amountOfGenesisToBuyStakesSet([_amountOfGenesisToBuyStakes], options);
3249
+ },
3250
+ /**
3251
+ * Simulate amountOfGenesisToTransferStakesSet
3252
+ * Returns gas estimate and result without sending transaction
3253
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3254
+ */
3255
+ async amountOfGenesisToTransferStakesSet(_amountOfGenesisToTransferStakes, options) {
3256
+ return contract.simulate.amountOfGenesisToTransferStakesSet([_amountOfGenesisToTransferStakes], options);
3257
+ },
3258
+ /**
3259
+ * Simulate amountOfMNEForTokenICOSet
3260
+ * Returns gas estimate and result without sending transaction
3261
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3262
+ */
3263
+ async amountOfMNEForTokenICOSet(_amountOfMNEForTokenICO, options) {
3264
+ return contract.simulate.amountOfMNEForTokenICOSet([_amountOfMNEForTokenICO], options);
3265
+ },
3266
+ /**
3267
+ * Simulate amountOfMNEForTokenSet
3268
+ * Returns gas estimate and result without sending transaction
3269
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3270
+ */
3271
+ async amountOfMNEForTokenSet(_amountOfMNEForToken, options) {
3272
+ return contract.simulate.amountOfMNEForTokenSet([_amountOfMNEForToken], options);
3273
+ },
3274
+ /**
3275
+ * Simulate amountOfMNEToBuyStakesSet
3276
+ * Returns gas estimate and result without sending transaction
3277
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3278
+ */
3279
+ async amountOfMNEToBuyStakesSet(_amountOfMNEToBuyStakes, options) {
3280
+ return contract.simulate.amountOfMNEToBuyStakesSet([_amountOfMNEToBuyStakes], options);
3281
+ },
3282
+ /**
3283
+ * Simulate amountOfMNEToTransferStakesSet
3284
+ * Returns gas estimate and result without sending transaction
3285
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3286
+ */
3287
+ async amountOfMNEToTransferStakesSet(_amountOfMNEToTransferStakes, options) {
3288
+ return contract.simulate.amountOfMNEToTransferStakesSet([_amountOfMNEToTransferStakes], options);
3289
+ },
3290
+ /**
3291
+ * Simulate approve
3292
+ * Returns gas estimate and result without sending transaction
3293
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3294
+ */
3295
+ async approve(_spender, _amount, options) {
3296
+ return contract.simulate.approve([_spender, _amount], options);
3297
+ },
3298
+ /**
3299
+ * Simulate ethFeeForSellerLevel1Set
3300
+ * Returns gas estimate and result without sending transaction
3301
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3302
+ */
3303
+ async ethFeeForSellerLevel1Set(_ethFeeForSellerLevel1, options) {
3304
+ return contract.simulate.ethFeeForSellerLevel1Set([_ethFeeForSellerLevel1], options);
3305
+ },
3306
+ /**
3307
+ * Simulate ethFeeForTokenICOSet
3308
+ * Returns gas estimate and result without sending transaction
3309
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3310
+ */
3311
+ async ethFeeForTokenICOSet(_ethFeeForTokenICO, options) {
3312
+ return contract.simulate.ethFeeForTokenICOSet([_ethFeeForTokenICO], options);
3313
+ },
3314
+ /**
3315
+ * Simulate ethFeeForTokenSet
3316
+ * Returns gas estimate and result without sending transaction
3317
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3318
+ */
3319
+ async ethFeeForTokenSet(_ethFeeForToken, options) {
3320
+ return contract.simulate.ethFeeForTokenSet([_ethFeeForToken], options);
3321
+ },
3322
+ /**
3323
+ * Simulate ethFeeToBuyLevel1Set
3324
+ * Returns gas estimate and result without sending transaction
3325
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3326
+ */
3327
+ async ethFeeToBuyLevel1Set(_ethFeeToBuyLevel1, options) {
3328
+ return contract.simulate.ethFeeToBuyLevel1Set([_ethFeeToBuyLevel1], options);
3329
+ },
3330
+ /**
3331
+ * Simulate ethFeeToUpgradeToLevel2Set
3332
+ * Returns gas estimate and result without sending transaction
3333
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3334
+ */
3335
+ async ethFeeToUpgradeToLevel2Set(_ethFeeToUpgradeToLevel2, options) {
3336
+ return contract.simulate.ethFeeToUpgradeToLevel2Set([_ethFeeToUpgradeToLevel2], options);
3337
+ },
3338
+ /**
3339
+ * Simulate ethFeeToUpgradeToLevel3Set
3340
+ * Returns gas estimate and result without sending transaction
3341
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3342
+ */
3343
+ async ethFeeToUpgradeToLevel3Set(_ethFeeToUpgradeToLevel3, options) {
3344
+ return contract.simulate.ethFeeToUpgradeToLevel3Set([_ethFeeToUpgradeToLevel3], options);
3345
+ },
3346
+ /**
3347
+ * Simulate ethPercentFeeGenesisExchangeSet
3348
+ * Returns gas estimate and result without sending transaction
3349
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3350
+ */
3351
+ async ethPercentFeeGenesisExchangeSet(_ethPercentFeeGenesisExchange, options) {
3352
+ return contract.simulate.ethPercentFeeGenesisExchangeSet([_ethPercentFeeGenesisExchange], options);
3353
+ },
3354
+ /**
3355
+ * Simulate ethPercentFeeNormalExchangeSet
3356
+ * Returns gas estimate and result without sending transaction
3357
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3358
+ */
3359
+ async ethPercentFeeNormalExchangeSet(_ethPercentFeeNormalExchange, options) {
3360
+ return contract.simulate.ethPercentFeeNormalExchangeSet([_ethPercentFeeNormalExchange], options);
3361
+ },
3362
+ /**
3363
+ * Simulate ethPercentStakeExchangeSet
3364
+ * Returns gas estimate and result without sending transaction
3365
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3366
+ */
3367
+ async ethPercentStakeExchangeSet(_ethPercentStakeExchange, options) {
3368
+ return contract.simulate.ethPercentStakeExchangeSet([_ethPercentStakeExchange], options);
3369
+ },
3370
+ /**
3371
+ * Simulate externalReceiver1
3372
+ * Returns gas estimate and result without sending transaction
3373
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3374
+ */
3375
+ async externalReceiver1(_address, options) {
3376
+ return contract.simulate.externalReceiver1([_address], options);
3377
+ },
3378
+ /**
3379
+ * Simulate externalService1
3380
+ * Returns gas estimate and result without sending transaction
3381
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3382
+ */
3383
+ async externalService1(_address, options) {
3384
+ return contract.simulate.externalService1([_address], options);
3385
+ },
3386
+ /**
3387
+ * Simulate loadLuckyDraw
3388
+ * Returns gas estimate and result without sending transaction
3389
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3390
+ */
3391
+ async loadLuckyDraw(_address, options) {
3392
+ return contract.simulate.loadLuckyDraw([_address], options);
3393
+ },
3394
+ /**
3395
+ * Simulate loadMNEStaking
3396
+ * Returns gas estimate and result without sending transaction
3397
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3398
+ */
3399
+ async loadMNEStaking(_address, options) {
3400
+ return contract.simulate.loadMNEStaking([_address], options);
3401
+ },
3402
+ /**
3403
+ * Simulate registerAddresses
3404
+ * Returns gas estimate and result without sending transaction
3405
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3406
+ */
3407
+ async registerAddresses(_addressList, options) {
3408
+ return contract.simulate.registerAddresses([_addressList], options);
3409
+ },
3410
+ /**
3411
+ * Simulate registerAddressesValue
3412
+ * Returns gas estimate and result without sending transaction
3413
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3414
+ */
3415
+ async registerAddressesValue(_addressList, _value, options) {
3416
+ return contract.simulate.registerAddressesValue([_addressList, _value], options);
3417
+ },
3418
+ /**
3419
+ * Simulate reloadBaseTransfers
3420
+ * Returns gas estimate and result without sending transaction
3421
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3422
+ */
3423
+ async reloadBaseTransfers(_address, options) {
3424
+ return contract.simulate.reloadBaseTransfers([_address], options);
3425
+ },
3426
+ /**
3427
+ * Simulate reloadGenesis
3428
+ * Returns gas estimate and result without sending transaction
3429
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3430
+ */
3431
+ async reloadGenesis(_address, options) {
3432
+ return contract.simulate.reloadGenesis([_address], options);
3433
+ },
3434
+ /**
3435
+ * Simulate reloadGenesisBuys
3436
+ * Returns gas estimate and result without sending transaction
3437
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3438
+ */
3439
+ async reloadGenesisBuys(_address, options) {
3440
+ return contract.simulate.reloadGenesisBuys([_address], options);
3441
+ },
3442
+ /**
3443
+ * Simulate reloadNormalAddress
3444
+ * Returns gas estimate and result without sending transaction
3445
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3446
+ */
3447
+ async reloadNormalAddress(_address, options) {
3448
+ return contract.simulate.reloadNormalAddress([_address], options);
3449
+ },
3450
+ /**
3451
+ * Simulate reloadPublicArrays
3452
+ * Returns gas estimate and result without sending transaction
3453
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3454
+ */
3455
+ async reloadPublicArrays(_address, code, options) {
3456
+ return contract.simulate.reloadPublicArrays([_address, code], options);
3457
+ },
3458
+ /**
3459
+ * Simulate reloadPublicCalls
3460
+ * Returns gas estimate and result without sending transaction
3461
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3462
+ */
3463
+ async reloadPublicCalls(_address, code, options) {
3464
+ return contract.simulate.reloadPublicCalls([_address, code], options);
3465
+ },
3466
+ /**
3467
+ * Simulate reloadStakeBuys
3468
+ * Returns gas estimate and result without sending transaction
3469
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3470
+ */
3471
+ async reloadStakeBuys(_address, options) {
3472
+ return contract.simulate.reloadStakeBuys([_address], options);
3473
+ },
3474
+ /**
3475
+ * Simulate reloadStakes
3476
+ * Returns gas estimate and result without sending transaction
3477
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3478
+ */
3479
+ async reloadStakes(_address, options) {
3480
+ return contract.simulate.reloadStakes([_address], options);
3481
+ },
3482
+ /**
3483
+ * Simulate reloadTokenService
3484
+ * Returns gas estimate and result without sending transaction
3485
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3486
+ */
3487
+ async reloadTokenService(_address, options) {
3488
+ return contract.simulate.reloadTokenService([_address], options);
3489
+ },
3490
+ /**
3491
+ * Simulate setBalanceNormalAddress
3492
+ * Returns gas estimate and result without sending transaction
3493
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3494
+ */
3495
+ async setBalanceNormalAddress(_address, _balance, options) {
3496
+ return contract.simulate.setBalanceNormalAddress([_address, _balance], options);
3497
+ },
3498
+ /**
3499
+ * Simulate setBalanceStakes
3500
+ * Returns gas estimate and result without sending transaction
3501
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3502
+ */
3503
+ async setBalanceStakes(_address, balance, options) {
3504
+ return contract.simulate.setBalanceStakes([_address, balance], options);
3505
+ },
3506
+ /**
3507
+ * Simulate setPayoutOwner
3508
+ * Returns gas estimate and result without sending transaction
3509
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3510
+ */
3511
+ async setPayoutOwner(options) {
3512
+ return contract.simulate.setPayoutOwner(options);
3513
+ },
3514
+ /**
3515
+ * Simulate setSecondaryPayoutAddress
3516
+ * Returns gas estimate and result without sending transaction
3517
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3518
+ */
3519
+ async setSecondaryPayoutAddress(_address, options) {
3520
+ return contract.simulate.setSecondaryPayoutAddress([_address], options);
3521
+ },
3522
+ /**
3523
+ * Simulate setUpdater
3524
+ * Returns gas estimate and result without sending transaction
3525
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3526
+ */
3527
+ async setUpdater(options) {
3528
+ return contract.simulate.setUpdater(options);
3529
+ },
3530
+ /**
3531
+ * Simulate stakeDecimalsSet
3532
+ * Returns gas estimate and result without sending transaction
3533
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3534
+ */
3535
+ async stakeDecimalsSet(_stakeDecimals, options) {
3536
+ return contract.simulate.stakeDecimalsSet([_stakeDecimals], options);
3537
+ },
3538
+ /**
3539
+ * Simulate stopSetup
3540
+ * Returns gas estimate and result without sending transaction
3541
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3542
+ */
3543
+ async stopSetup(options) {
3544
+ return contract.simulate.stopSetup(options);
3545
+ },
3546
+ /**
3547
+ * Simulate transfer
3548
+ * Returns gas estimate and result without sending transaction
3549
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3550
+ */
3551
+ async transfer(_to, _value, options) {
3552
+ return contract.simulate.transfer([_to, _value], options);
3553
+ },
3554
+ /**
3555
+ * Simulate transferFrom
3556
+ * Returns gas estimate and result without sending transaction
3557
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3558
+ */
3559
+ async transferFrom(_from, _to, _amount, options) {
3560
+ return contract.simulate.transferFrom([_from, _to, _amount], options);
3561
+ }
3562
+ };
3563
+ }
3564
+ /**
3565
+ * Watch contract events
3566
+ *
3567
+ * @example
3568
+ * // Watch all Transfer events
3569
+ * const unwatch = contract.watch.Transfer((event) => {
3570
+ * console.log('Transfer:', event);
3571
+ * });
3572
+ *
3573
+ * // Stop watching
3574
+ * unwatch();
3575
+ */
3576
+ get watch() {
3577
+ return {
3578
+ /**
3579
+ * Watch Approval events
3580
+ * @param callback Function to call when event is emitted
3581
+ * @param filter Optional filter for indexed parameters
3582
+ * @returns Unwatch function to stop listening
3583
+ */
3584
+ Approval: (callback, filter) => {
3585
+ return this.publicClient.watchContractEvent({
3586
+ address: this.contractAddress,
3587
+ abi: exports.Minereum_jsonAbi,
3588
+ eventName: 'Approval',
3589
+ args: filter,
3590
+ onLogs: (logs) => {
3591
+ logs.forEach((log) => {
3592
+ callback(log.args);
3593
+ });
3594
+ },
3595
+ });
3596
+ },
3597
+ /**
3598
+ * Watch LogFailedStakeHolderSends events
3599
+ * @param callback Function to call when event is emitted
3600
+ * @param filter Optional filter for indexed parameters
3601
+ * @returns Unwatch function to stop listening
3602
+ */
3603
+ LogFailedStakeHolderSends: (callback, filter) => {
3604
+ return this.publicClient.watchContractEvent({
3605
+ address: this.contractAddress,
3606
+ abi: exports.Minereum_jsonAbi,
3607
+ eventName: 'LogFailedStakeHolderSends',
3608
+ args: filter,
3609
+ onLogs: (logs) => {
3610
+ logs.forEach((log) => {
3611
+ callback(log.args);
3612
+ });
3613
+ },
3614
+ });
3615
+ },
3616
+ /**
3617
+ * Watch LogStakeHolderSends events
3618
+ * @param callback Function to call when event is emitted
3619
+ * @param filter Optional filter for indexed parameters
3620
+ * @returns Unwatch function to stop listening
3621
+ */
3622
+ LogStakeHolderSends: (callback, filter) => {
3623
+ return this.publicClient.watchContractEvent({
3624
+ address: this.contractAddress,
3625
+ abi: exports.Minereum_jsonAbi,
3626
+ eventName: 'LogStakeHolderSends',
3627
+ args: filter,
3628
+ onLogs: (logs) => {
3629
+ logs.forEach((log) => {
3630
+ callback(log.args);
3631
+ });
3632
+ },
3633
+ });
3634
+ },
3635
+ /**
3636
+ * Watch StakeTransfer events
3637
+ * @param callback Function to call when event is emitted
3638
+ * @param filter Optional filter for indexed parameters
3639
+ * @returns Unwatch function to stop listening
3640
+ */
3641
+ StakeTransfer: (callback, filter) => {
3642
+ return this.publicClient.watchContractEvent({
3643
+ address: this.contractAddress,
3644
+ abi: exports.Minereum_jsonAbi,
3645
+ eventName: 'StakeTransfer',
3646
+ args: filter,
3647
+ onLogs: (logs) => {
3648
+ logs.forEach((log) => {
3649
+ callback(log.args);
3650
+ });
3651
+ },
3652
+ });
3653
+ },
3654
+ /**
3655
+ * Watch TokenCreation events
3656
+ * @param callback Function to call when event is emitted
3657
+ * @param filter Optional filter for indexed parameters
3658
+ * @returns Unwatch function to stop listening
3659
+ */
3660
+ TokenCreation: (callback, filter) => {
3661
+ return this.publicClient.watchContractEvent({
3662
+ address: this.contractAddress,
3663
+ abi: exports.Minereum_jsonAbi,
3664
+ eventName: 'TokenCreation',
3665
+ args: filter,
3666
+ onLogs: (logs) => {
3667
+ logs.forEach((log) => {
3668
+ callback(log.args);
3669
+ });
3670
+ },
3671
+ });
3672
+ },
3673
+ /**
3674
+ * Watch TokenCreationICO events
3675
+ * @param callback Function to call when event is emitted
3676
+ * @param filter Optional filter for indexed parameters
3677
+ * @returns Unwatch function to stop listening
3678
+ */
3679
+ TokenCreationICO: (callback, filter) => {
3680
+ return this.publicClient.watchContractEvent({
3681
+ address: this.contractAddress,
3682
+ abi: exports.Minereum_jsonAbi,
3683
+ eventName: 'TokenCreationICO',
3684
+ args: filter,
3685
+ onLogs: (logs) => {
3686
+ logs.forEach((log) => {
3687
+ callback(log.args);
3688
+ });
3689
+ },
3690
+ });
3691
+ },
3692
+ /**
3693
+ * Watch Transfer events
3694
+ * @param callback Function to call when event is emitted
3695
+ * @param filter Optional filter for indexed parameters
3696
+ * @returns Unwatch function to stop listening
3697
+ */
3698
+ Transfer: (callback, filter) => {
3699
+ return this.publicClient.watchContractEvent({
3700
+ address: this.contractAddress,
3701
+ abi: exports.Minereum_jsonAbi,
3702
+ eventName: 'Transfer',
3703
+ args: filter,
3704
+ onLogs: (logs) => {
3705
+ logs.forEach((log) => {
3706
+ callback(log.args);
3707
+ });
3708
+ },
3709
+ });
3710
+ }
3711
+ };
3712
+ }
3713
+ }
3714
+ exports.Minereum_json = Minereum_json;