-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdeployresult_arbitrumTest.json
More file actions
1113 lines (1113 loc) · 84.6 KB
/
deployresult_arbitrumTest.json
File metadata and controls
1113 lines (1113 loc) · 84.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"contracts": {
"MockERC20": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x2dEA38f010d2C199278040f921F6Bc963AFF5325",
"abi": [
"constructor()",
"event Approval(address indexed owner, address indexed spender, uint256 value)",
"event Transfer(address indexed from, address indexed to, uint256 value)",
"function allowance(address, address) view returns (uint256)",
"function approve(address spender, uint256 value) returns (bool)",
"function balanceOf(address) view returns (uint256)",
"function decimals() view returns (uint8)",
"function mint(address to, uint256 value)",
"function name() view returns (string)",
"function symbol() view returns (string)",
"function totalSupply() view returns (uint256)",
"function transfer(address to, uint256 value) returns (bool)",
"function transferFrom(address from, address to, uint256 value) returns (bool)"
]
},
"MockERC721_V1": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x483Dc8985f46047382D0B95B2837a311ca201C72",
"abi": [
"constructor()",
"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)",
"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)",
"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)",
"function approve(address to, uint256 tokenId)",
"function balanceOf(address owner) view returns (uint256)",
"function burn(uint256 tokenId)",
"function getApproved(uint256 tokenId) view returns (address)",
"function isApprovedForAll(address owner, address operator) view returns (bool)",
"function mint(address to) returns (uint256 tokenId)",
"function name() view returns (string)",
"function ownerOf(uint256 tokenId) view returns (address)",
"function safeTransferFrom(address from, address to, uint256 tokenId)",
"function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)",
"function setApprovalForAll(address operator, bool approved)",
"function symbol() view returns (string)",
"function tokenURI(uint256 tokenId) view returns (string)",
"function transferFrom(address from, address to, uint256 tokenId)"
]
},
"MockERC1155_V1": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x8220A874E4159f31FDaD61d6906Ea0CC7fCb69fe",
"abi": [
"constructor()",
"event ApprovalForAll(address indexed account, address indexed operator, bool approved)",
"event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)",
"event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)",
"event URI(string value, uint256 indexed id)",
"function balanceOf(address account, uint256 id) view returns (uint256)",
"function balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])",
"function burn(address from, uint256 id, uint256 amount)",
"function burnBatch(address from, uint256[] ids, uint256[] amounts)",
"function isApprovedForAll(address account, address operator) view returns (bool)",
"function mint(address to, uint256 id, uint256 amount, bytes data)",
"function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data)",
"function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)",
"function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)",
"function setApprovalForAll(address operator, bool approved)",
"function uri(uint256) view returns (string)"
]
},
"MockTPO": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xFe4C93C1cB9808f7E8c6aaaB4DeF5690E05a4e10",
"abi": [
"function getERC20TokenUSDPrice(address tokenAddr) pure returns (uint256)"
]
},
"MysteryBox1155": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xd020B4CD0612bAe63F9f23bf3f1F1d6cf7BD3dF8",
"abi": [
"constructor(string uri)",
"event ApprovalForAll(address indexed account, address indexed operator, bool approved)",
"event Extendable1155Modify(uint256 indexed id, bytes extendData)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)",
"event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)",
"event URI(string value, uint256 indexed id)",
"event Unpaused(address account)",
"function DATA_ROLE() view returns (bytes32)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _royalties() view returns (uint256)",
"function balanceOf(address account, uint256 id) view returns (uint256)",
"function balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])",
"function burn(address account, uint256 id, uint256 value)",
"function burnBatch(address account, uint256[] ids, uint256[] values)",
"function exists(uint256 id) view returns (bool)",
"function fetchIncome(address erc20)",
"function fetchIncomeEth()",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function getTokenExtendNftData(uint256 id) view returns (bytes)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isApprovedForAll(address account, address operator) view returns (bool)",
"function mint(address to, uint256 id, uint256 amount, bytes data)",
"function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data)",
"function modifyExtendData(uint256 id, bytes extendData)",
"function name() view returns (string)",
"function pause()",
"function paused() view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function royaltyInfo(uint256, uint256 value) view returns (address receiver, uint256 royaltyAmount)",
"function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)",
"function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)",
"function setApprovalForAll(address operator, bool approved)",
"function setRoyalties(uint256 royalties)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function symbol() view returns (string)",
"function totalSupply(uint256 id) view returns (uint256)",
"function unpause()",
"function updateURI(string newuri)",
"function uri(uint256) view returns (string)"
]
},
"MysteryBoxShop": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xEA218b0d6620A945f5583495615B62EBc4Ce6318",
"abi": [
"constructor()",
"event BatchBuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData, uint256 count)",
"event BuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Paused(address account)",
"event PerAddrBuyCountChange(string indexed pairName, address indexed userAddr, uint32 count)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event SetOnSaleMBCheckCondition(string indexed pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit)",
"event SetOnSaleMBCountleft(string indexed pairName, uint256 countLeft)",
"event SetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Unpaused(address account)",
"event UnsetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function OPERATER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _onSaleMysterBoxDatas(string) view returns (uint64 nextRenewTime, uint256 countLeft)",
"function _onSaleMysterBoxes(string) view returns (address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit)",
"function _perAddrBuyCount(string, address) view returns (uint32)",
"function _receiveIncomAddress() view returns (address)",
"function _whitelists(uint32, address) view returns (bool)",
"function addWitheList(uint32 wlId, address[] whitelist)",
"function batchBuyMysterBox(string pairName, uint32 count) payable",
"function buyMysteryBox(string pairName) payable",
"function fetchIncome(address tokenAddr, uint256 value)",
"function fetchIncome1155(address tokenAddr, uint256 tokenId, uint256 value)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function pause()",
"function paused() view returns (bool)",
"function removeWhiteList(uint32 wlId, address[] whitelist)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setOnSaleMBCheckCondition(string pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit)",
"function setOnSaleMBCountleft(string pairName, uint256 countLeft)",
"function setOnSaleMysteryBox(string pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, bool isBurn, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function setReceiveIncomeAddress(address incomAddr)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()",
"function unsetOnSaleMysteryBox(string pairName)"
]
},
"MTT": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x945e1409ecBe0CF14643E82fD5146fEdC9C50436",
"abi": [
"constructor()",
"event Approval(address indexed owner, address indexed spender, uint256 value)",
"event Transfer(address indexed from, address indexed to, uint256 value)",
"function allowance(address owner, address spender) view returns (uint256)",
"function approve(address spender, uint256 amount) returns (bool)",
"function balanceOf(address account) view returns (uint256)",
"function burn(uint256 amount)",
"function burnFrom(address account, uint256 amount)",
"function decimals() view returns (uint8)",
"function decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)",
"function increaseAllowance(address spender, uint256 addedValue) returns (bool)",
"function name() view returns (string)",
"function symbol() view returns (string)",
"function totalSupply() view returns (uint256)",
"function transfer(address to, uint256 amount) returns (bool)",
"function transferFrom(address from, address to, uint256 amount) returns (bool)"
]
},
"MysteryBoxShopV1": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xF471eEDDbD9a602450BF2EdBff25060B23c6EF19",
"abi": [
"constructor()",
"event BatchBuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData, uint256 count)",
"event BuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Paused(address account)",
"event PerAddrBuyCountChange(string indexed pairName, address indexed userAddr, uint32 count)",
"event PerAddrDiscountCountChange(uint32 discountId, address indexed userAddr, uint32 count)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event SetOnSaleMBCheckCondition(string indexed pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"event SetOnSaleMBCountleft(string indexed pairName, uint256 countLeft)",
"event SetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Unpaused(address account)",
"event UnsetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function OPERATER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _discountAddress(uint32, address) view returns (uint16 discount, uint32 maxCount)",
"function _discountBuyCount(uint32, address) view returns (uint32)",
"function _onSaleMysterBoxDatas(string) view returns (uint64 nextRenewTime, uint256 countLeft)",
"function _onSaleMysterBoxes(string) view returns (address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"function _perAddrBuyCount(string, address) view returns (uint32)",
"function _receiveIncomAddress() view returns (address)",
"function _whitelists(uint32, address) view returns (bool)",
"function addDiscountAddress(uint32 daId, tuple(uint16 discount, uint32 maxCount, address addr)[] discountAddrList)",
"function addWitheList(uint32 wlId, address[] whitelist)",
"function batchBuyMysterBox(string pairName, uint32 count) payable",
"function buyMysteryBox(string pairName) payable",
"function fetchIncome(address tokenAddr, uint256 value)",
"function fetchIncome1155(address tokenAddr, uint256 tokenId, uint256 value)",
"function getDiscountCountBuyCount(uint32 daId, address addr) view returns (uint32)",
"function getDiscountInfo(uint32 daId, address addr) view returns (uint16 discount, uint32 maxCount)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isDiscountAddress(uint32 daId, address addr) view returns (bool)",
"function pause()",
"function paused() view returns (bool)",
"function removeDiscountAddress(uint32 daId, address[] discountAddrList)",
"function removeWhiteList(uint32 wlId, address[] whitelist)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setOnSaleMBCheckCondition(string pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"function setOnSaleMBCountleft(string pairName, uint256 countLeft)",
"function setOnSaleMysteryBox(string pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function setReceiveIncomeAddress(address incomAddr)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()",
"function unsetOnSaleMysteryBox(string pairName)"
]
},
"MysteryBoxShopV2": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xd2Ccb642f7B234E8d80D7418ed2F71be9DFFE6E9",
"abi": [
"constructor()",
"event BatchBuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData, uint256 count)",
"event BuyMysteryBox(address indexed userAddr, string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Paused(address account)",
"event PerAddrBuyCountChange(string indexed pairName, address indexed userAddr, uint32 count)",
"event PerAddrDiscountCountChange(uint32 discountId, address indexed userAddr, uint32 count)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event SetOnSaleMBCheckCondition(string indexed pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"event SetOnSaleMBCountleft(string indexed pairName, uint256 countLeft)",
"event SetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Unpaused(address account)",
"event UnsetOnSaleMysterBox(string indexed pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function OPERATER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _discountAddress(uint32, address) view returns (uint16 discount, uint32 maxCount)",
"function _discountBuyCount(uint32, address) view returns (uint32)",
"function _onSaleMysterBoxDatas(string) view returns (uint64 nextRenewTime, uint256 countLeft)",
"function _onSaleMysterBoxes(string) view returns (address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"function _perAddrBuyCount(string, address) view returns (uint32)",
"function _receiveIncomAddress() view returns (address)",
"function _whitelists(uint32, address) view returns (bool)",
"function addDiscountAddress(uint32 daId, tuple(uint16 discount, uint32 maxCount, address addr)[] discountAddrList)",
"function addWitheList(uint32 wlId, address[] whitelist)",
"function batchBuyMysterBox(string pairName, uint32 count) payable",
"function buyMysteryBox(string pairName) payable",
"function fetchIncome(address tokenAddr, uint256 value)",
"function fetchIncome1155(address tokenAddr, uint256 tokenId, uint256 value)",
"function getDiscountCountBuyCount(uint32 daId, address addr) view returns (uint32)",
"function getDiscountInfo(uint32 daId, address addr) view returns (uint16 discount, uint32 maxCount)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isDiscountAddress(uint32 daId, address addr) view returns (bool)",
"function pause()",
"function paused() view returns (bool)",
"function removeDiscountAddress(uint32 daId, address[] discountAddrList)",
"function removeWhiteList(uint32 wlId, address[] whitelist)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setOnSaleMBCheckCondition(string pairName, uint256 price, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId)",
"function setOnSaleMBCountleft(string pairName, uint256 countLeft)",
"function setOnSaleMysteryBox(string pairName, tuple(address mysteryBox1155Addr, uint256 mbTokenId, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount, uint32 whitelistId, address nftholderCheck, uint32 perAddrLimit, uint32 discountId) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function setReceiveIncomeAddress(address incomAddr)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()",
"function unsetOnSaleMysteryBox(string pairName)"
]
},
"RandomPoolLib": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x95d4c7B652De8e484C102d1771c83347325e35C7",
"abi": [
"function randBetween(uint256 min, uint256 max, uint256 r) pure returns (uint256 ret)"
]
},
"Random": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x50B3D235A77a1A4170BCECBb92A6D9B35E00eacB",
"abi": [
"event OracleRandRequest(uint256 reqid, address indexed requestAddress)",
"event OracleRandResponse(uint256 reqid, uint256 randnum, address indexed requestAddress)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function ORACLE_ROLE() view returns (bytes32)",
"function fulfillOracleRand(uint256 reqid, uint256 randnum) returns (uint256 rand)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isSealed(address addr) view returns (bool)",
"function nextRand(uint32 index, uint256 randomNum) view returns (uint256 ret)",
"function oracleRand() returns (uint256)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function sealedRand() returns (uint256 ret)",
"function seedRand(uint256 inputSeed) returns (uint256 ret)",
"function setRandomSeed(uint256 s)",
"function setSealed()",
"function supportsInterface(bytes4 interfaceId) view returns (bool)"
]
},
"HeroNFT": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xacb192Ce6561ADa57258B19BDbFAa06e9811d52C",
"abi": [
"constructor(uint256 idStart, string name, string symbol, string baseTokenURI)",
"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)",
"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)",
"event HeroNFTMint(address indexed to, uint256 indexed tokenId, tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data)",
"event HeroNFTModified(uint256 indexed tokenId, uint256 writeableData)",
"event NFTExtendModify(uint256 indexed tokenId, string extendName, bytes extendData)",
"event NFTExtendName(string extendName, bytes32 nameBytes)",
"event NFTFreeze(uint256 indexed tokenId, int32 freezeRef)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)",
"event Unpaused(address account)",
"function DATA_ROLE() view returns (bytes32)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function FREEZE_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _attrSource() view returns (address)",
"function _codec() view returns (address)",
"function _royalties() view returns (uint256)",
"function addTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function approve(address to, uint256 tokenId)",
"function balanceOf(address owner) view returns (uint256)",
"function burn(uint256 tokenId)",
"function exists(uint256 tokenId) view returns (bool)",
"function extendNftData(string extendName)",
"function fetchIncome(address erc20)",
"function fetchIncomeEth()",
"function freeze(uint256 tokenId)",
"function getApproved(uint256 tokenId) view returns (address)",
"function getAttrSource() view returns (address a)",
"function getCodec() view returns (address c)",
"function getNftData(uint256 tokenId) view returns (tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function getTokenExtendNftData(uint256 tokenId, string extendName) view returns (bytes)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isApprovedForAll(address owner, address operator) view returns (bool)",
"function isFreezed(uint256 tokenId) view returns (bool)",
"function mint(address to, tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) returns (uint256)",
"function mintFixedID(uint256 id, address to, tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) returns (uint256)",
"function modNftData(uint256 tokenId, uint256 writeableData)",
"function modifyTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function name() view returns (string)",
"function notFreezed(uint256 tokenId) view returns (bool)",
"function ownerOf(uint256 tokenId) view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function royaltyInfo(uint256, uint256 value) view returns (address receiver, uint256 royaltyAmount)",
"function safeTransferFrom(address from, address to, uint256 tokenId)",
"function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)",
"function setApprovalForAll(address operator, bool approved)",
"function setAttrSource(address a)",
"function setCodec(address c)",
"function setRoyalties(uint256 royalties)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function symbol() view returns (string)",
"function tokenByIndex(uint256 index) view returns (uint256)",
"function tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)",
"function tokenURI(uint256 tokenId) view returns (string)",
"function totalSupply() view returns (uint256)",
"function transferFrom(address from, address to, uint256 tokenId)",
"function unfreeze(uint256 tokenId)",
"function unpause()",
"function updateURI(string baseTokenURI)"
]
},
"HeroNFTCodec_V1": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x7d9A183d09A58149f6F5C54C14397495DeD3dB3d",
"abi": [
"function fromHeroNftFixedAnWriteableData(tuple(uint8 job, uint8 grade, uint32 minerAttr, uint32 battleAttr) fdata, tuple(uint8 starLevel, uint16 level) wdata) pure returns (tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) basedata)",
"function fromHeroNftFixedData(tuple(uint8 job, uint8 grade, uint32 minerAttr, uint32 battleAttr) data) pure returns (tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) basedata)",
"function fromHeroPetNftFixedAnWriteableData(tuple(uint8 petId, uint8 avatar_slot_1_2, uint8 avatar_slot_3_4, uint8 avatar_slot_5_6, uint32 minerAttr, uint32 battleAttr) fdata, tuple(uint16 level) wdata) pure returns (tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) basedata)",
"function fromHeroPetNftFixedData(tuple(uint8 petId, uint8 avatar_slot_1_2, uint8 avatar_slot_3_4, uint8 avatar_slot_5_6, uint32 minerAttr, uint32 battleAttr) data) pure returns (tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) basedata)",
"function getCharacterId(tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) pure returns (uint16 characterId)",
"function getHeroNftFixedData(tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) pure returns (tuple(uint8 job, uint8 grade, uint32 minerAttr, uint32 battleAttr) hndata)",
"function getHeroNftWriteableData(tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) pure returns (tuple(uint8 starLevel, uint16 level) hndata)",
"function getHeroPetNftFixedData(tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) pure returns (tuple(uint8 petId, uint8 avatar_slot_1_2, uint8 avatar_slot_3_4, uint8 avatar_slot_5_6, uint32 minerAttr, uint32 battleAttr) hndata)",
"function getHeroPetNftWriteableData(tuple(uint8 mintType, uint16 nftType, uint232 fixedData, uint256 writeableData) data) pure returns (tuple(uint16 level) hndata)",
"function toHeroNftWriteableData(tuple(uint8 starLevel, uint16 level) hndata) pure returns (uint256 wdata)",
"function toHeroPetNftWriteableData(tuple(uint16 level) hndata) pure returns (uint256 wdata)"
]
},
"NFTAttrSource_V1": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xC6B4e06a5D2BA9571A7D00b2D325358ef2f6486B",
"abi": [
"constructor()",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function _heroBattleAttrs(uint32) view returns (uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed)",
"function _heroBattleFactor() view returns (uint16)",
"function _heroMineAttrs(uint32) view returns (uint16 produceRate, uint16 minerRate, uint16 shopRate, uint16 sailerSpeedPer, uint16 sailerLoadPer, uint16 sailerRangePer, uint32 hashRate)",
"function _heroMineFactor() view returns (uint16)",
"function _shipBattleAttrs(uint32) view returns (uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed, uint8 maxSailer)",
"function _shipBattleFactor() view returns (uint16)",
"function _shipMineAttrs(uint32) view returns (uint16 speed, uint32 maxLoad, uint32 maxRange, uint32 foodPerMile, uint8 maxSailer, uint32 hashRate)",
"function _shipMineFactor() view returns (uint16)",
"function getHeroBattleAttr(uint32 battleAttr, uint16 level) view returns (tuple(uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed) data)",
"function getHeroMinerAttr(uint32 mineAttr, uint16 starLevel) view returns (tuple(uint16 produceRate, uint16 minerRate, uint16 shopRate, uint16 sailerSpeedPer, uint16 sailerLoadPer, uint16 sailerRangePer, uint32 hashRate) data)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function getShipBattleAttr(uint32 battleAttr, uint16 level) view returns (tuple(uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed, uint8 maxSailer) data)",
"function getShipMinerAttr(uint32 mineAttr, uint16 level) view returns (tuple(uint16 speed, uint32 maxLoad, uint32 maxRange, uint32 foodPerMile, uint8 maxSailer, uint32 hashRate) data)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setHeroBattleAttr(uint32[] battleAttrs, tuple(uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed)[] datas)",
"function setHeroMinerAttr(uint32[] mineAttrs, tuple(uint16 produceRate, uint16 minerRate, uint16 shopRate, uint16 sailerSpeedPer, uint16 sailerLoadPer, uint16 sailerRangePer, uint32 hashRate)[] datas)",
"function setLevelUpFactor(uint16 heroMineFactor, uint16 heroBattleFactor, uint16 shipMineFactor, uint16 shipBattleFactor)",
"function setShipBattleAttr(uint32[] battleAttrs, tuple(uint16 attack, uint16 defense, uint16 hitpoint, uint16 miss, uint16 doge, uint16 critical, uint16 decritical, uint16 speed, uint8 maxSailer)[] datas)",
"function setShipMinerAttr(uint32[] mineAttrs, tuple(uint16 speed, uint32 maxLoad, uint32 maxRange, uint32 foodPerMile, uint8 maxSailer, uint32 hashRate)[] datas)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)"
]
},
"HeroNFTMysteryBox": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xf22FE4D2A066D29e587D6C40647Ab19fA53559c9",
"abi": [
"event BatchOpenMysteryBox(address indexed owner, uint256 indexed mbTokenId, tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"event BatchOracleOpenMysteryBox(uint256 oracleRequestId, uint256 indexed mbTokenId, address indexed owner, uint8 batchCount)",
"event OpenMysteryBox(address indexed owner, uint256 indexed mbTokenId, tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"event OracleOpenMysteryBox(uint256 oracleRequestId, uint256 indexed mbTokenId, address indexed owner)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function RAND_ROLE() view returns (bytes32)",
"function _mb1155() view returns (address)",
"function _oracleUserData(uint256) view returns (address owner, uint32 randomType, uint32 mysteryType, uint8 count, uint256 tokenId)",
"function batchOracleOpenMysteryBox(uint256 tokenId, uint8 batchCount) payable",
"function getName() returns (string)",
"function getNftAddress() view returns (address)",
"function getRandomSource(uint32 randomType) view returns (address)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function oracleOpenMysteryBox(uint256 tokenId) payable",
"function oracleRandResponse(uint256 reqid, uint256 randnum)",
"function pause()",
"function paused() view returns (bool)",
"function removeMethodExtraFee(uint8 methodKey)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setMethodExtraFee(uint8 methodKey, uint256 value, address target)",
"function setNftAddress(address nftAddr)",
"function setRandomSource(uint32 randomType, address randomSrc)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()"
]
},
"HeroNFTMysteryBoxRandSource": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x93276B56dd9829f10b94E0B388E009cB16Db3038",
"abi": [
"constructor(address heroNftAddr)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function RANDOM_ROLE() view returns (bytes32)",
"function _heroNFTContract() view returns (address)",
"function addPool(uint32 poolID, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] randSetArray)",
"function batchRandomAndMint(uint256 r, uint32 mysteryTp, address to, uint8 batchCount) returns (tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"function getPool(uint32 poolID) view returns (tuple(bool exist, tuple(uint32 totalRate, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] pool) randPool))",
"function getRandSource() view returns (address)",
"function getRandomSet(uint32 mysteryTp) view returns (uint32[] poolIds)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasPool(uint32 poolID) view returns (bool)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function modifyPool(uint32 poolID, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] randSetArray)",
"function randomAndMint(uint256 r, uint32 mysteryTp, address to) returns (tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"function removePool(uint32 poolID)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setRandSource(address randAddr)",
"function setRandomSet(uint32 mbTypeID, uint32[] poolIds)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unsetRandomSet(uint32 mysteryTp)"
]
},
"HeroPetNFTMysteryBoxRandSource": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xf2Dd76FB0D0903CB32143D3C2c7B7A019200F563",
"abi": [
"constructor(address heroNftAddr)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function RANDOM_ROLE() view returns (bytes32)",
"function _heroNFTContract() view returns (address)",
"function addPool(uint32 poolID, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] randSetArray)",
"function batchRandomAndMint(uint256 r, uint32 mysteryTp, address to, uint8 batchCount) returns (tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"function getPool(uint32 poolID) view returns (tuple(bool exist, tuple(uint32 totalRate, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] pool) randPool))",
"function getRandSource() view returns (address)",
"function getRandomSet(uint32 mysteryTp) view returns (uint32[] poolIds)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasPool(uint32 poolID) view returns (bool)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function modifyPool(uint32 poolID, tuple(uint32 rate, uint256 rangMin, uint256 rangMax)[] randSetArray)",
"function randomAndMint(uint256 r, uint32 mysteryTp, address to) returns (tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"function removePool(uint32 poolID)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setRandSource(address randAddr)",
"function setRandomSet(uint32 mbTypeID, uint32[] poolIds)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unsetRandomSet(uint32 mysteryTp)"
]
},
"ShipNFT": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x24B89FF1aD4D5D66eC757992B3B4ED2a09C54d58",
"abi": [
"constructor(uint256 idStart, string name, string symbol, string baseTokenURI)",
"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)",
"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)",
"event NFTExtendModify(uint256 indexed tokenId, string extendName, bytes extendData)",
"event NFTExtendName(string extendName, bytes32 nameBytes)",
"event NFTFreeze(uint256 indexed tokenId, int32 freezeRef)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event ShipNFTMint(address indexed to, uint256 indexed tokenId, tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data)",
"event ShipNFTModified(uint256 indexed tokenId, tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data)",
"event ShipNFTPortModified(uint256 indexed tokenId, uint16 portID)",
"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)",
"event Unpaused(address account)",
"function DATA_ROLE() view returns (bytes32)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function FREEZE_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _attrSource() view returns (address)",
"function _royalties() view returns (uint256)",
"function addTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function approve(address to, uint256 tokenId)",
"function balanceOf(address owner) view returns (uint256)",
"function burn(uint256 tokenId)",
"function exists(uint256 tokenId) view returns (bool)",
"function extendNftData(string extendName)",
"function fetchIncome(address erc20)",
"function fetchIncomeEth()",
"function freeze(uint256 tokenId)",
"function getApproved(uint256 tokenId) view returns (address)",
"function getAttrSource() view returns (address a)",
"function getNftData(uint256 tokenId) view returns (tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function getTokenExtendNftData(uint256 tokenId, string extendName) view returns (bytes)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isApprovedForAll(address owner, address operator) view returns (bool)",
"function isFreezed(uint256 tokenId) view returns (bool)",
"function mint(address to, tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data) returns (uint256)",
"function mintFixedID(uint256 id, address to, tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data) returns (uint256)",
"function modNftData(uint256 tokenId, tuple(uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint16 level, uint16 portID) data)",
"function modNftPort(uint256 tokenId, uint16 portID)",
"function modifyTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function name() view returns (string)",
"function notFreezed(uint256 tokenId) view returns (bool)",
"function ownerOf(uint256 tokenId) view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function royaltyInfo(uint256, uint256 value) view returns (address receiver, uint256 royaltyAmount)",
"function safeTransferFrom(address from, address to, uint256 tokenId)",
"function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)",
"function setApprovalForAll(address operator, bool approved)",
"function setAttrSource(address a)",
"function setRoyalties(uint256 royalties)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function symbol() view returns (string)",
"function tokenByIndex(uint256 index) view returns (uint256)",
"function tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)",
"function tokenURI(uint256 tokenId) view returns (string)",
"function totalSupply() view returns (uint256)",
"function transferFrom(address from, address to, uint256 tokenId)",
"function unfreeze(uint256 tokenId)",
"function unpause()",
"function updateURI(string baseTokenURI)"
]
},
"WarrantNFT": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x5D8a7F936892C140ff33beE776de5b05ec583e59",
"abi": [
"constructor(uint256 idStart, string name, string symbol, string baseTokenURI)",
"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)",
"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)",
"event NFTExtendModify(uint256 indexed tokenId, string extendName, bytes extendData)",
"event NFTExtendName(string extendName, bytes32 nameBytes)",
"event NFTFreeze(uint256 indexed tokenId, int32 freezeRef)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)",
"event Unpaused(address account)",
"event WarrantNFTMint(address indexed to, uint256 indexed tokenId, tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data)",
"event WarrantNFTModified(uint256 indexed tokenId, tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data)",
"function DATA_ROLE() view returns (bytes32)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function FREEZE_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _royalties() view returns (uint256)",
"function addTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function approve(address to, uint256 tokenId)",
"function balanceOf(address owner) view returns (uint256)",
"function burn(uint256 tokenId)",
"function exists(uint256 tokenId) view returns (bool)",
"function extendNftData(string extendName)",
"function fetchIncome(address erc20)",
"function fetchIncomeEth()",
"function freeze(uint256 tokenId)",
"function getApproved(uint256 tokenId) view returns (address)",
"function getNftData(uint256 tokenId) view returns (tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function getTokenExtendNftData(uint256 tokenId, string extendName) view returns (bytes)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function isApprovedForAll(address owner, address operator) view returns (bool)",
"function isFreezed(uint256 tokenId) view returns (bool)",
"function mint(address to, tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data) returns (uint256)",
"function mintFixedID(uint256 id, address to, tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data) returns (uint256)",
"function modNftData(uint256 tokenId, tuple(uint32 createTm, uint16 portID, uint16 storehouseLv, uint16 factoryLv, uint16 shopLv, uint16 shipyardLv) data)",
"function modifyTokenExtendNftData(uint256 tokenId, string extendName, bytes extendData)",
"function name() view returns (string)",
"function notFreezed(uint256 tokenId) view returns (bool)",
"function ownerOf(uint256 tokenId) view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function royaltyInfo(uint256, uint256 value) view returns (address receiver, uint256 royaltyAmount)",
"function safeTransferFrom(address from, address to, uint256 tokenId)",
"function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)",
"function setApprovalForAll(address operator, bool approved)",
"function setRoyalties(uint256 royalties)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function symbol() view returns (string)",
"function tokenByIndex(uint256 index) view returns (uint256)",
"function tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)",
"function tokenURI(uint256 tokenId) view returns (string)",
"function totalSupply() view returns (uint256)",
"function transferFrom(address from, address to, uint256 tokenId)",
"function unfreeze(uint256 tokenId)",
"function unpause()",
"function updateURI(string baseTokenURI)"
]
},
"DirectMysteryBox": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x08Ab44C92E49B16455b277C43348E6737A84F8CB",
"abi": [
"constructor()",
"event DirectMBBatchGetResult(address indexed useAddr, uint32 indexed directMBID, tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"event DirectMBBatchOpen(address indexed useAddr, uint32 indexed directMBID, uint256 batchCount)",
"event DirectMBGetResult(address indexed useAddr, uint32 indexed directMBID, tuple(address addr, uint256[] tokenIds, uint256[] tokenValues)[] sfts, tuple(address addr, uint256[] tokenIds)[] nfts)",
"event DirectMBOpen(address indexed useAddr, uint32 indexed directMBID)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event SetOnSaleDirectMB(uint32 indexed directMBID, tuple(address randsource, uint32 mysteryType, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function RAND_ROLE() view returns (bytes32)",
"function _onsaleMB(uint32) view returns (address randsource, uint32 mysteryType, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount)",
"function _onsaleMBDatas(uint32) view returns (uint64 nextRenewTime, uint256 countLeft)",
"function _openedRecord(uint256) view returns (address userAddr, uint32 directMBID, uint8 batchCount)",
"function _receiveIncomAddress() view returns (address)",
"function batchOpenMB(uint32 directMBID, uint8 batchCount) payable",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function openMB(uint32 directMBID) payable",
"function oracleRandResponse(uint256 reqid, uint256 randnum)",
"function pause()",
"function paused() view returns (bool)",
"function removeMethodExtraFee(uint8 methodKey)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setMethodExtraFee(uint8 methodKey, uint256 value, address target)",
"function setOnSaleDirectMB(uint32 directMBID, tuple(address randsource, uint32 mysteryType, address tokenAddr, uint256 tokenId, uint256 price, uint64 beginTime, uint64 endTime, uint64 renewTime, uint256 renewCount) saleConfig, tuple(uint64 nextRenewTime, uint256 countLeft) saleData)",
"function setReceiveIncomeAddress(address incomAddr)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()"
]
},
"GameService": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x254fc84427298E7579626C998D6Ea71d8c1564f9",
"abi": [
"constructor()",
"event BindHeroNFTUsage(address indexed userAddr, uint256 indexed heroNFTID, string usage)",
"event BindShipNFT(address indexed userAddr, uint256 indexed shipNFTID)",
"event BindWarrant(address indexed userAddr, uint256 indexed warrantNFTID)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event UnbindHeroNFTUsage(address indexed userAddr, uint256 indexed heroNFTID, string usage)",
"event UnbindShipNFT(address indexed userAddr, uint256 indexed shipNFTID)",
"event UnbindWarrant(address indexed userAddr, uint256 indexed warrantNFTID)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function SERVICE_ROLE() view returns (bytes32)",
"function _MTTAddr() view returns (address)",
"function _MTTGoldAddr() view returns (address)",
"function _bindWarrant(address, uint32) view returns (uint256)",
"function _heroNFTAddr() view returns (address)",
"function _heroNFTUsage(uint256) view returns (bytes32)",
"function _shipNFTAddr() view returns (address)",
"function _shipNFTBind(uint256) view returns (bool)",
"function _warrantNFTAddr() view returns (address)",
"function bindHeroNFTUsage(uint256 heroNFTID, string usage)",
"function bindShipNFT(uint256 shipNFTID)",
"function bindWarrant(uint256 warrantNFTID)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function init(address heroNFTAddr, address shipNFTAddr, address warrantNFTAddr, address MTTAddr, address MTTGoldAddr)",
"function pause()",
"function paused() view returns (bool)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unbindHeroNFTUsage(uint256 heroNFTID, string usage, address userAddr)",
"function unbindShipNFT(uint256 shipNFTID, uint16 portID, address userAddr)",
"function unbindWarrant(uint256 warrantNFTID, address userAddr)",
"function unpause()"
]
},
"OffOnChainBridge": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x0E5379832A73acE4d7d7e6885DCFB8f5Ce1748cd",
"abi": [
"constructor()",
"event Off2OnChain_MTTGold(address userAddr, uint256 goldValue)",
"event On2OffChain_MTTGold(address userAddr, uint256 goldValue)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function SERVICE_ROLE() view returns (bytes32)",
"function _MTTAddr() view returns (address)",
"function _MTTGoldAddr() view returns (address)",
"function _lastWarrantGenGoldTm(uint256) view returns (uint32)",
"function _oracleCharger() view returns (uint256 locked, address tokenPriceOracleAddr, address receiveIncomeAddr)",
"function _shopGoldMaxGen(uint16, uint16) view returns (uint256)",
"function _warrantNFTAddr() view returns (address)",
"function addChargeToken(string tokenName, address tokenAddr, uint256 maximumUSDPrice, uint256 minimumUSDPrice)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function init(address warrantNFTAddr, address MTTAddr, address MTTGoldAddr)",
"function mint_MTTGold(address userAddr, uint256 goldValue, uint256 warrantNFTID)",
"function off2onChain_MTTGold(address userAddr, uint256 goldValue)",
"function on2offChain_MTTGold(uint256 goldValue)",
"function pause()",
"function paused() view returns (bool)",
"function removeChargeToken(string tokenName)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setReceiveIncomeAddr(address incomeAddr)",
"function setShopGoldMaxGen(uint16 portID, uint16 shopLv, uint256 maxGoldGenPerSec)",
"function setTPOracleAddr(address tpOracleAddr)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()"
]
},
"WarrantIssuer": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xcB47Ff6f93e7C6980976D6F2DFd9deA5Db8B3D68",
"abi": [
"constructor()",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function _oracleCharger() view returns (uint256 locked, address tokenPriceOracleAddr, address receiveIncomeAddr)",
"function _warrantNFTAddr() view returns (address)",
"function _warrantPrices(uint16) view returns (uint256)",
"function addChargeToken(string tokenName, address tokenAddr, uint256 maximumUSDPrice, uint256 minimumUSDPrice)",
"function clearWarrantUpgradePrice(uint16 portID, uint8 upgradeType, uint16 level)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function init(address warrantNFTAddr)",
"function mint_MTTWarrant(uint16 portID, uint256 usdPrice, string tokenName) payable",
"function pause()",
"function paused() view returns (bool)",
"function removeChargeToken(string tokenName)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setReceiveIncomeAddr(address incomeAddr)",
"function setTPOracleAddr(address tpOracleAddr)",
"function setWarrantPrice(uint16 portID, uint256 usdPrice)",
"function setWarrantUpgradePrice(uint16 portID, uint8 upgradeType, uint16 level, uint256 usdPrice)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()",
"function upgrade_MTTWarrant(uint256 warrantNFTID, uint8 upgradeType, uint256 usdPrice, string tokenName) payable"
]
},
"Shipyard": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x3ad64db22F33B3df1FFe8bB7E54348570f7486B5",
"abi": [
"constructor()",
"event FinishUpgrade_Ship(address indexed userAddr, uint256 indexed shipNFTID, uint16 newLevel)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event StartUpgrade_Ship(address indexed userAddr, uint256 indexed shipNFTID, uint256 indexed warrantNFTID, uint16 nextLevel, uint32 finishTime)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function MINTER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function SERVICE_ROLE() view returns (bytes32)",
"function _buildabelShips(uint16, uint16, uint256) view returns (uint24)",
"function _oracleCharger() view returns (uint256 locked, address tokenPriceOracleAddr, address receiveIncomeAddr)",
"function _shipNFTAddr() view returns (address)",
"function _shipUpgradeConfs(uint24, uint16) view returns (uint256 usdPrice, uint32 timeCost, uint16 portIDRequire, uint16 shipyardLvRequire)",
"function _upgradingShips(uint256) view returns (uint16 nextLevel, uint32 finishTime)",
"function _warrantNFTAddr() view returns (address)",
"function addChargeToken(string tokenName, address tokenAddr, uint256 maximumUSDPrice, uint256 minimumUSDPrice)",
"function clearBuildableShips(uint16 portID, uint8 shipyardLv)",
"function clearUpgradeConf(uint8 shipType, uint16 shipTypeID, uint16[] shipLevels)",
"function finishUpgrade_Ship(uint256 shipNFTID)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function init(address warrantNFTAddr, address shipNFTAddr)",
"function mint_Ship(address userAddr, uint8 shipType, uint16 shipTypeID, uint8 grade, uint32 minerAttr, uint32 battleAttr, uint256 warrantNFTID)",
"function pause()",
"function paused() view returns (bool)",
"function removeChargeToken(string tokenName)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setBuildableShips(uint16 portID, uint8 shipyardLv, uint24[] buildableShipArray)",
"function setReceiveIncomeAddr(address incomeAddr)",
"function setTPOracleAddr(address tpOracleAddr)",
"function setUpgradeConf(uint8 shipType, uint16 shipTypeID, uint16[] shipLevels, tuple(uint256 usdPrice, uint32 timeCost, uint16 portIDRequire, uint16 shipyardLvRequire)[] confs)",
"function startUpgrade_Ship(uint256 shipNFTID, uint256 usdPrice, string tokenName, uint256 warrantNFTID) payable",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()"
]
},
"HeroPetTrain": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0xa39B3344122212FA8681857801c9335d1dbe861C",
"abi": [
"constructor()",
"event FinishUpStarLv_Hero(address indexed userAddr, uint256 indexed heroNFTID, uint16 newStarLevel)",
"event FinishUpgrade_HeroOrPet(address indexed userAddr, uint256 indexed heroNFTID, uint16 newLevel)",
"event Paused(address account)",
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)",
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)",
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)",
"event StartUpStarLv_Hero(address indexed userAddr, uint256 indexed heroNFTID, uint256 indexed warrantNFTID, uint16 nextStarLevel, uint32 finishTime)",
"event StartUpgrade_HeroOrPet(address indexed userAddr, uint256 indexed heroNFTID, uint256 indexed warrantNFTID, uint16 nextLevel, uint32 finishTime)",
"event Unpaused(address account)",
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
"function MANAGER_ROLE() view returns (bytes32)",
"function PAUSER_ROLE() view returns (bytes32)",
"function SERVICE_ROLE() view returns (bytes32)",
"function _MTTGoldAddr() view returns (address)",
"function _heroNFTAddr() view returns (address)",
"function _heroStarLvUpConfs(uint8, uint16) view returns (uint256 usdPrice, uint32 timeCost, uint16 heroLevelRequire, uint16 portIDRequire)",
"function _heropetUpgradeConfs(uint16, uint8, uint16) view returns (uint256 goldPrice, uint32 timeCost, uint16 portIDRequire)",
"function _oracleCharger() view returns (uint256 locked, address tokenPriceOracleAddr, address receiveIncomeAddr)",
"function _upgradingHeroPets(uint256) view returns (uint16 nextLevel, uint32 finishTime)",
"function _upingStarLvHeros(uint256) view returns (uint8 nextStarLevel, uint32 finishTime)",
"function _warrantNFTAddr() view returns (address)",
"function addChargeToken(string tokenName, address tokenAddr, uint256 maximumUSDPrice, uint256 minimumUSDPrice)",
"function clearStarLvUpConf(uint8 job, uint16 level)",
"function clearUpgradeConf(uint16 nftType, uint8 joborpetid, uint16[] levels)",
"function finishUpStarLv_Hero(uint256 heroNFTID)",
"function finishUpgrade_HeroOrPet(uint256 heroNFTID)",
"function getRoleAdmin(bytes32 role) view returns (bytes32)",
"function grantRole(bytes32 role, address account)",
"function hasRole(bytes32 role, address account) view returns (bool)",
"function init(address warrantNFTAddr, address heroNFTAddr, address MTTGoldAddr)",
"function pause()",
"function paused() view returns (bool)",
"function removeChargeToken(string tokenName)",
"function renounceRole(bytes32 role, address account)",
"function revokeRole(bytes32 role, address account)",
"function setReceiveIncomeAddr(address incomeAddr)",
"function setStarLvUpConf(uint8 job, uint16 level, tuple(uint256 usdPrice, uint32 timeCost, uint16 heroLevelRequire, uint16 portIDRequire) conf)",
"function setTPOracleAddr(address tpOracleAddr)",
"function setUpgradeConf(uint16 nftType, uint8 joborpetid, uint16[] levels, tuple(uint256 goldPrice, uint32 timeCost, uint16 portIDRequire)[] confs)",
"function startUpStarLv_Hero(uint256 heroNFTID, uint256 usdPrice, string tokenName, uint256 warrantNFTID) payable",
"function startUpgrade_HeroOrPet(uint256 heroNFTID, uint256 goldPrice, uint256 warrantNFTID)",
"function supportsInterface(bytes4 interfaceId) view returns (bool)",
"function unpause()"
]
},
"MTTGold": {
"deployer": "0x9812752121fb9eBEc49A4B8153240866156E87C5",
"addr": "0x0848c8b834D9301e9B12b48ABaDd800Ed1589F2f",
"abi": [
"constructor(address bridgeAddr)",
"event Approval(address indexed owner, address indexed spender, uint256 value)",
"event Transfer(address indexed from, address indexed to, uint256 value)",
"function _bridgeAddr() view returns (address)",
"function _owner() view returns (address)",
"function _sealed() view returns (bool)",
"function allowance(address owner, address spender) view returns (uint256)",
"function approve(address spender, uint256 amount) returns (bool)",
"function balanceOf(address account) view returns (uint256)",
"function burn(uint256 amount)",
"function burnFrom(address account, uint256 amount)",
"function changeBridgeAddr(address bridgeAddr, bool isSealed)",