UNPKG

39.5 kBJSONView Raw
1{
2 "abi": [
3 {
4 "anonymous": false,
5 "inputs": [
6 {
7 "indexed": true,
8 "internalType": "address",
9 "name": "owner",
10 "type": "address"
11 },
12 {
13 "indexed": true,
14 "internalType": "address",
15 "name": "spender",
16 "type": "address"
17 },
18 {
19 "indexed": false,
20 "internalType": "uint256",
21 "name": "value",
22 "type": "uint256"
23 }
24 ],
25 "name": "Approval",
26 "type": "event"
27 },
28 {
29 "anonymous": false,
30 "inputs": [
31 {
32 "indexed": true,
33 "internalType": "address",
34 "name": "sender",
35 "type": "address"
36 },
37 {
38 "indexed": false,
39 "internalType": "uint256",
40 "name": "amount0",
41 "type": "uint256"
42 },
43 {
44 "indexed": false,
45 "internalType": "uint256",
46 "name": "amount1",
47 "type": "uint256"
48 },
49 {
50 "indexed": true,
51 "internalType": "address",
52 "name": "to",
53 "type": "address"
54 }
55 ],
56 "name": "Burn",
57 "type": "event"
58 },
59 {
60 "anonymous": false,
61 "inputs": [
62 {
63 "indexed": true,
64 "internalType": "address",
65 "name": "sender",
66 "type": "address"
67 },
68 {
69 "indexed": false,
70 "internalType": "uint256",
71 "name": "amount0",
72 "type": "uint256"
73 },
74 {
75 "indexed": false,
76 "internalType": "uint256",
77 "name": "amount1",
78 "type": "uint256"
79 }
80 ],
81 "name": "Mint",
82 "type": "event"
83 },
84 {
85 "anonymous": false,
86 "inputs": [
87 {
88 "indexed": true,
89 "internalType": "address",
90 "name": "sender",
91 "type": "address"
92 },
93 {
94 "indexed": false,
95 "internalType": "uint256",
96 "name": "amount0In",
97 "type": "uint256"
98 },
99 {
100 "indexed": false,
101 "internalType": "uint256",
102 "name": "amount1In",
103 "type": "uint256"
104 },
105 {
106 "indexed": false,
107 "internalType": "uint256",
108 "name": "amount0Out",
109 "type": "uint256"
110 },
111 {
112 "indexed": false,
113 "internalType": "uint256",
114 "name": "amount1Out",
115 "type": "uint256"
116 },
117 {
118 "indexed": true,
119 "internalType": "address",
120 "name": "to",
121 "type": "address"
122 }
123 ],
124 "name": "Swap",
125 "type": "event"
126 },
127 {
128 "anonymous": false,
129 "inputs": [
130 {
131 "indexed": false,
132 "internalType": "uint112",
133 "name": "reserve0",
134 "type": "uint112"
135 },
136 {
137 "indexed": false,
138 "internalType": "uint112",
139 "name": "reserve1",
140 "type": "uint112"
141 }
142 ],
143 "name": "Sync",
144 "type": "event"
145 },
146 {
147 "anonymous": false,
148 "inputs": [
149 {
150 "indexed": true,
151 "internalType": "address",
152 "name": "from",
153 "type": "address"
154 },
155 {
156 "indexed": true,
157 "internalType": "address",
158 "name": "to",
159 "type": "address"
160 },
161 {
162 "indexed": false,
163 "internalType": "uint256",
164 "name": "value",
165 "type": "uint256"
166 }
167 ],
168 "name": "Transfer",
169 "type": "event"
170 },
171 {
172 "inputs": [],
173 "name": "DOMAIN_SEPARATOR",
174 "outputs": [
175 {
176 "internalType": "bytes32",
177 "name": "",
178 "type": "bytes32"
179 }
180 ],
181 "stateMutability": "view",
182 "type": "function"
183 },
184 {
185 "inputs": [],
186 "name": "MINIMUM_LIQUIDITY",
187 "outputs": [
188 {
189 "internalType": "uint256",
190 "name": "",
191 "type": "uint256"
192 }
193 ],
194 "stateMutability": "pure",
195 "type": "function"
196 },
197 {
198 "inputs": [],
199 "name": "PERMIT_TYPEHASH",
200 "outputs": [
201 {
202 "internalType": "bytes32",
203 "name": "",
204 "type": "bytes32"
205 }
206 ],
207 "stateMutability": "pure",
208 "type": "function"
209 },
210 {
211 "inputs": [
212 {
213 "internalType": "address",
214 "name": "owner",
215 "type": "address"
216 },
217 {
218 "internalType": "address",
219 "name": "spender",
220 "type": "address"
221 }
222 ],
223 "name": "allowance",
224 "outputs": [
225 {
226 "internalType": "uint256",
227 "name": "",
228 "type": "uint256"
229 }
230 ],
231 "stateMutability": "view",
232 "type": "function"
233 },
234 {
235 "inputs": [
236 {
237 "internalType": "address",
238 "name": "spender",
239 "type": "address"
240 },
241 {
242 "internalType": "uint256",
243 "name": "value",
244 "type": "uint256"
245 }
246 ],
247 "name": "approve",
248 "outputs": [
249 {
250 "internalType": "bool",
251 "name": "",
252 "type": "bool"
253 }
254 ],
255 "stateMutability": "nonpayable",
256 "type": "function"
257 },
258 {
259 "inputs": [
260 {
261 "internalType": "address",
262 "name": "owner",
263 "type": "address"
264 }
265 ],
266 "name": "balanceOf",
267 "outputs": [
268 {
269 "internalType": "uint256",
270 "name": "",
271 "type": "uint256"
272 }
273 ],
274 "stateMutability": "view",
275 "type": "function"
276 },
277 {
278 "inputs": [
279 {
280 "internalType": "address",
281 "name": "to",
282 "type": "address"
283 }
284 ],
285 "name": "burn",
286 "outputs": [
287 {
288 "internalType": "uint256",
289 "name": "amount0",
290 "type": "uint256"
291 },
292 {
293 "internalType": "uint256",
294 "name": "amount1",
295 "type": "uint256"
296 }
297 ],
298 "stateMutability": "nonpayable",
299 "type": "function"
300 },
301 {
302 "inputs": [],
303 "name": "decimals",
304 "outputs": [
305 {
306 "internalType": "uint8",
307 "name": "",
308 "type": "uint8"
309 }
310 ],
311 "stateMutability": "pure",
312 "type": "function"
313 },
314 {
315 "inputs": [],
316 "name": "factory",
317 "outputs": [
318 {
319 "internalType": "address",
320 "name": "",
321 "type": "address"
322 }
323 ],
324 "stateMutability": "view",
325 "type": "function"
326 },
327 {
328 "inputs": [],
329 "name": "getCurveParams",
330 "outputs": [
331 {
332 "internalType": "bytes",
333 "name": "packed",
334 "type": "bytes"
335 }
336 ],
337 "stateMutability": "view",
338 "type": "function"
339 },
340 {
341 "inputs": [],
342 "name": "getReserves",
343 "outputs": [
344 {
345 "internalType": "uint112",
346 "name": "reserve0",
347 "type": "uint112"
348 },
349 {
350 "internalType": "uint112",
351 "name": "reserve1",
352 "type": "uint112"
353 },
354 {
355 "internalType": "uint32",
356 "name": "blockTimestampLast",
357 "type": "uint32"
358 }
359 ],
360 "stateMutability": "view",
361 "type": "function"
362 },
363 {
364 "inputs": [
365 {
366 "internalType": "address",
367 "name": "",
368 "type": "address"
369 },
370 {
371 "internalType": "address",
372 "name": "",
373 "type": "address"
374 },
375 {
376 "internalType": "address",
377 "name": "",
378 "type": "address"
379 },
380 {
381 "internalType": "address",
382 "name": "",
383 "type": "address"
384 },
385 {
386 "internalType": "uint256",
387 "name": "",
388 "type": "uint256"
389 },
390 {
391 "internalType": "uint256",
392 "name": "",
393 "type": "uint256"
394 },
395 {
396 "internalType": "uint256",
397 "name": "",
398 "type": "uint256"
399 }
400 ],
401 "name": "initialize",
402 "outputs": [],
403 "stateMutability": "nonpayable",
404 "type": "function"
405 },
406 {
407 "inputs": [],
408 "name": "kLast",
409 "outputs": [
410 {
411 "internalType": "uint256",
412 "name": "",
413 "type": "uint256"
414 }
415 ],
416 "stateMutability": "view",
417 "type": "function"
418 },
419 {
420 "inputs": [
421 {
422 "internalType": "address",
423 "name": "to",
424 "type": "address"
425 }
426 ],
427 "name": "mint",
428 "outputs": [
429 {
430 "internalType": "uint256",
431 "name": "liquidity",
432 "type": "uint256"
433 }
434 ],
435 "stateMutability": "nonpayable",
436 "type": "function"
437 },
438 {
439 "inputs": [],
440 "name": "name",
441 "outputs": [
442 {
443 "internalType": "string",
444 "name": "",
445 "type": "string"
446 }
447 ],
448 "stateMutability": "pure",
449 "type": "function"
450 },
451 {
452 "inputs": [
453 {
454 "internalType": "address",
455 "name": "owner",
456 "type": "address"
457 }
458 ],
459 "name": "nonces",
460 "outputs": [
461 {
462 "internalType": "uint256",
463 "name": "",
464 "type": "uint256"
465 }
466 ],
467 "stateMutability": "view",
468 "type": "function"
469 },
470 {
471 "inputs": [
472 {
473 "internalType": "address",
474 "name": "owner",
475 "type": "address"
476 },
477 {
478 "internalType": "address",
479 "name": "spender",
480 "type": "address"
481 },
482 {
483 "internalType": "uint256",
484 "name": "value",
485 "type": "uint256"
486 },
487 {
488 "internalType": "uint256",
489 "name": "deadline",
490 "type": "uint256"
491 },
492 {
493 "internalType": "uint8",
494 "name": "v",
495 "type": "uint8"
496 },
497 {
498 "internalType": "bytes32",
499 "name": "r",
500 "type": "bytes32"
501 },
502 {
503 "internalType": "bytes32",
504 "name": "s",
505 "type": "bytes32"
506 }
507 ],
508 "name": "permit",
509 "outputs": [],
510 "stateMutability": "nonpayable",
511 "type": "function"
512 },
513 {
514 "inputs": [],
515 "name": "price0CumulativeLast",
516 "outputs": [
517 {
518 "internalType": "uint256",
519 "name": "",
520 "type": "uint256"
521 }
522 ],
523 "stateMutability": "view",
524 "type": "function"
525 },
526 {
527 "inputs": [],
528 "name": "price1CumulativeLast",
529 "outputs": [
530 {
531 "internalType": "uint256",
532 "name": "",
533 "type": "uint256"
534 }
535 ],
536 "stateMutability": "view",
537 "type": "function"
538 },
539 {
540 "inputs": [
541 {
542 "internalType": "address",
543 "name": "",
544 "type": "address"
545 }
546 ],
547 "name": "setPairOwner",
548 "outputs": [],
549 "stateMutability": "nonpayable",
550 "type": "function"
551 },
552 {
553 "inputs": [
554 {
555 "internalType": "address",
556 "name": "to",
557 "type": "address"
558 }
559 ],
560 "name": "skim",
561 "outputs": [],
562 "stateMutability": "nonpayable",
563 "type": "function"
564 },
565 {
566 "inputs": [
567 {
568 "internalType": "uint256",
569 "name": "amount0Out",
570 "type": "uint256"
571 },
572 {
573 "internalType": "uint256",
574 "name": "amount1Out",
575 "type": "uint256"
576 },
577 {
578 "internalType": "address",
579 "name": "to",
580 "type": "address"
581 },
582 {
583 "internalType": "bytes",
584 "name": "data",
585 "type": "bytes"
586 }
587 ],
588 "name": "swap",
589 "outputs": [],
590 "stateMutability": "nonpayable",
591 "type": "function"
592 },
593 {
594 "inputs": [],
595 "name": "symbol",
596 "outputs": [
597 {
598 "internalType": "string",
599 "name": "",
600 "type": "string"
601 }
602 ],
603 "stateMutability": "pure",
604 "type": "function"
605 },
606 {
607 "inputs": [],
608 "name": "sync",
609 "outputs": [],
610 "stateMutability": "nonpayable",
611 "type": "function"
612 },
613 {
614 "inputs": [],
615 "name": "token0",
616 "outputs": [
617 {
618 "internalType": "address",
619 "name": "",
620 "type": "address"
621 }
622 ],
623 "stateMutability": "view",
624 "type": "function"
625 },
626 {
627 "inputs": [],
628 "name": "token1",
629 "outputs": [
630 {
631 "internalType": "address",
632 "name": "",
633 "type": "address"
634 }
635 ],
636 "stateMutability": "view",
637 "type": "function"
638 },
639 {
640 "inputs": [],
641 "name": "totalSupply",
642 "outputs": [
643 {
644 "internalType": "uint256",
645 "name": "",
646 "type": "uint256"
647 }
648 ],
649 "stateMutability": "view",
650 "type": "function"
651 },
652 {
653 "inputs": [
654 {
655 "internalType": "address",
656 "name": "to",
657 "type": "address"
658 },
659 {
660 "internalType": "uint256",
661 "name": "value",
662 "type": "uint256"
663 }
664 ],
665 "name": "transfer",
666 "outputs": [
667 {
668 "internalType": "bool",
669 "name": "",
670 "type": "bool"
671 }
672 ],
673 "stateMutability": "nonpayable",
674 "type": "function"
675 },
676 {
677 "inputs": [
678 {
679 "internalType": "address",
680 "name": "from",
681 "type": "address"
682 },
683 {
684 "internalType": "address",
685 "name": "to",
686 "type": "address"
687 },
688 {
689 "internalType": "uint256",
690 "name": "value",
691 "type": "uint256"
692 }
693 ],
694 "name": "transferFrom",
695 "outputs": [
696 {
697 "internalType": "bool",
698 "name": "",
699 "type": "bool"
700 }
701 ],
702 "stateMutability": "nonpayable",
703 "type": "function"
704 }
705 ],
706 "evm": {
707 "bytecode": {
708 "linkReferences": {},
709 "object": "",
710 "opcodes": "",
711 "sourceMap": ""
712 },
713 "deployedBytecode": {
714 "immutableReferences": {},
715 "linkReferences": {},
716 "object": "",
717 "opcodes": "",
718 "sourceMap": ""
719 }
720 },
721 "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurveParams\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"packed\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"blockTimestampLast\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setPairOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daofi/uniswap-v2-core/contracts/interfaces/IUniswapV2Pair.sol\":\"IUniswapV2Pair\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"@daofi/uniswap-v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x67a5d298b477d96f82c91282e5ffd11b525a215c3d2a290843455b04d9bf6556\",\"urls\":[\"bzz-raw://f77b9a6ec90fcfc33b80cc728619bd166260d5389818ae529f64fe0beca7a14a\",\"dweb:/ipfs/QmS1xwUSizor92CpgLsBiCaUVrgwMvg27dPcLdVhyNDC5U\"]}},\"version\":1}",
722 "interface": [
723 {
724 "anonymous": false,
725 "inputs": [
726 {
727 "indexed": true,
728 "internalType": "address",
729 "name": "owner",
730 "type": "address"
731 },
732 {
733 "indexed": true,
734 "internalType": "address",
735 "name": "spender",
736 "type": "address"
737 },
738 {
739 "indexed": false,
740 "internalType": "uint256",
741 "name": "value",
742 "type": "uint256"
743 }
744 ],
745 "name": "Approval",
746 "type": "event"
747 },
748 {
749 "anonymous": false,
750 "inputs": [
751 {
752 "indexed": true,
753 "internalType": "address",
754 "name": "sender",
755 "type": "address"
756 },
757 {
758 "indexed": false,
759 "internalType": "uint256",
760 "name": "amount0",
761 "type": "uint256"
762 },
763 {
764 "indexed": false,
765 "internalType": "uint256",
766 "name": "amount1",
767 "type": "uint256"
768 },
769 {
770 "indexed": true,
771 "internalType": "address",
772 "name": "to",
773 "type": "address"
774 }
775 ],
776 "name": "Burn",
777 "type": "event"
778 },
779 {
780 "anonymous": false,
781 "inputs": [
782 {
783 "indexed": true,
784 "internalType": "address",
785 "name": "sender",
786 "type": "address"
787 },
788 {
789 "indexed": false,
790 "internalType": "uint256",
791 "name": "amount0",
792 "type": "uint256"
793 },
794 {
795 "indexed": false,
796 "internalType": "uint256",
797 "name": "amount1",
798 "type": "uint256"
799 }
800 ],
801 "name": "Mint",
802 "type": "event"
803 },
804 {
805 "anonymous": false,
806 "inputs": [
807 {
808 "indexed": true,
809 "internalType": "address",
810 "name": "sender",
811 "type": "address"
812 },
813 {
814 "indexed": false,
815 "internalType": "uint256",
816 "name": "amount0In",
817 "type": "uint256"
818 },
819 {
820 "indexed": false,
821 "internalType": "uint256",
822 "name": "amount1In",
823 "type": "uint256"
824 },
825 {
826 "indexed": false,
827 "internalType": "uint256",
828 "name": "amount0Out",
829 "type": "uint256"
830 },
831 {
832 "indexed": false,
833 "internalType": "uint256",
834 "name": "amount1Out",
835 "type": "uint256"
836 },
837 {
838 "indexed": true,
839 "internalType": "address",
840 "name": "to",
841 "type": "address"
842 }
843 ],
844 "name": "Swap",
845 "type": "event"
846 },
847 {
848 "anonymous": false,
849 "inputs": [
850 {
851 "indexed": false,
852 "internalType": "uint112",
853 "name": "reserve0",
854 "type": "uint112"
855 },
856 {
857 "indexed": false,
858 "internalType": "uint112",
859 "name": "reserve1",
860 "type": "uint112"
861 }
862 ],
863 "name": "Sync",
864 "type": "event"
865 },
866 {
867 "anonymous": false,
868 "inputs": [
869 {
870 "indexed": true,
871 "internalType": "address",
872 "name": "from",
873 "type": "address"
874 },
875 {
876 "indexed": true,
877 "internalType": "address",
878 "name": "to",
879 "type": "address"
880 },
881 {
882 "indexed": false,
883 "internalType": "uint256",
884 "name": "value",
885 "type": "uint256"
886 }
887 ],
888 "name": "Transfer",
889 "type": "event"
890 },
891 {
892 "inputs": [],
893 "name": "DOMAIN_SEPARATOR",
894 "outputs": [
895 {
896 "internalType": "bytes32",
897 "name": "",
898 "type": "bytes32"
899 }
900 ],
901 "stateMutability": "view",
902 "type": "function"
903 },
904 {
905 "inputs": [],
906 "name": "MINIMUM_LIQUIDITY",
907 "outputs": [
908 {
909 "internalType": "uint256",
910 "name": "",
911 "type": "uint256"
912 }
913 ],
914 "stateMutability": "pure",
915 "type": "function"
916 },
917 {
918 "inputs": [],
919 "name": "PERMIT_TYPEHASH",
920 "outputs": [
921 {
922 "internalType": "bytes32",
923 "name": "",
924 "type": "bytes32"
925 }
926 ],
927 "stateMutability": "pure",
928 "type": "function"
929 },
930 {
931 "inputs": [
932 {
933 "internalType": "address",
934 "name": "owner",
935 "type": "address"
936 },
937 {
938 "internalType": "address",
939 "name": "spender",
940 "type": "address"
941 }
942 ],
943 "name": "allowance",
944 "outputs": [
945 {
946 "internalType": "uint256",
947 "name": "",
948 "type": "uint256"
949 }
950 ],
951 "stateMutability": "view",
952 "type": "function"
953 },
954 {
955 "inputs": [
956 {
957 "internalType": "address",
958 "name": "spender",
959 "type": "address"
960 },
961 {
962 "internalType": "uint256",
963 "name": "value",
964 "type": "uint256"
965 }
966 ],
967 "name": "approve",
968 "outputs": [
969 {
970 "internalType": "bool",
971 "name": "",
972 "type": "bool"
973 }
974 ],
975 "stateMutability": "nonpayable",
976 "type": "function"
977 },
978 {
979 "inputs": [
980 {
981 "internalType": "address",
982 "name": "owner",
983 "type": "address"
984 }
985 ],
986 "name": "balanceOf",
987 "outputs": [
988 {
989 "internalType": "uint256",
990 "name": "",
991 "type": "uint256"
992 }
993 ],
994 "stateMutability": "view",
995 "type": "function"
996 },
997 {
998 "inputs": [
999 {
1000 "internalType": "address",
1001 "name": "to",
1002 "type": "address"
1003 }
1004 ],
1005 "name": "burn",
1006 "outputs": [
1007 {
1008 "internalType": "uint256",
1009 "name": "amount0",
1010 "type": "uint256"
1011 },
1012 {
1013 "internalType": "uint256",
1014 "name": "amount1",
1015 "type": "uint256"
1016 }
1017 ],
1018 "stateMutability": "nonpayable",
1019 "type": "function"
1020 },
1021 {
1022 "inputs": [],
1023 "name": "decimals",
1024 "outputs": [
1025 {
1026 "internalType": "uint8",
1027 "name": "",
1028 "type": "uint8"
1029 }
1030 ],
1031 "stateMutability": "pure",
1032 "type": "function"
1033 },
1034 {
1035 "inputs": [],
1036 "name": "factory",
1037 "outputs": [
1038 {
1039 "internalType": "address",
1040 "name": "",
1041 "type": "address"
1042 }
1043 ],
1044 "stateMutability": "view",
1045 "type": "function"
1046 },
1047 {
1048 "inputs": [],
1049 "name": "getCurveParams",
1050 "outputs": [
1051 {
1052 "internalType": "bytes",
1053 "name": "packed",
1054 "type": "bytes"
1055 }
1056 ],
1057 "stateMutability": "view",
1058 "type": "function"
1059 },
1060 {
1061 "inputs": [],
1062 "name": "getReserves",
1063 "outputs": [
1064 {
1065 "internalType": "uint112",
1066 "name": "reserve0",
1067 "type": "uint112"
1068 },
1069 {
1070 "internalType": "uint112",
1071 "name": "reserve1",
1072 "type": "uint112"
1073 },
1074 {
1075 "internalType": "uint32",
1076 "name": "blockTimestampLast",
1077 "type": "uint32"
1078 }
1079 ],
1080 "stateMutability": "view",
1081 "type": "function"
1082 },
1083 {
1084 "inputs": [
1085 {
1086 "internalType": "address",
1087 "name": "",
1088 "type": "address"
1089 },
1090 {
1091 "internalType": "address",
1092 "name": "",
1093 "type": "address"
1094 },
1095 {
1096 "internalType": "address",
1097 "name": "",
1098 "type": "address"
1099 },
1100 {
1101 "internalType": "address",
1102 "name": "",
1103 "type": "address"
1104 },
1105 {
1106 "internalType": "uint256",
1107 "name": "",
1108 "type": "uint256"
1109 },
1110 {
1111 "internalType": "uint256",
1112 "name": "",
1113 "type": "uint256"
1114 },
1115 {
1116 "internalType": "uint256",
1117 "name": "",
1118 "type": "uint256"
1119 }
1120 ],
1121 "name": "initialize",
1122 "outputs": [],
1123 "stateMutability": "nonpayable",
1124 "type": "function"
1125 },
1126 {
1127 "inputs": [],
1128 "name": "kLast",
1129 "outputs": [
1130 {
1131 "internalType": "uint256",
1132 "name": "",
1133 "type": "uint256"
1134 }
1135 ],
1136 "stateMutability": "view",
1137 "type": "function"
1138 },
1139 {
1140 "inputs": [
1141 {
1142 "internalType": "address",
1143 "name": "to",
1144 "type": "address"
1145 }
1146 ],
1147 "name": "mint",
1148 "outputs": [
1149 {
1150 "internalType": "uint256",
1151 "name": "liquidity",
1152 "type": "uint256"
1153 }
1154 ],
1155 "stateMutability": "nonpayable",
1156 "type": "function"
1157 },
1158 {
1159 "inputs": [],
1160 "name": "name",
1161 "outputs": [
1162 {
1163 "internalType": "string",
1164 "name": "",
1165 "type": "string"
1166 }
1167 ],
1168 "stateMutability": "pure",
1169 "type": "function"
1170 },
1171 {
1172 "inputs": [
1173 {
1174 "internalType": "address",
1175 "name": "owner",
1176 "type": "address"
1177 }
1178 ],
1179 "name": "nonces",
1180 "outputs": [
1181 {
1182 "internalType": "uint256",
1183 "name": "",
1184 "type": "uint256"
1185 }
1186 ],
1187 "stateMutability": "view",
1188 "type": "function"
1189 },
1190 {
1191 "inputs": [
1192 {
1193 "internalType": "address",
1194 "name": "owner",
1195 "type": "address"
1196 },
1197 {
1198 "internalType": "address",
1199 "name": "spender",
1200 "type": "address"
1201 },
1202 {
1203 "internalType": "uint256",
1204 "name": "value",
1205 "type": "uint256"
1206 },
1207 {
1208 "internalType": "uint256",
1209 "name": "deadline",
1210 "type": "uint256"
1211 },
1212 {
1213 "internalType": "uint8",
1214 "name": "v",
1215 "type": "uint8"
1216 },
1217 {
1218 "internalType": "bytes32",
1219 "name": "r",
1220 "type": "bytes32"
1221 },
1222 {
1223 "internalType": "bytes32",
1224 "name": "s",
1225 "type": "bytes32"
1226 }
1227 ],
1228 "name": "permit",
1229 "outputs": [],
1230 "stateMutability": "nonpayable",
1231 "type": "function"
1232 },
1233 {
1234 "inputs": [],
1235 "name": "price0CumulativeLast",
1236 "outputs": [
1237 {
1238 "internalType": "uint256",
1239 "name": "",
1240 "type": "uint256"
1241 }
1242 ],
1243 "stateMutability": "view",
1244 "type": "function"
1245 },
1246 {
1247 "inputs": [],
1248 "name": "price1CumulativeLast",
1249 "outputs": [
1250 {
1251 "internalType": "uint256",
1252 "name": "",
1253 "type": "uint256"
1254 }
1255 ],
1256 "stateMutability": "view",
1257 "type": "function"
1258 },
1259 {
1260 "inputs": [
1261 {
1262 "internalType": "address",
1263 "name": "",
1264 "type": "address"
1265 }
1266 ],
1267 "name": "setPairOwner",
1268 "outputs": [],
1269 "stateMutability": "nonpayable",
1270 "type": "function"
1271 },
1272 {
1273 "inputs": [
1274 {
1275 "internalType": "address",
1276 "name": "to",
1277 "type": "address"
1278 }
1279 ],
1280 "name": "skim",
1281 "outputs": [],
1282 "stateMutability": "nonpayable",
1283 "type": "function"
1284 },
1285 {
1286 "inputs": [
1287 {
1288 "internalType": "uint256",
1289 "name": "amount0Out",
1290 "type": "uint256"
1291 },
1292 {
1293 "internalType": "uint256",
1294 "name": "amount1Out",
1295 "type": "uint256"
1296 },
1297 {
1298 "internalType": "address",
1299 "name": "to",
1300 "type": "address"
1301 },
1302 {
1303 "internalType": "bytes",
1304 "name": "data",
1305 "type": "bytes"
1306 }
1307 ],
1308 "name": "swap",
1309 "outputs": [],
1310 "stateMutability": "nonpayable",
1311 "type": "function"
1312 },
1313 {
1314 "inputs": [],
1315 "name": "symbol",
1316 "outputs": [
1317 {
1318 "internalType": "string",
1319 "name": "",
1320 "type": "string"
1321 }
1322 ],
1323 "stateMutability": "pure",
1324 "type": "function"
1325 },
1326 {
1327 "inputs": [],
1328 "name": "sync",
1329 "outputs": [],
1330 "stateMutability": "nonpayable",
1331 "type": "function"
1332 },
1333 {
1334 "inputs": [],
1335 "name": "token0",
1336 "outputs": [
1337 {
1338 "internalType": "address",
1339 "name": "",
1340 "type": "address"
1341 }
1342 ],
1343 "stateMutability": "view",
1344 "type": "function"
1345 },
1346 {
1347 "inputs": [],
1348 "name": "token1",
1349 "outputs": [
1350 {
1351 "internalType": "address",
1352 "name": "",
1353 "type": "address"
1354 }
1355 ],
1356 "stateMutability": "view",
1357 "type": "function"
1358 },
1359 {
1360 "inputs": [],
1361 "name": "totalSupply",
1362 "outputs": [
1363 {
1364 "internalType": "uint256",
1365 "name": "",
1366 "type": "uint256"
1367 }
1368 ],
1369 "stateMutability": "view",
1370 "type": "function"
1371 },
1372 {
1373 "inputs": [
1374 {
1375 "internalType": "address",
1376 "name": "to",
1377 "type": "address"
1378 },
1379 {
1380 "internalType": "uint256",
1381 "name": "value",
1382 "type": "uint256"
1383 }
1384 ],
1385 "name": "transfer",
1386 "outputs": [
1387 {
1388 "internalType": "bool",
1389 "name": "",
1390 "type": "bool"
1391 }
1392 ],
1393 "stateMutability": "nonpayable",
1394 "type": "function"
1395 },
1396 {
1397 "inputs": [
1398 {
1399 "internalType": "address",
1400 "name": "from",
1401 "type": "address"
1402 },
1403 {
1404 "internalType": "address",
1405 "name": "to",
1406 "type": "address"
1407 },
1408 {
1409 "internalType": "uint256",
1410 "name": "value",
1411 "type": "uint256"
1412 }
1413 ],
1414 "name": "transferFrom",
1415 "outputs": [
1416 {
1417 "internalType": "bool",
1418 "name": "",
1419 "type": "bool"
1420 }
1421 ],
1422 "stateMutability": "nonpayable",
1423 "type": "function"
1424 }
1425 ],
1426 "bytecode": ""
1427}
\No newline at end of file