-
Notifications
You must be signed in to change notification settings - Fork 0
/
scenario.json
982 lines (982 loc) · 51.1 KB
/
scenario.json
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
{
"accounts": {
"account{0}": "0x5B38Da6a701c568545dCfcB03FcB875f56beddC4"
},
"linkReferences": {},
"transactions": [
{
"timestamp": 1631802560970,
"record": {
"value": "0",
"parameters": [],
"abi": "0x57513985ef7f70c3377980dc26ead5986dd9916d00d727210a3b2367f7945f20",
"contractName": "UnitsCoordinatesStore",
"bytecode": "6080604052600a6000557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60025534801561003957600080fd5b5060018060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f09e9eb79c0e5393828c68d42cbb03970fab20414c1f69ea4b0c5abfa2f67f75060405160405180910390a2610ce8806100e36000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80635ef10f9e1161005b5780635ef10f9e146101275780636e6e6e2b146101575780637065cb4814610187578063de957cf4146101a357610088565b80631be4c5c61461008d5780631f859c72146100a9578063230b3790146100d957806353d4de3014610109575b600080fd5b6100a760048036038101906100a291906108bd565b6101bf565b005b6100c360048036038101906100be9190610890565b6104a8565b6040516100d09190610aac565b60405180910390f35b6100f360048036038101906100ee9190610809565b6104e9565b6040516101009190610a31565b60405180910390f35b61011161053f565b60405161011e9190610af0565b60405180910390f35b610141600480360381019061013c9190610863565b610548565b60405161014e9190610aac565b60405180910390f35b610171600480360381019061016c9190610836565b610555565b60405161017e9190610af0565b60405180910390f35b6101a1600480360381019061019c9190610809565b61058b565b005b6101bd60048036038101906101b89190610890565b6106b4565b005b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661024b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024290610a6c565b60405180910390fd5b60008160000151118015610263575060008160200151115b801561027457506002548160000151105b801561028557506002548160200151105b6102c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bb90610a4c565b60405180910390fd5b6000600360008360000151815260200190815260200160002060008360000151815260200190815260200160002054148061032a575081600360008360000151815260200190815260200160002060008360000151815260200190815260200160002054145b610369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036090610a8c565b60405180910390fd5b6000600460008481526020019081526020016000206040518060400160405290816000820154815260200160018201548152505090506000600360008360000151815260200190815260200160002060008360200151815260200190815260200160002081905550826003600084600001518152602001908152602001600020600084602001518152602001908152602001600020819055508160046000858152602001908152602001600020600082015181600001556020820151816001015590505061043682610548565b6040516104439190610a16565b604051809103902061045482610548565b6040516104619190610a16565b6040518091039020847fd718fb03d159219652ec37072786d3206623d6e9337fb65c3fb8c4adc632a7c3848660405161049b929190610ac7565b60405180910390a4505050565b6104b0610756565b60046000838152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008054905090565b610550610756565b919050565b60006003600083600001358152602001908152602001600020600083602001358152602001908152602001600020549050919050565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e90610a6c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f09e9eb79c0e5393828c68d42cbb03970fab20414c1f69ea4b0c5abfa2f67f75060405160405180910390a260018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073790610a6c565b60405180910390fd5b6107498161074c565b50565b8060008190555050565b604051806040016040528060008152602001600081525090565b60008135905061077f81610c84565b92915050565b60006040828403121561079b5761079a610be9565b5b81905092915050565b6000604082840312156107ba576107b9610bee565b5b6107c46040610b0b565b905060006107d4848285016107f4565b60008301525060206107e8848285016107f4565b60208301525092915050565b60008135905061080381610c9b565b92915050565b60006020828403121561081f5761081e610bf3565b5b600061082d84828501610770565b91505092915050565b60006040828403121561084c5761084b610bf3565b5b600061085a84828501610785565b91505092915050565b60006040828403121561087957610878610bf3565b5b6000610887848285016107a4565b91505092915050565b6000602082840312156108a6576108a5610bf3565b5b60006108b4848285016107f4565b91505092915050565b600080606083850312156108d4576108d3610bf3565b5b60006108e2858286016107f4565b92505060206108f3858286016107a4565b9150509250929050565b60006109098383610a07565b60208301905092915050565b61091e81610b53565b82525050565b6000610931601e83610b30565b915061093c82610c09565b602082019050919050565b6000610954601383610b30565b915061095f82610c32565b602082019050919050565b6000610977601f83610b30565b915061098282610c5b565b602082019050919050565b6040820160008201516109a360008501826109e9565b5060208201516109b660208501826109e9565b50505050565b6000820160008201516109cf84826108fd565b93505060208201516109e184826108fd565b935050505050565b6109f281610b7f565b82525050565b610a0181610b7f565b82525050565b610a1081610b7f565b82525050565b6000610a2282846109bc565b60408201915081905092915050565b6000602082019050610a466000830184610915565b92915050565b60006020820190508181036000830152610a6581610924565b9050919050565b60006020820190508181036000830152610a8581610947565b9050919050565b60006020820190508181036000830152610aa58161096a565b9050919050565b6000604082019050610ac1600083018461098d565b92915050565b6000608082019050610adc600083018561098d565b610ae9604083018461098d565b9392505050565b6000602082019050610b0560008301846109f8565b92915050565b6000610b15610b26565b9050610b218282610b89565b919050565b6000604051905090565b600082825260208201905092915050565b6000610b4c82610b5f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b610b9282610bf8565b810181811067ffffffffffffffff82111715610bb157610bb0610bba565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f596f752063616e277420676f206f7574736964652074686520776f726c640000600082015250565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b7f546865726520697320736f6d656f6e65207374616e64696e6720746865726500600082015250565b610c8d81610b41565b8114610c9857600080fd5b50565b610ca481610b7f565b8114610caf57600080fd5b5056fea264697066735822122079de6735fe4c1f9e7f7781ff73a37405fee05de6eb0aa2d39e7a8bd13ace924f64736f6c63430008070033",
"linkReferences": {},
"name": "",
"inputs": "()",
"type": "constructor",
"from": "account{0}"
}
},
{
"timestamp": 1631802570483,
"record": {
"value": "0",
"parameters": [
"0x5B38Da6a701c568545dCfcB03FcB875f56beddC4"
],
"to": "created{1631802560970}",
"abi": "0x57513985ef7f70c3377980dc26ead5986dd9916d00d727210a3b2367f7945f20",
"name": "addOwner",
"inputs": "(address)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802592224,
"record": {
"value": "0",
"parameters": [],
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"contractName": "Units",
"bytecode": "6080604052600a6000556000600455678ac7230489e800006005556798a7d9b8314c00006006556798a7d9b8314c00006007556798a7d9b8314c00006008556798a7d9b8314c00006009556798a7d9b8314c0000600a5534801561006257600080fd5b506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f09e9eb79c0e5393828c68d42cbb03970fab20414c1f69ea4b0c5abfa2f67f75060405160405180910390a26127d38061010d6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806371798ac1116100de578063b4c1205c11610097578063de957cf411610071578063de957cf41461046b578063e18b551c14610487578063e333ce73146104a3578063fb51f0ca146104d35761018e565b8063b4c1205c14610401578063c5a263b61461040b578063d6483b441461043b5761018e565b806371798ac114610341578063830b1be21461035f57806399d9531e1461037b5780639e5faafc146103ab578063ad88b6e4146103b5578063b1411a71146103e55761018e565b8063230b37901161014b578063554035a811610125578063554035a8146102bd5780635ef10f9e146102d95780636f938ef4146103095780637065cb48146103255761018e565b8063230b3790146102655780634f31840f1461029557806353d4de301461029f5761018e565b8063057185a714610193578063057a929a146101af57806306586bab146101df5780630d7a0784146101fb5780631655bfbe146102175780631d6c438614610247575b600080fd5b6101ad60048036038101906101a8919061201b565b6104ef565b005b6101c960048036038101906101c49190611f3a565b610585565b6040516101d69190612426565b60405180910390f35b6101f960048036038101906101f49190612075565b6106b0565b005b6102156004803603810190610210919061201b565b61089e565b005b610231600480360381019061022c919061201b565b610934565b60405161023e919061240b565b60405180910390f35b61024f610a7f565b60405161025c9190612426565b60405180910390f35b61027f600480360381019061027a9190611f3a565b610a89565b60405161028c9190612399565b60405180910390f35b61029d610adf565b005b6102a7610ae1565b6040516102b49190612426565b60405180910390f35b6102d760048036038101906102d2919061201b565b610aea565b005b6102f360048036038101906102ee9190611f94565b610b80565b60405161030091906123f0565b60405180910390f35b610323600480360381019061031e919061201b565b610b8d565b005b61033f600480360381019061033a9190611f3a565b610c23565b005b610349610d4d565b60405161035691906123d4565b60405180910390f35b61037960048036038101906103749190611f3a565b6111b4565b005b61039560048036038101906103909190611f3a565b6111f8565b6040516103a29190612426565b60405180910390f35b6103b3611323565b005b6103cf60048036038101906103ca9190612075565b611325565b6040516103dc9190612377565b60405180910390f35b6103ff60048036038101906103fa919061201b565b611585565b005b61040961161b565b005b61042560048036038101906104209190611f3a565b61161d565b6040516104329190612426565b60405180910390f35b61045560048036038101906104509190611f3a565b611748565b6040516104629190612426565b60405180910390f35b6104856004803603810190610480919061201b565b611873565b005b6104a1600480360381019061049c9190611f3a565b61190b565b005b6104bd60048036038101906104b89190611f3a565b611a4c565b6040516104ca9190612426565b60405180910390f35b6104ed60048036038101906104e89190611f3a565b611b77565b005b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661057b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610572906123b4565b60405180910390fd5b8060078190555050565b600080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600754600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610618919061252f565b9050600082600101541180156106315750438260020154115b1561065857816000015482600101548261064b919061252f565b61065591906124d9565b90505b6000610665856001611bbb565b90506000816020015111801561067e5750438160400151115b156106a5578060000151816020015183610698919061252f565b6106a291906124d9565b91505b819350505050919050565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146106fc57600080fd5b60016004600082825461070f91906124d9565b92505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631be4c5c66004546040518060400160405280868152602001858152506040518363ffffffff1660e01b8152600401610789929190612441565b600060405180830381600087803b1580156107a357600080fd5b505af11580156107b7573d6000803e3d6000fd5b505050506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555033600e6000600454815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661092a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610921906123b4565b60405180910390fd5b8060098190555050565b61093c611cdf565b6000600e600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506040518060600160405280848152602001600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f859c72866040518263ffffffff1660e01b8152600401610a259190612426565b604080518083038186803b158015610a3c57600080fd5b505afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a749190611fc1565b815250915050919050565b6000600554905090565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b565b60008054905090565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6d906123b4565b60405180910390fd5b80600a8190555050565b610b88611d06565b919050565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c10906123b4565b60405180910390fd5b8060068190555050565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca6906123b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f09e9eb79c0e5393828c68d42cbb03970fab20414c1f69ea4b0c5abfa2f67f75060405160405180910390a26001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610d55611d20565b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000604051806101200160405280838152602001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f859c72856040518263ffffffff1660e01b8152600401610e929190612426565b604080518083038186803b158015610ea957600080fd5b505afa158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee19190611fc1565b81526020013073ffffffffffffffffffffffffffffffffffffffff1663d6483b44336040518263ffffffff1660e01b8152600401610f1f9190612333565b60206040518083038186803b158015610f3757600080fd5b505afa158015610f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6f9190612048565b81526020013073ffffffffffffffffffffffffffffffffffffffff1663057a929a336040518263ffffffff1660e01b8152600401610fad9190612333565b60206040518083038186803b158015610fc557600080fd5b505afa158015610fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffd9190612048565b81526020013073ffffffffffffffffffffffffffffffffffffffff166399d9531e336040518263ffffffff1660e01b815260040161103b9190612333565b60206040518083038186803b15801561105357600080fd5b505afa158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b9190612048565b81526020013073ffffffffffffffffffffffffffffffffffffffff1663e333ce73336040518263ffffffff1660e01b81526004016110c99190612333565b60206040518083038186803b1580156110e157600080fd5b505afa1580156110f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111199190612048565b81526020013073ffffffffffffffffffffffffffffffffffffffff1663c5a263b6336040518263ffffffff1660e01b81526004016111579190612333565b60206040518083038186803b15801561116f57600080fd5b505afa158015611183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a79190612048565b8152509050809250505090565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600854600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461128b919061252f565b9050600082600101541180156112a45750438260020154115b156112cb5781600001548260010154826112be919061252f565b6112c891906124d9565b90505b60006112d8856002611bbb565b9050600081602001511180156112f15750438160400151115b1561131857806000015181602001518361130b919061252f565b61131591906124d9565b91505b819350505050919050565b565b6060600080548461133691906124d9565b9050600080548461134791906124d9565b9050600080806000805460005461135e919061252f565b67ffffffffffffffff811115611377576113766126e8565b5b6040519080825280602002602001820160405280156113b057816020015b61139d611cdf565b8152602001906001900390816113955790505b5090508892505b85831015611576578791505b84821015611562576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636e6e6e2b6040518060400160405280878152602001868152506040518263ffffffff1660e01b815260040161143c91906123f0565b60206040518083038186803b15801561145457600080fd5b505afa158015611468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148c9190612048565b90506000811461154d573073ffffffffffffffffffffffffffffffffffffffff16631655bfbe826040518263ffffffff1660e01b81526004016114cf9190612426565b60806040518083038186803b1580156114e757600080fd5b505afa1580156114fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151f9190611fee565b828681518110611532576115316126b9565b5b602002602001018190525060018561154a91906124d9565b94505b5060018261155b91906124d9565b91506113c3565b60018361156f91906124d9565b92506113b7565b80965050505050505092915050565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611611576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611608906123b4565b60405180910390fd5b8060088190555050565b565b600080601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600a54600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116b0919061252f565b9050600082600101541180156116c95750438260020154115b156116f05781600001548260010154826116e3919061252f565b6116ed91906124d9565b90505b60006116fd856004611bbb565b9050600081602001511180156117165750438160400151115b1561173d578060000151816020015183611730919061252f565b61173a91906124d9565b91505b819350505050919050565b600080601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600654600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117db919061252f565b9050600082600101541180156117f45750438260020154115b1561181b57816000015482600101548261180e919061252f565b61181891906124d9565b90505b6000611828856000611bbb565b9050600081602001511180156118415750438160400151115b1561186857806000015181602001518361185b919061252f565b61186591906124d9565b91505b819350505050919050565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f6906123b4565b60405180910390fd5b61190881611cd5565b50565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000606490508082101561196257600080fd5b6001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119ae91906124d9565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a409190612589565b92505081905550505050565b600080601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600954600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611adf919061252f565b905060008260010154118015611af85750438260020154115b15611b1f578160000154826001015482611b12919061252f565b611b1c91906124d9565b90505b6000611b2c856003611bbb565b905060008160200151118015611b455750438160400151115b15611b6c578060000151816020015183611b5f919061252f565b611b6991906124d9565b91505b819350505050919050565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611bc3611d72565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ccf576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16637935f08285856040518363ffffffff1660e01b8152600401611c7b92919061234e565b60606040518083038186803b158015611c9357600080fd5b505afa158015611ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccb9190611f67565b9150505b92915050565b8060008190555050565b60405180606001604052806000815260200160008152602001611d00611d06565b81525090565b604051806040016040528060008152602001600081525090565b604051806101200160405280600081526020016000815260200160008152602001611d49611d06565b815260200160008152602001600081526020016000815260200160008152602001600081525090565b60405180606001604052806000815260200160008152602001600081525090565b600081359050611da28161276f565b92915050565b600060608284031215611dbe57611dbd612717565b5b611dc8606061246a565b90506000611dd884828501611f25565b6000830152506020611dec84828501611f25565b6020830152506040611e0084828501611f25565b60408301525092915050565b600060408284031215611e2257611e21612717565b5b611e2c604061246a565b90506000611e3c84828501611f10565b6000830152506020611e5084828501611f10565b60208301525092915050565b600060408284031215611e7257611e71612717565b5b611e7c604061246a565b90506000611e8c84828501611f25565b6000830152506020611ea084828501611f25565b60208301525092915050565b600060808284031215611ec257611ec1612717565b5b611ecc606061246a565b90506000611edc84828501611f25565b6000830152506020611ef084828501611f25565b6020830152506040611f0484828501611e5c565b60408301525092915050565b600081359050611f1f81612786565b92915050565b600081519050611f3481612786565b92915050565b600060208284031215611f5057611f4f61271c565b5b6000611f5e84828501611d93565b91505092915050565b600060608284031215611f7d57611f7c61271c565b5b6000611f8b84828501611da8565b91505092915050565b600060408284031215611faa57611fa961271c565b5b6000611fb884828501611e0c565b91505092915050565b600060408284031215611fd757611fd661271c565b5b6000611fe584828501611e5c565b91505092915050565b6000608082840312156120045761200361271c565b5b600061201284828501611eac565b91505092915050565b6000602082840312156120315761203061271c565b5b600061203f84828501611f10565b91505092915050565b60006020828403121561205e5761205d61271c565b5b600061206c84828501611f25565b91505092915050565b6000806040838503121561208c5761208b61271c565b5b600061209a85828601611f10565b92505060206120ab85828601611f10565b9150509250929050565b60006120c18383612291565b60808301905092915050565b6120d6816125bd565b82525050565b60006120e78261249f565b6120f181856124b7565b93506120fc8361248f565b8060005b8381101561212d57815161211488826120b5565b975061211f836124aa565b925050600181019050612100565b5085935050505092915050565b612143816125cf565b82525050565b61215281612618565b82525050565b60006121656013836124c8565b915061217082612732565b602082019050919050565b610140820160008201516121926000850182612315565b5060208201516121a56020850182612315565b5060408201516121b86040850182612315565b5060608201516121cb6060850182612233565b5060808201516121de60a0850182612315565b5060a08201516121f160c0850182612315565b5060c082015161220460e0850182612315565b5060e0820151612218610100850182612315565b5061010082015161222d610120850182612315565b50505050565b6040820160008201516122496000850182612315565b50602082015161225c6020850182612315565b50505050565b6040820160008201516122786000850182612315565b50602082015161228b6020850182612315565b50505050565b6080820160008201516122a76000850182612315565b5060208201516122ba6020850182612315565b5060408201516122cd6040850182612233565b50505050565b6080820160008201516122e96000850182612315565b5060208201516122fc6020850182612315565b50604082015161230f6040850182612233565b50505050565b61231e8161260e565b82525050565b61232d8161260e565b82525050565b600060208201905061234860008301846120cd565b92915050565b600060408201905061236360008301856120cd565b6123706020830184612149565b9392505050565b6000602082019050818103600083015261239181846120dc565b905092915050565b60006020820190506123ae600083018461213a565b92915050565b600060208201905081810360008301526123cd81612158565b9050919050565b6000610140820190506123ea600083018461217b565b92915050565b60006040820190506124056000830184612262565b92915050565b600060808201905061242060008301846122d3565b92915050565b600060208201905061243b6000830184612324565b92915050565b60006060820190506124566000830185612324565b6124636020830184612262565b9392505050565b6000612474612485565b9050612480828261262a565b919050565b6000604051905090565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006124e48261260e565b91506124ef8361260e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125245761252361265b565b5b828201905092915050565b600061253a8261260e565b91506125458361260e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561257e5761257d61265b565b5b828202905092915050565b60006125948261260e565b915061259f8361260e565b9250828210156125b2576125b161265b565b5b828203905092915050565b60006125c8826125ee565b9050919050565b60008115159050919050565b60008190506125e98261275b565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612623826125db565b9050919050565b61263382612721565b810181811067ffffffffffffffff82111715612652576126516126e8565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b6005811061276c5761276b61268a565b5b50565b612778816125bd565b811461278357600080fd5b50565b61278f8161260e565b811461279a57600080fd5b5056fea26469706673582212207c6a0f801b9dc0a70237e2550ac08b3f9e99a8f503c57b7b1f4c001786e2ae9b64736f6c63430008070033",
"linkReferences": {},
"name": "",
"inputs": "()",
"type": "constructor",
"from": "account{0}"
}
},
{
"timestamp": 1631802625616,
"record": {
"value": "0",
"parameters": [
"23",
"23"
],
"to": "created{1631802592224}",
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"name": "spawnUnit",
"inputs": "(uint256,uint256)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802639956,
"record": {
"value": "0",
"parameters": [
"created{1631802592224}"
],
"to": "created{1631802560970}",
"abi": "0x57513985ef7f70c3377980dc26ead5986dd9916d00d727210a3b2367f7945f20",
"name": "addOwner",
"inputs": "(address)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802642468,
"record": {
"value": "0",
"parameters": [
"23",
"23"
],
"to": "created{1631802592224}",
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"name": "spawnUnit",
"inputs": "(uint256,uint256)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802646230,
"record": {
"value": "0",
"parameters": [
"23",
"23"
],
"to": "created{1631802592224}",
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"name": "spawnUnit",
"inputs": "(uint256,uint256)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802661873,
"record": {
"value": "0",
"parameters": [
"created{1631802560970}"
],
"to": "created{1631802592224}",
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"name": "setHeroCoordinatesStoreAddress",
"inputs": "(address)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1631802664712,
"record": {
"value": "0",
"parameters": [
"23",
"23"
],
"to": "created{1631802592224}",
"abi": "0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40",
"name": "spawnUnit",
"inputs": "(uint256,uint256)",
"type": "function",
"from": "account{0}"
}
}
],
"abis": {
"0x57513985ef7f70c3377980dc26ead5986dd9916d00d727210a3b2367f7945f20": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnerAdd",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "unitId",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"indexed": false,
"internalType": "struct Math2d.Point",
"name": "from",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"indexed": false,
"internalType": "struct Math2d.Point",
"name": "to",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"indexed": true,
"internalType": "struct Math2d.Point",
"name": "fromChunk",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"indexed": true,
"internalType": "struct Math2d.Point",
"name": "toChunk",
"type": "tuple"
}
],
"name": "UnitsUpdateCoordinates",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "addOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "chunkSize",
"type": "uint256"
}
],
"name": "setChunkSize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "unitsId",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "newCoordinates",
"type": "tuple"
}
],
"name": "setHeroCoordinates",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "point",
"type": "tuple"
}
],
"name": "getChunkCoordinatesByPoint",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "chunkCoordinates",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getChunkSize",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "coordinates",
"type": "tuple"
}
],
"name": "getUnitByCoordinates",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "unitsId",
"type": "uint256"
}
],
"name": "getUnitsCoordinates",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
}
],
"name": "hasOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"0x6fcbf9394b5feb13509f40fb7f01996d0c7098983c035c56f397442ad3ad4b40": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnerAdd",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "addOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "attack",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "levelUp",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "setAttackLevelMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "chunkSize",
"type": "uint256"
}
],
"name": "setChunkSize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "setFarmingRateLevelMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "setMaxPowerLevelMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "setMaxWayLengthLevelMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "setNftBoosterContractAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "setPowerRecoveryRateLevelMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "setHeroCoordinatesStoreAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"name": "spawnUnit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "startFarm",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "stopFarmAndMove",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y1",
"type": "uint256"
}
],
"name": "getChunk",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "level",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "coordinates",
"type": "tuple"
}
],
"internalType": "struct Units.Unit[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "point",
"type": "tuple"
}
],
"name": "getChunkCoordinatesByPoint",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "chunkCoordinates",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getChunkSize",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLevelMultipleDecimal",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPlayerUnit",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "level",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "score",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "coordinates",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "attack",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxPower",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxWayLength",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "farmingRate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "powerRecoveryRate",
"type": "uint256"
}
],
"internalType": "struct Units.PlayersUnit",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "unitsId",
"type": "uint256"
}
],
"name": "getUnit",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "level",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
}
],
"internalType": "struct Math2d.Point",
"name": "coordinates",
"type": "tuple"
}
],
"internalType": "struct Units.Unit",
"name": "unit",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "getUnitsAttack",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "getUnitsFarmingRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "getUnitsMaxPower",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "getUnitsMaxWayLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "unitAddress",
"type": "address"
}
],
"name": "getUnitsPowerRecoveryRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
}
],
"name": "hasOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
}