h-agent-swap 1.9.8 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,718 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PancakePair",
4
+ "sourceName": "contracts/SwapFactory.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "payable": false,
9
+ "stateMutability": "nonpayable",
10
+ "type": "constructor"
11
+ },
12
+ {
13
+ "anonymous": false,
14
+ "inputs": [
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "owner",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": true,
23
+ "internalType": "address",
24
+ "name": "spender",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "uint256",
30
+ "name": "value",
31
+ "type": "uint256"
32
+ }
33
+ ],
34
+ "name": "Approval",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "sender",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "amount0",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint256",
55
+ "name": "amount1",
56
+ "type": "uint256"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "to",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "Burn",
66
+ "type": "event"
67
+ },
68
+ {
69
+ "anonymous": false,
70
+ "inputs": [
71
+ {
72
+ "indexed": true,
73
+ "internalType": "address",
74
+ "name": "sender",
75
+ "type": "address"
76
+ },
77
+ {
78
+ "indexed": false,
79
+ "internalType": "uint256",
80
+ "name": "amount0",
81
+ "type": "uint256"
82
+ },
83
+ {
84
+ "indexed": false,
85
+ "internalType": "uint256",
86
+ "name": "amount1",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "name": "Mint",
91
+ "type": "event"
92
+ },
93
+ {
94
+ "anonymous": false,
95
+ "inputs": [
96
+ {
97
+ "indexed": true,
98
+ "internalType": "address",
99
+ "name": "sender",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "amount0In",
106
+ "type": "uint256"
107
+ },
108
+ {
109
+ "indexed": false,
110
+ "internalType": "uint256",
111
+ "name": "amount1In",
112
+ "type": "uint256"
113
+ },
114
+ {
115
+ "indexed": false,
116
+ "internalType": "uint256",
117
+ "name": "amount0Out",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "indexed": false,
122
+ "internalType": "uint256",
123
+ "name": "amount1Out",
124
+ "type": "uint256"
125
+ },
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "to",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "Swap",
134
+ "type": "event"
135
+ },
136
+ {
137
+ "anonymous": false,
138
+ "inputs": [
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint112",
142
+ "name": "reserve0",
143
+ "type": "uint112"
144
+ },
145
+ {
146
+ "indexed": false,
147
+ "internalType": "uint112",
148
+ "name": "reserve1",
149
+ "type": "uint112"
150
+ }
151
+ ],
152
+ "name": "Sync",
153
+ "type": "event"
154
+ },
155
+ {
156
+ "anonymous": false,
157
+ "inputs": [
158
+ {
159
+ "indexed": true,
160
+ "internalType": "address",
161
+ "name": "from",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "indexed": true,
166
+ "internalType": "address",
167
+ "name": "to",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "indexed": false,
172
+ "internalType": "uint256",
173
+ "name": "value",
174
+ "type": "uint256"
175
+ }
176
+ ],
177
+ "name": "Transfer",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "constant": true,
182
+ "inputs": [],
183
+ "name": "DOMAIN_SEPARATOR",
184
+ "outputs": [
185
+ {
186
+ "internalType": "bytes32",
187
+ "name": "",
188
+ "type": "bytes32"
189
+ }
190
+ ],
191
+ "payable": false,
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "constant": true,
197
+ "inputs": [],
198
+ "name": "MINIMUM_LIQUIDITY",
199
+ "outputs": [
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "",
203
+ "type": "uint256"
204
+ }
205
+ ],
206
+ "payable": false,
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "constant": true,
212
+ "inputs": [],
213
+ "name": "PERMIT_TYPEHASH",
214
+ "outputs": [
215
+ {
216
+ "internalType": "bytes32",
217
+ "name": "",
218
+ "type": "bytes32"
219
+ }
220
+ ],
221
+ "payable": false,
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "constant": true,
227
+ "inputs": [
228
+ {
229
+ "internalType": "address",
230
+ "name": "",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "internalType": "address",
235
+ "name": "",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "allowance",
240
+ "outputs": [
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "",
244
+ "type": "uint256"
245
+ }
246
+ ],
247
+ "payable": false,
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "constant": false,
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "spender",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "value",
262
+ "type": "uint256"
263
+ }
264
+ ],
265
+ "name": "approve",
266
+ "outputs": [
267
+ {
268
+ "internalType": "bool",
269
+ "name": "",
270
+ "type": "bool"
271
+ }
272
+ ],
273
+ "payable": false,
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "constant": true,
279
+ "inputs": [
280
+ {
281
+ "internalType": "address",
282
+ "name": "",
283
+ "type": "address"
284
+ }
285
+ ],
286
+ "name": "balanceOf",
287
+ "outputs": [
288
+ {
289
+ "internalType": "uint256",
290
+ "name": "",
291
+ "type": "uint256"
292
+ }
293
+ ],
294
+ "payable": false,
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "constant": false,
300
+ "inputs": [
301
+ {
302
+ "internalType": "address",
303
+ "name": "to",
304
+ "type": "address"
305
+ }
306
+ ],
307
+ "name": "burn",
308
+ "outputs": [
309
+ {
310
+ "internalType": "uint256",
311
+ "name": "amount0",
312
+ "type": "uint256"
313
+ },
314
+ {
315
+ "internalType": "uint256",
316
+ "name": "amount1",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "payable": false,
321
+ "stateMutability": "nonpayable",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "constant": true,
326
+ "inputs": [],
327
+ "name": "decimals",
328
+ "outputs": [
329
+ {
330
+ "internalType": "uint8",
331
+ "name": "",
332
+ "type": "uint8"
333
+ }
334
+ ],
335
+ "payable": false,
336
+ "stateMutability": "view",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "constant": true,
341
+ "inputs": [],
342
+ "name": "factory",
343
+ "outputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "payable": false,
351
+ "stateMutability": "view",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "constant": true,
356
+ "inputs": [],
357
+ "name": "getReserves",
358
+ "outputs": [
359
+ {
360
+ "internalType": "uint112",
361
+ "name": "_reserve0",
362
+ "type": "uint112"
363
+ },
364
+ {
365
+ "internalType": "uint112",
366
+ "name": "_reserve1",
367
+ "type": "uint112"
368
+ },
369
+ {
370
+ "internalType": "uint32",
371
+ "name": "_blockTimestampLast",
372
+ "type": "uint32"
373
+ }
374
+ ],
375
+ "payable": false,
376
+ "stateMutability": "view",
377
+ "type": "function"
378
+ },
379
+ {
380
+ "constant": false,
381
+ "inputs": [
382
+ {
383
+ "internalType": "address",
384
+ "name": "_token0",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "internalType": "address",
389
+ "name": "_token1",
390
+ "type": "address"
391
+ }
392
+ ],
393
+ "name": "initialize",
394
+ "outputs": [],
395
+ "payable": false,
396
+ "stateMutability": "nonpayable",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "constant": true,
401
+ "inputs": [],
402
+ "name": "kLast",
403
+ "outputs": [
404
+ {
405
+ "internalType": "uint256",
406
+ "name": "",
407
+ "type": "uint256"
408
+ }
409
+ ],
410
+ "payable": false,
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "constant": false,
416
+ "inputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "to",
420
+ "type": "address"
421
+ }
422
+ ],
423
+ "name": "mint",
424
+ "outputs": [
425
+ {
426
+ "internalType": "uint256",
427
+ "name": "liquidity",
428
+ "type": "uint256"
429
+ }
430
+ ],
431
+ "payable": false,
432
+ "stateMutability": "nonpayable",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "constant": true,
437
+ "inputs": [],
438
+ "name": "name",
439
+ "outputs": [
440
+ {
441
+ "internalType": "string",
442
+ "name": "",
443
+ "type": "string"
444
+ }
445
+ ],
446
+ "payable": false,
447
+ "stateMutability": "view",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "constant": true,
452
+ "inputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "",
456
+ "type": "address"
457
+ }
458
+ ],
459
+ "name": "nonces",
460
+ "outputs": [
461
+ {
462
+ "internalType": "uint256",
463
+ "name": "",
464
+ "type": "uint256"
465
+ }
466
+ ],
467
+ "payable": false,
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "constant": false,
473
+ "inputs": [
474
+ {
475
+ "internalType": "address",
476
+ "name": "owner",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "internalType": "address",
481
+ "name": "spender",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "value",
487
+ "type": "uint256"
488
+ },
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "deadline",
492
+ "type": "uint256"
493
+ },
494
+ {
495
+ "internalType": "uint8",
496
+ "name": "v",
497
+ "type": "uint8"
498
+ },
499
+ {
500
+ "internalType": "bytes32",
501
+ "name": "r",
502
+ "type": "bytes32"
503
+ },
504
+ {
505
+ "internalType": "bytes32",
506
+ "name": "s",
507
+ "type": "bytes32"
508
+ }
509
+ ],
510
+ "name": "permit",
511
+ "outputs": [],
512
+ "payable": false,
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "constant": true,
518
+ "inputs": [],
519
+ "name": "price0CumulativeLast",
520
+ "outputs": [
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "",
524
+ "type": "uint256"
525
+ }
526
+ ],
527
+ "payable": false,
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "constant": true,
533
+ "inputs": [],
534
+ "name": "price1CumulativeLast",
535
+ "outputs": [
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "payable": false,
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "constant": false,
548
+ "inputs": [
549
+ {
550
+ "internalType": "address",
551
+ "name": "to",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "name": "skim",
556
+ "outputs": [],
557
+ "payable": false,
558
+ "stateMutability": "nonpayable",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "constant": false,
563
+ "inputs": [
564
+ {
565
+ "internalType": "uint256",
566
+ "name": "amount0Out",
567
+ "type": "uint256"
568
+ },
569
+ {
570
+ "internalType": "uint256",
571
+ "name": "amount1Out",
572
+ "type": "uint256"
573
+ },
574
+ {
575
+ "internalType": "address",
576
+ "name": "to",
577
+ "type": "address"
578
+ },
579
+ {
580
+ "internalType": "bytes",
581
+ "name": "data",
582
+ "type": "bytes"
583
+ }
584
+ ],
585
+ "name": "swap",
586
+ "outputs": [],
587
+ "payable": false,
588
+ "stateMutability": "nonpayable",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "constant": true,
593
+ "inputs": [],
594
+ "name": "symbol",
595
+ "outputs": [
596
+ {
597
+ "internalType": "string",
598
+ "name": "",
599
+ "type": "string"
600
+ }
601
+ ],
602
+ "payable": false,
603
+ "stateMutability": "view",
604
+ "type": "function"
605
+ },
606
+ {
607
+ "constant": false,
608
+ "inputs": [],
609
+ "name": "sync",
610
+ "outputs": [],
611
+ "payable": false,
612
+ "stateMutability": "nonpayable",
613
+ "type": "function"
614
+ },
615
+ {
616
+ "constant": true,
617
+ "inputs": [],
618
+ "name": "token0",
619
+ "outputs": [
620
+ {
621
+ "internalType": "address",
622
+ "name": "",
623
+ "type": "address"
624
+ }
625
+ ],
626
+ "payable": false,
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "constant": true,
632
+ "inputs": [],
633
+ "name": "token1",
634
+ "outputs": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "",
638
+ "type": "address"
639
+ }
640
+ ],
641
+ "payable": false,
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "constant": true,
647
+ "inputs": [],
648
+ "name": "totalSupply",
649
+ "outputs": [
650
+ {
651
+ "internalType": "uint256",
652
+ "name": "",
653
+ "type": "uint256"
654
+ }
655
+ ],
656
+ "payable": false,
657
+ "stateMutability": "view",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "constant": false,
662
+ "inputs": [
663
+ {
664
+ "internalType": "address",
665
+ "name": "to",
666
+ "type": "address"
667
+ },
668
+ {
669
+ "internalType": "uint256",
670
+ "name": "value",
671
+ "type": "uint256"
672
+ }
673
+ ],
674
+ "name": "transfer",
675
+ "outputs": [
676
+ {
677
+ "internalType": "bool",
678
+ "name": "",
679
+ "type": "bool"
680
+ }
681
+ ],
682
+ "payable": false,
683
+ "stateMutability": "nonpayable",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "constant": false,
688
+ "inputs": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "from",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "address",
696
+ "name": "to",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "value",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "name": "transferFrom",
706
+ "outputs": [
707
+ {
708
+ "internalType": "bool",
709
+ "name": "",
710
+ "type": "bool"
711
+ }
712
+ ],
713
+ "payable": false,
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ }
717
+ ]
718
+ }