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