@openocean.finance/openocean-sdk 1.2.2 → 1.2.3

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