@ledgerhq/hw-app-eth 6.6.0 → 6.8.2

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,1256 @@
1
+ {
2
+ "0x1bd435f3c054b6e901b7b108a0ab7617c808677b": {
3
+ "0x0863b7ac": {
4
+ "plugin": "Paraswap",
5
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b0863b7ac",
6
+ "signature": "3045022100f6e1a922c745e244fa3ed9a865491672808ef93f492ee0410861d748c5de201f0220160d6522499f3a84fa3e744b3b81e49e129e997b28495e58671a1169b16fa777",
7
+ "erc20OfInterest": [
8
+ "path.0",
9
+ "path.-1"
10
+ ]
11
+ },
12
+ "0x33635226": {
13
+ "plugin": "Paraswap",
14
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b33635226",
15
+ "signature": "3044022065ca71afa7794dfe2734a30dc898e1c68c63c88ff0f6ebda231bdc3142af95400220036ed1ce1d692602cfe3cd8f242343e46fdb4a65fd8e4336b50ffa8df630ff60",
16
+ "erc20OfInterest": [
17
+ "path.0",
18
+ "path.-1"
19
+ ]
20
+ },
21
+ "0x58b9d179": {
22
+ "plugin": "Paraswap",
23
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b58b9d179",
24
+ "signature": "3045022100fcf9f8608a5907d4a350ee04cb1f4871d1fcc55928b2884179c299f269b036cd022071846ae2faef7383de89adfc91440243f5a30b7249c899a49fa4333e882e20bf",
25
+ "erc20OfInterest": [
26
+ "path.0",
27
+ "path.-1"
28
+ ]
29
+ },
30
+ "0x8f00eccb": {
31
+ "plugin": "Paraswap",
32
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b8f00eccb",
33
+ "signature": "30450221009a0afd48e31d3e0ec2d7c4c362b293f8893dbcacb5b705ecb92370a031bcd85e0220697a15b3eb546033a167a476c9c7cd8c24359585e6316563dadfbacaf6e3b520",
34
+ "erc20OfInterest": [
35
+ "data.fromToken",
36
+ "data.path.-1.to"
37
+ ]
38
+ },
39
+ "0xa27e8b6b": {
40
+ "plugin": "Paraswap",
41
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677ba27e8b6b",
42
+ "signature": "304402200f2f9a1cba30bc4b7795003a311095a8ce4820416e7899659874acec47369a6c02205efddb555434ece84b42ea3dcc53b01d8eec2c212fe0f5af057546f487a8429c",
43
+ "erc20OfInterest": [
44
+ "fromToken",
45
+ "toToken"
46
+ ]
47
+ },
48
+ "0xcfc0afeb": {
49
+ "plugin": "Paraswap",
50
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bcfc0afeb",
51
+ "signature": "304402201c0cbe69aac517825b3a6eb5e7251e8fd57ff93a43bd3df52c7a841818eda81b022001a10cc326efaee2463fc96e7c29739c308fb8179bd2ac37303662bae4f7705c",
52
+ "erc20OfInterest": [
53
+ "fromToken",
54
+ "toToken"
55
+ ]
56
+ },
57
+ "0xec1d21dd": {
58
+ "plugin": "Paraswap",
59
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bec1d21dd",
60
+ "signature": "3045022100ee2b33270cf910f481e64b7781c4693e7bc86e338476d65c30c9f3d41fa4924e022079fc72cc69954f5ab1949e7d2f3023948f10dc94c9455999eb2ef38ac25fe33d",
61
+ "erc20OfInterest": [
62
+ "data.fromToken",
63
+ "data.path.0.path.-1.to"
64
+ ]
65
+ },
66
+ "0xf9355f72": {
67
+ "plugin": "Paraswap",
68
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf9355f72",
69
+ "signature": "304502210083e27fb14f09dc5e52a3ab9374ff39bf5cfd1fa373f957f675f122b74a867fb202202d6e107b219ea246b8c51f19df738c4968974d17b0ee128e8a44de9254507678",
70
+ "erc20OfInterest": [
71
+ "path.0",
72
+ "path.-1"
73
+ ]
74
+ },
75
+ "0xf95a49eb": {
76
+ "plugin": "Paraswap",
77
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf95a49eb",
78
+ "signature": "304402201e93873c5d1c7e07ae016757fd21f4c97bdfd4bf60e35f214e0f9e174b0f3fc80220639ff1e38daad2c7f3a5f4cafb020ebcc867f10be4c4a465e342ae791fab0c24",
79
+ "erc20OfInterest": [
80
+ "data.fromToken",
81
+ "data.toToken"
82
+ ]
83
+ },
84
+ "abi": [
85
+ {
86
+ "anonymous": false,
87
+ "inputs": [
88
+ {
89
+ "indexed": true,
90
+ "internalType": "address",
91
+ "name": "adapter",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "AdapterInitialized",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": false,
103
+ "internalType": "address",
104
+ "name": "initiator",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "beneficiary",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": true,
115
+ "internalType": "address",
116
+ "name": "srcToken",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "indexed": true,
121
+ "internalType": "address",
122
+ "name": "destToken",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "indexed": false,
127
+ "internalType": "uint256",
128
+ "name": "srcAmount",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "indexed": false,
133
+ "internalType": "uint256",
134
+ "name": "receivedAmount",
135
+ "type": "uint256"
136
+ },
137
+ {
138
+ "indexed": false,
139
+ "internalType": "string",
140
+ "name": "referrer",
141
+ "type": "string"
142
+ }
143
+ ],
144
+ "name": "Bought",
145
+ "type": "event"
146
+ },
147
+ {
148
+ "anonymous": false,
149
+ "inputs": [
150
+ {
151
+ "indexed": false,
152
+ "internalType": "uint256",
153
+ "name": "fee",
154
+ "type": "uint256"
155
+ },
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint256",
159
+ "name": "partnerShare",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "indexed": false,
164
+ "internalType": "uint256",
165
+ "name": "paraswapShare",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "name": "FeeTaken",
170
+ "type": "event"
171
+ },
172
+ {
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": true,
177
+ "internalType": "address",
178
+ "name": "previousOwner",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "indexed": true,
183
+ "internalType": "address",
184
+ "name": "newOwner",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "OwnershipTransferred",
189
+ "type": "event"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": false,
196
+ "internalType": "address",
197
+ "name": "initiator",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": true,
202
+ "internalType": "address",
203
+ "name": "beneficiary",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "indexed": true,
208
+ "internalType": "address",
209
+ "name": "srcToken",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "indexed": true,
214
+ "internalType": "address",
215
+ "name": "destToken",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint256",
221
+ "name": "srcAmount",
222
+ "type": "uint256"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "uint256",
227
+ "name": "receivedAmount",
228
+ "type": "uint256"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "uint256",
233
+ "name": "expectedAmount",
234
+ "type": "uint256"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "string",
239
+ "name": "referrer",
240
+ "type": "string"
241
+ }
242
+ ],
243
+ "name": "Swapped",
244
+ "type": "event"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "token",
251
+ "type": "address"
252
+ },
253
+ {
254
+ "internalType": "address",
255
+ "name": "to",
256
+ "type": "address"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "amount",
261
+ "type": "uint256"
262
+ }
263
+ ],
264
+ "name": "approve",
265
+ "outputs": [
266
+
267
+ ],
268
+ "stateMutability": "nonpayable",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "components": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "fromToken",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "address",
282
+ "name": "toToken",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "fromAmount",
288
+ "type": "uint256"
289
+ },
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "toAmount",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "address payable",
297
+ "name": "beneficiary",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "string",
302
+ "name": "referrer",
303
+ "type": "string"
304
+ },
305
+ {
306
+ "internalType": "bool",
307
+ "name": "useReduxToken",
308
+ "type": "bool"
309
+ },
310
+ {
311
+ "components": [
312
+ {
313
+ "internalType": "address payable",
314
+ "name": "exchange",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "internalType": "address",
319
+ "name": "targetExchange",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "internalType": "uint256",
324
+ "name": "fromAmount",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "internalType": "uint256",
329
+ "name": "toAmount",
330
+ "type": "uint256"
331
+ },
332
+ {
333
+ "internalType": "bytes",
334
+ "name": "payload",
335
+ "type": "bytes"
336
+ },
337
+ {
338
+ "internalType": "uint256",
339
+ "name": "networkFee",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "internalType": "struct Utils.BuyRoute[]",
344
+ "name": "route",
345
+ "type": "tuple[]"
346
+ }
347
+ ],
348
+ "internalType": "struct Utils.BuyData",
349
+ "name": "data",
350
+ "type": "tuple"
351
+ }
352
+ ],
353
+ "name": "buy",
354
+ "outputs": [
355
+ {
356
+ "internalType": "uint256",
357
+ "name": "",
358
+ "type": "uint256"
359
+ }
360
+ ],
361
+ "stateMutability": "payable",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "uint256",
368
+ "name": "amountInMax",
369
+ "type": "uint256"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "amountOut",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "internalType": "address[]",
378
+ "name": "path",
379
+ "type": "address[]"
380
+ },
381
+ {
382
+ "internalType": "uint8",
383
+ "name": "referrer",
384
+ "type": "uint8"
385
+ }
386
+ ],
387
+ "name": "buyOnUniswap",
388
+ "outputs": [
389
+
390
+ ],
391
+ "stateMutability": "payable",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "address",
398
+ "name": "factory",
399
+ "type": "address"
400
+ },
401
+ {
402
+ "internalType": "bytes32",
403
+ "name": "initCode",
404
+ "type": "bytes32"
405
+ },
406
+ {
407
+ "internalType": "uint256",
408
+ "name": "amountInMax",
409
+ "type": "uint256"
410
+ },
411
+ {
412
+ "internalType": "uint256",
413
+ "name": "amountOut",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "internalType": "address[]",
418
+ "name": "path",
419
+ "type": "address[]"
420
+ },
421
+ {
422
+ "internalType": "uint8",
423
+ "name": "referrer",
424
+ "type": "uint8"
425
+ }
426
+ ],
427
+ "name": "buyOnUniswapFork",
428
+ "outputs": [
429
+
430
+ ],
431
+ "stateMutability": "payable",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "address",
438
+ "name": "uniswapProxy",
439
+ "type": "address"
440
+ }
441
+ ],
442
+ "name": "changeUniswapProxy",
443
+ "outputs": [
444
+
445
+ ],
446
+ "stateMutability": "nonpayable",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [
451
+
452
+ ],
453
+ "name": "confirmUniswapProxyChange",
454
+ "outputs": [
455
+
456
+ ],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+
463
+ ],
464
+ "name": "getChangeRequestedBlock",
465
+ "outputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "bytes32",
479
+ "name": "key",
480
+ "type": "bytes32"
481
+ }
482
+ ],
483
+ "name": "getData",
484
+ "outputs": [
485
+ {
486
+ "internalType": "bytes",
487
+ "name": "",
488
+ "type": "bytes"
489
+ }
490
+ ],
491
+ "stateMutability": "view",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [
496
+
497
+ ],
498
+ "name": "getFeeWallet",
499
+ "outputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "",
503
+ "type": "address"
504
+ }
505
+ ],
506
+ "stateMutability": "view",
507
+ "type": "function"
508
+ },
509
+ {
510
+ "inputs": [
511
+
512
+ ],
513
+ "name": "getPartnerRegistry",
514
+ "outputs": [
515
+ {
516
+ "internalType": "address",
517
+ "name": "",
518
+ "type": "address"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+
527
+ ],
528
+ "name": "getPendingUniswapProxy",
529
+ "outputs": [
530
+ {
531
+ "internalType": "address",
532
+ "name": "",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [
541
+
542
+ ],
543
+ "name": "getTimeLock",
544
+ "outputs": [
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "",
548
+ "type": "uint256"
549
+ }
550
+ ],
551
+ "stateMutability": "view",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [
556
+
557
+ ],
558
+ "name": "getTokenTransferProxy",
559
+ "outputs": [
560
+ {
561
+ "internalType": "address",
562
+ "name": "",
563
+ "type": "address"
564
+ }
565
+ ],
566
+ "stateMutability": "view",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [
571
+
572
+ ],
573
+ "name": "getUniswapProxy",
574
+ "outputs": [
575
+ {
576
+ "internalType": "address",
577
+ "name": "",
578
+ "type": "address"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+
587
+ ],
588
+ "name": "getVersion",
589
+ "outputs": [
590
+ {
591
+ "internalType": "string",
592
+ "name": "",
593
+ "type": "string"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+
602
+ ],
603
+ "name": "getWhitelistAddress",
604
+ "outputs": [
605
+ {
606
+ "internalType": "address",
607
+ "name": "",
608
+ "type": "address"
609
+ }
610
+ ],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "address",
618
+ "name": "whitelist",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "reduxToken",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "address",
628
+ "name": "partnerRegistry",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "address payable",
633
+ "name": "feeWallet",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "address",
638
+ "name": "uniswapProxy",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "internalType": "uint256",
643
+ "name": "timelock",
644
+ "type": "uint256"
645
+ }
646
+ ],
647
+ "name": "initialize",
648
+ "outputs": [
649
+
650
+ ],
651
+ "stateMutability": "nonpayable",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [
656
+ {
657
+ "internalType": "address",
658
+ "name": "adapter",
659
+ "type": "address"
660
+ },
661
+ {
662
+ "internalType": "bytes",
663
+ "name": "data",
664
+ "type": "bytes"
665
+ }
666
+ ],
667
+ "name": "initializeAdapter",
668
+ "outputs": [
669
+
670
+ ],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "bytes32",
678
+ "name": "key",
679
+ "type": "bytes32"
680
+ }
681
+ ],
682
+ "name": "isInitialized",
683
+ "outputs": [
684
+ {
685
+ "internalType": "bool",
686
+ "name": "",
687
+ "type": "bool"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "components": [
697
+ {
698
+ "internalType": "address",
699
+ "name": "fromToken",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "fromAmount",
705
+ "type": "uint256"
706
+ },
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "toAmount",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "expectedAmount",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "address payable",
719
+ "name": "beneficiary",
720
+ "type": "address"
721
+ },
722
+ {
723
+ "internalType": "string",
724
+ "name": "referrer",
725
+ "type": "string"
726
+ },
727
+ {
728
+ "internalType": "bool",
729
+ "name": "useReduxToken",
730
+ "type": "bool"
731
+ },
732
+ {
733
+ "components": [
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "fromAmountPercent",
737
+ "type": "uint256"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "address",
743
+ "name": "to",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "totalNetworkFee",
749
+ "type": "uint256"
750
+ },
751
+ {
752
+ "components": [
753
+ {
754
+ "internalType": "address payable",
755
+ "name": "exchange",
756
+ "type": "address"
757
+ },
758
+ {
759
+ "internalType": "address",
760
+ "name": "targetExchange",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "percent",
766
+ "type": "uint256"
767
+ },
768
+ {
769
+ "internalType": "bytes",
770
+ "name": "payload",
771
+ "type": "bytes"
772
+ },
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "networkFee",
776
+ "type": "uint256"
777
+ }
778
+ ],
779
+ "internalType": "struct Utils.Route[]",
780
+ "name": "routes",
781
+ "type": "tuple[]"
782
+ }
783
+ ],
784
+ "internalType": "struct Utils.Path[]",
785
+ "name": "path",
786
+ "type": "tuple[]"
787
+ }
788
+ ],
789
+ "internalType": "struct Utils.MegaSwapPath[]",
790
+ "name": "path",
791
+ "type": "tuple[]"
792
+ }
793
+ ],
794
+ "internalType": "struct Utils.MegaSwapSellData",
795
+ "name": "data",
796
+ "type": "tuple"
797
+ }
798
+ ],
799
+ "name": "megaSwap",
800
+ "outputs": [
801
+ {
802
+ "internalType": "uint256",
803
+ "name": "",
804
+ "type": "uint256"
805
+ }
806
+ ],
807
+ "stateMutability": "payable",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
812
+ {
813
+ "components": [
814
+ {
815
+ "internalType": "address",
816
+ "name": "fromToken",
817
+ "type": "address"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "fromAmount",
822
+ "type": "uint256"
823
+ },
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "toAmount",
827
+ "type": "uint256"
828
+ },
829
+ {
830
+ "internalType": "uint256",
831
+ "name": "expectedAmount",
832
+ "type": "uint256"
833
+ },
834
+ {
835
+ "internalType": "address payable",
836
+ "name": "beneficiary",
837
+ "type": "address"
838
+ },
839
+ {
840
+ "internalType": "string",
841
+ "name": "referrer",
842
+ "type": "string"
843
+ },
844
+ {
845
+ "internalType": "bool",
846
+ "name": "useReduxToken",
847
+ "type": "bool"
848
+ },
849
+ {
850
+ "components": [
851
+ {
852
+ "internalType": "address",
853
+ "name": "to",
854
+ "type": "address"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "totalNetworkFee",
859
+ "type": "uint256"
860
+ },
861
+ {
862
+ "components": [
863
+ {
864
+ "internalType": "address payable",
865
+ "name": "exchange",
866
+ "type": "address"
867
+ },
868
+ {
869
+ "internalType": "address",
870
+ "name": "targetExchange",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "uint256",
875
+ "name": "percent",
876
+ "type": "uint256"
877
+ },
878
+ {
879
+ "internalType": "bytes",
880
+ "name": "payload",
881
+ "type": "bytes"
882
+ },
883
+ {
884
+ "internalType": "uint256",
885
+ "name": "networkFee",
886
+ "type": "uint256"
887
+ }
888
+ ],
889
+ "internalType": "struct Utils.Route[]",
890
+ "name": "routes",
891
+ "type": "tuple[]"
892
+ }
893
+ ],
894
+ "internalType": "struct Utils.Path[]",
895
+ "name": "path",
896
+ "type": "tuple[]"
897
+ }
898
+ ],
899
+ "internalType": "struct Utils.SellData",
900
+ "name": "data",
901
+ "type": "tuple"
902
+ }
903
+ ],
904
+ "name": "multiSwap",
905
+ "outputs": [
906
+ {
907
+ "internalType": "uint256",
908
+ "name": "",
909
+ "type": "uint256"
910
+ }
911
+ ],
912
+ "stateMutability": "payable",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+
918
+ ],
919
+ "name": "owner",
920
+ "outputs": [
921
+ {
922
+ "internalType": "address",
923
+ "name": "",
924
+ "type": "address"
925
+ }
926
+ ],
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "inputs": [
932
+
933
+ ],
934
+ "name": "renounceOwnership",
935
+ "outputs": [
936
+
937
+ ],
938
+ "stateMutability": "nonpayable",
939
+ "type": "function"
940
+ },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "address payable",
945
+ "name": "feeWallet",
946
+ "type": "address"
947
+ }
948
+ ],
949
+ "name": "setFeeWallet",
950
+ "outputs": [
951
+
952
+ ],
953
+ "stateMutability": "nonpayable",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "address",
960
+ "name": "partnerRegistry",
961
+ "type": "address"
962
+ }
963
+ ],
964
+ "name": "setPartnerRegistry",
965
+ "outputs": [
966
+
967
+ ],
968
+ "stateMutability": "nonpayable",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "address",
975
+ "name": "whitelisted",
976
+ "type": "address"
977
+ }
978
+ ],
979
+ "name": "setWhitelistAddress",
980
+ "outputs": [
981
+
982
+ ],
983
+ "stateMutability": "nonpayable",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ {
989
+ "internalType": "address",
990
+ "name": "fromToken",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "address",
995
+ "name": "toToken",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "fromAmount",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "toAmount",
1006
+ "type": "uint256"
1007
+ },
1008
+ {
1009
+ "internalType": "address[]",
1010
+ "name": "callees",
1011
+ "type": "address[]"
1012
+ },
1013
+ {
1014
+ "internalType": "bytes",
1015
+ "name": "exchangeData",
1016
+ "type": "bytes"
1017
+ },
1018
+ {
1019
+ "internalType": "uint256[]",
1020
+ "name": "startIndexes",
1021
+ "type": "uint256[]"
1022
+ },
1023
+ {
1024
+ "internalType": "uint256[]",
1025
+ "name": "values",
1026
+ "type": "uint256[]"
1027
+ },
1028
+ {
1029
+ "internalType": "address payable",
1030
+ "name": "beneficiary",
1031
+ "type": "address"
1032
+ },
1033
+ {
1034
+ "internalType": "string",
1035
+ "name": "referrer",
1036
+ "type": "string"
1037
+ },
1038
+ {
1039
+ "internalType": "bool",
1040
+ "name": "useReduxToken",
1041
+ "type": "bool"
1042
+ }
1043
+ ],
1044
+ "name": "simplBuy",
1045
+ "outputs": [
1046
+
1047
+ ],
1048
+ "stateMutability": "payable",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "address",
1055
+ "name": "fromToken",
1056
+ "type": "address"
1057
+ },
1058
+ {
1059
+ "internalType": "address",
1060
+ "name": "toToken",
1061
+ "type": "address"
1062
+ },
1063
+ {
1064
+ "internalType": "uint256",
1065
+ "name": "fromAmount",
1066
+ "type": "uint256"
1067
+ },
1068
+ {
1069
+ "internalType": "uint256",
1070
+ "name": "toAmount",
1071
+ "type": "uint256"
1072
+ },
1073
+ {
1074
+ "internalType": "uint256",
1075
+ "name": "expectedAmount",
1076
+ "type": "uint256"
1077
+ },
1078
+ {
1079
+ "internalType": "address[]",
1080
+ "name": "callees",
1081
+ "type": "address[]"
1082
+ },
1083
+ {
1084
+ "internalType": "bytes",
1085
+ "name": "exchangeData",
1086
+ "type": "bytes"
1087
+ },
1088
+ {
1089
+ "internalType": "uint256[]",
1090
+ "name": "startIndexes",
1091
+ "type": "uint256[]"
1092
+ },
1093
+ {
1094
+ "internalType": "uint256[]",
1095
+ "name": "values",
1096
+ "type": "uint256[]"
1097
+ },
1098
+ {
1099
+ "internalType": "address payable",
1100
+ "name": "beneficiary",
1101
+ "type": "address"
1102
+ },
1103
+ {
1104
+ "internalType": "string",
1105
+ "name": "referrer",
1106
+ "type": "string"
1107
+ },
1108
+ {
1109
+ "internalType": "bool",
1110
+ "name": "useReduxToken",
1111
+ "type": "bool"
1112
+ }
1113
+ ],
1114
+ "name": "simpleSwap",
1115
+ "outputs": [
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "receivedAmount",
1119
+ "type": "uint256"
1120
+ }
1121
+ ],
1122
+ "stateMutability": "payable",
1123
+ "type": "function"
1124
+ },
1125
+ {
1126
+ "inputs": [
1127
+ {
1128
+ "internalType": "uint256",
1129
+ "name": "amountIn",
1130
+ "type": "uint256"
1131
+ },
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "amountOutMin",
1135
+ "type": "uint256"
1136
+ },
1137
+ {
1138
+ "internalType": "address[]",
1139
+ "name": "path",
1140
+ "type": "address[]"
1141
+ },
1142
+ {
1143
+ "internalType": "uint8",
1144
+ "name": "referrer",
1145
+ "type": "uint8"
1146
+ }
1147
+ ],
1148
+ "name": "swapOnUniswap",
1149
+ "outputs": [
1150
+
1151
+ ],
1152
+ "stateMutability": "payable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "address",
1159
+ "name": "factory",
1160
+ "type": "address"
1161
+ },
1162
+ {
1163
+ "internalType": "bytes32",
1164
+ "name": "initCode",
1165
+ "type": "bytes32"
1166
+ },
1167
+ {
1168
+ "internalType": "uint256",
1169
+ "name": "amountIn",
1170
+ "type": "uint256"
1171
+ },
1172
+ {
1173
+ "internalType": "uint256",
1174
+ "name": "amountOutMin",
1175
+ "type": "uint256"
1176
+ },
1177
+ {
1178
+ "internalType": "address[]",
1179
+ "name": "path",
1180
+ "type": "address[]"
1181
+ },
1182
+ {
1183
+ "internalType": "uint8",
1184
+ "name": "referrer",
1185
+ "type": "uint8"
1186
+ }
1187
+ ],
1188
+ "name": "swapOnUniswapFork",
1189
+ "outputs": [
1190
+
1191
+ ],
1192
+ "stateMutability": "payable",
1193
+ "type": "function"
1194
+ },
1195
+ {
1196
+ "inputs": [
1197
+ {
1198
+ "internalType": "address",
1199
+ "name": "newOwner",
1200
+ "type": "address"
1201
+ }
1202
+ ],
1203
+ "name": "transferOwnership",
1204
+ "outputs": [
1205
+
1206
+ ],
1207
+ "stateMutability": "nonpayable",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "address",
1214
+ "name": "token",
1215
+ "type": "address"
1216
+ },
1217
+ {
1218
+ "internalType": "address payable",
1219
+ "name": "destination",
1220
+ "type": "address"
1221
+ },
1222
+ {
1223
+ "internalType": "uint256",
1224
+ "name": "amount",
1225
+ "type": "uint256"
1226
+ }
1227
+ ],
1228
+ "name": "transferTokens",
1229
+ "outputs": [
1230
+
1231
+ ],
1232
+ "stateMutability": "nonpayable",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "contract IWETH",
1239
+ "name": "token",
1240
+ "type": "address"
1241
+ }
1242
+ ],
1243
+ "name": "withdrawAllWETH",
1244
+ "outputs": [
1245
+
1246
+ ],
1247
+ "stateMutability": "nonpayable",
1248
+ "type": "function"
1249
+ },
1250
+ {
1251
+ "stateMutability": "payable",
1252
+ "type": "receive"
1253
+ }
1254
+ ]
1255
+ }
1256
+ }