@cityofzion/bs-neox 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1880 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BRIDGE_ABI = void 0;
4
+ exports.BRIDGE_ABI = [
5
+ {
6
+ inputs: [],
7
+ stateMutability: 'nonpayable',
8
+ type: 'constructor',
9
+ },
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: 'address',
14
+ name: 'target',
15
+ type: 'address',
16
+ },
17
+ ],
18
+ name: 'AddressEmptyCode',
19
+ type: 'error',
20
+ },
21
+ {
22
+ inputs: [
23
+ {
24
+ internalType: 'address',
25
+ name: 'account',
26
+ type: 'address',
27
+ },
28
+ ],
29
+ name: 'AddressInsufficientBalance',
30
+ type: 'error',
31
+ },
32
+ {
33
+ inputs: [
34
+ {
35
+ internalType: 'uint256',
36
+ name: 'minAmount',
37
+ type: 'uint256',
38
+ },
39
+ {
40
+ internalType: 'uint256',
41
+ name: 'provided',
42
+ type: 'uint256',
43
+ },
44
+ ],
45
+ name: 'AmountBelowMinAmount',
46
+ type: 'error',
47
+ },
48
+ {
49
+ inputs: [
50
+ {
51
+ internalType: 'uint256',
52
+ name: 'maxAmount',
53
+ type: 'uint256',
54
+ },
55
+ {
56
+ internalType: 'uint256',
57
+ name: 'provided',
58
+ type: 'uint256',
59
+ },
60
+ ],
61
+ name: 'AmountExceedsMaxAmount',
62
+ type: 'error',
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: 'BridgeNotPaused',
67
+ type: 'error',
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: 'BridgePaused',
72
+ type: 'error',
73
+ },
74
+ {
75
+ inputs: [
76
+ {
77
+ internalType: 'address',
78
+ name: 'implementation',
79
+ type: 'address',
80
+ },
81
+ ],
82
+ name: 'ERC1967InvalidImplementation',
83
+ type: 'error',
84
+ },
85
+ {
86
+ inputs: [],
87
+ name: 'ERC1967NonPayable',
88
+ type: 'error',
89
+ },
90
+ {
91
+ inputs: [
92
+ {
93
+ internalType: 'uint256',
94
+ name: 'feeExpected',
95
+ type: 'uint256',
96
+ },
97
+ {
98
+ internalType: 'uint256',
99
+ name: 'feeProvided',
100
+ type: 'uint256',
101
+ },
102
+ ],
103
+ name: 'ExactFeeRequired',
104
+ type: 'error',
105
+ },
106
+ {
107
+ inputs: [],
108
+ name: 'FailedInnerCall',
109
+ type: 'error',
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: 'uint256',
115
+ name: 'minExpected',
116
+ type: 'uint256',
117
+ },
118
+ {
119
+ internalType: 'uint256',
120
+ name: 'provided',
121
+ type: 'uint256',
122
+ },
123
+ ],
124
+ name: 'InsufficientFee',
125
+ type: 'error',
126
+ },
127
+ {
128
+ inputs: [],
129
+ name: 'InvalidAddress',
130
+ type: 'error',
131
+ },
132
+ {
133
+ inputs: [],
134
+ name: 'InvalidAmount',
135
+ type: 'error',
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: 'InvalidDepositsLength',
140
+ type: 'error',
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: 'InvalidFee',
145
+ type: 'error',
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: 'InvalidInitialization',
150
+ type: 'error',
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: 'InvalidNonceSequence',
155
+ type: 'error',
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: 'InvalidRoot',
160
+ type: 'error',
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: 'InvalidTokenAddress',
165
+ type: 'error',
166
+ },
167
+ {
168
+ inputs: [],
169
+ name: 'InvalidTokenConfig',
170
+ type: 'error',
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: 'InvalidTransfer',
175
+ type: 'error',
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: 'InvalidValidatorSignatures',
180
+ type: 'error',
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: 'InvalidValue',
185
+ type: 'error',
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: 'LengthMismatch',
190
+ type: 'error',
191
+ },
192
+ {
193
+ inputs: [
194
+ {
195
+ internalType: 'uint256',
196
+ name: 'maxFeeAllowed',
197
+ type: 'uint256',
198
+ },
199
+ {
200
+ internalType: 'uint256',
201
+ name: 'actualFee',
202
+ type: 'uint256',
203
+ },
204
+ ],
205
+ name: 'MaxFeeExceeded',
206
+ type: 'error',
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: 'NativeBridgeAlreadySet',
211
+ type: 'error',
212
+ },
213
+ {
214
+ inputs: [],
215
+ name: 'NativeBridgeNotPaused',
216
+ type: 'error',
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: 'NativeBridgeNotSet',
221
+ type: 'error',
222
+ },
223
+ {
224
+ inputs: [],
225
+ name: 'NativeBridgePaused',
226
+ type: 'error',
227
+ },
228
+ {
229
+ inputs: [],
230
+ name: 'NoAuthorization',
231
+ type: 'error',
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: 'NonexistentClaimable',
236
+ type: 'error',
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: 'NotInitializing',
241
+ type: 'error',
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: 'ReentrancyGuardReentrantCall',
246
+ type: 'error',
247
+ },
248
+ {
249
+ inputs: [
250
+ {
251
+ internalType: 'address',
252
+ name: 'token',
253
+ type: 'address',
254
+ },
255
+ ],
256
+ name: 'SafeERC20FailedOperation',
257
+ type: 'error',
258
+ },
259
+ {
260
+ inputs: [
261
+ {
262
+ internalType: 'address',
263
+ name: 'neoXToken',
264
+ type: 'address',
265
+ },
266
+ ],
267
+ name: 'TokenBridgeAlreadyRegistered',
268
+ type: 'error',
269
+ },
270
+ {
271
+ inputs: [
272
+ {
273
+ internalType: 'address',
274
+ name: 'neoXToken',
275
+ type: 'address',
276
+ },
277
+ ],
278
+ name: 'TokenBridgeNotPaused',
279
+ type: 'error',
280
+ },
281
+ {
282
+ inputs: [
283
+ {
284
+ internalType: 'address',
285
+ name: 'neoXToken',
286
+ type: 'address',
287
+ },
288
+ ],
289
+ name: 'TokenBridgeNotRegistered',
290
+ type: 'error',
291
+ },
292
+ {
293
+ inputs: [
294
+ {
295
+ internalType: 'address',
296
+ name: 'neoXToken',
297
+ type: 'address',
298
+ },
299
+ ],
300
+ name: 'TokenBridgePaused',
301
+ type: 'error',
302
+ },
303
+ {
304
+ inputs: [],
305
+ name: 'TransferFailed',
306
+ type: 'error',
307
+ },
308
+ {
309
+ inputs: [],
310
+ name: 'UUPSUnauthorizedCallContext',
311
+ type: 'error',
312
+ },
313
+ {
314
+ inputs: [
315
+ {
316
+ internalType: 'bytes32',
317
+ name: 'slot',
318
+ type: 'bytes32',
319
+ },
320
+ ],
321
+ name: 'UUPSUnsupportedProxiableUUID',
322
+ type: 'error',
323
+ },
324
+ {
325
+ inputs: [],
326
+ name: 'WithdrawalsNotPaused',
327
+ type: 'error',
328
+ },
329
+ {
330
+ inputs: [],
331
+ name: 'WithdrawalsPaused',
332
+ type: 'error',
333
+ },
334
+ {
335
+ anonymous: false,
336
+ inputs: [],
337
+ name: 'BridgePause',
338
+ type: 'event',
339
+ },
340
+ {
341
+ anonymous: false,
342
+ inputs: [],
343
+ name: 'BridgeUnpause',
344
+ type: 'event',
345
+ },
346
+ {
347
+ anonymous: false,
348
+ inputs: [
349
+ {
350
+ indexed: false,
351
+ internalType: 'uint256',
352
+ name: 'amount',
353
+ type: 'uint256',
354
+ },
355
+ ],
356
+ name: 'Fund',
357
+ type: 'event',
358
+ },
359
+ {
360
+ anonymous: false,
361
+ inputs: [
362
+ {
363
+ indexed: false,
364
+ internalType: 'uint64',
365
+ name: 'version',
366
+ type: 'uint64',
367
+ },
368
+ ],
369
+ name: 'Initialized',
370
+ type: 'event',
371
+ },
372
+ {
373
+ anonymous: false,
374
+ inputs: [
375
+ {
376
+ indexed: false,
377
+ internalType: 'uint256',
378
+ name: 'amount',
379
+ type: 'uint256',
380
+ },
381
+ ],
382
+ name: 'MaxNativeDepositsChange',
383
+ type: 'event',
384
+ },
385
+ {
386
+ anonymous: false,
387
+ inputs: [
388
+ {
389
+ indexed: false,
390
+ internalType: 'uint256',
391
+ name: 'amount',
392
+ type: 'uint256',
393
+ },
394
+ ],
395
+ name: 'MaxNativeWithdrawalChange',
396
+ type: 'event',
397
+ },
398
+ {
399
+ anonymous: false,
400
+ inputs: [
401
+ {
402
+ indexed: true,
403
+ internalType: 'address',
404
+ name: 'neoXToken',
405
+ type: 'address',
406
+ },
407
+ {
408
+ indexed: false,
409
+ internalType: 'uint256',
410
+ name: 'maxDeposits',
411
+ type: 'uint256',
412
+ },
413
+ ],
414
+ name: 'MaxTokenDepositsChange',
415
+ type: 'event',
416
+ },
417
+ {
418
+ anonymous: false,
419
+ inputs: [
420
+ {
421
+ indexed: true,
422
+ internalType: 'address',
423
+ name: 'neoXToken',
424
+ type: 'address',
425
+ },
426
+ {
427
+ indexed: false,
428
+ internalType: 'uint256',
429
+ name: 'maxAmount',
430
+ type: 'uint256',
431
+ },
432
+ ],
433
+ name: 'MaxTokenWithdrawalAmountChange',
434
+ type: 'event',
435
+ },
436
+ {
437
+ anonymous: false,
438
+ inputs: [
439
+ {
440
+ indexed: false,
441
+ internalType: 'uint256',
442
+ name: 'newAmount',
443
+ type: 'uint256',
444
+ },
445
+ ],
446
+ name: 'MinNativeWithdrawalChange',
447
+ type: 'event',
448
+ },
449
+ {
450
+ anonymous: false,
451
+ inputs: [
452
+ {
453
+ indexed: true,
454
+ internalType: 'address',
455
+ name: 'neoXToken',
456
+ type: 'address',
457
+ },
458
+ {
459
+ indexed: false,
460
+ internalType: 'uint256',
461
+ name: 'minAmount',
462
+ type: 'uint256',
463
+ },
464
+ ],
465
+ name: 'MinTokenWithdrawalAmountChange',
466
+ type: 'event',
467
+ },
468
+ {
469
+ anonymous: false,
470
+ inputs: [],
471
+ name: 'NativeBridgePause',
472
+ type: 'event',
473
+ },
474
+ {
475
+ anonymous: false,
476
+ inputs: [],
477
+ name: 'NativeBridgeUnpause',
478
+ type: 'event',
479
+ },
480
+ {
481
+ anonymous: false,
482
+ inputs: [
483
+ {
484
+ indexed: true,
485
+ internalType: 'uint256',
486
+ name: 'nonce',
487
+ type: 'uint256',
488
+ },
489
+ {
490
+ indexed: true,
491
+ internalType: 'address',
492
+ name: 'to',
493
+ type: 'address',
494
+ },
495
+ {
496
+ indexed: false,
497
+ internalType: 'uint256',
498
+ name: 'amount',
499
+ type: 'uint256',
500
+ },
501
+ ],
502
+ name: 'NativeClaim',
503
+ type: 'event',
504
+ },
505
+ {
506
+ anonymous: false,
507
+ inputs: [
508
+ {
509
+ indexed: true,
510
+ internalType: 'uint256',
511
+ name: 'nonce',
512
+ type: 'uint256',
513
+ },
514
+ {
515
+ indexed: true,
516
+ internalType: 'address',
517
+ name: 'to',
518
+ type: 'address',
519
+ },
520
+ {
521
+ indexed: false,
522
+ internalType: 'uint256',
523
+ name: 'amount',
524
+ type: 'uint256',
525
+ },
526
+ ],
527
+ name: 'NativeClaimable',
528
+ type: 'event',
529
+ },
530
+ {
531
+ anonymous: false,
532
+ inputs: [
533
+ {
534
+ indexed: true,
535
+ internalType: 'uint256',
536
+ name: 'nonce',
537
+ type: 'uint256',
538
+ },
539
+ {
540
+ indexed: true,
541
+ internalType: 'address',
542
+ name: 'to',
543
+ type: 'address',
544
+ },
545
+ {
546
+ indexed: false,
547
+ internalType: 'uint256',
548
+ name: 'amount',
549
+ type: 'uint256',
550
+ },
551
+ ],
552
+ name: 'NativeDeposit',
553
+ type: 'event',
554
+ },
555
+ {
556
+ anonymous: false,
557
+ inputs: [
558
+ {
559
+ indexed: true,
560
+ internalType: 'uint256',
561
+ name: 'nonce',
562
+ type: 'uint256',
563
+ },
564
+ {
565
+ indexed: false,
566
+ internalType: 'bytes32',
567
+ name: 'depositRoot',
568
+ type: 'bytes32',
569
+ },
570
+ ],
571
+ name: 'NativeDepositRootUpdate',
572
+ type: 'event',
573
+ },
574
+ {
575
+ anonymous: false,
576
+ inputs: [
577
+ {
578
+ indexed: true,
579
+ internalType: 'uint256',
580
+ name: 'nonce',
581
+ type: 'uint256',
582
+ },
583
+ {
584
+ indexed: true,
585
+ internalType: 'address',
586
+ name: 'to',
587
+ type: 'address',
588
+ },
589
+ {
590
+ indexed: false,
591
+ internalType: 'uint256',
592
+ name: 'amount',
593
+ type: 'uint256',
594
+ },
595
+ {
596
+ indexed: false,
597
+ internalType: 'address',
598
+ name: 'from',
599
+ type: 'address',
600
+ },
601
+ {
602
+ indexed: false,
603
+ internalType: 'bytes32',
604
+ name: 'withdrawalHash',
605
+ type: 'bytes32',
606
+ },
607
+ {
608
+ indexed: false,
609
+ internalType: 'bytes32',
610
+ name: 'withdrawalRoot',
611
+ type: 'bytes32',
612
+ },
613
+ ],
614
+ name: 'NativeWithdrawal',
615
+ type: 'event',
616
+ },
617
+ {
618
+ anonymous: false,
619
+ inputs: [
620
+ {
621
+ indexed: false,
622
+ internalType: 'uint256',
623
+ name: 'newFee',
624
+ type: 'uint256',
625
+ },
626
+ ],
627
+ name: 'NativeWithdrawalFeeChange',
628
+ type: 'event',
629
+ },
630
+ {
631
+ anonymous: false,
632
+ inputs: [
633
+ {
634
+ indexed: true,
635
+ internalType: 'address',
636
+ name: 'neoXToken',
637
+ type: 'address',
638
+ },
639
+ {
640
+ indexed: true,
641
+ internalType: 'address',
642
+ name: 'neoN3Token',
643
+ type: 'address',
644
+ },
645
+ ],
646
+ name: 'TokenBridgePause',
647
+ type: 'event',
648
+ },
649
+ {
650
+ anonymous: false,
651
+ inputs: [
652
+ {
653
+ indexed: true,
654
+ internalType: 'address',
655
+ name: 'neoXToken',
656
+ type: 'address',
657
+ },
658
+ {
659
+ indexed: true,
660
+ internalType: 'address',
661
+ name: 'neoN3Token',
662
+ type: 'address',
663
+ },
664
+ ],
665
+ name: 'TokenBridgeUnpause',
666
+ type: 'event',
667
+ },
668
+ {
669
+ anonymous: false,
670
+ inputs: [
671
+ {
672
+ indexed: true,
673
+ internalType: 'address',
674
+ name: 'neoXToken',
675
+ type: 'address',
676
+ },
677
+ {
678
+ indexed: true,
679
+ internalType: 'uint256',
680
+ name: 'nonce',
681
+ type: 'uint256',
682
+ },
683
+ {
684
+ indexed: true,
685
+ internalType: 'address',
686
+ name: 'to',
687
+ type: 'address',
688
+ },
689
+ {
690
+ indexed: false,
691
+ internalType: 'uint256',
692
+ name: 'amount',
693
+ type: 'uint256',
694
+ },
695
+ ],
696
+ name: 'TokenClaim',
697
+ type: 'event',
698
+ },
699
+ {
700
+ anonymous: false,
701
+ inputs: [
702
+ {
703
+ indexed: true,
704
+ internalType: 'address',
705
+ name: 'neoXToken',
706
+ type: 'address',
707
+ },
708
+ {
709
+ indexed: true,
710
+ internalType: 'uint256',
711
+ name: 'nonce',
712
+ type: 'uint256',
713
+ },
714
+ {
715
+ indexed: true,
716
+ internalType: 'address',
717
+ name: 'to',
718
+ type: 'address',
719
+ },
720
+ {
721
+ indexed: false,
722
+ internalType: 'uint256',
723
+ name: 'amount',
724
+ type: 'uint256',
725
+ },
726
+ ],
727
+ name: 'TokenClaimable',
728
+ type: 'event',
729
+ },
730
+ {
731
+ anonymous: false,
732
+ inputs: [
733
+ {
734
+ indexed: true,
735
+ internalType: 'address',
736
+ name: 'neoXToken',
737
+ type: 'address',
738
+ },
739
+ {
740
+ indexed: true,
741
+ internalType: 'uint256',
742
+ name: 'nonce',
743
+ type: 'uint256',
744
+ },
745
+ {
746
+ indexed: true,
747
+ internalType: 'address',
748
+ name: 'to',
749
+ type: 'address',
750
+ },
751
+ {
752
+ indexed: false,
753
+ internalType: 'uint256',
754
+ name: 'amount',
755
+ type: 'uint256',
756
+ },
757
+ ],
758
+ name: 'TokenDeposit',
759
+ type: 'event',
760
+ },
761
+ {
762
+ anonymous: false,
763
+ inputs: [
764
+ {
765
+ indexed: true,
766
+ internalType: 'address',
767
+ name: 'neoXToken',
768
+ type: 'address',
769
+ },
770
+ {
771
+ indexed: true,
772
+ internalType: 'address',
773
+ name: 'neoN3Token',
774
+ type: 'address',
775
+ },
776
+ {
777
+ indexed: true,
778
+ internalType: 'uint256',
779
+ name: 'nonce',
780
+ type: 'uint256',
781
+ },
782
+ {
783
+ indexed: false,
784
+ internalType: 'bytes32',
785
+ name: 'depositRoot',
786
+ type: 'bytes32',
787
+ },
788
+ ],
789
+ name: 'TokenDepositRootUpdate',
790
+ type: 'event',
791
+ },
792
+ {
793
+ anonymous: false,
794
+ inputs: [
795
+ {
796
+ indexed: true,
797
+ internalType: 'address',
798
+ name: 'neoXToken',
799
+ type: 'address',
800
+ },
801
+ {
802
+ components: [
803
+ {
804
+ internalType: 'address',
805
+ name: 'neoN3Token',
806
+ type: 'address',
807
+ },
808
+ {
809
+ internalType: 'uint256',
810
+ name: 'fee',
811
+ type: 'uint256',
812
+ },
813
+ {
814
+ internalType: 'uint256',
815
+ name: 'minAmount',
816
+ type: 'uint256',
817
+ },
818
+ {
819
+ internalType: 'uint256',
820
+ name: 'maxAmount',
821
+ type: 'uint256',
822
+ },
823
+ {
824
+ internalType: 'uint256',
825
+ name: 'maxDeposits',
826
+ type: 'uint256',
827
+ },
828
+ {
829
+ internalType: 'uint256',
830
+ name: 'decimalScalingFactor',
831
+ type: 'uint256',
832
+ },
833
+ ],
834
+ indexed: false,
835
+ internalType: 'struct StorageTypes.TokenConfig',
836
+ name: 'tokenConfig',
837
+ type: 'tuple',
838
+ },
839
+ ],
840
+ name: 'TokenRegister',
841
+ type: 'event',
842
+ },
843
+ {
844
+ anonymous: false,
845
+ inputs: [
846
+ {
847
+ indexed: true,
848
+ internalType: 'address',
849
+ name: 'neoXToken',
850
+ type: 'address',
851
+ },
852
+ {
853
+ indexed: false,
854
+ internalType: 'address',
855
+ name: 'neoN3Token',
856
+ type: 'address',
857
+ },
858
+ {
859
+ indexed: true,
860
+ internalType: 'uint256',
861
+ name: 'nonce',
862
+ type: 'uint256',
863
+ },
864
+ {
865
+ indexed: true,
866
+ internalType: 'address',
867
+ name: 'to',
868
+ type: 'address',
869
+ },
870
+ {
871
+ indexed: false,
872
+ internalType: 'uint256',
873
+ name: 'amount',
874
+ type: 'uint256',
875
+ },
876
+ {
877
+ indexed: false,
878
+ internalType: 'address',
879
+ name: 'from',
880
+ type: 'address',
881
+ },
882
+ {
883
+ indexed: false,
884
+ internalType: 'bytes32',
885
+ name: 'withdrawalHash',
886
+ type: 'bytes32',
887
+ },
888
+ {
889
+ indexed: false,
890
+ internalType: 'bytes32',
891
+ name: 'withdrawalRoot',
892
+ type: 'bytes32',
893
+ },
894
+ ],
895
+ name: 'TokenWithdrawal',
896
+ type: 'event',
897
+ },
898
+ {
899
+ anonymous: false,
900
+ inputs: [
901
+ {
902
+ indexed: true,
903
+ internalType: 'address',
904
+ name: 'neoXToken',
905
+ type: 'address',
906
+ },
907
+ {
908
+ indexed: false,
909
+ internalType: 'uint256',
910
+ name: 'fee',
911
+ type: 'uint256',
912
+ },
913
+ ],
914
+ name: 'TokenWithdrawalFeeChange',
915
+ type: 'event',
916
+ },
917
+ {
918
+ anonymous: false,
919
+ inputs: [
920
+ {
921
+ indexed: true,
922
+ internalType: 'address',
923
+ name: 'implementation',
924
+ type: 'address',
925
+ },
926
+ ],
927
+ name: 'Upgraded',
928
+ type: 'event',
929
+ },
930
+ {
931
+ anonymous: false,
932
+ inputs: [],
933
+ name: 'WithdrawalPause',
934
+ type: 'event',
935
+ },
936
+ {
937
+ anonymous: false,
938
+ inputs: [],
939
+ name: 'WithdrawalUnpause',
940
+ type: 'event',
941
+ },
942
+ {
943
+ inputs: [],
944
+ name: 'GOV_ADMIN',
945
+ outputs: [
946
+ {
947
+ internalType: 'address',
948
+ name: '',
949
+ type: 'address',
950
+ },
951
+ ],
952
+ stateMutability: 'view',
953
+ type: 'function',
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: 'UPGRADE_INTERFACE_VERSION',
958
+ outputs: [
959
+ {
960
+ internalType: 'string',
961
+ name: '',
962
+ type: 'string',
963
+ },
964
+ ],
965
+ stateMutability: 'view',
966
+ type: 'function',
967
+ },
968
+ {
969
+ inputs: [],
970
+ name: 'bridgePaused',
971
+ outputs: [
972
+ {
973
+ internalType: 'bool',
974
+ name: '',
975
+ type: 'bool',
976
+ },
977
+ ],
978
+ stateMutability: 'view',
979
+ type: 'function',
980
+ },
981
+ {
982
+ inputs: [
983
+ {
984
+ internalType: 'uint256',
985
+ name: '_nonce',
986
+ type: 'uint256',
987
+ },
988
+ ],
989
+ name: 'claimNative',
990
+ outputs: [],
991
+ stateMutability: 'nonpayable',
992
+ type: 'function',
993
+ },
994
+ {
995
+ inputs: [
996
+ {
997
+ internalType: 'address',
998
+ name: '_neoXToken',
999
+ type: 'address',
1000
+ },
1001
+ {
1002
+ internalType: 'uint256',
1003
+ name: '_nonce',
1004
+ type: 'uint256',
1005
+ },
1006
+ ],
1007
+ name: 'claimToken',
1008
+ outputs: [],
1009
+ stateMutability: 'nonpayable',
1010
+ type: 'function',
1011
+ },
1012
+ {
1013
+ inputs: [
1014
+ {
1015
+ internalType: 'uint256',
1016
+ name: 'nonce',
1017
+ type: 'uint256',
1018
+ },
1019
+ ],
1020
+ name: 'claimableNative',
1021
+ outputs: [
1022
+ {
1023
+ internalType: 'address',
1024
+ name: 'to',
1025
+ type: 'address',
1026
+ },
1027
+ {
1028
+ internalType: 'uint256',
1029
+ name: 'amount',
1030
+ type: 'uint256',
1031
+ },
1032
+ ],
1033
+ stateMutability: 'view',
1034
+ type: 'function',
1035
+ },
1036
+ {
1037
+ inputs: [
1038
+ {
1039
+ internalType: 'bytes32',
1040
+ name: '_depositRoot',
1041
+ type: 'bytes32',
1042
+ },
1043
+ {
1044
+ components: [
1045
+ {
1046
+ internalType: 'uint8',
1047
+ name: 'v',
1048
+ type: 'uint8',
1049
+ },
1050
+ {
1051
+ internalType: 'bytes32',
1052
+ name: 'r',
1053
+ type: 'bytes32',
1054
+ },
1055
+ {
1056
+ internalType: 'bytes32',
1057
+ name: 's',
1058
+ type: 'bytes32',
1059
+ },
1060
+ ],
1061
+ internalType: 'struct BridgeLib.Signature[]',
1062
+ name: '_signatures',
1063
+ type: 'tuple[]',
1064
+ },
1065
+ {
1066
+ components: [
1067
+ {
1068
+ internalType: 'uint256',
1069
+ name: 'nonce',
1070
+ type: 'uint256',
1071
+ },
1072
+ {
1073
+ internalType: 'address payable',
1074
+ name: 'to',
1075
+ type: 'address',
1076
+ },
1077
+ {
1078
+ internalType: 'uint256',
1079
+ name: 'amount',
1080
+ type: 'uint256',
1081
+ },
1082
+ ],
1083
+ internalType: 'struct BridgeLib.DepositData[]',
1084
+ name: '_deposits',
1085
+ type: 'tuple[]',
1086
+ },
1087
+ ],
1088
+ name: 'depositNative',
1089
+ outputs: [],
1090
+ stateMutability: 'nonpayable',
1091
+ type: 'function',
1092
+ },
1093
+ {
1094
+ inputs: [
1095
+ {
1096
+ internalType: 'address',
1097
+ name: '_neoXToken',
1098
+ type: 'address',
1099
+ },
1100
+ {
1101
+ internalType: 'bytes32',
1102
+ name: '_tokenDepositRoot',
1103
+ type: 'bytes32',
1104
+ },
1105
+ {
1106
+ components: [
1107
+ {
1108
+ internalType: 'uint8',
1109
+ name: 'v',
1110
+ type: 'uint8',
1111
+ },
1112
+ {
1113
+ internalType: 'bytes32',
1114
+ name: 'r',
1115
+ type: 'bytes32',
1116
+ },
1117
+ {
1118
+ internalType: 'bytes32',
1119
+ name: 's',
1120
+ type: 'bytes32',
1121
+ },
1122
+ ],
1123
+ internalType: 'struct BridgeLib.Signature[]',
1124
+ name: '_signatures',
1125
+ type: 'tuple[]',
1126
+ },
1127
+ {
1128
+ components: [
1129
+ {
1130
+ internalType: 'uint256',
1131
+ name: 'nonce',
1132
+ type: 'uint256',
1133
+ },
1134
+ {
1135
+ internalType: 'address payable',
1136
+ name: 'to',
1137
+ type: 'address',
1138
+ },
1139
+ {
1140
+ internalType: 'uint256',
1141
+ name: 'amount',
1142
+ type: 'uint256',
1143
+ },
1144
+ ],
1145
+ internalType: 'struct BridgeLib.DepositData[]',
1146
+ name: '_deposits',
1147
+ type: 'tuple[]',
1148
+ },
1149
+ ],
1150
+ name: 'depositToken',
1151
+ outputs: [],
1152
+ stateMutability: 'nonpayable',
1153
+ type: 'function',
1154
+ },
1155
+ {
1156
+ inputs: [
1157
+ {
1158
+ internalType: 'address',
1159
+ name: '_neoXToken',
1160
+ type: 'address',
1161
+ },
1162
+ ],
1163
+ name: 'isRegisteredToken',
1164
+ outputs: [
1165
+ {
1166
+ internalType: 'bool',
1167
+ name: '',
1168
+ type: 'bool',
1169
+ },
1170
+ ],
1171
+ stateMutability: 'view',
1172
+ type: 'function',
1173
+ },
1174
+ {
1175
+ inputs: [],
1176
+ name: 'management',
1177
+ outputs: [
1178
+ {
1179
+ internalType: 'contract IBridgeManagement',
1180
+ name: '',
1181
+ type: 'address',
1182
+ },
1183
+ ],
1184
+ stateMutability: 'view',
1185
+ type: 'function',
1186
+ },
1187
+ {
1188
+ inputs: [],
1189
+ name: 'nativeBridge',
1190
+ outputs: [
1191
+ {
1192
+ internalType: 'bool',
1193
+ name: 'paused',
1194
+ type: 'bool',
1195
+ },
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: 'uint256',
1200
+ name: 'nonce',
1201
+ type: 'uint256',
1202
+ },
1203
+ {
1204
+ internalType: 'bytes32',
1205
+ name: 'root',
1206
+ type: 'bytes32',
1207
+ },
1208
+ ],
1209
+ internalType: 'struct StorageTypes.State',
1210
+ name: 'depositState',
1211
+ type: 'tuple',
1212
+ },
1213
+ {
1214
+ components: [
1215
+ {
1216
+ internalType: 'uint256',
1217
+ name: 'nonce',
1218
+ type: 'uint256',
1219
+ },
1220
+ {
1221
+ internalType: 'bytes32',
1222
+ name: 'root',
1223
+ type: 'bytes32',
1224
+ },
1225
+ ],
1226
+ internalType: 'struct StorageTypes.State',
1227
+ name: 'withdrawalState',
1228
+ type: 'tuple',
1229
+ },
1230
+ {
1231
+ components: [
1232
+ {
1233
+ internalType: 'uint256',
1234
+ name: 'fee',
1235
+ type: 'uint256',
1236
+ },
1237
+ {
1238
+ internalType: 'uint256',
1239
+ name: 'minAmount',
1240
+ type: 'uint256',
1241
+ },
1242
+ {
1243
+ internalType: 'uint256',
1244
+ name: 'maxAmount',
1245
+ type: 'uint256',
1246
+ },
1247
+ {
1248
+ internalType: 'uint256',
1249
+ name: 'maxDeposits',
1250
+ type: 'uint256',
1251
+ },
1252
+ {
1253
+ internalType: 'uint256',
1254
+ name: 'decimalScalingFactor',
1255
+ type: 'uint256',
1256
+ },
1257
+ ],
1258
+ internalType: 'struct StorageTypes.NativeConfigV3',
1259
+ name: 'config',
1260
+ type: 'tuple',
1261
+ },
1262
+ ],
1263
+ stateMutability: 'view',
1264
+ type: 'function',
1265
+ },
1266
+ {
1267
+ inputs: [],
1268
+ name: 'nativeBridgeIsSet',
1269
+ outputs: [
1270
+ {
1271
+ internalType: 'bool',
1272
+ name: '',
1273
+ type: 'bool',
1274
+ },
1275
+ ],
1276
+ stateMutability: 'view',
1277
+ type: 'function',
1278
+ },
1279
+ {
1280
+ inputs: [],
1281
+ name: 'nativeBridgeV2',
1282
+ outputs: [
1283
+ {
1284
+ internalType: 'bool',
1285
+ name: 'paused',
1286
+ type: 'bool',
1287
+ },
1288
+ {
1289
+ components: [
1290
+ {
1291
+ internalType: 'uint256',
1292
+ name: 'nonce',
1293
+ type: 'uint256',
1294
+ },
1295
+ {
1296
+ internalType: 'bytes32',
1297
+ name: 'root',
1298
+ type: 'bytes32',
1299
+ },
1300
+ ],
1301
+ internalType: 'struct StorageTypes.State',
1302
+ name: 'depositState',
1303
+ type: 'tuple',
1304
+ },
1305
+ {
1306
+ components: [
1307
+ {
1308
+ internalType: 'uint256',
1309
+ name: 'nonce',
1310
+ type: 'uint256',
1311
+ },
1312
+ {
1313
+ internalType: 'bytes32',
1314
+ name: 'root',
1315
+ type: 'bytes32',
1316
+ },
1317
+ ],
1318
+ internalType: 'struct StorageTypes.State',
1319
+ name: 'withdrawalState',
1320
+ type: 'tuple',
1321
+ },
1322
+ {
1323
+ components: [
1324
+ {
1325
+ internalType: 'uint256',
1326
+ name: 'fee',
1327
+ type: 'uint256',
1328
+ },
1329
+ {
1330
+ internalType: 'uint256',
1331
+ name: 'minAmount',
1332
+ type: 'uint256',
1333
+ },
1334
+ {
1335
+ internalType: 'uint256',
1336
+ name: 'maxAmount',
1337
+ type: 'uint256',
1338
+ },
1339
+ {
1340
+ internalType: 'uint256',
1341
+ name: 'maxDeposits',
1342
+ type: 'uint256',
1343
+ },
1344
+ ],
1345
+ internalType: 'struct StorageTypes.NativeConfigV2',
1346
+ name: 'config',
1347
+ type: 'tuple',
1348
+ },
1349
+ ],
1350
+ stateMutability: 'view',
1351
+ type: 'function',
1352
+ },
1353
+ {
1354
+ inputs: [],
1355
+ name: 'pauseBridge',
1356
+ outputs: [],
1357
+ stateMutability: 'nonpayable',
1358
+ type: 'function',
1359
+ },
1360
+ {
1361
+ inputs: [],
1362
+ name: 'pauseNativeBridge',
1363
+ outputs: [],
1364
+ stateMutability: 'nonpayable',
1365
+ type: 'function',
1366
+ },
1367
+ {
1368
+ inputs: [
1369
+ {
1370
+ internalType: 'address',
1371
+ name: '_neoXToken',
1372
+ type: 'address',
1373
+ },
1374
+ ],
1375
+ name: 'pauseTokenBridge',
1376
+ outputs: [],
1377
+ stateMutability: 'nonpayable',
1378
+ type: 'function',
1379
+ },
1380
+ {
1381
+ inputs: [],
1382
+ name: 'pauseWithdrawals',
1383
+ outputs: [],
1384
+ stateMutability: 'nonpayable',
1385
+ type: 'function',
1386
+ },
1387
+ {
1388
+ inputs: [],
1389
+ name: 'proxiableUUID',
1390
+ outputs: [
1391
+ {
1392
+ internalType: 'bytes32',
1393
+ name: '',
1394
+ type: 'bytes32',
1395
+ },
1396
+ ],
1397
+ stateMutability: 'view',
1398
+ type: 'function',
1399
+ },
1400
+ {
1401
+ inputs: [
1402
+ {
1403
+ internalType: 'address',
1404
+ name: '_neoXToken',
1405
+ type: 'address',
1406
+ },
1407
+ {
1408
+ components: [
1409
+ {
1410
+ internalType: 'address',
1411
+ name: 'neoN3Token',
1412
+ type: 'address',
1413
+ },
1414
+ {
1415
+ internalType: 'uint256',
1416
+ name: 'fee',
1417
+ type: 'uint256',
1418
+ },
1419
+ {
1420
+ internalType: 'uint256',
1421
+ name: 'minAmount',
1422
+ type: 'uint256',
1423
+ },
1424
+ {
1425
+ internalType: 'uint256',
1426
+ name: 'maxAmount',
1427
+ type: 'uint256',
1428
+ },
1429
+ {
1430
+ internalType: 'uint256',
1431
+ name: 'maxDeposits',
1432
+ type: 'uint256',
1433
+ },
1434
+ {
1435
+ internalType: 'uint256',
1436
+ name: 'decimalScalingFactor',
1437
+ type: 'uint256',
1438
+ },
1439
+ ],
1440
+ internalType: 'struct StorageTypes.TokenConfig',
1441
+ name: '_tokenConfig',
1442
+ type: 'tuple',
1443
+ },
1444
+ ],
1445
+ name: 'registerToken',
1446
+ outputs: [],
1447
+ stateMutability: 'nonpayable',
1448
+ type: 'function',
1449
+ },
1450
+ {
1451
+ inputs: [
1452
+ {
1453
+ internalType: 'uint256',
1454
+ name: '',
1455
+ type: 'uint256',
1456
+ },
1457
+ ],
1458
+ name: 'registeredTokens',
1459
+ outputs: [
1460
+ {
1461
+ internalType: 'address',
1462
+ name: '',
1463
+ type: 'address',
1464
+ },
1465
+ ],
1466
+ stateMutability: 'view',
1467
+ type: 'function',
1468
+ },
1469
+ {
1470
+ inputs: [
1471
+ {
1472
+ internalType: 'uint256',
1473
+ name: '_maxNrDeposits',
1474
+ type: 'uint256',
1475
+ },
1476
+ ],
1477
+ name: 'setMaxNativeDeposits',
1478
+ outputs: [],
1479
+ stateMutability: 'nonpayable',
1480
+ type: 'function',
1481
+ },
1482
+ {
1483
+ inputs: [
1484
+ {
1485
+ internalType: 'uint256',
1486
+ name: '_amount',
1487
+ type: 'uint256',
1488
+ },
1489
+ ],
1490
+ name: 'setMaxNativeWithdrawalAmount',
1491
+ outputs: [],
1492
+ stateMutability: 'nonpayable',
1493
+ type: 'function',
1494
+ },
1495
+ {
1496
+ inputs: [
1497
+ {
1498
+ internalType: 'address[]',
1499
+ name: '_neoXTokens',
1500
+ type: 'address[]',
1501
+ },
1502
+ {
1503
+ internalType: 'uint256[]',
1504
+ name: '_maxDeposits',
1505
+ type: 'uint256[]',
1506
+ },
1507
+ ],
1508
+ name: 'setMaxTokenDeposits',
1509
+ outputs: [],
1510
+ stateMutability: 'nonpayable',
1511
+ type: 'function',
1512
+ },
1513
+ {
1514
+ inputs: [
1515
+ {
1516
+ internalType: 'address[]',
1517
+ name: '_neoXTokens',
1518
+ type: 'address[]',
1519
+ },
1520
+ {
1521
+ internalType: 'uint256[]',
1522
+ name: '_maxAmounts',
1523
+ type: 'uint256[]',
1524
+ },
1525
+ ],
1526
+ name: 'setMaxTokenWithdrawalAmount',
1527
+ outputs: [],
1528
+ stateMutability: 'nonpayable',
1529
+ type: 'function',
1530
+ },
1531
+ {
1532
+ inputs: [
1533
+ {
1534
+ internalType: 'uint256',
1535
+ name: '_amount',
1536
+ type: 'uint256',
1537
+ },
1538
+ ],
1539
+ name: 'setMinNativeWithdrawalAmount',
1540
+ outputs: [],
1541
+ stateMutability: 'nonpayable',
1542
+ type: 'function',
1543
+ },
1544
+ {
1545
+ inputs: [
1546
+ {
1547
+ internalType: 'address[]',
1548
+ name: '_neoXTokens',
1549
+ type: 'address[]',
1550
+ },
1551
+ {
1552
+ internalType: 'uint256[]',
1553
+ name: '_minAmounts',
1554
+ type: 'uint256[]',
1555
+ },
1556
+ ],
1557
+ name: 'setMinTokenWithdrawalAmount',
1558
+ outputs: [],
1559
+ stateMutability: 'nonpayable',
1560
+ type: 'function',
1561
+ },
1562
+ {
1563
+ inputs: [
1564
+ {
1565
+ internalType: 'uint256',
1566
+ name: '_fee',
1567
+ type: 'uint256',
1568
+ },
1569
+ {
1570
+ internalType: 'uint256',
1571
+ name: '_minAmount',
1572
+ type: 'uint256',
1573
+ },
1574
+ {
1575
+ internalType: 'uint256',
1576
+ name: '_maxAmount',
1577
+ type: 'uint256',
1578
+ },
1579
+ {
1580
+ internalType: 'uint256',
1581
+ name: '_maxDeposits',
1582
+ type: 'uint256',
1583
+ },
1584
+ {
1585
+ internalType: 'uint256',
1586
+ name: '_decimalsHere',
1587
+ type: 'uint256',
1588
+ },
1589
+ {
1590
+ internalType: 'uint256',
1591
+ name: '_decimalsOnN3',
1592
+ type: 'uint256',
1593
+ },
1594
+ ],
1595
+ name: 'setNativeBridge',
1596
+ outputs: [],
1597
+ stateMutability: 'nonpayable',
1598
+ type: 'function',
1599
+ },
1600
+ {
1601
+ inputs: [
1602
+ {
1603
+ internalType: 'uint256',
1604
+ name: '_fee',
1605
+ type: 'uint256',
1606
+ },
1607
+ ],
1608
+ name: 'setNativeWithdrawalFee',
1609
+ outputs: [],
1610
+ stateMutability: 'nonpayable',
1611
+ type: 'function',
1612
+ },
1613
+ {
1614
+ inputs: [
1615
+ {
1616
+ internalType: 'address[]',
1617
+ name: '_neoXTokens',
1618
+ type: 'address[]',
1619
+ },
1620
+ {
1621
+ internalType: 'uint256[]',
1622
+ name: '_fees',
1623
+ type: 'uint256[]',
1624
+ },
1625
+ ],
1626
+ name: 'setTokenWithdrawalFee',
1627
+ outputs: [],
1628
+ stateMutability: 'nonpayable',
1629
+ type: 'function',
1630
+ },
1631
+ {
1632
+ inputs: [
1633
+ {
1634
+ internalType: 'address',
1635
+ name: 'tokenAddress',
1636
+ type: 'address',
1637
+ },
1638
+ ],
1639
+ name: 'tokenBridges',
1640
+ outputs: [
1641
+ {
1642
+ internalType: 'bool',
1643
+ name: 'paused',
1644
+ type: 'bool',
1645
+ },
1646
+ {
1647
+ components: [
1648
+ {
1649
+ internalType: 'uint256',
1650
+ name: 'nonce',
1651
+ type: 'uint256',
1652
+ },
1653
+ {
1654
+ internalType: 'bytes32',
1655
+ name: 'root',
1656
+ type: 'bytes32',
1657
+ },
1658
+ ],
1659
+ internalType: 'struct StorageTypes.State',
1660
+ name: 'depositState',
1661
+ type: 'tuple',
1662
+ },
1663
+ {
1664
+ components: [
1665
+ {
1666
+ internalType: 'uint256',
1667
+ name: 'nonce',
1668
+ type: 'uint256',
1669
+ },
1670
+ {
1671
+ internalType: 'bytes32',
1672
+ name: 'root',
1673
+ type: 'bytes32',
1674
+ },
1675
+ ],
1676
+ internalType: 'struct StorageTypes.State',
1677
+ name: 'withdrawalState',
1678
+ type: 'tuple',
1679
+ },
1680
+ {
1681
+ components: [
1682
+ {
1683
+ internalType: 'address',
1684
+ name: 'neoN3Token',
1685
+ type: 'address',
1686
+ },
1687
+ {
1688
+ internalType: 'uint256',
1689
+ name: 'fee',
1690
+ type: 'uint256',
1691
+ },
1692
+ {
1693
+ internalType: 'uint256',
1694
+ name: 'minAmount',
1695
+ type: 'uint256',
1696
+ },
1697
+ {
1698
+ internalType: 'uint256',
1699
+ name: 'maxAmount',
1700
+ type: 'uint256',
1701
+ },
1702
+ {
1703
+ internalType: 'uint256',
1704
+ name: 'maxDeposits',
1705
+ type: 'uint256',
1706
+ },
1707
+ {
1708
+ internalType: 'uint256',
1709
+ name: 'decimalScalingFactor',
1710
+ type: 'uint256',
1711
+ },
1712
+ ],
1713
+ internalType: 'struct StorageTypes.TokenConfig',
1714
+ name: 'config',
1715
+ type: 'tuple',
1716
+ },
1717
+ ],
1718
+ stateMutability: 'view',
1719
+ type: 'function',
1720
+ },
1721
+ {
1722
+ inputs: [
1723
+ {
1724
+ internalType: 'address',
1725
+ name: 'tokenAddress',
1726
+ type: 'address',
1727
+ },
1728
+ {
1729
+ internalType: 'uint256',
1730
+ name: 'nonce',
1731
+ type: 'uint256',
1732
+ },
1733
+ ],
1734
+ name: 'tokenClaimables',
1735
+ outputs: [
1736
+ {
1737
+ internalType: 'address',
1738
+ name: 'to',
1739
+ type: 'address',
1740
+ },
1741
+ {
1742
+ internalType: 'uint256',
1743
+ name: 'amount',
1744
+ type: 'uint256',
1745
+ },
1746
+ ],
1747
+ stateMutability: 'view',
1748
+ type: 'function',
1749
+ },
1750
+ {
1751
+ inputs: [],
1752
+ name: 'unclaimedRewards',
1753
+ outputs: [
1754
+ {
1755
+ internalType: 'uint256',
1756
+ name: '',
1757
+ type: 'uint256',
1758
+ },
1759
+ ],
1760
+ stateMutability: 'view',
1761
+ type: 'function',
1762
+ },
1763
+ {
1764
+ inputs: [],
1765
+ name: 'unpauseBridge',
1766
+ outputs: [],
1767
+ stateMutability: 'nonpayable',
1768
+ type: 'function',
1769
+ },
1770
+ {
1771
+ inputs: [],
1772
+ name: 'unpauseNativeBridge',
1773
+ outputs: [],
1774
+ stateMutability: 'nonpayable',
1775
+ type: 'function',
1776
+ },
1777
+ {
1778
+ inputs: [
1779
+ {
1780
+ internalType: 'address',
1781
+ name: '_neoXToken',
1782
+ type: 'address',
1783
+ },
1784
+ ],
1785
+ name: 'unpauseTokenBridge',
1786
+ outputs: [],
1787
+ stateMutability: 'nonpayable',
1788
+ type: 'function',
1789
+ },
1790
+ {
1791
+ inputs: [],
1792
+ name: 'unpauseWithdrawals',
1793
+ outputs: [],
1794
+ stateMutability: 'nonpayable',
1795
+ type: 'function',
1796
+ },
1797
+ {
1798
+ inputs: [
1799
+ {
1800
+ internalType: 'address',
1801
+ name: 'newImplementation',
1802
+ type: 'address',
1803
+ },
1804
+ {
1805
+ internalType: 'bytes',
1806
+ name: 'data',
1807
+ type: 'bytes',
1808
+ },
1809
+ ],
1810
+ name: 'upgradeToAndCall',
1811
+ outputs: [],
1812
+ stateMutability: 'payable',
1813
+ type: 'function',
1814
+ },
1815
+ {
1816
+ inputs: [],
1817
+ name: 'upgradeToV3',
1818
+ outputs: [],
1819
+ stateMutability: 'nonpayable',
1820
+ type: 'function',
1821
+ },
1822
+ {
1823
+ inputs: [
1824
+ {
1825
+ internalType: 'address',
1826
+ name: '_to',
1827
+ type: 'address',
1828
+ },
1829
+ {
1830
+ internalType: 'uint256',
1831
+ name: '_maxFee',
1832
+ type: 'uint256',
1833
+ },
1834
+ ],
1835
+ name: 'withdrawNative',
1836
+ outputs: [],
1837
+ stateMutability: 'payable',
1838
+ type: 'function',
1839
+ },
1840
+ {
1841
+ inputs: [
1842
+ {
1843
+ internalType: 'address',
1844
+ name: '_neoXToken',
1845
+ type: 'address',
1846
+ },
1847
+ {
1848
+ internalType: 'address',
1849
+ name: '_to',
1850
+ type: 'address',
1851
+ },
1852
+ {
1853
+ internalType: 'uint256',
1854
+ name: '_amount',
1855
+ type: 'uint256',
1856
+ },
1857
+ ],
1858
+ name: 'withdrawToken',
1859
+ outputs: [],
1860
+ stateMutability: 'payable',
1861
+ type: 'function',
1862
+ },
1863
+ {
1864
+ inputs: [],
1865
+ name: 'withdrawalsPaused',
1866
+ outputs: [
1867
+ {
1868
+ internalType: 'bool',
1869
+ name: '',
1870
+ type: 'bool',
1871
+ },
1872
+ ],
1873
+ stateMutability: 'view',
1874
+ type: 'function',
1875
+ },
1876
+ {
1877
+ stateMutability: 'payable',
1878
+ type: 'receive',
1879
+ },
1880
+ ];