@pendle/core-v2 6.3.2-swaphubtest → 6.3.2-swaphubtest2

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.
@@ -12,7 +12,7 @@ import type {
12
12
  const _abi = [
13
13
  {
14
14
  inputs: [],
15
- name: "ExcessiveNativeFee",
15
+ name: "ActionExecuted",
16
16
  type: "error",
17
17
  },
18
18
  {
@@ -20,21 +20,6 @@ const _abi = [
20
20
  name: "InsufficientTokenReceived",
21
21
  type: "error",
22
22
  },
23
- {
24
- inputs: [],
25
- name: "IntentExecuted",
26
- type: "error",
27
- },
28
- {
29
- inputs: [],
30
- name: "IntentHashMismatch",
31
- type: "error",
32
- },
33
- {
34
- inputs: [],
35
- name: "InvalidAmountIn",
36
- type: "error",
37
- },
38
23
  {
39
24
  inputs: [],
40
25
  name: "InvalidNonce",
@@ -45,11 +30,6 @@ const _abi = [
45
30
  name: "InvalidSignature",
46
31
  type: "error",
47
32
  },
48
- {
49
- inputs: [],
50
- name: "InvalidValidator",
51
- type: "error",
52
- },
53
33
  {
54
34
  inputs: [],
55
35
  name: "MessageExpired",
@@ -70,6 +50,12 @@ const _abi = [
70
50
  name: "boxId",
71
51
  type: "uint32",
72
52
  },
53
+ {
54
+ indexed: false,
55
+ internalType: "bytes32",
56
+ name: "actionHash",
57
+ type: "bytes32",
58
+ },
73
59
  {
74
60
  indexed: false,
75
61
  internalType: "address",
@@ -85,13 +71,13 @@ const _abi = [
85
71
  {
86
72
  indexed: false,
87
73
  internalType: "uint256",
88
- name: "bridgeAmount",
74
+ name: "amountBridge",
89
75
  type: "uint256",
90
76
  },
91
77
  {
92
78
  indexed: false,
93
79
  internalType: "uint256",
94
- name: "feeAmount",
80
+ name: "amountFee",
95
81
  type: "uint256",
96
82
  },
97
83
  ],
@@ -116,7 +102,7 @@ const _abi = [
116
102
  {
117
103
  indexed: false,
118
104
  internalType: "bytes32",
119
- name: "intentHash",
105
+ name: "actionHash",
120
106
  type: "bytes32",
121
107
  },
122
108
  {
@@ -131,16 +117,22 @@ const _abi = [
131
117
  name: "amountSpent",
132
118
  type: "uint256",
133
119
  },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint256",
123
+ name: "amountFee",
124
+ type: "uint256",
125
+ },
134
126
  {
135
127
  indexed: false,
136
128
  internalType: "address",
137
- name: "pt",
129
+ name: "ptAdapter",
138
130
  type: "address",
139
131
  },
140
132
  {
141
133
  indexed: false,
142
134
  internalType: "address",
143
- name: "ptAdapter",
135
+ name: "pt",
144
136
  type: "address",
145
137
  },
146
138
  {
@@ -159,17 +151,35 @@ const _abi = [
159
151
  {
160
152
  indexed: true,
161
153
  internalType: "address",
162
- name: "executor",
154
+ name: "owner",
163
155
  type: "address",
164
156
  },
165
157
  {
166
158
  indexed: false,
167
- internalType: "bool",
168
- name: "isExecutor",
169
- type: "bool",
159
+ internalType: "uint32",
160
+ name: "boxId",
161
+ type: "uint32",
162
+ },
163
+ {
164
+ indexed: false,
165
+ internalType: "bytes32",
166
+ name: "actionHash",
167
+ type: "bytes32",
168
+ },
169
+ {
170
+ indexed: false,
171
+ internalType: "address",
172
+ name: "token",
173
+ type: "address",
174
+ },
175
+ {
176
+ indexed: false,
177
+ internalType: "uint256",
178
+ name: "amount",
179
+ type: "uint256",
170
180
  },
171
181
  ],
172
- name: "SetExecutor",
182
+ name: "ClaimFeeForFailedAction",
173
183
  type: "event",
174
184
  },
175
185
  {
@@ -178,17 +188,17 @@ const _abi = [
178
188
  {
179
189
  indexed: true,
180
190
  internalType: "address",
181
- name: "validator",
191
+ name: "executor",
182
192
  type: "address",
183
193
  },
184
194
  {
185
195
  indexed: false,
186
196
  internalType: "bool",
187
- name: "isValidator",
197
+ name: "isExecutor",
188
198
  type: "bool",
189
199
  },
190
200
  ],
191
- name: "SetValidator",
201
+ name: "SetExecutor",
192
202
  type: "event",
193
203
  },
194
204
  {
@@ -206,6 +216,12 @@ const _abi = [
206
216
  name: "boxId",
207
217
  type: "uint32",
208
218
  },
219
+ {
220
+ indexed: false,
221
+ internalType: "bytes32",
222
+ name: "actionHash",
223
+ type: "bytes32",
224
+ },
209
225
  {
210
226
  indexed: false,
211
227
  internalType: "address",
@@ -218,6 +234,12 @@ const _abi = [
218
234
  name: "amountSpent",
219
235
  type: "uint256",
220
236
  },
237
+ {
238
+ indexed: false,
239
+ internalType: "uint256",
240
+ name: "amountFee",
241
+ type: "uint256",
242
+ },
221
243
  {
222
244
  indexed: false,
223
245
  internalType: "address",
@@ -249,6 +271,12 @@ const _abi = [
249
271
  name: "boxId",
250
272
  type: "uint32",
251
273
  },
274
+ {
275
+ indexed: false,
276
+ internalType: "bytes32",
277
+ name: "actionHash",
278
+ type: "bytes32",
279
+ },
252
280
  {
253
281
  indexed: false,
254
282
  internalType: "address",
@@ -264,13 +292,13 @@ const _abi = [
264
292
  {
265
293
  indexed: false,
266
294
  internalType: "uint256",
267
- name: "withdrawAmount",
295
+ name: "amountWithdraw",
268
296
  type: "uint256",
269
297
  },
270
298
  {
271
299
  indexed: false,
272
300
  internalType: "uint256",
273
- name: "feeAmount",
301
+ name: "amountFee",
274
302
  type: "uint256",
275
303
  },
276
304
  ],
@@ -316,6 +344,25 @@ const _abi = [
316
344
  stateMutability: "view",
317
345
  type: "function",
318
346
  },
347
+ {
348
+ inputs: [
349
+ {
350
+ internalType: "bytes32",
351
+ name: "actionHash",
352
+ type: "bytes32",
353
+ },
354
+ ],
355
+ name: "actionStatus",
356
+ outputs: [
357
+ {
358
+ internalType: "enum IPCrossChainSwapHub.ActionStatus",
359
+ name: "",
360
+ type: "uint8",
361
+ },
362
+ ],
363
+ stateMutability: "view",
364
+ type: "function",
365
+ },
319
366
  {
320
367
  inputs: [
321
368
  {
@@ -347,12 +394,12 @@ const _abi = [
347
394
  },
348
395
  {
349
396
  internalType: "uint256",
350
- name: "bridgeAmount",
397
+ name: "amountBridge",
351
398
  type: "uint256",
352
399
  },
353
400
  {
354
401
  internalType: "uint256",
355
- name: "feeAmount",
402
+ name: "amountFee",
356
403
  type: "uint256",
357
404
  },
358
405
  {
@@ -397,12 +444,12 @@ const _abi = [
397
444
  },
398
445
  {
399
446
  internalType: "uint256",
400
- name: "salt",
447
+ name: "expiry",
401
448
  type: "uint256",
402
449
  },
403
450
  {
404
451
  internalType: "uint256",
405
- name: "expiry",
452
+ name: "nonce",
406
453
  type: "uint256",
407
454
  },
408
455
  {
@@ -412,13 +459,13 @@ const _abi = [
412
459
  },
413
460
  {
414
461
  internalType: "uint256",
415
- name: "maxAmountSpent",
462
+ name: "amountSpent",
416
463
  type: "uint256",
417
464
  },
418
465
  {
419
- internalType: "address",
420
- name: "pt",
421
- type: "address",
466
+ internalType: "uint256",
467
+ name: "amountFee",
468
+ type: "uint256",
422
469
  },
423
470
  {
424
471
  internalType: "address",
@@ -432,7 +479,7 @@ const _abi = [
432
479
  },
433
480
  {
434
481
  internalType: "uint32",
435
- name: "dstLzEid",
482
+ name: "dstEid",
436
483
  type: "uint32",
437
484
  },
438
485
  {
@@ -440,102 +487,250 @@ const _abi = [
440
487
  name: "receiver",
441
488
  type: "bytes32",
442
489
  },
490
+ {
491
+ internalType: "address",
492
+ name: "swapExecutor",
493
+ type: "address",
494
+ },
495
+ {
496
+ internalType: "address",
497
+ name: "swapExtRouter",
498
+ type: "address",
499
+ },
500
+ {
501
+ internalType: "bytes",
502
+ name: "swapCalldata",
503
+ type: "bytes",
504
+ },
443
505
  ],
444
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
445
- name: "intent",
506
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
507
+ name: "message",
446
508
  type: "tuple",
447
509
  },
448
510
  {
449
511
  internalType: "bytes",
450
- name: "intentSig",
512
+ name: "signature",
451
513
  type: "bytes",
452
514
  },
515
+ ],
516
+ name: "buyCrossChainPt",
517
+ outputs: [],
518
+ stateMutability: "payable",
519
+ type: "function",
520
+ },
521
+ {
522
+ inputs: [
453
523
  {
454
524
  components: [
455
525
  {
456
526
  internalType: "address",
457
- name: "validator",
527
+ name: "owner",
458
528
  type: "address",
459
529
  },
460
530
  {
461
- internalType: "bytes32",
462
- name: "intentHash",
463
- type: "bytes32",
531
+ internalType: "uint32",
532
+ name: "boxId",
533
+ type: "uint32",
464
534
  },
465
535
  {
466
536
  internalType: "uint256",
467
- name: "amountSpent",
537
+ name: "expiry",
468
538
  type: "uint256",
469
539
  },
470
540
  {
471
541
  internalType: "uint256",
472
- name: "feeAmount",
542
+ name: "nonce",
473
543
  type: "uint256",
474
544
  },
475
545
  {
476
546
  internalType: "address",
477
- name: "swapExecutor",
547
+ name: "receiver",
478
548
  type: "address",
479
549
  },
480
550
  {
481
551
  internalType: "address",
482
- name: "swapExtRouter",
552
+ name: "token",
483
553
  type: "address",
484
554
  },
485
555
  {
486
- internalType: "bytes",
487
- name: "swapCalldata",
488
- type: "bytes",
556
+ internalType: "uint256",
557
+ name: "amountWithdraw",
558
+ type: "uint256",
489
559
  },
490
560
  {
491
561
  internalType: "uint256",
492
- name: "expiry",
562
+ name: "amountFee",
493
563
  type: "uint256",
494
564
  },
495
565
  ],
496
- internalType:
497
- "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
498
- name: "execMsg",
566
+ internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
567
+ name: "message",
499
568
  type: "tuple",
500
569
  },
501
570
  {
502
571
  internalType: "bytes",
503
- name: "execSig",
572
+ name: "signature",
504
573
  type: "bytes",
505
574
  },
506
575
  ],
507
- name: "buyCrossChainPt",
576
+ name: "claimFee",
508
577
  outputs: [],
509
- stateMutability: "payable",
578
+ stateMutability: "nonpayable",
510
579
  type: "function",
511
580
  },
512
581
  {
513
582
  inputs: [
514
583
  {
515
- internalType: "address",
516
- name: "owner",
517
- type: "address",
584
+ components: [
585
+ {
586
+ internalType: "address",
587
+ name: "owner",
588
+ type: "address",
589
+ },
590
+ {
591
+ internalType: "uint32",
592
+ name: "boxId",
593
+ type: "uint32",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "expiry",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ internalType: "uint256",
602
+ name: "nonce",
603
+ type: "uint256",
604
+ },
605
+ {
606
+ internalType: "address",
607
+ name: "token",
608
+ type: "address",
609
+ },
610
+ {
611
+ internalType: "uint256",
612
+ name: "amountBridge",
613
+ type: "uint256",
614
+ },
615
+ {
616
+ internalType: "uint256",
617
+ name: "amountFee",
618
+ type: "uint256",
619
+ },
620
+ {
621
+ internalType: "address",
622
+ name: "bridgeExtRouter",
623
+ type: "address",
624
+ },
625
+ {
626
+ internalType: "bytes",
627
+ name: "bridgeCalldata",
628
+ type: "bytes",
629
+ },
630
+ ],
631
+ internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
632
+ name: "message",
633
+ type: "tuple",
518
634
  },
519
635
  {
520
- internalType: "uint32",
521
- name: "boxId",
522
- type: "uint32",
636
+ internalType: "bytes",
637
+ name: "signature",
638
+ type: "bytes",
523
639
  },
524
640
  ],
525
- name: "computeDepositBox",
526
- outputs: [
641
+ name: "claimFee",
642
+ outputs: [],
643
+ stateMutability: "nonpayable",
644
+ type: "function",
645
+ },
646
+ {
647
+ inputs: [
527
648
  {
528
- internalType: "address",
529
- name: "box",
530
- type: "address",
649
+ components: [
650
+ {
651
+ internalType: "address",
652
+ name: "owner",
653
+ type: "address",
654
+ },
655
+ {
656
+ internalType: "uint32",
657
+ name: "boxId",
658
+ type: "uint32",
659
+ },
660
+ {
661
+ internalType: "uint256",
662
+ name: "expiry",
663
+ type: "uint256",
664
+ },
665
+ {
666
+ internalType: "uint256",
667
+ name: "nonce",
668
+ type: "uint256",
669
+ },
670
+ {
671
+ internalType: "address",
672
+ name: "tokenSpent",
673
+ type: "address",
674
+ },
675
+ {
676
+ internalType: "uint256",
677
+ name: "amountSpent",
678
+ type: "uint256",
679
+ },
680
+ {
681
+ internalType: "uint256",
682
+ name: "amountFee",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "address",
687
+ name: "ptAdapter",
688
+ type: "address",
689
+ },
690
+ {
691
+ internalType: "uint256",
692
+ name: "minPtReceived",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "uint32",
697
+ name: "dstEid",
698
+ type: "uint32",
699
+ },
700
+ {
701
+ internalType: "bytes32",
702
+ name: "receiver",
703
+ type: "bytes32",
704
+ },
705
+ {
706
+ internalType: "address",
707
+ name: "swapExecutor",
708
+ type: "address",
709
+ },
710
+ {
711
+ internalType: "address",
712
+ name: "swapExtRouter",
713
+ type: "address",
714
+ },
715
+ {
716
+ internalType: "bytes",
717
+ name: "swapCalldata",
718
+ type: "bytes",
719
+ },
720
+ ],
721
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
722
+ name: "message",
723
+ type: "tuple",
531
724
  },
532
725
  {
533
- internalType: "bytes32",
534
- name: "salt",
535
- type: "bytes32",
726
+ internalType: "bytes",
727
+ name: "signature",
728
+ type: "bytes",
536
729
  },
537
730
  ],
538
- stateMutability: "view",
731
+ name: "claimFee",
732
+ outputs: [],
733
+ stateMutability: "nonpayable",
539
734
  type: "function",
540
735
  },
541
736
  {
@@ -572,6 +767,11 @@ const _abi = [
572
767
  name: "amountSpent",
573
768
  type: "uint256",
574
769
  },
770
+ {
771
+ internalType: "uint256",
772
+ name: "amountFee",
773
+ type: "uint256",
774
+ },
575
775
  {
576
776
  internalType: "address",
577
777
  name: "tokenReceived",
@@ -583,9 +783,9 @@ const _abi = [
583
783
  type: "uint256",
584
784
  },
585
785
  {
586
- internalType: "uint256",
587
- name: "feeAmount",
588
- type: "uint256",
786
+ internalType: "address",
787
+ name: "receiver",
788
+ type: "address",
589
789
  },
590
790
  {
591
791
  internalType: "address",
@@ -607,12 +807,40 @@ const _abi = [
607
807
  name: "message",
608
808
  type: "tuple",
609
809
  },
810
+ {
811
+ internalType: "bytes",
812
+ name: "signature",
813
+ type: "bytes",
814
+ },
610
815
  ],
611
- name: "hashTypedData",
816
+ name: "claimFee",
817
+ outputs: [],
818
+ stateMutability: "nonpayable",
819
+ type: "function",
820
+ },
821
+ {
822
+ inputs: [
823
+ {
824
+ internalType: "address",
825
+ name: "owner",
826
+ type: "address",
827
+ },
828
+ {
829
+ internalType: "uint32",
830
+ name: "boxId",
831
+ type: "uint32",
832
+ },
833
+ ],
834
+ name: "computeDepositBox",
612
835
  outputs: [
836
+ {
837
+ internalType: "address",
838
+ name: "box",
839
+ type: "address",
840
+ },
613
841
  {
614
842
  internalType: "bytes32",
615
- name: "",
843
+ name: "salt",
616
844
  type: "bytes32",
617
845
  },
618
846
  ],
@@ -625,13 +853,28 @@ const _abi = [
625
853
  components: [
626
854
  {
627
855
  internalType: "address",
628
- name: "validator",
856
+ name: "owner",
629
857
  type: "address",
630
858
  },
631
859
  {
632
- internalType: "bytes32",
633
- name: "intentHash",
634
- type: "bytes32",
860
+ internalType: "uint32",
861
+ name: "boxId",
862
+ type: "uint32",
863
+ },
864
+ {
865
+ internalType: "uint256",
866
+ name: "expiry",
867
+ type: "uint256",
868
+ },
869
+ {
870
+ internalType: "uint256",
871
+ name: "nonce",
872
+ type: "uint256",
873
+ },
874
+ {
875
+ internalType: "address",
876
+ name: "tokenSpent",
877
+ type: "address",
635
878
  },
636
879
  {
637
880
  internalType: "uint256",
@@ -640,9 +883,24 @@ const _abi = [
640
883
  },
641
884
  {
642
885
  internalType: "uint256",
643
- name: "feeAmount",
886
+ name: "amountFee",
644
887
  type: "uint256",
645
888
  },
889
+ {
890
+ internalType: "address",
891
+ name: "tokenReceived",
892
+ type: "address",
893
+ },
894
+ {
895
+ internalType: "uint256",
896
+ name: "minReceived",
897
+ type: "uint256",
898
+ },
899
+ {
900
+ internalType: "address",
901
+ name: "receiver",
902
+ type: "address",
903
+ },
646
904
  {
647
905
  internalType: "address",
648
906
  name: "swapExecutor",
@@ -658,14 +916,8 @@ const _abi = [
658
916
  name: "swapCalldata",
659
917
  type: "bytes",
660
918
  },
661
- {
662
- internalType: "uint256",
663
- name: "expiry",
664
- type: "uint256",
665
- },
666
919
  ],
667
- internalType:
668
- "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
920
+ internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
669
921
  name: "message",
670
922
  type: "tuple",
671
923
  },
@@ -697,12 +949,12 @@ const _abi = [
697
949
  },
698
950
  {
699
951
  internalType: "uint256",
700
- name: "salt",
952
+ name: "expiry",
701
953
  type: "uint256",
702
954
  },
703
955
  {
704
956
  internalType: "uint256",
705
- name: "expiry",
957
+ name: "nonce",
706
958
  type: "uint256",
707
959
  },
708
960
  {
@@ -712,13 +964,13 @@ const _abi = [
712
964
  },
713
965
  {
714
966
  internalType: "uint256",
715
- name: "maxAmountSpent",
967
+ name: "amountSpent",
716
968
  type: "uint256",
717
969
  },
718
970
  {
719
- internalType: "address",
720
- name: "pt",
721
- type: "address",
971
+ internalType: "uint256",
972
+ name: "amountFee",
973
+ type: "uint256",
722
974
  },
723
975
  {
724
976
  internalType: "address",
@@ -732,7 +984,7 @@ const _abi = [
732
984
  },
733
985
  {
734
986
  internalType: "uint32",
735
- name: "dstLzEid",
987
+ name: "dstEid",
736
988
  type: "uint32",
737
989
  },
738
990
  {
@@ -740,9 +992,24 @@ const _abi = [
740
992
  name: "receiver",
741
993
  type: "bytes32",
742
994
  },
995
+ {
996
+ internalType: "address",
997
+ name: "swapExecutor",
998
+ type: "address",
999
+ },
1000
+ {
1001
+ internalType: "address",
1002
+ name: "swapExtRouter",
1003
+ type: "address",
1004
+ },
1005
+ {
1006
+ internalType: "bytes",
1007
+ name: "swapCalldata",
1008
+ type: "bytes",
1009
+ },
743
1010
  ],
744
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
745
- name: "intent",
1011
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
1012
+ name: "message",
746
1013
  type: "tuple",
747
1014
  },
748
1015
  ],
@@ -788,12 +1055,12 @@ const _abi = [
788
1055
  },
789
1056
  {
790
1057
  internalType: "uint256",
791
- name: "bridgeAmount",
1058
+ name: "amountBridge",
792
1059
  type: "uint256",
793
1060
  },
794
1061
  {
795
1062
  internalType: "uint256",
796
- name: "feeAmount",
1063
+ name: "amountFee",
797
1064
  type: "uint256",
798
1065
  },
799
1066
  {
@@ -859,12 +1126,12 @@ const _abi = [
859
1126
  },
860
1127
  {
861
1128
  internalType: "uint256",
862
- name: "withdrawAmount",
1129
+ name: "amountWithdraw",
863
1130
  type: "uint256",
864
1131
  },
865
1132
  {
866
1133
  internalType: "uint256",
867
- name: "feeAmount",
1134
+ name: "amountFee",
868
1135
  type: "uint256",
869
1136
  },
870
1137
  ],
@@ -903,44 +1170,6 @@ const _abi = [
903
1170
  stateMutability: "view",
904
1171
  type: "function",
905
1172
  },
906
- {
907
- inputs: [
908
- {
909
- internalType: "bytes32",
910
- name: "intentHash",
911
- type: "bytes32",
912
- },
913
- ],
914
- name: "isIntentExecuted",
915
- outputs: [
916
- {
917
- internalType: "bool",
918
- name: "",
919
- type: "bool",
920
- },
921
- ],
922
- stateMutability: "view",
923
- type: "function",
924
- },
925
- {
926
- inputs: [
927
- {
928
- internalType: "address",
929
- name: "validator",
930
- type: "address",
931
- },
932
- ],
933
- name: "isValidator",
934
- outputs: [
935
- {
936
- internalType: "bool",
937
- name: "",
938
- type: "bool",
939
- },
940
- ],
941
- stateMutability: "view",
942
- type: "function",
943
- },
944
1173
  {
945
1174
  inputs: [
946
1175
  {
@@ -978,24 +1207,6 @@ const _abi = [
978
1207
  stateMutability: "nonpayable",
979
1208
  type: "function",
980
1209
  },
981
- {
982
- inputs: [
983
- {
984
- internalType: "address",
985
- name: "validator",
986
- type: "address",
987
- },
988
- {
989
- internalType: "bool",
990
- name: "isValidator",
991
- type: "bool",
992
- },
993
- ],
994
- name: "setValidator",
995
- outputs: [],
996
- stateMutability: "nonpayable",
997
- type: "function",
998
- },
999
1210
  {
1000
1211
  inputs: [
1001
1212
  {
@@ -1030,6 +1241,11 @@ const _abi = [
1030
1241
  name: "amountSpent",
1031
1242
  type: "uint256",
1032
1243
  },
1244
+ {
1245
+ internalType: "uint256",
1246
+ name: "amountFee",
1247
+ type: "uint256",
1248
+ },
1033
1249
  {
1034
1250
  internalType: "address",
1035
1251
  name: "tokenReceived",
@@ -1041,9 +1257,9 @@ const _abi = [
1041
1257
  type: "uint256",
1042
1258
  },
1043
1259
  {
1044
- internalType: "uint256",
1045
- name: "feeAmount",
1046
- type: "uint256",
1260
+ internalType: "address",
1261
+ name: "receiver",
1262
+ type: "address",
1047
1263
  },
1048
1264
  {
1049
1265
  internalType: "address",
@@ -1112,12 +1328,12 @@ const _abi = [
1112
1328
  },
1113
1329
  {
1114
1330
  internalType: "uint256",
1115
- name: "withdrawAmount",
1331
+ name: "amountWithdraw",
1116
1332
  type: "uint256",
1117
1333
  },
1118
1334
  {
1119
1335
  internalType: "uint256",
1120
- name: "feeAmount",
1336
+ name: "amountFee",
1121
1337
  type: "uint256",
1122
1338
  },
1123
1339
  ],