1 | {
|
2 | "0xdef171fe48cf0115b1d80b88dc8eab59176fee57": {
|
3 | "0x0b86a4c1": {
|
4 | "plugin": "Paraswap",
|
5 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee570b86a4c1",
|
6 | "signature": "3045022100832052e09afece789911f4310118e40fbd04d16961257423435f29d43de7193a02203610a035156139cb63873317eba79365592de5fdb60da9b5735492a69f67bb00",
|
7 | "erc20OfInterest": [
|
8 | "tokenIn"
|
9 | ]
|
10 | },
|
11 | "0x2298207a": {
|
12 | "plugin": "Paraswap",
|
13 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee572298207a",
|
14 | "signature": "304402203072331f0caa61455b82ce06860a36261bcb039670174e7e46fe3967969fd385022063a52de1b8cea836ada187cc64f7ea619eae0d94efe25ce14d5857e04f34f81d",
|
15 | "erc20OfInterest": [
|
16 | "data.fromToken",
|
17 | "data.toToken"
|
18 | ]
|
19 | },
|
20 | "0x46c67b6d": {
|
21 | "plugin": "Paraswap",
|
22 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5746c67b6d",
|
23 | "signature": "3045022100c3768eeff9fad5194fd84ece3842d0e58c1b35a4c6fe373fa3723b4f3692f9d30220206e9a80b33b10ebf2bc90106dc0e699b41b621652bfd096fbdf4fdda55cf446",
|
24 | "erc20OfInterest": [
|
25 | "data.fromToken",
|
26 | "data.path.0.path.-1.to"
|
27 | ]
|
28 | },
|
29 | "0x54840d1a": {
|
30 | "plugin": "Paraswap",
|
31 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5754840d1a",
|
32 | "signature": "3044022049869b8d73029254042a535d7632d6d0e2d5bcefe5f5ba3a77fb27bc7c93773902204b3ffa80289e73dd022b88d318a9a7fcc361643f09332e0f542d83283cb6b6a9",
|
33 | "erc20OfInterest": [
|
34 | "path.0",
|
35 | "path.-1"
|
36 | ]
|
37 | },
|
38 | "0x54e3f31b": {
|
39 | "plugin": "Paraswap",
|
40 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5754e3f31b",
|
41 | "signature": "3045022100ec8e69d23371437ce5b5f1d894b836c036748e2fabf52fb069c34a9d0ba8704a022013e761d81c26ece4cb0ea385813699b7e646354d3404ed55f4bf068db02dda9a",
|
42 | "erc20OfInterest": [
|
43 | "data.fromToken",
|
44 | "data.toToken"
|
45 | ]
|
46 | },
|
47 | "0x64466805": {
|
48 | "plugin": "Paraswap",
|
49 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5764466805",
|
50 | "signature": "304402207da61be0c5a79664222603ef9d616e208e2bcf3bf79864beecc40e360fc3b8a002200d4bd96a8b267babad3eab43bd986c12935c6c720d6aff6452287e5469c34453",
|
51 | "erc20OfInterest": [
|
52 | "fromToken",
|
53 | "toToken"
|
54 | ]
|
55 | },
|
56 | "0x81033120": {
|
57 | "plugin": "Paraswap",
|
58 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5781033120",
|
59 | "signature": "304402206e6b46da310956e40330dfc1420845aebb1cb9240535e2af801b22dbb756ddbe0220682554d390ca3d42f61f85a0162e958f7113dc0965196675fae9576a3ff153a3",
|
60 | "erc20OfInterest": [
|
61 | "fromToken",
|
62 | "toToken"
|
63 | ]
|
64 | },
|
65 | "0x935fb84b": {
|
66 | "plugin": "Paraswap",
|
67 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57935fb84b",
|
68 | "signature": "3045022100b6822ad1f3fb232db30701876e02b7dab518252db1ee4b7888a46d043e3f627302204a92d907fa07804e579ae53b450388ad7aea3267d5ad0e8713e2292d653a0dfd",
|
69 | "erc20OfInterest": [
|
70 | "path.0",
|
71 | "path.-1"
|
72 | ]
|
73 | },
|
74 | "0xa94e78ef": {
|
75 | "plugin": "Paraswap",
|
76 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57a94e78ef",
|
77 | "signature": "304402201950cfc5a5d6123d9ab6fd95aea31a796ddc174530de3f747592e88296032d7402200b68a4f498f184f0a84def57ddf5b3c33c443889b64010ab2b4a29ff48703526",
|
78 | "erc20OfInterest": [
|
79 | "data.fromToken",
|
80 | "data.path.-1.to"
|
81 | ]
|
82 | },
|
83 | "0xc03786b0": {
|
84 | "plugin": "Paraswap",
|
85 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57c03786b0",
|
86 | "signature": "304402200829270c2edd00861b9ced8fd8ebbd306de1ba62b5aa14fee7a1a9437898bc7b022021d21929b18c01f656c2c37545f9015a8019c295924be6fb6848c68dbc618c8d",
|
87 | "erc20OfInterest": [
|
88 | "path.0",
|
89 | "path.-1"
|
90 | ]
|
91 | },
|
92 | "0xf5661034": {
|
93 | "plugin": "Paraswap",
|
94 | "serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57f5661034",
|
95 | "signature": "304402205d1070dc2d31be89aae05a0c855bdc8542773f84530d6f16ceabc1047a7ab18d022064ce2de5693578731603f91c9d633f8711f9b8dfee94f12f0677c3973fa24eae",
|
96 | "erc20OfInterest": [
|
97 | "path.0",
|
98 | "path.-1"
|
99 | ]
|
100 | },
|
101 | "abi": [
|
102 | {
|
103 | "inputs": [
|
104 | {
|
105 | "internalType": "address payable",
|
106 | "name": "_feeWallet",
|
107 | "type": "address"
|
108 | }
|
109 | ],
|
110 | "stateMutability": "nonpayable",
|
111 | "type": "constructor"
|
112 | },
|
113 | {
|
114 | "anonymous": false,
|
115 | "inputs": [
|
116 | {
|
117 | "indexed": true,
|
118 | "internalType": "address",
|
119 | "name": "adapter",
|
120 | "type": "address"
|
121 | }
|
122 | ],
|
123 | "name": "AdapterInitialized",
|
124 | "type": "event"
|
125 | },
|
126 | {
|
127 | "anonymous": false,
|
128 | "inputs": [
|
129 | {
|
130 | "indexed": true,
|
131 | "internalType": "bytes32",
|
132 | "name": "role",
|
133 | "type": "bytes32"
|
134 | },
|
135 | {
|
136 | "indexed": true,
|
137 | "internalType": "bytes32",
|
138 | "name": "previousAdminRole",
|
139 | "type": "bytes32"
|
140 | },
|
141 | {
|
142 | "indexed": true,
|
143 | "internalType": "bytes32",
|
144 | "name": "newAdminRole",
|
145 | "type": "bytes32"
|
146 | }
|
147 | ],
|
148 | "name": "RoleAdminChanged",
|
149 | "type": "event"
|
150 | },
|
151 | {
|
152 | "anonymous": false,
|
153 | "inputs": [
|
154 | {
|
155 | "indexed": true,
|
156 | "internalType": "bytes32",
|
157 | "name": "role",
|
158 | "type": "bytes32"
|
159 | },
|
160 | {
|
161 | "indexed": true,
|
162 | "internalType": "address",
|
163 | "name": "account",
|
164 | "type": "address"
|
165 | },
|
166 | {
|
167 | "indexed": true,
|
168 | "internalType": "address",
|
169 | "name": "sender",
|
170 | "type": "address"
|
171 | }
|
172 | ],
|
173 | "name": "RoleGranted",
|
174 | "type": "event"
|
175 | },
|
176 | {
|
177 | "anonymous": false,
|
178 | "inputs": [
|
179 | {
|
180 | "indexed": true,
|
181 | "internalType": "bytes32",
|
182 | "name": "role",
|
183 | "type": "bytes32"
|
184 | },
|
185 | {
|
186 | "indexed": true,
|
187 | "internalType": "address",
|
188 | "name": "account",
|
189 | "type": "address"
|
190 | },
|
191 | {
|
192 | "indexed": true,
|
193 | "internalType": "address",
|
194 | "name": "sender",
|
195 | "type": "address"
|
196 | }
|
197 | ],
|
198 | "name": "RoleRevoked",
|
199 | "type": "event"
|
200 | },
|
201 | {
|
202 | "anonymous": false,
|
203 | "inputs": [
|
204 | {
|
205 | "indexed": true,
|
206 | "internalType": "address",
|
207 | "name": "router",
|
208 | "type": "address"
|
209 | }
|
210 | ],
|
211 | "name": "RouterInitialized",
|
212 | "type": "event"
|
213 | },
|
214 | {
|
215 | "stateMutability": "payable",
|
216 | "type": "fallback"
|
217 | },
|
218 | {
|
219 | "inputs": [],
|
220 | "name": "DEFAULT_ADMIN_ROLE",
|
221 | "outputs": [
|
222 | {
|
223 | "internalType": "bytes32",
|
224 | "name": "",
|
225 | "type": "bytes32"
|
226 | }
|
227 | ],
|
228 | "stateMutability": "view",
|
229 | "type": "function"
|
230 | },
|
231 | {
|
232 | "inputs": [],
|
233 | "name": "ROUTER_ROLE",
|
234 | "outputs": [
|
235 | {
|
236 | "internalType": "bytes32",
|
237 | "name": "",
|
238 | "type": "bytes32"
|
239 | }
|
240 | ],
|
241 | "stateMutability": "view",
|
242 | "type": "function"
|
243 | },
|
244 | {
|
245 | "inputs": [],
|
246 | "name": "WHITELISTED_ROLE",
|
247 | "outputs": [
|
248 | {
|
249 | "internalType": "bytes32",
|
250 | "name": "",
|
251 | "type": "bytes32"
|
252 | }
|
253 | ],
|
254 | "stateMutability": "view",
|
255 | "type": "function"
|
256 | },
|
257 | {
|
258 | "inputs": [
|
259 | {
|
260 | "internalType": "bytes32",
|
261 | "name": "key",
|
262 | "type": "bytes32"
|
263 | }
|
264 | ],
|
265 | "name": "getAdapterData",
|
266 | "outputs": [
|
267 | {
|
268 | "internalType": "bytes",
|
269 | "name": "",
|
270 | "type": "bytes"
|
271 | }
|
272 | ],
|
273 | "stateMutability": "view",
|
274 | "type": "function"
|
275 | },
|
276 | {
|
277 | "inputs": [],
|
278 | "name": "getFeeWallet",
|
279 | "outputs": [
|
280 | {
|
281 | "internalType": "address",
|
282 | "name": "",
|
283 | "type": "address"
|
284 | }
|
285 | ],
|
286 | "stateMutability": "view",
|
287 | "type": "function"
|
288 | },
|
289 | {
|
290 | "inputs": [
|
291 | {
|
292 | "internalType": "bytes4",
|
293 | "name": "selector",
|
294 | "type": "bytes4"
|
295 | }
|
296 | ],
|
297 | "name": "getImplementation",
|
298 | "outputs": [
|
299 | {
|
300 | "internalType": "address",
|
301 | "name": "",
|
302 | "type": "address"
|
303 | }
|
304 | ],
|
305 | "stateMutability": "view",
|
306 | "type": "function"
|
307 | },
|
308 | {
|
309 | "inputs": [
|
310 | {
|
311 | "internalType": "address",
|
312 | "name": "partner",
|
313 | "type": "address"
|
314 | }
|
315 | ],
|
316 | "name": "getPartnerFeeStructure",
|
317 | "outputs": [
|
318 | {
|
319 | "components": [
|
320 | {
|
321 | "internalType": "uint256",
|
322 | "name": "partnerShare",
|
323 | "type": "uint256"
|
324 | },
|
325 | {
|
326 | "internalType": "bool",
|
327 | "name": "noPositiveSlippage",
|
328 | "type": "bool"
|
329 | },
|
330 | {
|
331 | "internalType": "bool",
|
332 | "name": "positiveSlippageToUser",
|
333 | "type": "bool"
|
334 | },
|
335 | {
|
336 | "internalType": "uint16",
|
337 | "name": "feePercent",
|
338 | "type": "uint16"
|
339 | },
|
340 | {
|
341 | "internalType": "string",
|
342 | "name": "partnerId",
|
343 | "type": "string"
|
344 | },
|
345 | {
|
346 | "internalType": "bytes",
|
347 | "name": "data",
|
348 | "type": "bytes"
|
349 | }
|
350 | ],
|
351 | "internalType": "struct AugustusStorage.FeeStructure",
|
352 | "name": "",
|
353 | "type": "tuple"
|
354 | }
|
355 | ],
|
356 | "stateMutability": "view",
|
357 | "type": "function"
|
358 | },
|
359 | {
|
360 | "inputs": [
|
361 | {
|
362 | "internalType": "bytes32",
|
363 | "name": "role",
|
364 | "type": "bytes32"
|
365 | }
|
366 | ],
|
367 | "name": "getRoleAdmin",
|
368 | "outputs": [
|
369 | {
|
370 | "internalType": "bytes32",
|
371 | "name": "",
|
372 | "type": "bytes32"
|
373 | }
|
374 | ],
|
375 | "stateMutability": "view",
|
376 | "type": "function"
|
377 | },
|
378 | {
|
379 | "inputs": [
|
380 | {
|
381 | "internalType": "bytes32",
|
382 | "name": "role",
|
383 | "type": "bytes32"
|
384 | },
|
385 | {
|
386 | "internalType": "uint256",
|
387 | "name": "index",
|
388 | "type": "uint256"
|
389 | }
|
390 | ],
|
391 | "name": "getRoleMember",
|
392 | "outputs": [
|
393 | {
|
394 | "internalType": "address",
|
395 | "name": "",
|
396 | "type": "address"
|
397 | }
|
398 | ],
|
399 | "stateMutability": "view",
|
400 | "type": "function"
|
401 | },
|
402 | {
|
403 | "inputs": [
|
404 | {
|
405 | "internalType": "bytes32",
|
406 | "name": "role",
|
407 | "type": "bytes32"
|
408 | }
|
409 | ],
|
410 | "name": "getRoleMemberCount",
|
411 | "outputs": [
|
412 | {
|
413 | "internalType": "uint256",
|
414 | "name": "",
|
415 | "type": "uint256"
|
416 | }
|
417 | ],
|
418 | "stateMutability": "view",
|
419 | "type": "function"
|
420 | },
|
421 | {
|
422 | "inputs": [
|
423 | {
|
424 | "internalType": "bytes32",
|
425 | "name": "key",
|
426 | "type": "bytes32"
|
427 | }
|
428 | ],
|
429 | "name": "getRouterData",
|
430 | "outputs": [
|
431 | {
|
432 | "internalType": "bytes",
|
433 | "name": "",
|
434 | "type": "bytes"
|
435 | }
|
436 | ],
|
437 | "stateMutability": "view",
|
438 | "type": "function"
|
439 | },
|
440 | {
|
441 | "inputs": [],
|
442 | "name": "getTokenTransferProxy",
|
443 | "outputs": [
|
444 | {
|
445 | "internalType": "address",
|
446 | "name": "",
|
447 | "type": "address"
|
448 | }
|
449 | ],
|
450 | "stateMutability": "view",
|
451 | "type": "function"
|
452 | },
|
453 | {
|
454 | "inputs": [],
|
455 | "name": "getVersion",
|
456 | "outputs": [
|
457 | {
|
458 | "internalType": "string",
|
459 | "name": "",
|
460 | "type": "string"
|
461 | }
|
462 | ],
|
463 | "stateMutability": "pure",
|
464 | "type": "function"
|
465 | },
|
466 | {
|
467 | "inputs": [
|
468 | {
|
469 | "internalType": "bytes32",
|
470 | "name": "role",
|
471 | "type": "bytes32"
|
472 | },
|
473 | {
|
474 | "internalType": "address",
|
475 | "name": "account",
|
476 | "type": "address"
|
477 | }
|
478 | ],
|
479 | "name": "grantRole",
|
480 | "outputs": [],
|
481 | "stateMutability": "nonpayable",
|
482 | "type": "function"
|
483 | },
|
484 | {
|
485 | "inputs": [
|
486 | {
|
487 | "internalType": "bytes32",
|
488 | "name": "role",
|
489 | "type": "bytes32"
|
490 | },
|
491 | {
|
492 | "internalType": "address",
|
493 | "name": "account",
|
494 | "type": "address"
|
495 | }
|
496 | ],
|
497 | "name": "hasRole",
|
498 | "outputs": [
|
499 | {
|
500 | "internalType": "bool",
|
501 | "name": "",
|
502 | "type": "bool"
|
503 | }
|
504 | ],
|
505 | "stateMutability": "view",
|
506 | "type": "function"
|
507 | },
|
508 | {
|
509 | "inputs": [
|
510 | {
|
511 | "internalType": "address",
|
512 | "name": "adapter",
|
513 | "type": "address"
|
514 | },
|
515 | {
|
516 | "internalType": "bytes",
|
517 | "name": "data",
|
518 | "type": "bytes"
|
519 | }
|
520 | ],
|
521 | "name": "initializeAdapter",
|
522 | "outputs": [],
|
523 | "stateMutability": "nonpayable",
|
524 | "type": "function"
|
525 | },
|
526 | {
|
527 | "inputs": [
|
528 | {
|
529 | "internalType": "address",
|
530 | "name": "router",
|
531 | "type": "address"
|
532 | },
|
533 | {
|
534 | "internalType": "bytes",
|
535 | "name": "data",
|
536 | "type": "bytes"
|
537 | }
|
538 | ],
|
539 | "name": "initializeRouter",
|
540 | "outputs": [],
|
541 | "stateMutability": "nonpayable",
|
542 | "type": "function"
|
543 | },
|
544 | {
|
545 | "inputs": [
|
546 | {
|
547 | "internalType": "bytes32",
|
548 | "name": "key",
|
549 | "type": "bytes32"
|
550 | }
|
551 | ],
|
552 | "name": "isAdapterInitialized",
|
553 | "outputs": [
|
554 | {
|
555 | "internalType": "bool",
|
556 | "name": "",
|
557 | "type": "bool"
|
558 | }
|
559 | ],
|
560 | "stateMutability": "view",
|
561 | "type": "function"
|
562 | },
|
563 | {
|
564 | "inputs": [
|
565 | {
|
566 | "internalType": "bytes32",
|
567 | "name": "key",
|
568 | "type": "bytes32"
|
569 | }
|
570 | ],
|
571 | "name": "isRouterInitialized",
|
572 | "outputs": [
|
573 | {
|
574 | "internalType": "bool",
|
575 | "name": "",
|
576 | "type": "bool"
|
577 | }
|
578 | ],
|
579 | "stateMutability": "view",
|
580 | "type": "function"
|
581 | },
|
582 | {
|
583 | "inputs": [
|
584 | {
|
585 | "internalType": "address",
|
586 | "name": "partner",
|
587 | "type": "address"
|
588 | },
|
589 | {
|
590 | "internalType": "uint256",
|
591 | "name": "_partnerShare",
|
592 | "type": "uint256"
|
593 | },
|
594 | {
|
595 | "internalType": "bool",
|
596 | "name": "_noPositiveSlippage",
|
597 | "type": "bool"
|
598 | },
|
599 | {
|
600 | "internalType": "bool",
|
601 | "name": "_positiveSlippageToUser",
|
602 | "type": "bool"
|
603 | },
|
604 | {
|
605 | "internalType": "uint16",
|
606 | "name": "_feePercent",
|
607 | "type": "uint16"
|
608 | },
|
609 | {
|
610 | "internalType": "string",
|
611 | "name": "partnerId",
|
612 | "type": "string"
|
613 | },
|
614 | {
|
615 | "internalType": "bytes",
|
616 | "name": "_data",
|
617 | "type": "bytes"
|
618 | }
|
619 | ],
|
620 | "name": "registerPartner",
|
621 | "outputs": [],
|
622 | "stateMutability": "nonpayable",
|
623 | "type": "function"
|
624 | },
|
625 | {
|
626 | "inputs": [
|
627 | {
|
628 | "internalType": "bytes32",
|
629 | "name": "role",
|
630 | "type": "bytes32"
|
631 | },
|
632 | {
|
633 | "internalType": "address",
|
634 | "name": "account",
|
635 | "type": "address"
|
636 | }
|
637 | ],
|
638 | "name": "renounceRole",
|
639 | "outputs": [],
|
640 | "stateMutability": "nonpayable",
|
641 | "type": "function"
|
642 | },
|
643 | {
|
644 | "inputs": [
|
645 | {
|
646 | "internalType": "bytes32",
|
647 | "name": "role",
|
648 | "type": "bytes32"
|
649 | },
|
650 | {
|
651 | "internalType": "address",
|
652 | "name": "account",
|
653 | "type": "address"
|
654 | }
|
655 | ],
|
656 | "name": "revokeRole",
|
657 | "outputs": [],
|
658 | "stateMutability": "nonpayable",
|
659 | "type": "function"
|
660 | },
|
661 | {
|
662 | "inputs": [
|
663 | {
|
664 | "internalType": "address payable",
|
665 | "name": "_feeWallet",
|
666 | "type": "address"
|
667 | }
|
668 | ],
|
669 | "name": "setFeeWallet",
|
670 | "outputs": [],
|
671 | "stateMutability": "nonpayable",
|
672 | "type": "function"
|
673 | },
|
674 | {
|
675 | "inputs": [
|
676 | {
|
677 | "internalType": "bytes4",
|
678 | "name": "selector",
|
679 | "type": "bytes4"
|
680 | },
|
681 | {
|
682 | "internalType": "address",
|
683 | "name": "implementation",
|
684 | "type": "address"
|
685 | }
|
686 | ],
|
687 | "name": "setImplementation",
|
688 | "outputs": [],
|
689 | "stateMutability": "nonpayable",
|
690 | "type": "function"
|
691 | },
|
692 | {
|
693 | "inputs": [
|
694 | {
|
695 | "internalType": "address",
|
696 | "name": "token",
|
697 | "type": "address"
|
698 | },
|
699 | {
|
700 | "internalType": "address payable",
|
701 | "name": "destination",
|
702 | "type": "address"
|
703 | },
|
704 | {
|
705 | "internalType": "uint256",
|
706 | "name": "amount",
|
707 | "type": "uint256"
|
708 | }
|
709 | ],
|
710 | "name": "transferTokens",
|
711 | "outputs": [],
|
712 | "stateMutability": "nonpayable",
|
713 | "type": "function"
|
714 | },
|
715 | {
|
716 | "stateMutability": "payable",
|
717 | "type": "receive"
|
718 | },
|
719 | {
|
720 | "anonymous": false,
|
721 | "inputs": [
|
722 | {
|
723 | "indexed": false,
|
724 | "internalType": "bytes16",
|
725 | "name": "uuid",
|
726 | "type": "bytes16"
|
727 | },
|
728 | {
|
729 | "indexed": false,
|
730 | "internalType": "address",
|
731 | "name": "initiator",
|
732 | "type": "address"
|
733 | },
|
734 | {
|
735 | "indexed": true,
|
736 | "internalType": "address",
|
737 | "name": "beneficiary",
|
738 | "type": "address"
|
739 | },
|
740 | {
|
741 | "indexed": true,
|
742 | "internalType": "address",
|
743 | "name": "srcToken",
|
744 | "type": "address"
|
745 | },
|
746 | {
|
747 | "indexed": true,
|
748 | "internalType": "address",
|
749 | "name": "destToken",
|
750 | "type": "address"
|
751 | },
|
752 | {
|
753 | "indexed": false,
|
754 | "internalType": "uint256",
|
755 | "name": "srcAmount",
|
756 | "type": "uint256"
|
757 | },
|
758 | {
|
759 | "indexed": false,
|
760 | "internalType": "uint256",
|
761 | "name": "receivedAmount",
|
762 | "type": "uint256"
|
763 | }
|
764 | ],
|
765 | "name": "Bought",
|
766 | "type": "event"
|
767 | },
|
768 | {
|
769 | "anonymous": false,
|
770 | "inputs": [
|
771 | {
|
772 | "indexed": false,
|
773 | "internalType": "uint256",
|
774 | "name": "fee",
|
775 | "type": "uint256"
|
776 | },
|
777 | {
|
778 | "indexed": false,
|
779 | "internalType": "uint256",
|
780 | "name": "partnerShare",
|
781 | "type": "uint256"
|
782 | },
|
783 | {
|
784 | "indexed": false,
|
785 | "internalType": "uint256",
|
786 | "name": "paraswapShare",
|
787 | "type": "uint256"
|
788 | }
|
789 | ],
|
790 | "name": "FeeTaken",
|
791 | "type": "event"
|
792 | },
|
793 | {
|
794 | "anonymous": false,
|
795 | "inputs": [
|
796 | {
|
797 | "indexed": false,
|
798 | "internalType": "bytes16",
|
799 | "name": "uuid",
|
800 | "type": "bytes16"
|
801 | },
|
802 | {
|
803 | "indexed": false,
|
804 | "internalType": "address",
|
805 | "name": "initiator",
|
806 | "type": "address"
|
807 | },
|
808 | {
|
809 | "indexed": true,
|
810 | "internalType": "address",
|
811 | "name": "beneficiary",
|
812 | "type": "address"
|
813 | },
|
814 | {
|
815 | "indexed": true,
|
816 | "internalType": "address",
|
817 | "name": "srcToken",
|
818 | "type": "address"
|
819 | },
|
820 | {
|
821 | "indexed": true,
|
822 | "internalType": "address",
|
823 | "name": "destToken",
|
824 | "type": "address"
|
825 | },
|
826 | {
|
827 | "indexed": false,
|
828 | "internalType": "uint256",
|
829 | "name": "srcAmount",
|
830 | "type": "uint256"
|
831 | },
|
832 | {
|
833 | "indexed": false,
|
834 | "internalType": "uint256",
|
835 | "name": "receivedAmount",
|
836 | "type": "uint256"
|
837 | },
|
838 | {
|
839 | "indexed": false,
|
840 | "internalType": "uint256",
|
841 | "name": "expectedAmount",
|
842 | "type": "uint256"
|
843 | }
|
844 | ],
|
845 | "name": "Swapped",
|
846 | "type": "event"
|
847 | },
|
848 | {
|
849 | "inputs": [
|
850 | {
|
851 | "internalType": "uint256",
|
852 | "name": "amountInMax",
|
853 | "type": "uint256"
|
854 | },
|
855 | {
|
856 | "internalType": "uint256",
|
857 | "name": "amountOut",
|
858 | "type": "uint256"
|
859 | },
|
860 | {
|
861 | "internalType": "address[]",
|
862 | "name": "path",
|
863 | "type": "address[]"
|
864 | }
|
865 | ],
|
866 | "name": "buyOnUniswap",
|
867 | "outputs": [],
|
868 | "stateMutability": "payable",
|
869 | "type": "function"
|
870 | },
|
871 | {
|
872 | "inputs": [
|
873 | {
|
874 | "internalType": "address",
|
875 | "name": "factory",
|
876 | "type": "address"
|
877 | },
|
878 | {
|
879 | "internalType": "bytes32",
|
880 | "name": "initCode",
|
881 | "type": "bytes32"
|
882 | },
|
883 | {
|
884 | "internalType": "uint256",
|
885 | "name": "amountInMax",
|
886 | "type": "uint256"
|
887 | },
|
888 | {
|
889 | "internalType": "uint256",
|
890 | "name": "amountOut",
|
891 | "type": "uint256"
|
892 | },
|
893 | {
|
894 | "internalType": "address[]",
|
895 | "name": "path",
|
896 | "type": "address[]"
|
897 | }
|
898 | ],
|
899 | "name": "buyOnUniswapFork",
|
900 | "outputs": [],
|
901 | "stateMutability": "payable",
|
902 | "type": "function"
|
903 | },
|
904 | {
|
905 | "inputs": [
|
906 | {
|
907 | "internalType": "address",
|
908 | "name": "tokenIn",
|
909 | "type": "address"
|
910 | },
|
911 | {
|
912 | "internalType": "uint256",
|
913 | "name": "amountInMax",
|
914 | "type": "uint256"
|
915 | },
|
916 | {
|
917 | "internalType": "uint256",
|
918 | "name": "amountOut",
|
919 | "type": "uint256"
|
920 | },
|
921 | {
|
922 | "internalType": "address",
|
923 | "name": "weth",
|
924 | "type": "address"
|
925 | },
|
926 | {
|
927 | "internalType": "uint256[]",
|
928 | "name": "pools",
|
929 | "type": "uint256[]"
|
930 | }
|
931 | ],
|
932 | "name": "buyOnUniswapV2Fork",
|
933 | "outputs": [],
|
934 | "stateMutability": "payable",
|
935 | "type": "function"
|
936 | },
|
937 | {
|
938 | "inputs": [
|
939 | {
|
940 | "components": [
|
941 | {
|
942 | "internalType": "address",
|
943 | "name": "fromToken",
|
944 | "type": "address"
|
945 | },
|
946 | {
|
947 | "internalType": "uint256",
|
948 | "name": "fromAmount",
|
949 | "type": "uint256"
|
950 | },
|
951 | {
|
952 | "internalType": "uint256",
|
953 | "name": "toAmount",
|
954 | "type": "uint256"
|
955 | },
|
956 | {
|
957 | "internalType": "uint256",
|
958 | "name": "expectedAmount",
|
959 | "type": "uint256"
|
960 | },
|
961 | {
|
962 | "internalType": "address payable",
|
963 | "name": "beneficiary",
|
964 | "type": "address"
|
965 | },
|
966 | {
|
967 | "components": [
|
968 | {
|
969 | "internalType": "uint256",
|
970 | "name": "fromAmountPercent",
|
971 | "type": "uint256"
|
972 | },
|
973 | {
|
974 | "components": [
|
975 | {
|
976 | "internalType": "address",
|
977 | "name": "to",
|
978 | "type": "address"
|
979 | },
|
980 | {
|
981 | "internalType": "uint256",
|
982 | "name": "totalNetworkFee",
|
983 | "type": "uint256"
|
984 | },
|
985 | {
|
986 | "components": [
|
987 | {
|
988 | "internalType": "address payable",
|
989 | "name": "adapter",
|
990 | "type": "address"
|
991 | },
|
992 | {
|
993 | "internalType": "uint256",
|
994 | "name": "percent",
|
995 | "type": "uint256"
|
996 | },
|
997 | {
|
998 | "internalType": "uint256",
|
999 | "name": "networkFee",
|
1000 | "type": "uint256"
|
1001 | },
|
1002 | {
|
1003 | "components": [
|
1004 | {
|
1005 | "internalType": "uint256",
|
1006 | "name": "index",
|
1007 | "type": "uint256"
|
1008 | },
|
1009 | {
|
1010 | "internalType": "address",
|
1011 | "name": "targetExchange",
|
1012 | "type": "address"
|
1013 | },
|
1014 | {
|
1015 | "internalType": "uint256",
|
1016 | "name": "percent",
|
1017 | "type": "uint256"
|
1018 | },
|
1019 | {
|
1020 | "internalType": "bytes",
|
1021 | "name": "payload",
|
1022 | "type": "bytes"
|
1023 | },
|
1024 | {
|
1025 | "internalType": "uint256",
|
1026 | "name": "networkFee",
|
1027 | "type": "uint256"
|
1028 | }
|
1029 | ],
|
1030 | "internalType": "struct Utils.Route[]",
|
1031 | "name": "route",
|
1032 | "type": "tuple[]"
|
1033 | }
|
1034 | ],
|
1035 | "internalType": "struct Utils.Adapter[]",
|
1036 | "name": "adapters",
|
1037 | "type": "tuple[]"
|
1038 | }
|
1039 | ],
|
1040 | "internalType": "struct Utils.Path[]",
|
1041 | "name": "path",
|
1042 | "type": "tuple[]"
|
1043 | }
|
1044 | ],
|
1045 | "internalType": "struct Utils.MegaSwapPath[]",
|
1046 | "name": "path",
|
1047 | "type": "tuple[]"
|
1048 | },
|
1049 | {
|
1050 | "internalType": "address payable",
|
1051 | "name": "partner",
|
1052 | "type": "address"
|
1053 | },
|
1054 | {
|
1055 | "internalType": "uint256",
|
1056 | "name": "feePercent",
|
1057 | "type": "uint256"
|
1058 | },
|
1059 | {
|
1060 | "internalType": "bytes",
|
1061 | "name": "permit",
|
1062 | "type": "bytes"
|
1063 | },
|
1064 | {
|
1065 | "internalType": "uint256",
|
1066 | "name": "deadline",
|
1067 | "type": "uint256"
|
1068 | },
|
1069 | {
|
1070 | "internalType": "bytes16",
|
1071 | "name": "uuid",
|
1072 | "type": "bytes16"
|
1073 | }
|
1074 | ],
|
1075 | "internalType": "struct Utils.MegaSwapSellData",
|
1076 | "name": "data",
|
1077 | "type": "tuple"
|
1078 | }
|
1079 | ],
|
1080 | "name": "megaSwap",
|
1081 | "outputs": [
|
1082 | {
|
1083 | "internalType": "uint256",
|
1084 | "name": "",
|
1085 | "type": "uint256"
|
1086 | }
|
1087 | ],
|
1088 | "stateMutability": "payable",
|
1089 | "type": "function"
|
1090 | },
|
1091 | {
|
1092 | "inputs": [
|
1093 | {
|
1094 | "components": [
|
1095 | {
|
1096 | "internalType": "address",
|
1097 | "name": "fromToken",
|
1098 | "type": "address"
|
1099 | },
|
1100 | {
|
1101 | "internalType": "uint256",
|
1102 | "name": "fromAmount",
|
1103 | "type": "uint256"
|
1104 | },
|
1105 | {
|
1106 | "internalType": "uint256",
|
1107 | "name": "toAmount",
|
1108 | "type": "uint256"
|
1109 | },
|
1110 | {
|
1111 | "internalType": "uint256",
|
1112 | "name": "expectedAmount",
|
1113 | "type": "uint256"
|
1114 | },
|
1115 | {
|
1116 | "internalType": "address payable",
|
1117 | "name": "beneficiary",
|
1118 | "type": "address"
|
1119 | },
|
1120 | {
|
1121 | "components": [
|
1122 | {
|
1123 | "internalType": "address",
|
1124 | "name": "to",
|
1125 | "type": "address"
|
1126 | },
|
1127 | {
|
1128 | "internalType": "uint256",
|
1129 | "name": "totalNetworkFee",
|
1130 | "type": "uint256"
|
1131 | },
|
1132 | {
|
1133 | "components": [
|
1134 | {
|
1135 | "internalType": "address payable",
|
1136 | "name": "adapter",
|
1137 | "type": "address"
|
1138 | },
|
1139 | {
|
1140 | "internalType": "uint256",
|
1141 | "name": "percent",
|
1142 | "type": "uint256"
|
1143 | },
|
1144 | {
|
1145 | "internalType": "uint256",
|
1146 | "name": "networkFee",
|
1147 | "type": "uint256"
|
1148 | },
|
1149 | {
|
1150 | "components": [
|
1151 | {
|
1152 | "internalType": "uint256",
|
1153 | "name": "index",
|
1154 | "type": "uint256"
|
1155 | },
|
1156 | {
|
1157 | "internalType": "address",
|
1158 | "name": "targetExchange",
|
1159 | "type": "address"
|
1160 | },
|
1161 | {
|
1162 | "internalType": "uint256",
|
1163 | "name": "percent",
|
1164 | "type": "uint256"
|
1165 | },
|
1166 | {
|
1167 | "internalType": "bytes",
|
1168 | "name": "payload",
|
1169 | "type": "bytes"
|
1170 | },
|
1171 | {
|
1172 | "internalType": "uint256",
|
1173 | "name": "networkFee",
|
1174 | "type": "uint256"
|
1175 | }
|
1176 | ],
|
1177 | "internalType": "struct Utils.Route[]",
|
1178 | "name": "route",
|
1179 | "type": "tuple[]"
|
1180 | }
|
1181 | ],
|
1182 | "internalType": "struct Utils.Adapter[]",
|
1183 | "name": "adapters",
|
1184 | "type": "tuple[]"
|
1185 | }
|
1186 | ],
|
1187 | "internalType": "struct Utils.Path[]",
|
1188 | "name": "path",
|
1189 | "type": "tuple[]"
|
1190 | },
|
1191 | {
|
1192 | "internalType": "address payable",
|
1193 | "name": "partner",
|
1194 | "type": "address"
|
1195 | },
|
1196 | {
|
1197 | "internalType": "uint256",
|
1198 | "name": "feePercent",
|
1199 | "type": "uint256"
|
1200 | },
|
1201 | {
|
1202 | "internalType": "bytes",
|
1203 | "name": "permit",
|
1204 | "type": "bytes"
|
1205 | },
|
1206 | {
|
1207 | "internalType": "uint256",
|
1208 | "name": "deadline",
|
1209 | "type": "uint256"
|
1210 | },
|
1211 | {
|
1212 | "internalType": "bytes16",
|
1213 | "name": "uuid",
|
1214 | "type": "bytes16"
|
1215 | }
|
1216 | ],
|
1217 | "internalType": "struct Utils.SellData",
|
1218 | "name": "data",
|
1219 | "type": "tuple"
|
1220 | }
|
1221 | ],
|
1222 | "name": "multiSwap",
|
1223 | "outputs": [
|
1224 | {
|
1225 | "internalType": "uint256",
|
1226 | "name": "",
|
1227 | "type": "uint256"
|
1228 | }
|
1229 | ],
|
1230 | "stateMutability": "payable",
|
1231 | "type": "function"
|
1232 | },
|
1233 | {
|
1234 | "inputs": [
|
1235 | {
|
1236 | "components": [
|
1237 | {
|
1238 | "internalType": "address",
|
1239 | "name": "fromToken",
|
1240 | "type": "address"
|
1241 | },
|
1242 | {
|
1243 | "internalType": "uint256",
|
1244 | "name": "fromAmount",
|
1245 | "type": "uint256"
|
1246 | },
|
1247 | {
|
1248 | "internalType": "uint256",
|
1249 | "name": "toAmount",
|
1250 | "type": "uint256"
|
1251 | },
|
1252 | {
|
1253 | "internalType": "uint256",
|
1254 | "name": "expectedAmount",
|
1255 | "type": "uint256"
|
1256 | },
|
1257 | {
|
1258 | "internalType": "address payable",
|
1259 | "name": "beneficiary",
|
1260 | "type": "address"
|
1261 | },
|
1262 | {
|
1263 | "components": [
|
1264 | {
|
1265 | "internalType": "uint256",
|
1266 | "name": "fromAmountPercent",
|
1267 | "type": "uint256"
|
1268 | },
|
1269 | {
|
1270 | "components": [
|
1271 | {
|
1272 | "internalType": "address",
|
1273 | "name": "to",
|
1274 | "type": "address"
|
1275 | },
|
1276 | {
|
1277 | "internalType": "uint256",
|
1278 | "name": "totalNetworkFee",
|
1279 | "type": "uint256"
|
1280 | },
|
1281 | {
|
1282 | "components": [
|
1283 | {
|
1284 | "internalType": "address payable",
|
1285 | "name": "adapter",
|
1286 | "type": "address"
|
1287 | },
|
1288 | {
|
1289 | "internalType": "uint256",
|
1290 | "name": "percent",
|
1291 | "type": "uint256"
|
1292 | },
|
1293 | {
|
1294 | "internalType": "uint256",
|
1295 | "name": "networkFee",
|
1296 | "type": "uint256"
|
1297 | },
|
1298 | {
|
1299 | "components": [
|
1300 | {
|
1301 | "internalType": "uint256",
|
1302 | "name": "index",
|
1303 | "type": "uint256"
|
1304 | },
|
1305 | {
|
1306 | "internalType": "address",
|
1307 | "name": "targetExchange",
|
1308 | "type": "address"
|
1309 | },
|
1310 | {
|
1311 | "internalType": "uint256",
|
1312 | "name": "percent",
|
1313 | "type": "uint256"
|
1314 | },
|
1315 | {
|
1316 | "internalType": "bytes",
|
1317 | "name": "payload",
|
1318 | "type": "bytes"
|
1319 | },
|
1320 | {
|
1321 | "internalType": "uint256",
|
1322 | "name": "networkFee",
|
1323 | "type": "uint256"
|
1324 | }
|
1325 | ],
|
1326 | "internalType": "struct Utils.Route[]",
|
1327 | "name": "route",
|
1328 | "type": "tuple[]"
|
1329 | }
|
1330 | ],
|
1331 | "internalType": "struct Utils.Adapter[]",
|
1332 | "name": "adapters",
|
1333 | "type": "tuple[]"
|
1334 | }
|
1335 | ],
|
1336 | "internalType": "struct Utils.Path[]",
|
1337 | "name": "path",
|
1338 | "type": "tuple[]"
|
1339 | }
|
1340 | ],
|
1341 | "internalType": "struct Utils.MegaSwapPath[]",
|
1342 | "name": "path",
|
1343 | "type": "tuple[]"
|
1344 | },
|
1345 | {
|
1346 | "internalType": "address payable",
|
1347 | "name": "partner",
|
1348 | "type": "address"
|
1349 | },
|
1350 | {
|
1351 | "internalType": "uint256",
|
1352 | "name": "feePercent",
|
1353 | "type": "uint256"
|
1354 | },
|
1355 | {
|
1356 | "internalType": "bytes",
|
1357 | "name": "permit",
|
1358 | "type": "bytes"
|
1359 | },
|
1360 | {
|
1361 | "internalType": "uint256",
|
1362 | "name": "deadline",
|
1363 | "type": "uint256"
|
1364 | },
|
1365 | {
|
1366 | "internalType": "bytes16",
|
1367 | "name": "uuid",
|
1368 | "type": "bytes16"
|
1369 | }
|
1370 | ],
|
1371 | "internalType": "struct Utils.MegaSwapSellData",
|
1372 | "name": "data",
|
1373 | "type": "tuple"
|
1374 | }
|
1375 | ],
|
1376 | "name": "protectedMegaSwap",
|
1377 | "outputs": [
|
1378 | {
|
1379 | "internalType": "uint256",
|
1380 | "name": "",
|
1381 | "type": "uint256"
|
1382 | }
|
1383 | ],
|
1384 | "stateMutability": "payable",
|
1385 | "type": "function"
|
1386 | },
|
1387 | {
|
1388 | "inputs": [
|
1389 | {
|
1390 | "components": [
|
1391 | {
|
1392 | "internalType": "address",
|
1393 | "name": "fromToken",
|
1394 | "type": "address"
|
1395 | },
|
1396 | {
|
1397 | "internalType": "uint256",
|
1398 | "name": "fromAmount",
|
1399 | "type": "uint256"
|
1400 | },
|
1401 | {
|
1402 | "internalType": "uint256",
|
1403 | "name": "toAmount",
|
1404 | "type": "uint256"
|
1405 | },
|
1406 | {
|
1407 | "internalType": "uint256",
|
1408 | "name": "expectedAmount",
|
1409 | "type": "uint256"
|
1410 | },
|
1411 | {
|
1412 | "internalType": "address payable",
|
1413 | "name": "beneficiary",
|
1414 | "type": "address"
|
1415 | },
|
1416 | {
|
1417 | "components": [
|
1418 | {
|
1419 | "internalType": "address",
|
1420 | "name": "to",
|
1421 | "type": "address"
|
1422 | },
|
1423 | {
|
1424 | "internalType": "uint256",
|
1425 | "name": "totalNetworkFee",
|
1426 | "type": "uint256"
|
1427 | },
|
1428 | {
|
1429 | "components": [
|
1430 | {
|
1431 | "internalType": "address payable",
|
1432 | "name": "adapter",
|
1433 | "type": "address"
|
1434 | },
|
1435 | {
|
1436 | "internalType": "uint256",
|
1437 | "name": "percent",
|
1438 | "type": "uint256"
|
1439 | },
|
1440 | {
|
1441 | "internalType": "uint256",
|
1442 | "name": "networkFee",
|
1443 | "type": "uint256"
|
1444 | },
|
1445 | {
|
1446 | "components": [
|
1447 | {
|
1448 | "internalType": "uint256",
|
1449 | "name": "index",
|
1450 | "type": "uint256"
|
1451 | },
|
1452 | {
|
1453 | "internalType": "address",
|
1454 | "name": "targetExchange",
|
1455 | "type": "address"
|
1456 | },
|
1457 | {
|
1458 | "internalType": "uint256",
|
1459 | "name": "percent",
|
1460 | "type": "uint256"
|
1461 | },
|
1462 | {
|
1463 | "internalType": "bytes",
|
1464 | "name": "payload",
|
1465 | "type": "bytes"
|
1466 | },
|
1467 | {
|
1468 | "internalType": "uint256",
|
1469 | "name": "networkFee",
|
1470 | "type": "uint256"
|
1471 | }
|
1472 | ],
|
1473 | "internalType": "struct Utils.Route[]",
|
1474 | "name": "route",
|
1475 | "type": "tuple[]"
|
1476 | }
|
1477 | ],
|
1478 | "internalType": "struct Utils.Adapter[]",
|
1479 | "name": "adapters",
|
1480 | "type": "tuple[]"
|
1481 | }
|
1482 | ],
|
1483 | "internalType": "struct Utils.Path[]",
|
1484 | "name": "path",
|
1485 | "type": "tuple[]"
|
1486 | },
|
1487 | {
|
1488 | "internalType": "address payable",
|
1489 | "name": "partner",
|
1490 | "type": "address"
|
1491 | },
|
1492 | {
|
1493 | "internalType": "uint256",
|
1494 | "name": "feePercent",
|
1495 | "type": "uint256"
|
1496 | },
|
1497 | {
|
1498 | "internalType": "bytes",
|
1499 | "name": "permit",
|
1500 | "type": "bytes"
|
1501 | },
|
1502 | {
|
1503 | "internalType": "uint256",
|
1504 | "name": "deadline",
|
1505 | "type": "uint256"
|
1506 | },
|
1507 | {
|
1508 | "internalType": "bytes16",
|
1509 | "name": "uuid",
|
1510 | "type": "bytes16"
|
1511 | }
|
1512 | ],
|
1513 | "internalType": "struct Utils.SellData",
|
1514 | "name": "data",
|
1515 | "type": "tuple"
|
1516 | }
|
1517 | ],
|
1518 | "name": "protectedMultiSwap",
|
1519 | "outputs": [
|
1520 | {
|
1521 | "internalType": "uint256",
|
1522 | "name": "",
|
1523 | "type": "uint256"
|
1524 | }
|
1525 | ],
|
1526 | "stateMutability": "payable",
|
1527 | "type": "function"
|
1528 | },
|
1529 | {
|
1530 | "inputs": [
|
1531 | {
|
1532 | "components": [
|
1533 | {
|
1534 | "internalType": "address",
|
1535 | "name": "fromToken",
|
1536 | "type": "address"
|
1537 | },
|
1538 | {
|
1539 | "internalType": "address",
|
1540 | "name": "toToken",
|
1541 | "type": "address"
|
1542 | },
|
1543 | {
|
1544 | "internalType": "uint256",
|
1545 | "name": "fromAmount",
|
1546 | "type": "uint256"
|
1547 | },
|
1548 | {
|
1549 | "internalType": "uint256",
|
1550 | "name": "toAmount",
|
1551 | "type": "uint256"
|
1552 | },
|
1553 | {
|
1554 | "internalType": "uint256",
|
1555 | "name": "expectedAmount",
|
1556 | "type": "uint256"
|
1557 | },
|
1558 | {
|
1559 | "internalType": "address[]",
|
1560 | "name": "callees",
|
1561 | "type": "address[]"
|
1562 | },
|
1563 | {
|
1564 | "internalType": "bytes",
|
1565 | "name": "exchangeData",
|
1566 | "type": "bytes"
|
1567 | },
|
1568 | {
|
1569 | "internalType": "uint256[]",
|
1570 | "name": "startIndexes",
|
1571 | "type": "uint256[]"
|
1572 | },
|
1573 | {
|
1574 | "internalType": "uint256[]",
|
1575 | "name": "values",
|
1576 | "type": "uint256[]"
|
1577 | },
|
1578 | {
|
1579 | "internalType": "address payable",
|
1580 | "name": "beneficiary",
|
1581 | "type": "address"
|
1582 | },
|
1583 | {
|
1584 | "internalType": "address payable",
|
1585 | "name": "partner",
|
1586 | "type": "address"
|
1587 | },
|
1588 | {
|
1589 | "internalType": "uint256",
|
1590 | "name": "feePercent",
|
1591 | "type": "uint256"
|
1592 | },
|
1593 | {
|
1594 | "internalType": "bytes",
|
1595 | "name": "permit",
|
1596 | "type": "bytes"
|
1597 | },
|
1598 | {
|
1599 | "internalType": "uint256",
|
1600 | "name": "deadline",
|
1601 | "type": "uint256"
|
1602 | },
|
1603 | {
|
1604 | "internalType": "bytes16",
|
1605 | "name": "uuid",
|
1606 | "type": "bytes16"
|
1607 | }
|
1608 | ],
|
1609 | "internalType": "struct Utils.SimpleData",
|
1610 | "name": "data",
|
1611 | "type": "tuple"
|
1612 | }
|
1613 | ],
|
1614 | "name": "protectedSimpleBuy",
|
1615 | "outputs": [],
|
1616 | "stateMutability": "payable",
|
1617 | "type": "function"
|
1618 | },
|
1619 | {
|
1620 | "inputs": [
|
1621 | {
|
1622 | "components": [
|
1623 | {
|
1624 | "internalType": "address",
|
1625 | "name": "fromToken",
|
1626 | "type": "address"
|
1627 | },
|
1628 | {
|
1629 | "internalType": "address",
|
1630 | "name": "toToken",
|
1631 | "type": "address"
|
1632 | },
|
1633 | {
|
1634 | "internalType": "uint256",
|
1635 | "name": "fromAmount",
|
1636 | "type": "uint256"
|
1637 | },
|
1638 | {
|
1639 | "internalType": "uint256",
|
1640 | "name": "toAmount",
|
1641 | "type": "uint256"
|
1642 | },
|
1643 | {
|
1644 | "internalType": "uint256",
|
1645 | "name": "expectedAmount",
|
1646 | "type": "uint256"
|
1647 | },
|
1648 | {
|
1649 | "internalType": "address[]",
|
1650 | "name": "callees",
|
1651 | "type": "address[]"
|
1652 | },
|
1653 | {
|
1654 | "internalType": "bytes",
|
1655 | "name": "exchangeData",
|
1656 | "type": "bytes"
|
1657 | },
|
1658 | {
|
1659 | "internalType": "uint256[]",
|
1660 | "name": "startIndexes",
|
1661 | "type": "uint256[]"
|
1662 | },
|
1663 | {
|
1664 | "internalType": "uint256[]",
|
1665 | "name": "values",
|
1666 | "type": "uint256[]"
|
1667 | },
|
1668 | {
|
1669 | "internalType": "address payable",
|
1670 | "name": "beneficiary",
|
1671 | "type": "address"
|
1672 | },
|
1673 | {
|
1674 | "internalType": "address payable",
|
1675 | "name": "partner",
|
1676 | "type": "address"
|
1677 | },
|
1678 | {
|
1679 | "internalType": "uint256",
|
1680 | "name": "feePercent",
|
1681 | "type": "uint256"
|
1682 | },
|
1683 | {
|
1684 | "internalType": "bytes",
|
1685 | "name": "permit",
|
1686 | "type": "bytes"
|
1687 | },
|
1688 | {
|
1689 | "internalType": "uint256",
|
1690 | "name": "deadline",
|
1691 | "type": "uint256"
|
1692 | },
|
1693 | {
|
1694 | "internalType": "bytes16",
|
1695 | "name": "uuid",
|
1696 | "type": "bytes16"
|
1697 | }
|
1698 | ],
|
1699 | "internalType": "struct Utils.SimpleData",
|
1700 | "name": "data",
|
1701 | "type": "tuple"
|
1702 | }
|
1703 | ],
|
1704 | "name": "protectedSimpleSwap",
|
1705 | "outputs": [
|
1706 | {
|
1707 | "internalType": "uint256",
|
1708 | "name": "receivedAmount",
|
1709 | "type": "uint256"
|
1710 | }
|
1711 | ],
|
1712 | "stateMutability": "payable",
|
1713 | "type": "function"
|
1714 | },
|
1715 | {
|
1716 | "inputs": [
|
1717 | {
|
1718 | "components": [
|
1719 | {
|
1720 | "internalType": "address",
|
1721 | "name": "fromToken",
|
1722 | "type": "address"
|
1723 | },
|
1724 | {
|
1725 | "internalType": "address",
|
1726 | "name": "toToken",
|
1727 | "type": "address"
|
1728 | },
|
1729 | {
|
1730 | "internalType": "uint256",
|
1731 | "name": "fromAmount",
|
1732 | "type": "uint256"
|
1733 | },
|
1734 | {
|
1735 | "internalType": "uint256",
|
1736 | "name": "toAmount",
|
1737 | "type": "uint256"
|
1738 | },
|
1739 | {
|
1740 | "internalType": "uint256",
|
1741 | "name": "expectedAmount",
|
1742 | "type": "uint256"
|
1743 | },
|
1744 | {
|
1745 | "internalType": "address[]",
|
1746 | "name": "callees",
|
1747 | "type": "address[]"
|
1748 | },
|
1749 | {
|
1750 | "internalType": "bytes",
|
1751 | "name": "exchangeData",
|
1752 | "type": "bytes"
|
1753 | },
|
1754 | {
|
1755 | "internalType": "uint256[]",
|
1756 | "name": "startIndexes",
|
1757 | "type": "uint256[]"
|
1758 | },
|
1759 | {
|
1760 | "internalType": "uint256[]",
|
1761 | "name": "values",
|
1762 | "type": "uint256[]"
|
1763 | },
|
1764 | {
|
1765 | "internalType": "address payable",
|
1766 | "name": "beneficiary",
|
1767 | "type": "address"
|
1768 | },
|
1769 | {
|
1770 | "internalType": "address payable",
|
1771 | "name": "partner",
|
1772 | "type": "address"
|
1773 | },
|
1774 | {
|
1775 | "internalType": "uint256",
|
1776 | "name": "feePercent",
|
1777 | "type": "uint256"
|
1778 | },
|
1779 | {
|
1780 | "internalType": "bytes",
|
1781 | "name": "permit",
|
1782 | "type": "bytes"
|
1783 | },
|
1784 | {
|
1785 | "internalType": "uint256",
|
1786 | "name": "deadline",
|
1787 | "type": "uint256"
|
1788 | },
|
1789 | {
|
1790 | "internalType": "bytes16",
|
1791 | "name": "uuid",
|
1792 | "type": "bytes16"
|
1793 | }
|
1794 | ],
|
1795 | "internalType": "struct Utils.SimpleData",
|
1796 | "name": "data",
|
1797 | "type": "tuple"
|
1798 | }
|
1799 | ],
|
1800 | "name": "simpleBuy",
|
1801 | "outputs": [],
|
1802 | "stateMutability": "payable",
|
1803 | "type": "function"
|
1804 | },
|
1805 | {
|
1806 | "inputs": [
|
1807 | {
|
1808 | "components": [
|
1809 | {
|
1810 | "internalType": "address",
|
1811 | "name": "fromToken",
|
1812 | "type": "address"
|
1813 | },
|
1814 | {
|
1815 | "internalType": "address",
|
1816 | "name": "toToken",
|
1817 | "type": "address"
|
1818 | },
|
1819 | {
|
1820 | "internalType": "uint256",
|
1821 | "name": "fromAmount",
|
1822 | "type": "uint256"
|
1823 | },
|
1824 | {
|
1825 | "internalType": "uint256",
|
1826 | "name": "toAmount",
|
1827 | "type": "uint256"
|
1828 | },
|
1829 | {
|
1830 | "internalType": "uint256",
|
1831 | "name": "expectedAmount",
|
1832 | "type": "uint256"
|
1833 | },
|
1834 | {
|
1835 | "internalType": "address[]",
|
1836 | "name": "callees",
|
1837 | "type": "address[]"
|
1838 | },
|
1839 | {
|
1840 | "internalType": "bytes",
|
1841 | "name": "exchangeData",
|
1842 | "type": "bytes"
|
1843 | },
|
1844 | {
|
1845 | "internalType": "uint256[]",
|
1846 | "name": "startIndexes",
|
1847 | "type": "uint256[]"
|
1848 | },
|
1849 | {
|
1850 | "internalType": "uint256[]",
|
1851 | "name": "values",
|
1852 | "type": "uint256[]"
|
1853 | },
|
1854 | {
|
1855 | "internalType": "address payable",
|
1856 | "name": "beneficiary",
|
1857 | "type": "address"
|
1858 | },
|
1859 | {
|
1860 | "internalType": "address payable",
|
1861 | "name": "partner",
|
1862 | "type": "address"
|
1863 | },
|
1864 | {
|
1865 | "internalType": "uint256",
|
1866 | "name": "feePercent",
|
1867 | "type": "uint256"
|
1868 | },
|
1869 | {
|
1870 | "internalType": "bytes",
|
1871 | "name": "permit",
|
1872 | "type": "bytes"
|
1873 | },
|
1874 | {
|
1875 | "internalType": "uint256",
|
1876 | "name": "deadline",
|
1877 | "type": "uint256"
|
1878 | },
|
1879 | {
|
1880 | "internalType": "bytes16",
|
1881 | "name": "uuid",
|
1882 | "type": "bytes16"
|
1883 | }
|
1884 | ],
|
1885 | "internalType": "struct Utils.SimpleData",
|
1886 | "name": "data",
|
1887 | "type": "tuple"
|
1888 | }
|
1889 | ],
|
1890 | "name": "simpleSwap",
|
1891 | "outputs": [
|
1892 | {
|
1893 | "internalType": "uint256",
|
1894 | "name": "receivedAmount",
|
1895 | "type": "uint256"
|
1896 | }
|
1897 | ],
|
1898 | "stateMutability": "payable",
|
1899 | "type": "function"
|
1900 | },
|
1901 | {
|
1902 | "inputs": [
|
1903 | {
|
1904 | "internalType": "uint256",
|
1905 | "name": "amountIn",
|
1906 | "type": "uint256"
|
1907 | },
|
1908 | {
|
1909 | "internalType": "uint256",
|
1910 | "name": "amountOutMin",
|
1911 | "type": "uint256"
|
1912 | },
|
1913 | {
|
1914 | "internalType": "address[]",
|
1915 | "name": "path",
|
1916 | "type": "address[]"
|
1917 | }
|
1918 | ],
|
1919 | "name": "swapOnUniswap",
|
1920 | "outputs": [],
|
1921 | "stateMutability": "payable",
|
1922 | "type": "function"
|
1923 | },
|
1924 | {
|
1925 | "inputs": [
|
1926 | {
|
1927 | "internalType": "address",
|
1928 | "name": "factory",
|
1929 | "type": "address"
|
1930 | },
|
1931 | {
|
1932 | "internalType": "bytes32",
|
1933 | "name": "initCode",
|
1934 | "type": "bytes32"
|
1935 | },
|
1936 | {
|
1937 | "internalType": "uint256",
|
1938 | "name": "amountIn",
|
1939 | "type": "uint256"
|
1940 | },
|
1941 | {
|
1942 | "internalType": "uint256",
|
1943 | "name": "amountOutMin",
|
1944 | "type": "uint256"
|
1945 | },
|
1946 | {
|
1947 | "internalType": "address[]",
|
1948 | "name": "path",
|
1949 | "type": "address[]"
|
1950 | }
|
1951 | ],
|
1952 | "name": "swapOnUniswapFork",
|
1953 | "outputs": [],
|
1954 | "stateMutability": "payable",
|
1955 | "type": "function"
|
1956 | },
|
1957 | {
|
1958 | "inputs": [
|
1959 | {
|
1960 | "internalType": "address",
|
1961 | "name": "tokenIn",
|
1962 | "type": "address"
|
1963 | },
|
1964 | {
|
1965 | "internalType": "uint256",
|
1966 | "name": "amountIn",
|
1967 | "type": "uint256"
|
1968 | },
|
1969 | {
|
1970 | "internalType": "uint256",
|
1971 | "name": "amountOutMin",
|
1972 | "type": "uint256"
|
1973 | },
|
1974 | {
|
1975 | "internalType": "address",
|
1976 | "name": "weth",
|
1977 | "type": "address"
|
1978 | },
|
1979 | {
|
1980 | "internalType": "uint256[]",
|
1981 | "name": "pools",
|
1982 | "type": "uint256[]"
|
1983 | }
|
1984 | ],
|
1985 | "name": "swapOnUniswapV2Fork",
|
1986 | "outputs": [],
|
1987 | "stateMutability": "payable",
|
1988 | "type": "function"
|
1989 | },
|
1990 | {
|
1991 | "inputs": [
|
1992 | {
|
1993 | "internalType": "contract IERC20",
|
1994 | "name": "fromToken",
|
1995 | "type": "address"
|
1996 | },
|
1997 | {
|
1998 | "internalType": "contract IERC20",
|
1999 | "name": "toToken",
|
2000 | "type": "address"
|
2001 | },
|
2002 | {
|
2003 | "internalType": "uint256",
|
2004 | "name": "fromAmount",
|
2005 | "type": "uint256"
|
2006 | },
|
2007 | {
|
2008 | "internalType": "uint256",
|
2009 | "name": "amountOutMin",
|
2010 | "type": "uint256"
|
2011 | },
|
2012 | {
|
2013 | "internalType": "address",
|
2014 | "name": "exchange",
|
2015 | "type": "address"
|
2016 | },
|
2017 | {
|
2018 | "internalType": "bytes",
|
2019 | "name": "payload",
|
2020 | "type": "bytes"
|
2021 | }
|
2022 | ],
|
2023 | "name": "swapOnZeroXv2",
|
2024 | "outputs": [],
|
2025 | "stateMutability": "payable",
|
2026 | "type": "function"
|
2027 | },
|
2028 | {
|
2029 | "inputs": [
|
2030 | {
|
2031 | "internalType": "contract IERC20",
|
2032 | "name": "fromToken",
|
2033 | "type": "address"
|
2034 | },
|
2035 | {
|
2036 | "internalType": "contract IERC20",
|
2037 | "name": "toToken",
|
2038 | "type": "address"
|
2039 | },
|
2040 | {
|
2041 | "internalType": "uint256",
|
2042 | "name": "fromAmount",
|
2043 | "type": "uint256"
|
2044 | },
|
2045 | {
|
2046 | "internalType": "uint256",
|
2047 | "name": "amountOutMin",
|
2048 | "type": "uint256"
|
2049 | },
|
2050 | {
|
2051 | "internalType": "address",
|
2052 | "name": "exchange",
|
2053 | "type": "address"
|
2054 | },
|
2055 | {
|
2056 | "internalType": "bytes",
|
2057 | "name": "payload",
|
2058 | "type": "bytes"
|
2059 | }
|
2060 | ],
|
2061 | "name": "swapOnZeroXv4",
|
2062 | "outputs": [],
|
2063 | "stateMutability": "payable",
|
2064 | "type": "function"
|
2065 | }
|
2066 | ]
|
2067 | },
|
2068 | "0x1bd435f3c054b6e901b7b108a0ab7617c808677b": {
|
2069 | "0x0863b7ac": {
|
2070 | "plugin": "Paraswap",
|
2071 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b0863b7ac",
|
2072 | "signature": "3045022100f6e1a922c745e244fa3ed9a865491672808ef93f492ee0410861d748c5de201f0220160d6522499f3a84fa3e744b3b81e49e129e997b28495e58671a1169b16fa777",
|
2073 | "erc20OfInterest": [
|
2074 | "path.0",
|
2075 | "path.-1"
|
2076 | ]
|
2077 | },
|
2078 | "0x33635226": {
|
2079 | "plugin": "Paraswap",
|
2080 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b33635226",
|
2081 | "signature": "3044022065ca71afa7794dfe2734a30dc898e1c68c63c88ff0f6ebda231bdc3142af95400220036ed1ce1d692602cfe3cd8f242343e46fdb4a65fd8e4336b50ffa8df630ff60",
|
2082 | "erc20OfInterest": [
|
2083 | "path.0",
|
2084 | "path.-1"
|
2085 | ]
|
2086 | },
|
2087 | "0x58b9d179": {
|
2088 | "plugin": "Paraswap",
|
2089 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b58b9d179",
|
2090 | "signature": "3045022100fcf9f8608a5907d4a350ee04cb1f4871d1fcc55928b2884179c299f269b036cd022071846ae2faef7383de89adfc91440243f5a30b7249c899a49fa4333e882e20bf",
|
2091 | "erc20OfInterest": [
|
2092 | "path.0",
|
2093 | "path.-1"
|
2094 | ]
|
2095 | },
|
2096 | "0x8f00eccb": {
|
2097 | "plugin": "Paraswap",
|
2098 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b8f00eccb",
|
2099 | "signature": "30450221009a0afd48e31d3e0ec2d7c4c362b293f8893dbcacb5b705ecb92370a031bcd85e0220697a15b3eb546033a167a476c9c7cd8c24359585e6316563dadfbacaf6e3b520",
|
2100 | "erc20OfInterest": [
|
2101 | "data.fromToken",
|
2102 | "data.path.-1.to"
|
2103 | ]
|
2104 | },
|
2105 | "0xa27e8b6b": {
|
2106 | "plugin": "Paraswap",
|
2107 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677ba27e8b6b",
|
2108 | "signature": "304402200f2f9a1cba30bc4b7795003a311095a8ce4820416e7899659874acec47369a6c02205efddb555434ece84b42ea3dcc53b01d8eec2c212fe0f5af057546f487a8429c",
|
2109 | "erc20OfInterest": [
|
2110 | "fromToken",
|
2111 | "toToken"
|
2112 | ]
|
2113 | },
|
2114 | "0xcfc0afeb": {
|
2115 | "plugin": "Paraswap",
|
2116 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bcfc0afeb",
|
2117 | "signature": "304402201c0cbe69aac517825b3a6eb5e7251e8fd57ff93a43bd3df52c7a841818eda81b022001a10cc326efaee2463fc96e7c29739c308fb8179bd2ac37303662bae4f7705c",
|
2118 | "erc20OfInterest": [
|
2119 | "fromToken",
|
2120 | "toToken"
|
2121 | ]
|
2122 | },
|
2123 | "0xec1d21dd": {
|
2124 | "plugin": "Paraswap",
|
2125 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bec1d21dd",
|
2126 | "signature": "3045022100ee2b33270cf910f481e64b7781c4693e7bc86e338476d65c30c9f3d41fa4924e022079fc72cc69954f5ab1949e7d2f3023948f10dc94c9455999eb2ef38ac25fe33d",
|
2127 | "erc20OfInterest": [
|
2128 | "data.fromToken",
|
2129 | "data.path.0.path.-1.to"
|
2130 | ]
|
2131 | },
|
2132 | "0xf9355f72": {
|
2133 | "plugin": "Paraswap",
|
2134 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf9355f72",
|
2135 | "signature": "304502210083e27fb14f09dc5e52a3ab9374ff39bf5cfd1fa373f957f675f122b74a867fb202202d6e107b219ea246b8c51f19df738c4968974d17b0ee128e8a44de9254507678",
|
2136 | "erc20OfInterest": [
|
2137 | "path.0",
|
2138 | "path.-1"
|
2139 | ]
|
2140 | },
|
2141 | "0xf95a49eb": {
|
2142 | "plugin": "Paraswap",
|
2143 | "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf95a49eb",
|
2144 | "signature": "304402201e93873c5d1c7e07ae016757fd21f4c97bdfd4bf60e35f214e0f9e174b0f3fc80220639ff1e38daad2c7f3a5f4cafb020ebcc867f10be4c4a465e342ae791fab0c24",
|
2145 | "erc20OfInterest": [
|
2146 | "data.fromToken",
|
2147 | "data.toToken"
|
2148 | ]
|
2149 | },
|
2150 | "abi": [
|
2151 | {
|
2152 | "anonymous": false,
|
2153 | "inputs": [
|
2154 | {
|
2155 | "indexed": true,
|
2156 | "internalType": "address",
|
2157 | "name": "adapter",
|
2158 | "type": "address"
|
2159 | }
|
2160 | ],
|
2161 | "name": "AdapterInitialized",
|
2162 | "type": "event"
|
2163 | },
|
2164 | {
|
2165 | "anonymous": false,
|
2166 | "inputs": [
|
2167 | {
|
2168 | "indexed": false,
|
2169 | "internalType": "address",
|
2170 | "name": "initiator",
|
2171 | "type": "address"
|
2172 | },
|
2173 | {
|
2174 | "indexed": true,
|
2175 | "internalType": "address",
|
2176 | "name": "beneficiary",
|
2177 | "type": "address"
|
2178 | },
|
2179 | {
|
2180 | "indexed": true,
|
2181 | "internalType": "address",
|
2182 | "name": "srcToken",
|
2183 | "type": "address"
|
2184 | },
|
2185 | {
|
2186 | "indexed": true,
|
2187 | "internalType": "address",
|
2188 | "name": "destToken",
|
2189 | "type": "address"
|
2190 | },
|
2191 | {
|
2192 | "indexed": false,
|
2193 | "internalType": "uint256",
|
2194 | "name": "srcAmount",
|
2195 | "type": "uint256"
|
2196 | },
|
2197 | {
|
2198 | "indexed": false,
|
2199 | "internalType": "uint256",
|
2200 | "name": "receivedAmount",
|
2201 | "type": "uint256"
|
2202 | },
|
2203 | {
|
2204 | "indexed": false,
|
2205 | "internalType": "string",
|
2206 | "name": "referrer",
|
2207 | "type": "string"
|
2208 | }
|
2209 | ],
|
2210 | "name": "Bought",
|
2211 | "type": "event"
|
2212 | },
|
2213 | {
|
2214 | "anonymous": false,
|
2215 | "inputs": [
|
2216 | {
|
2217 | "indexed": false,
|
2218 | "internalType": "uint256",
|
2219 | "name": "fee",
|
2220 | "type": "uint256"
|
2221 | },
|
2222 | {
|
2223 | "indexed": false,
|
2224 | "internalType": "uint256",
|
2225 | "name": "partnerShare",
|
2226 | "type": "uint256"
|
2227 | },
|
2228 | {
|
2229 | "indexed": false,
|
2230 | "internalType": "uint256",
|
2231 | "name": "paraswapShare",
|
2232 | "type": "uint256"
|
2233 | }
|
2234 | ],
|
2235 | "name": "FeeTaken",
|
2236 | "type": "event"
|
2237 | },
|
2238 | {
|
2239 | "anonymous": false,
|
2240 | "inputs": [
|
2241 | {
|
2242 | "indexed": true,
|
2243 | "internalType": "address",
|
2244 | "name": "previousOwner",
|
2245 | "type": "address"
|
2246 | },
|
2247 | {
|
2248 | "indexed": true,
|
2249 | "internalType": "address",
|
2250 | "name": "newOwner",
|
2251 | "type": "address"
|
2252 | }
|
2253 | ],
|
2254 | "name": "OwnershipTransferred",
|
2255 | "type": "event"
|
2256 | },
|
2257 | {
|
2258 | "anonymous": false,
|
2259 | "inputs": [
|
2260 | {
|
2261 | "indexed": false,
|
2262 | "internalType": "address",
|
2263 | "name": "initiator",
|
2264 | "type": "address"
|
2265 | },
|
2266 | {
|
2267 | "indexed": true,
|
2268 | "internalType": "address",
|
2269 | "name": "beneficiary",
|
2270 | "type": "address"
|
2271 | },
|
2272 | {
|
2273 | "indexed": true,
|
2274 | "internalType": "address",
|
2275 | "name": "srcToken",
|
2276 | "type": "address"
|
2277 | },
|
2278 | {
|
2279 | "indexed": true,
|
2280 | "internalType": "address",
|
2281 | "name": "destToken",
|
2282 | "type": "address"
|
2283 | },
|
2284 | {
|
2285 | "indexed": false,
|
2286 | "internalType": "uint256",
|
2287 | "name": "srcAmount",
|
2288 | "type": "uint256"
|
2289 | },
|
2290 | {
|
2291 | "indexed": false,
|
2292 | "internalType": "uint256",
|
2293 | "name": "receivedAmount",
|
2294 | "type": "uint256"
|
2295 | },
|
2296 | {
|
2297 | "indexed": false,
|
2298 | "internalType": "uint256",
|
2299 | "name": "expectedAmount",
|
2300 | "type": "uint256"
|
2301 | },
|
2302 | {
|
2303 | "indexed": false,
|
2304 | "internalType": "string",
|
2305 | "name": "referrer",
|
2306 | "type": "string"
|
2307 | }
|
2308 | ],
|
2309 | "name": "Swapped",
|
2310 | "type": "event"
|
2311 | },
|
2312 | {
|
2313 | "inputs": [
|
2314 | {
|
2315 | "internalType": "address",
|
2316 | "name": "token",
|
2317 | "type": "address"
|
2318 | },
|
2319 | {
|
2320 | "internalType": "address",
|
2321 | "name": "to",
|
2322 | "type": "address"
|
2323 | },
|
2324 | {
|
2325 | "internalType": "uint256",
|
2326 | "name": "amount",
|
2327 | "type": "uint256"
|
2328 | }
|
2329 | ],
|
2330 | "name": "approve",
|
2331 | "outputs": [],
|
2332 | "stateMutability": "nonpayable",
|
2333 | "type": "function"
|
2334 | },
|
2335 | {
|
2336 | "inputs": [
|
2337 | {
|
2338 | "components": [
|
2339 | {
|
2340 | "internalType": "address",
|
2341 | "name": "fromToken",
|
2342 | "type": "address"
|
2343 | },
|
2344 | {
|
2345 | "internalType": "address",
|
2346 | "name": "toToken",
|
2347 | "type": "address"
|
2348 | },
|
2349 | {
|
2350 | "internalType": "uint256",
|
2351 | "name": "fromAmount",
|
2352 | "type": "uint256"
|
2353 | },
|
2354 | {
|
2355 | "internalType": "uint256",
|
2356 | "name": "toAmount",
|
2357 | "type": "uint256"
|
2358 | },
|
2359 | {
|
2360 | "internalType": "address payable",
|
2361 | "name": "beneficiary",
|
2362 | "type": "address"
|
2363 | },
|
2364 | {
|
2365 | "internalType": "string",
|
2366 | "name": "referrer",
|
2367 | "type": "string"
|
2368 | },
|
2369 | {
|
2370 | "internalType": "bool",
|
2371 | "name": "useReduxToken",
|
2372 | "type": "bool"
|
2373 | },
|
2374 | {
|
2375 | "components": [
|
2376 | {
|
2377 | "internalType": "address payable",
|
2378 | "name": "exchange",
|
2379 | "type": "address"
|
2380 | },
|
2381 | {
|
2382 | "internalType": "address",
|
2383 | "name": "targetExchange",
|
2384 | "type": "address"
|
2385 | },
|
2386 | {
|
2387 | "internalType": "uint256",
|
2388 | "name": "fromAmount",
|
2389 | "type": "uint256"
|
2390 | },
|
2391 | {
|
2392 | "internalType": "uint256",
|
2393 | "name": "toAmount",
|
2394 | "type": "uint256"
|
2395 | },
|
2396 | {
|
2397 | "internalType": "bytes",
|
2398 | "name": "payload",
|
2399 | "type": "bytes"
|
2400 | },
|
2401 | {
|
2402 | "internalType": "uint256",
|
2403 | "name": "networkFee",
|
2404 | "type": "uint256"
|
2405 | }
|
2406 | ],
|
2407 | "internalType": "struct Utils.BuyRoute[]",
|
2408 | "name": "route",
|
2409 | "type": "tuple[]"
|
2410 | }
|
2411 | ],
|
2412 | "internalType": "struct Utils.BuyData",
|
2413 | "name": "data",
|
2414 | "type": "tuple"
|
2415 | }
|
2416 | ],
|
2417 | "name": "buy",
|
2418 | "outputs": [
|
2419 | {
|
2420 | "internalType": "uint256",
|
2421 | "name": "",
|
2422 | "type": "uint256"
|
2423 | }
|
2424 | ],
|
2425 | "stateMutability": "payable",
|
2426 | "type": "function"
|
2427 | },
|
2428 | {
|
2429 | "inputs": [
|
2430 | {
|
2431 | "internalType": "uint256",
|
2432 | "name": "amountInMax",
|
2433 | "type": "uint256"
|
2434 | },
|
2435 | {
|
2436 | "internalType": "uint256",
|
2437 | "name": "amountOut",
|
2438 | "type": "uint256"
|
2439 | },
|
2440 | {
|
2441 | "internalType": "address[]",
|
2442 | "name": "path",
|
2443 | "type": "address[]"
|
2444 | },
|
2445 | {
|
2446 | "internalType": "uint8",
|
2447 | "name": "referrer",
|
2448 | "type": "uint8"
|
2449 | }
|
2450 | ],
|
2451 | "name": "buyOnUniswap",
|
2452 | "outputs": [],
|
2453 | "stateMutability": "payable",
|
2454 | "type": "function"
|
2455 | },
|
2456 | {
|
2457 | "inputs": [
|
2458 | {
|
2459 | "internalType": "address",
|
2460 | "name": "factory",
|
2461 | "type": "address"
|
2462 | },
|
2463 | {
|
2464 | "internalType": "bytes32",
|
2465 | "name": "initCode",
|
2466 | "type": "bytes32"
|
2467 | },
|
2468 | {
|
2469 | "internalType": "uint256",
|
2470 | "name": "amountInMax",
|
2471 | "type": "uint256"
|
2472 | },
|
2473 | {
|
2474 | "internalType": "uint256",
|
2475 | "name": "amountOut",
|
2476 | "type": "uint256"
|
2477 | },
|
2478 | {
|
2479 | "internalType": "address[]",
|
2480 | "name": "path",
|
2481 | "type": "address[]"
|
2482 | },
|
2483 | {
|
2484 | "internalType": "uint8",
|
2485 | "name": "referrer",
|
2486 | "type": "uint8"
|
2487 | }
|
2488 | ],
|
2489 | "name": "buyOnUniswapFork",
|
2490 | "outputs": [],
|
2491 | "stateMutability": "payable",
|
2492 | "type": "function"
|
2493 | },
|
2494 | {
|
2495 | "inputs": [
|
2496 | {
|
2497 | "internalType": "address",
|
2498 | "name": "uniswapProxy",
|
2499 | "type": "address"
|
2500 | }
|
2501 | ],
|
2502 | "name": "changeUniswapProxy",
|
2503 | "outputs": [],
|
2504 | "stateMutability": "nonpayable",
|
2505 | "type": "function"
|
2506 | },
|
2507 | {
|
2508 | "inputs": [],
|
2509 | "name": "confirmUniswapProxyChange",
|
2510 | "outputs": [],
|
2511 | "stateMutability": "nonpayable",
|
2512 | "type": "function"
|
2513 | },
|
2514 | {
|
2515 | "inputs": [],
|
2516 | "name": "getChangeRequestedBlock",
|
2517 | "outputs": [
|
2518 | {
|
2519 | "internalType": "uint256",
|
2520 | "name": "",
|
2521 | "type": "uint256"
|
2522 | }
|
2523 | ],
|
2524 | "stateMutability": "view",
|
2525 | "type": "function"
|
2526 | },
|
2527 | {
|
2528 | "inputs": [
|
2529 | {
|
2530 | "internalType": "bytes32",
|
2531 | "name": "key",
|
2532 | "type": "bytes32"
|
2533 | }
|
2534 | ],
|
2535 | "name": "getData",
|
2536 | "outputs": [
|
2537 | {
|
2538 | "internalType": "bytes",
|
2539 | "name": "",
|
2540 | "type": "bytes"
|
2541 | }
|
2542 | ],
|
2543 | "stateMutability": "view",
|
2544 | "type": "function"
|
2545 | },
|
2546 | {
|
2547 | "inputs": [],
|
2548 | "name": "getFeeWallet",
|
2549 | "outputs": [
|
2550 | {
|
2551 | "internalType": "address",
|
2552 | "name": "",
|
2553 | "type": "address"
|
2554 | }
|
2555 | ],
|
2556 | "stateMutability": "view",
|
2557 | "type": "function"
|
2558 | },
|
2559 | {
|
2560 | "inputs": [],
|
2561 | "name": "getPartnerRegistry",
|
2562 | "outputs": [
|
2563 | {
|
2564 | "internalType": "address",
|
2565 | "name": "",
|
2566 | "type": "address"
|
2567 | }
|
2568 | ],
|
2569 | "stateMutability": "view",
|
2570 | "type": "function"
|
2571 | },
|
2572 | {
|
2573 | "inputs": [],
|
2574 | "name": "getPendingUniswapProxy",
|
2575 | "outputs": [
|
2576 | {
|
2577 | "internalType": "address",
|
2578 | "name": "",
|
2579 | "type": "address"
|
2580 | }
|
2581 | ],
|
2582 | "stateMutability": "view",
|
2583 | "type": "function"
|
2584 | },
|
2585 | {
|
2586 | "inputs": [],
|
2587 | "name": "getTimeLock",
|
2588 | "outputs": [
|
2589 | {
|
2590 | "internalType": "uint256",
|
2591 | "name": "",
|
2592 | "type": "uint256"
|
2593 | }
|
2594 | ],
|
2595 | "stateMutability": "view",
|
2596 | "type": "function"
|
2597 | },
|
2598 | {
|
2599 | "inputs": [],
|
2600 | "name": "getTokenTransferProxy",
|
2601 | "outputs": [
|
2602 | {
|
2603 | "internalType": "address",
|
2604 | "name": "",
|
2605 | "type": "address"
|
2606 | }
|
2607 | ],
|
2608 | "stateMutability": "view",
|
2609 | "type": "function"
|
2610 | },
|
2611 | {
|
2612 | "inputs": [],
|
2613 | "name": "getUniswapProxy",
|
2614 | "outputs": [
|
2615 | {
|
2616 | "internalType": "address",
|
2617 | "name": "",
|
2618 | "type": "address"
|
2619 | }
|
2620 | ],
|
2621 | "stateMutability": "view",
|
2622 | "type": "function"
|
2623 | },
|
2624 | {
|
2625 | "inputs": [],
|
2626 | "name": "getVersion",
|
2627 | "outputs": [
|
2628 | {
|
2629 | "internalType": "string",
|
2630 | "name": "",
|
2631 | "type": "string"
|
2632 | }
|
2633 | ],
|
2634 | "stateMutability": "view",
|
2635 | "type": "function"
|
2636 | },
|
2637 | {
|
2638 | "inputs": [],
|
2639 | "name": "getWhitelistAddress",
|
2640 | "outputs": [
|
2641 | {
|
2642 | "internalType": "address",
|
2643 | "name": "",
|
2644 | "type": "address"
|
2645 | }
|
2646 | ],
|
2647 | "stateMutability": "view",
|
2648 | "type": "function"
|
2649 | },
|
2650 | {
|
2651 | "inputs": [
|
2652 | {
|
2653 | "internalType": "address",
|
2654 | "name": "whitelist",
|
2655 | "type": "address"
|
2656 | },
|
2657 | {
|
2658 | "internalType": "address",
|
2659 | "name": "reduxToken",
|
2660 | "type": "address"
|
2661 | },
|
2662 | {
|
2663 | "internalType": "address",
|
2664 | "name": "partnerRegistry",
|
2665 | "type": "address"
|
2666 | },
|
2667 | {
|
2668 | "internalType": "address payable",
|
2669 | "name": "feeWallet",
|
2670 | "type": "address"
|
2671 | },
|
2672 | {
|
2673 | "internalType": "address",
|
2674 | "name": "uniswapProxy",
|
2675 | "type": "address"
|
2676 | },
|
2677 | {
|
2678 | "internalType": "uint256",
|
2679 | "name": "timelock",
|
2680 | "type": "uint256"
|
2681 | }
|
2682 | ],
|
2683 | "name": "initialize",
|
2684 | "outputs": [],
|
2685 | "stateMutability": "nonpayable",
|
2686 | "type": "function"
|
2687 | },
|
2688 | {
|
2689 | "inputs": [
|
2690 | {
|
2691 | "internalType": "address",
|
2692 | "name": "adapter",
|
2693 | "type": "address"
|
2694 | },
|
2695 | {
|
2696 | "internalType": "bytes",
|
2697 | "name": "data",
|
2698 | "type": "bytes"
|
2699 | }
|
2700 | ],
|
2701 | "name": "initializeAdapter",
|
2702 | "outputs": [],
|
2703 | "stateMutability": "nonpayable",
|
2704 | "type": "function"
|
2705 | },
|
2706 | {
|
2707 | "inputs": [
|
2708 | {
|
2709 | "internalType": "bytes32",
|
2710 | "name": "key",
|
2711 | "type": "bytes32"
|
2712 | }
|
2713 | ],
|
2714 | "name": "isInitialized",
|
2715 | "outputs": [
|
2716 | {
|
2717 | "internalType": "bool",
|
2718 | "name": "",
|
2719 | "type": "bool"
|
2720 | }
|
2721 | ],
|
2722 | "stateMutability": "view",
|
2723 | "type": "function"
|
2724 | },
|
2725 | {
|
2726 | "inputs": [
|
2727 | {
|
2728 | "components": [
|
2729 | {
|
2730 | "internalType": "address",
|
2731 | "name": "fromToken",
|
2732 | "type": "address"
|
2733 | },
|
2734 | {
|
2735 | "internalType": "uint256",
|
2736 | "name": "fromAmount",
|
2737 | "type": "uint256"
|
2738 | },
|
2739 | {
|
2740 | "internalType": "uint256",
|
2741 | "name": "toAmount",
|
2742 | "type": "uint256"
|
2743 | },
|
2744 | {
|
2745 | "internalType": "uint256",
|
2746 | "name": "expectedAmount",
|
2747 | "type": "uint256"
|
2748 | },
|
2749 | {
|
2750 | "internalType": "address payable",
|
2751 | "name": "beneficiary",
|
2752 | "type": "address"
|
2753 | },
|
2754 | {
|
2755 | "internalType": "string",
|
2756 | "name": "referrer",
|
2757 | "type": "string"
|
2758 | },
|
2759 | {
|
2760 | "internalType": "bool",
|
2761 | "name": "useReduxToken",
|
2762 | "type": "bool"
|
2763 | },
|
2764 | {
|
2765 | "components": [
|
2766 | {
|
2767 | "internalType": "uint256",
|
2768 | "name": "fromAmountPercent",
|
2769 | "type": "uint256"
|
2770 | },
|
2771 | {
|
2772 | "components": [
|
2773 | {
|
2774 | "internalType": "address",
|
2775 | "name": "to",
|
2776 | "type": "address"
|
2777 | },
|
2778 | {
|
2779 | "internalType": "uint256",
|
2780 | "name": "totalNetworkFee",
|
2781 | "type": "uint256"
|
2782 | },
|
2783 | {
|
2784 | "components": [
|
2785 | {
|
2786 | "internalType": "address payable",
|
2787 | "name": "exchange",
|
2788 | "type": "address"
|
2789 | },
|
2790 | {
|
2791 | "internalType": "address",
|
2792 | "name": "targetExchange",
|
2793 | "type": "address"
|
2794 | },
|
2795 | {
|
2796 | "internalType": "uint256",
|
2797 | "name": "percent",
|
2798 | "type": "uint256"
|
2799 | },
|
2800 | {
|
2801 | "internalType": "bytes",
|
2802 | "name": "payload",
|
2803 | "type": "bytes"
|
2804 | },
|
2805 | {
|
2806 | "internalType": "uint256",
|
2807 | "name": "networkFee",
|
2808 | "type": "uint256"
|
2809 | }
|
2810 | ],
|
2811 | "internalType": "struct Utils.Route[]",
|
2812 | "name": "routes",
|
2813 | "type": "tuple[]"
|
2814 | }
|
2815 | ],
|
2816 | "internalType": "struct Utils.Path[]",
|
2817 | "name": "path",
|
2818 | "type": "tuple[]"
|
2819 | }
|
2820 | ],
|
2821 | "internalType": "struct Utils.MegaSwapPath[]",
|
2822 | "name": "path",
|
2823 | "type": "tuple[]"
|
2824 | }
|
2825 | ],
|
2826 | "internalType": "struct Utils.MegaSwapSellData",
|
2827 | "name": "data",
|
2828 | "type": "tuple"
|
2829 | }
|
2830 | ],
|
2831 | "name": "megaSwap",
|
2832 | "outputs": [
|
2833 | {
|
2834 | "internalType": "uint256",
|
2835 | "name": "",
|
2836 | "type": "uint256"
|
2837 | }
|
2838 | ],
|
2839 | "stateMutability": "payable",
|
2840 | "type": "function"
|
2841 | },
|
2842 | {
|
2843 | "inputs": [
|
2844 | {
|
2845 | "components": [
|
2846 | {
|
2847 | "internalType": "address",
|
2848 | "name": "fromToken",
|
2849 | "type": "address"
|
2850 | },
|
2851 | {
|
2852 | "internalType": "uint256",
|
2853 | "name": "fromAmount",
|
2854 | "type": "uint256"
|
2855 | },
|
2856 | {
|
2857 | "internalType": "uint256",
|
2858 | "name": "toAmount",
|
2859 | "type": "uint256"
|
2860 | },
|
2861 | {
|
2862 | "internalType": "uint256",
|
2863 | "name": "expectedAmount",
|
2864 | "type": "uint256"
|
2865 | },
|
2866 | {
|
2867 | "internalType": "address payable",
|
2868 | "name": "beneficiary",
|
2869 | "type": "address"
|
2870 | },
|
2871 | {
|
2872 | "internalType": "string",
|
2873 | "name": "referrer",
|
2874 | "type": "string"
|
2875 | },
|
2876 | {
|
2877 | "internalType": "bool",
|
2878 | "name": "useReduxToken",
|
2879 | "type": "bool"
|
2880 | },
|
2881 | {
|
2882 | "components": [
|
2883 | {
|
2884 | "internalType": "address",
|
2885 | "name": "to",
|
2886 | "type": "address"
|
2887 | },
|
2888 | {
|
2889 | "internalType": "uint256",
|
2890 | "name": "totalNetworkFee",
|
2891 | "type": "uint256"
|
2892 | },
|
2893 | {
|
2894 | "components": [
|
2895 | {
|
2896 | "internalType": "address payable",
|
2897 | "name": "exchange",
|
2898 | "type": "address"
|
2899 | },
|
2900 | {
|
2901 | "internalType": "address",
|
2902 | "name": "targetExchange",
|
2903 | "type": "address"
|
2904 | },
|
2905 | {
|
2906 | "internalType": "uint256",
|
2907 | "name": "percent",
|
2908 | "type": "uint256"
|
2909 | },
|
2910 | {
|
2911 | "internalType": "bytes",
|
2912 | "name": "payload",
|
2913 | "type": "bytes"
|
2914 | },
|
2915 | {
|
2916 | "internalType": "uint256",
|
2917 | "name": "networkFee",
|
2918 | "type": "uint256"
|
2919 | }
|
2920 | ],
|
2921 | "internalType": "struct Utils.Route[]",
|
2922 | "name": "routes",
|
2923 | "type": "tuple[]"
|
2924 | }
|
2925 | ],
|
2926 | "internalType": "struct Utils.Path[]",
|
2927 | "name": "path",
|
2928 | "type": "tuple[]"
|
2929 | }
|
2930 | ],
|
2931 | "internalType": "struct Utils.SellData",
|
2932 | "name": "data",
|
2933 | "type": "tuple"
|
2934 | }
|
2935 | ],
|
2936 | "name": "multiSwap",
|
2937 | "outputs": [
|
2938 | {
|
2939 | "internalType": "uint256",
|
2940 | "name": "",
|
2941 | "type": "uint256"
|
2942 | }
|
2943 | ],
|
2944 | "stateMutability": "payable",
|
2945 | "type": "function"
|
2946 | },
|
2947 | {
|
2948 | "inputs": [],
|
2949 | "name": "owner",
|
2950 | "outputs": [
|
2951 | {
|
2952 | "internalType": "address",
|
2953 | "name": "",
|
2954 | "type": "address"
|
2955 | }
|
2956 | ],
|
2957 | "stateMutability": "view",
|
2958 | "type": "function"
|
2959 | },
|
2960 | {
|
2961 | "inputs": [],
|
2962 | "name": "renounceOwnership",
|
2963 | "outputs": [],
|
2964 | "stateMutability": "nonpayable",
|
2965 | "type": "function"
|
2966 | },
|
2967 | {
|
2968 | "inputs": [
|
2969 | {
|
2970 | "internalType": "address payable",
|
2971 | "name": "feeWallet",
|
2972 | "type": "address"
|
2973 | }
|
2974 | ],
|
2975 | "name": "setFeeWallet",
|
2976 | "outputs": [],
|
2977 | "stateMutability": "nonpayable",
|
2978 | "type": "function"
|
2979 | },
|
2980 | {
|
2981 | "inputs": [
|
2982 | {
|
2983 | "internalType": "address",
|
2984 | "name": "partnerRegistry",
|
2985 | "type": "address"
|
2986 | }
|
2987 | ],
|
2988 | "name": "setPartnerRegistry",
|
2989 | "outputs": [],
|
2990 | "stateMutability": "nonpayable",
|
2991 | "type": "function"
|
2992 | },
|
2993 | {
|
2994 | "inputs": [
|
2995 | {
|
2996 | "internalType": "address",
|
2997 | "name": "whitelisted",
|
2998 | "type": "address"
|
2999 | }
|
3000 | ],
|
3001 | "name": "setWhitelistAddress",
|
3002 | "outputs": [],
|
3003 | "stateMutability": "nonpayable",
|
3004 | "type": "function"
|
3005 | },
|
3006 | {
|
3007 | "inputs": [
|
3008 | {
|
3009 | "internalType": "address",
|
3010 | "name": "fromToken",
|
3011 | "type": "address"
|
3012 | },
|
3013 | {
|
3014 | "internalType": "address",
|
3015 | "name": "toToken",
|
3016 | "type": "address"
|
3017 | },
|
3018 | {
|
3019 | "internalType": "uint256",
|
3020 | "name": "fromAmount",
|
3021 | "type": "uint256"
|
3022 | },
|
3023 | {
|
3024 | "internalType": "uint256",
|
3025 | "name": "toAmount",
|
3026 | "type": "uint256"
|
3027 | },
|
3028 | {
|
3029 | "internalType": "address[]",
|
3030 | "name": "callees",
|
3031 | "type": "address[]"
|
3032 | },
|
3033 | {
|
3034 | "internalType": "bytes",
|
3035 | "name": "exchangeData",
|
3036 | "type": "bytes"
|
3037 | },
|
3038 | {
|
3039 | "internalType": "uint256[]",
|
3040 | "name": "startIndexes",
|
3041 | "type": "uint256[]"
|
3042 | },
|
3043 | {
|
3044 | "internalType": "uint256[]",
|
3045 | "name": "values",
|
3046 | "type": "uint256[]"
|
3047 | },
|
3048 | {
|
3049 | "internalType": "address payable",
|
3050 | "name": "beneficiary",
|
3051 | "type": "address"
|
3052 | },
|
3053 | {
|
3054 | "internalType": "string",
|
3055 | "name": "referrer",
|
3056 | "type": "string"
|
3057 | },
|
3058 | {
|
3059 | "internalType": "bool",
|
3060 | "name": "useReduxToken",
|
3061 | "type": "bool"
|
3062 | }
|
3063 | ],
|
3064 | "name": "simplBuy",
|
3065 | "outputs": [],
|
3066 | "stateMutability": "payable",
|
3067 | "type": "function"
|
3068 | },
|
3069 | {
|
3070 | "inputs": [
|
3071 | {
|
3072 | "internalType": "address",
|
3073 | "name": "fromToken",
|
3074 | "type": "address"
|
3075 | },
|
3076 | {
|
3077 | "internalType": "address",
|
3078 | "name": "toToken",
|
3079 | "type": "address"
|
3080 | },
|
3081 | {
|
3082 | "internalType": "uint256",
|
3083 | "name": "fromAmount",
|
3084 | "type": "uint256"
|
3085 | },
|
3086 | {
|
3087 | "internalType": "uint256",
|
3088 | "name": "toAmount",
|
3089 | "type": "uint256"
|
3090 | },
|
3091 | {
|
3092 | "internalType": "uint256",
|
3093 | "name": "expectedAmount",
|
3094 | "type": "uint256"
|
3095 | },
|
3096 | {
|
3097 | "internalType": "address[]",
|
3098 | "name": "callees",
|
3099 | "type": "address[]"
|
3100 | },
|
3101 | {
|
3102 | "internalType": "bytes",
|
3103 | "name": "exchangeData",
|
3104 | "type": "bytes"
|
3105 | },
|
3106 | {
|
3107 | "internalType": "uint256[]",
|
3108 | "name": "startIndexes",
|
3109 | "type": "uint256[]"
|
3110 | },
|
3111 | {
|
3112 | "internalType": "uint256[]",
|
3113 | "name": "values",
|
3114 | "type": "uint256[]"
|
3115 | },
|
3116 | {
|
3117 | "internalType": "address payable",
|
3118 | "name": "beneficiary",
|
3119 | "type": "address"
|
3120 | },
|
3121 | {
|
3122 | "internalType": "string",
|
3123 | "name": "referrer",
|
3124 | "type": "string"
|
3125 | },
|
3126 | {
|
3127 | "internalType": "bool",
|
3128 | "name": "useReduxToken",
|
3129 | "type": "bool"
|
3130 | }
|
3131 | ],
|
3132 | "name": "simpleSwap",
|
3133 | "outputs": [
|
3134 | {
|
3135 | "internalType": "uint256",
|
3136 | "name": "receivedAmount",
|
3137 | "type": "uint256"
|
3138 | }
|
3139 | ],
|
3140 | "stateMutability": "payable",
|
3141 | "type": "function"
|
3142 | },
|
3143 | {
|
3144 | "inputs": [
|
3145 | {
|
3146 | "internalType": "uint256",
|
3147 | "name": "amountIn",
|
3148 | "type": "uint256"
|
3149 | },
|
3150 | {
|
3151 | "internalType": "uint256",
|
3152 | "name": "amountOutMin",
|
3153 | "type": "uint256"
|
3154 | },
|
3155 | {
|
3156 | "internalType": "address[]",
|
3157 | "name": "path",
|
3158 | "type": "address[]"
|
3159 | },
|
3160 | {
|
3161 | "internalType": "uint8",
|
3162 | "name": "referrer",
|
3163 | "type": "uint8"
|
3164 | }
|
3165 | ],
|
3166 | "name": "swapOnUniswap",
|
3167 | "outputs": [],
|
3168 | "stateMutability": "payable",
|
3169 | "type": "function"
|
3170 | },
|
3171 | {
|
3172 | "inputs": [
|
3173 | {
|
3174 | "internalType": "address",
|
3175 | "name": "factory",
|
3176 | "type": "address"
|
3177 | },
|
3178 | {
|
3179 | "internalType": "bytes32",
|
3180 | "name": "initCode",
|
3181 | "type": "bytes32"
|
3182 | },
|
3183 | {
|
3184 | "internalType": "uint256",
|
3185 | "name": "amountIn",
|
3186 | "type": "uint256"
|
3187 | },
|
3188 | {
|
3189 | "internalType": "uint256",
|
3190 | "name": "amountOutMin",
|
3191 | "type": "uint256"
|
3192 | },
|
3193 | {
|
3194 | "internalType": "address[]",
|
3195 | "name": "path",
|
3196 | "type": "address[]"
|
3197 | },
|
3198 | {
|
3199 | "internalType": "uint8",
|
3200 | "name": "referrer",
|
3201 | "type": "uint8"
|
3202 | }
|
3203 | ],
|
3204 | "name": "swapOnUniswapFork",
|
3205 | "outputs": [],
|
3206 | "stateMutability": "payable",
|
3207 | "type": "function"
|
3208 | },
|
3209 | {
|
3210 | "inputs": [
|
3211 | {
|
3212 | "internalType": "address",
|
3213 | "name": "newOwner",
|
3214 | "type": "address"
|
3215 | }
|
3216 | ],
|
3217 | "name": "transferOwnership",
|
3218 | "outputs": [],
|
3219 | "stateMutability": "nonpayable",
|
3220 | "type": "function"
|
3221 | },
|
3222 | {
|
3223 | "inputs": [
|
3224 | {
|
3225 | "internalType": "address",
|
3226 | "name": "token",
|
3227 | "type": "address"
|
3228 | },
|
3229 | {
|
3230 | "internalType": "address payable",
|
3231 | "name": "destination",
|
3232 | "type": "address"
|
3233 | },
|
3234 | {
|
3235 | "internalType": "uint256",
|
3236 | "name": "amount",
|
3237 | "type": "uint256"
|
3238 | }
|
3239 | ],
|
3240 | "name": "transferTokens",
|
3241 | "outputs": [],
|
3242 | "stateMutability": "nonpayable",
|
3243 | "type": "function"
|
3244 | },
|
3245 | {
|
3246 | "inputs": [
|
3247 | {
|
3248 | "internalType": "contract IWETH",
|
3249 | "name": "token",
|
3250 | "type": "address"
|
3251 | }
|
3252 | ],
|
3253 | "name": "withdrawAllWETH",
|
3254 | "outputs": [],
|
3255 | "stateMutability": "nonpayable",
|
3256 | "type": "function"
|
3257 | },
|
3258 | {
|
3259 | "stateMutability": "payable",
|
3260 | "type": "receive"
|
3261 | }
|
3262 | ]
|
3263 | }
|
3264 | } |
\ | No newline at end of file |