@steerprotocol/sdk 1.19.16 → 1.19.18

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 (75) hide show
  1. package/dist/cjs/base/vault/single-asset/simulateSwap.js +43 -17
  2. package/dist/cjs/base/vault/single-asset/simulateSwap.js.map +1 -1
  3. package/dist/cjs/base/vault/single-asset/singleAssetDeposit.js +24 -21
  4. package/dist/cjs/base/vault/single-asset/singleAssetDeposit.js.map +1 -1
  5. package/dist/cjs/const/abis/quoter.js +1337 -1
  6. package/dist/cjs/const/abis/quoter.js.map +1 -1
  7. package/dist/cjs/const/amm/configs/protocols/machinex.js +3 -0
  8. package/dist/cjs/const/amm/configs/protocols/machinex.js.map +1 -1
  9. package/dist/cjs/const/amm/configs/protocols/quickswap.js +3 -0
  10. package/dist/cjs/const/amm/configs/protocols/quickswap.js.map +1 -1
  11. package/dist/cjs/const/amm/configs/protocols/retro.js +3 -0
  12. package/dist/cjs/const/amm/configs/protocols/retro.js.map +1 -1
  13. package/dist/cjs/const/amm/configs/protocols/sushi.js +3 -0
  14. package/dist/cjs/const/amm/configs/protocols/sushi.js.map +1 -1
  15. package/dist/cjs/const/amm/utils/contracts.js +6 -0
  16. package/dist/cjs/const/amm/utils/contracts.js.map +1 -1
  17. package/dist/cjs/const/deployments/peaq.js +8 -0
  18. package/dist/cjs/const/deployments/peaq.js.map +1 -1
  19. package/dist/cjs/const/deployments/polygon.js +2 -2
  20. package/dist/cjs/const/index.js.map +1 -1
  21. package/dist/cjs/const/network.js +9 -0
  22. package/dist/cjs/const/network.js.map +1 -1
  23. package/dist/cjs/const/protocol.js +18 -1
  24. package/dist/cjs/const/protocol.js.map +1 -1
  25. package/dist/cjs/const/quoter.js +412 -25
  26. package/dist/cjs/const/quoter.js.map +1 -1
  27. package/dist/esm/base/vault/single-asset/simulateSwap.js +43 -17
  28. package/dist/esm/base/vault/single-asset/simulateSwap.js.map +1 -1
  29. package/dist/esm/base/vault/single-asset/singleAssetDeposit.js +24 -21
  30. package/dist/esm/base/vault/single-asset/singleAssetDeposit.js.map +1 -1
  31. package/dist/esm/const/abis/quoter.js +1336 -0
  32. package/dist/esm/const/abis/quoter.js.map +1 -1
  33. package/dist/esm/const/amm/configs/protocols/machinex.js +3 -0
  34. package/dist/esm/const/amm/configs/protocols/machinex.js.map +1 -1
  35. package/dist/esm/const/amm/configs/protocols/quickswap.js +3 -0
  36. package/dist/esm/const/amm/configs/protocols/quickswap.js.map +1 -1
  37. package/dist/esm/const/amm/configs/protocols/retro.js +3 -0
  38. package/dist/esm/const/amm/configs/protocols/retro.js.map +1 -1
  39. package/dist/esm/const/amm/configs/protocols/sushi.js +3 -0
  40. package/dist/esm/const/amm/configs/protocols/sushi.js.map +1 -1
  41. package/dist/esm/const/amm/utils/contracts.js +5 -0
  42. package/dist/esm/const/amm/utils/contracts.js.map +1 -1
  43. package/dist/esm/const/deployments/peaq.js +8 -0
  44. package/dist/esm/const/deployments/peaq.js.map +1 -1
  45. package/dist/esm/const/deployments/polygon.js +2 -2
  46. package/dist/esm/const/index.js.map +1 -1
  47. package/dist/esm/const/network.js +7 -0
  48. package/dist/esm/const/network.js.map +1 -1
  49. package/dist/esm/const/protocol.js +16 -0
  50. package/dist/esm/const/protocol.js.map +1 -1
  51. package/dist/esm/const/quoter.js +412 -32
  52. package/dist/esm/const/quoter.js.map +1 -1
  53. package/dist/types/base/VaultClient.d.ts +1 -1
  54. package/dist/types/base/vault/single-asset/simulateSwap.d.ts.map +1 -1
  55. package/dist/types/base/vault/single-asset/singleAssetDeposit.d.ts +1 -1
  56. package/dist/types/base/vault/single-asset/singleAssetDeposit.d.ts.map +1 -1
  57. package/dist/types/base/vault/single-asset/types.d.ts +2 -0
  58. package/dist/types/base/vault/single-asset/types.d.ts.map +1 -1
  59. package/dist/types/const/abis/quoter.d.ts +226 -0
  60. package/dist/types/const/abis/quoter.d.ts.map +1 -1
  61. package/dist/types/const/amm/configs/protocols/machinex.d.ts.map +1 -1
  62. package/dist/types/const/amm/configs/protocols/quickswap.d.ts.map +1 -1
  63. package/dist/types/const/amm/configs/protocols/retro.d.ts.map +1 -1
  64. package/dist/types/const/amm/configs/protocols/sushi.d.ts.map +1 -1
  65. package/dist/types/const/amm/utils/contracts.d.ts +2 -0
  66. package/dist/types/const/amm/utils/contracts.d.ts.map +1 -1
  67. package/dist/types/const/deployments/peaq.d.ts.map +1 -1
  68. package/dist/types/const/index.d.ts.map +1 -1
  69. package/dist/types/const/network.d.ts +2 -0
  70. package/dist/types/const/network.d.ts.map +1 -1
  71. package/dist/types/const/protocol.d.ts +2 -0
  72. package/dist/types/const/protocol.d.ts.map +1 -1
  73. package/dist/types/const/quoter.d.ts +451 -12
  74. package/dist/types/const/quoter.d.ts.map +1 -1
  75. package/package.json +1 -1
@@ -242,4 +242,1340 @@ export const UniswapV3QuoterABI = [
242
242
  "type": "function"
243
243
  }
244
244
  ];
245
+ export const QuickSwapQuoterV2 = [
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "_factory",
251
+ "type": "address"
252
+ }, {
253
+ "internalType": "address",
254
+ "name": "_WNativeToken",
255
+ "type": "address"
256
+ }, {
257
+ "internalType": "address",
258
+ "name": "_poolDeployer",
259
+ "type": "address"
260
+ }
261
+ ],
262
+ "stateMutability": "nonpayable",
263
+ "type": "constructor"
264
+ },
265
+ {
266
+ "inputs": [],
267
+ "name": "WNativeToken",
268
+ "outputs": [
269
+ {
270
+ "internalType": "address",
271
+ "name": "",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "int256",
282
+ "name": "amount0Delta",
283
+ "type": "int256"
284
+ }, {
285
+ "internalType": "int256",
286
+ "name": "amount1Delta",
287
+ "type": "int256"
288
+ }, {
289
+ "internalType": "bytes",
290
+ "name": "path",
291
+ "type": "bytes"
292
+ }
293
+ ],
294
+ "name": "algebraSwapCallback",
295
+ "outputs": [],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "factory",
302
+ "outputs": [
303
+ {
304
+ "internalType": "address",
305
+ "name": "",
306
+ "type": "address"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ }, {
312
+ "inputs": [],
313
+ "name": "poolDeployer",
314
+ "outputs": [
315
+ {
316
+ "internalType": "address",
317
+ "name": "",
318
+ "type": "address"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ }, {
324
+ "inputs": [
325
+ {
326
+ "internalType": "bytes",
327
+ "name": "path",
328
+ "type": "bytes"
329
+ }, {
330
+ "internalType": "uint256",
331
+ "name": "amountIn",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "name": "quoteExactInput",
336
+ "outputs": [
337
+ {
338
+ "internalType": "uint256",
339
+ "name": "amountOut",
340
+ "type": "uint256"
341
+ }, {
342
+ "internalType": "uint160[]",
343
+ "name": "sqrtPriceX96AfterList",
344
+ "type": "uint160[]"
345
+ }, {
346
+ "internalType": "uint32[]",
347
+ "name": "initializedTicksCrossedList",
348
+ "type": "uint32[]"
349
+ }, {
350
+ "internalType": "uint256",
351
+ "name": "gasEstimate",
352
+ "type": "uint256"
353
+ }
354
+ ],
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ }, {
358
+ "inputs": [
359
+ {
360
+ "components": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "tokenIn",
364
+ "type": "address"
365
+ }, {
366
+ "internalType": "address",
367
+ "name": "tokenOut",
368
+ "type": "address"
369
+ }, {
370
+ "internalType": "uint256",
371
+ "name": "amountIn",
372
+ "type": "uint256"
373
+ }, {
374
+ "internalType": "uint160",
375
+ "name": "limitSqrtPrice",
376
+ "type": "uint160"
377
+ }
378
+ ],
379
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
380
+ "name": "params",
381
+ "type": "tuple"
382
+ }
383
+ ],
384
+ "name": "quoteExactInputSingle",
385
+ "outputs": [
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "amountOut",
389
+ "type": "uint256"
390
+ }, {
391
+ "internalType": "uint160",
392
+ "name": "sqrtPriceX96After",
393
+ "type": "uint160"
394
+ }, {
395
+ "internalType": "uint32",
396
+ "name": "initializedTicksCrossed",
397
+ "type": "uint32"
398
+ }, {
399
+ "internalType": "uint256",
400
+ "name": "gasEstimate",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ }, {
407
+ "inputs": [
408
+ {
409
+ "internalType": "bytes",
410
+ "name": "path",
411
+ "type": "bytes"
412
+ }, {
413
+ "internalType": "uint256",
414
+ "name": "amountOut",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "quoteExactOutput",
419
+ "outputs": [
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "amountIn",
423
+ "type": "uint256"
424
+ }, {
425
+ "internalType": "uint160[]",
426
+ "name": "sqrtPriceX96AfterList",
427
+ "type": "uint160[]"
428
+ }, {
429
+ "internalType": "uint32[]",
430
+ "name": "initializedTicksCrossedList",
431
+ "type": "uint32[]"
432
+ }, {
433
+ "internalType": "uint256",
434
+ "name": "gasEstimate",
435
+ "type": "uint256"
436
+ }
437
+ ],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ }, {
441
+ "inputs": [
442
+ {
443
+ "components": [
444
+ {
445
+ "internalType": "address",
446
+ "name": "tokenIn",
447
+ "type": "address"
448
+ }, {
449
+ "internalType": "address",
450
+ "name": "tokenOut",
451
+ "type": "address"
452
+ }, {
453
+ "internalType": "uint256",
454
+ "name": "amount",
455
+ "type": "uint256"
456
+ }, {
457
+ "internalType": "uint160",
458
+ "name": "limitSqrtPrice",
459
+ "type": "uint160"
460
+ }
461
+ ],
462
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
463
+ "name": "params",
464
+ "type": "tuple"
465
+ }
466
+ ],
467
+ "name": "quoteExactOutputSingle",
468
+ "outputs": [
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "amountIn",
472
+ "type": "uint256"
473
+ }, {
474
+ "internalType": "uint160",
475
+ "name": "sqrtPriceX96After",
476
+ "type": "uint160"
477
+ }, {
478
+ "internalType": "uint32",
479
+ "name": "initializedTicksCrossed",
480
+ "type": "uint32"
481
+ }, {
482
+ "internalType": "uint256",
483
+ "name": "gasEstimate",
484
+ "type": "uint256"
485
+ }
486
+ ],
487
+ "stateMutability": "nonpayable",
488
+ "type": "function"
489
+ }
490
+ ];
491
+ export const QuoterV2Thick = [
492
+ {
493
+ "inputs": [
494
+ {
495
+ "internalType": "address",
496
+ "name": "_factory",
497
+ "type": "address"
498
+ }, {
499
+ "internalType": "address",
500
+ "name": "_WETH9",
501
+ "type": "address"
502
+ }
503
+ ],
504
+ "stateMutability": "nonpayable",
505
+ "type": "constructor"
506
+ },
507
+ {
508
+ "inputs": [],
509
+ "name": "WETH9",
510
+ "outputs": [
511
+ {
512
+ "internalType": "address",
513
+ "name": "",
514
+ "type": "address"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [],
522
+ "name": "factory",
523
+ "outputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "bytes",
537
+ "name": "path",
538
+ "type": "bytes"
539
+ }, {
540
+ "internalType": "uint256",
541
+ "name": "amountIn",
542
+ "type": "uint256"
543
+ }
544
+ ],
545
+ "name": "quoteExactInput",
546
+ "outputs": [
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "amountOut",
550
+ "type": "uint256"
551
+ }, {
552
+ "internalType": "uint160[]",
553
+ "name": "sqrtPriceX96AfterList",
554
+ "type": "uint160[]"
555
+ }, {
556
+ "internalType": "uint32[]",
557
+ "name": "initializedTicksCrossedList",
558
+ "type": "uint32[]"
559
+ }, {
560
+ "internalType": "uint256",
561
+ "name": "gasEstimate",
562
+ "type": "uint256"
563
+ }
564
+ ],
565
+ "stateMutability": "nonpayable",
566
+ "type": "function"
567
+ }, {
568
+ "inputs": [
569
+ {
570
+ "components": [
571
+ {
572
+ "internalType": "address",
573
+ "name": "tokenIn",
574
+ "type": "address"
575
+ },
576
+ {
577
+ "internalType": "address",
578
+ "name": "tokenOut",
579
+ "type": "address"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "amountIn",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "int24",
588
+ "name": "tickSpacing",
589
+ "type": "int24"
590
+ }, {
591
+ "internalType": "uint160",
592
+ "name": "sqrtPriceLimitX96",
593
+ "type": "uint160"
594
+ }
595
+ ],
596
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
597
+ "name": "params",
598
+ "type": "tuple"
599
+ }
600
+ ],
601
+ "name": "quoteExactInputSingle",
602
+ "outputs": [
603
+ {
604
+ "internalType": "uint256",
605
+ "name": "amountOut",
606
+ "type": "uint256"
607
+ }, {
608
+ "internalType": "uint160",
609
+ "name": "sqrtPriceX96After",
610
+ "type": "uint160"
611
+ }, {
612
+ "internalType": "uint32",
613
+ "name": "initializedTicksCrossed",
614
+ "type": "uint32"
615
+ }, {
616
+ "internalType": "uint256",
617
+ "name": "gasEstimate",
618
+ "type": "uint256"
619
+ }
620
+ ],
621
+ "stateMutability": "nonpayable",
622
+ "type": "function"
623
+ }, {
624
+ "inputs": [
625
+ {
626
+ "internalType": "bytes",
627
+ "name": "path",
628
+ "type": "bytes"
629
+ }, {
630
+ "internalType": "uint256",
631
+ "name": "amountOut",
632
+ "type": "uint256"
633
+ }
634
+ ],
635
+ "name": "quoteExactOutput",
636
+ "outputs": [
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "amountIn",
640
+ "type": "uint256"
641
+ }, {
642
+ "internalType": "uint160[]",
643
+ "name": "sqrtPriceX96AfterList",
644
+ "type": "uint160[]"
645
+ }, {
646
+ "internalType": "uint32[]",
647
+ "name": "initializedTicksCrossedList",
648
+ "type": "uint32[]"
649
+ }, {
650
+ "internalType": "uint256",
651
+ "name": "gasEstimate",
652
+ "type": "uint256"
653
+ }
654
+ ],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ }, {
658
+ "inputs": [
659
+ {
660
+ "components": [
661
+ {
662
+ "internalType": "address",
663
+ "name": "tokenIn",
664
+ "type": "address"
665
+ },
666
+ {
667
+ "internalType": "address",
668
+ "name": "tokenOut",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "amount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint24",
678
+ "name": "fee",
679
+ "type": "uint24"
680
+ }, {
681
+ "internalType": "uint160",
682
+ "name": "sqrtPriceLimitX96",
683
+ "type": "uint160"
684
+ }
685
+ ],
686
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
687
+ "name": "params",
688
+ "type": "tuple"
689
+ }
690
+ ],
691
+ "name": "quoteExactOutputSingle",
692
+ "outputs": [
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "amountIn",
696
+ "type": "uint256"
697
+ }, {
698
+ "internalType": "uint160",
699
+ "name": "sqrtPriceX96After",
700
+ "type": "uint160"
701
+ }, {
702
+ "internalType": "uint32",
703
+ "name": "initializedTicksCrossed",
704
+ "type": "uint32"
705
+ }, {
706
+ "internalType": "uint256",
707
+ "name": "gasEstimate",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "stateMutability": "nonpayable",
712
+ "type": "function"
713
+ }, {
714
+ "inputs": [
715
+ {
716
+ "internalType": "int256",
717
+ "name": "amount0Delta",
718
+ "type": "int256"
719
+ }, {
720
+ "internalType": "int256",
721
+ "name": "amount1Delta",
722
+ "type": "int256"
723
+ }, {
724
+ "internalType": "bytes",
725
+ "name": "path",
726
+ "type": "bytes"
727
+ }
728
+ ],
729
+ "name": "uniswapV3SwapCallback",
730
+ "outputs": [],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ }
734
+ ];
735
+ export const QuoterV2AlgebgraIntegral = [
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "_factory",
741
+ "type": "address"
742
+ }, {
743
+ "internalType": "address",
744
+ "name": "_WNativeToken",
745
+ "type": "address"
746
+ }, {
747
+ "internalType": "address",
748
+ "name": "_poolDeployer",
749
+ "type": "address"
750
+ }
751
+ ],
752
+ "stateMutability": "nonpayable",
753
+ "type": "constructor"
754
+ },
755
+ {
756
+ "inputs": [],
757
+ "name": "WNativeToken",
758
+ "outputs": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "int256",
772
+ "name": "amount0Delta",
773
+ "type": "int256"
774
+ }, {
775
+ "internalType": "int256",
776
+ "name": "amount1Delta",
777
+ "type": "int256"
778
+ }, {
779
+ "internalType": "bytes",
780
+ "name": "path",
781
+ "type": "bytes"
782
+ }
783
+ ],
784
+ "name": "algebraSwapCallback",
785
+ "outputs": [],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [],
791
+ "name": "factory",
792
+ "outputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ }, {
802
+ "inputs": [],
803
+ "name": "poolDeployer",
804
+ "outputs": [
805
+ {
806
+ "internalType": "address",
807
+ "name": "",
808
+ "type": "address"
809
+ }
810
+ ],
811
+ "stateMutability": "view",
812
+ "type": "function"
813
+ }, {
814
+ "inputs": [
815
+ {
816
+ "internalType": "bytes",
817
+ "name": "path",
818
+ "type": "bytes"
819
+ }, {
820
+ "internalType": "uint256",
821
+ "name": "amountInRequired",
822
+ "type": "uint256"
823
+ }
824
+ ],
825
+ "name": "quoteExactInput",
826
+ "outputs": [
827
+ {
828
+ "internalType": "uint256",
829
+ "name": "amountOut",
830
+ "type": "uint256"
831
+ },
832
+ {
833
+ "internalType": "uint256",
834
+ "name": "amountIn",
835
+ "type": "uint256"
836
+ },
837
+ {
838
+ "internalType": "uint160[]",
839
+ "name": "sqrtPriceX96AfterList",
840
+ "type": "uint160[]"
841
+ },
842
+ {
843
+ "internalType": "uint32[]",
844
+ "name": "initializedTicksCrossedList",
845
+ "type": "uint32[]"
846
+ }, {
847
+ "internalType": "uint256",
848
+ "name": "gasEstimate",
849
+ "type": "uint256"
850
+ }, {
851
+ "internalType": "uint16[]",
852
+ "name": "feeList",
853
+ "type": "uint16[]"
854
+ }
855
+ ],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ }, {
859
+ "inputs": [
860
+ {
861
+ "components": [
862
+ {
863
+ "internalType": "address",
864
+ "name": "tokenIn",
865
+ "type": "address"
866
+ }, {
867
+ "internalType": "address",
868
+ "name": "tokenOut",
869
+ "type": "address"
870
+ }, {
871
+ "internalType": "uint256",
872
+ "name": "amountIn",
873
+ "type": "uint256"
874
+ }, {
875
+ "internalType": "uint160",
876
+ "name": "limitSqrtPrice",
877
+ "type": "uint160"
878
+ }
879
+ ],
880
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
881
+ "name": "params",
882
+ "type": "tuple"
883
+ }
884
+ ],
885
+ "name": "quoteExactInputSingle",
886
+ "outputs": [
887
+ {
888
+ "internalType": "uint256",
889
+ "name": "amountOut",
890
+ "type": "uint256"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "amountIn",
895
+ "type": "uint256"
896
+ },
897
+ {
898
+ "internalType": "uint160",
899
+ "name": "sqrtPriceX96After",
900
+ "type": "uint160"
901
+ },
902
+ {
903
+ "internalType": "uint32",
904
+ "name": "initializedTicksCrossed",
905
+ "type": "uint32"
906
+ }, {
907
+ "internalType": "uint256",
908
+ "name": "gasEstimate",
909
+ "type": "uint256"
910
+ }, {
911
+ "internalType": "uint16",
912
+ "name": "fee",
913
+ "type": "uint16"
914
+ }
915
+ ],
916
+ "stateMutability": "nonpayable",
917
+ "type": "function"
918
+ }, {
919
+ "inputs": [
920
+ {
921
+ "internalType": "bytes",
922
+ "name": "path",
923
+ "type": "bytes"
924
+ }, {
925
+ "internalType": "uint256",
926
+ "name": "amountOutRequired",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "name": "quoteExactOutput",
931
+ "outputs": [
932
+ {
933
+ "internalType": "uint256",
934
+ "name": "amountOut",
935
+ "type": "uint256"
936
+ },
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "amountIn",
940
+ "type": "uint256"
941
+ },
942
+ {
943
+ "internalType": "uint160[]",
944
+ "name": "sqrtPriceX96AfterList",
945
+ "type": "uint160[]"
946
+ },
947
+ {
948
+ "internalType": "uint32[]",
949
+ "name": "initializedTicksCrossedList",
950
+ "type": "uint32[]"
951
+ }, {
952
+ "internalType": "uint256",
953
+ "name": "gasEstimate",
954
+ "type": "uint256"
955
+ }, {
956
+ "internalType": "uint16[]",
957
+ "name": "feeList",
958
+ "type": "uint16[]"
959
+ }
960
+ ],
961
+ "stateMutability": "nonpayable",
962
+ "type": "function"
963
+ }, {
964
+ "inputs": [
965
+ {
966
+ "components": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "tokenIn",
970
+ "type": "address"
971
+ }, {
972
+ "internalType": "address",
973
+ "name": "tokenOut",
974
+ "type": "address"
975
+ }, {
976
+ "internalType": "uint256",
977
+ "name": "amount",
978
+ "type": "uint256"
979
+ }, {
980
+ "internalType": "uint160",
981
+ "name": "limitSqrtPrice",
982
+ "type": "uint160"
983
+ }
984
+ ],
985
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
986
+ "name": "params",
987
+ "type": "tuple"
988
+ }
989
+ ],
990
+ "name": "quoteExactOutputSingle",
991
+ "outputs": [
992
+ {
993
+ "internalType": "uint256",
994
+ "name": "amountOut",
995
+ "type": "uint256"
996
+ },
997
+ {
998
+ "internalType": "uint256",
999
+ "name": "amountIn",
1000
+ "type": "uint256"
1001
+ },
1002
+ {
1003
+ "internalType": "uint160",
1004
+ "name": "sqrtPriceX96After",
1005
+ "type": "uint160"
1006
+ },
1007
+ {
1008
+ "internalType": "uint32",
1009
+ "name": "initializedTicksCrossed",
1010
+ "type": "uint32"
1011
+ }, {
1012
+ "internalType": "uint256",
1013
+ "name": "gasEstimate",
1014
+ "type": "uint256"
1015
+ }, {
1016
+ "internalType": "uint16",
1017
+ "name": "fee",
1018
+ "type": "uint16"
1019
+ }
1020
+ ],
1021
+ "stateMutability": "nonpayable",
1022
+ "type": "function"
1023
+ }
1024
+ ];
1025
+ export const QuoterV2AlgebgraIntegral21 = [
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "address",
1030
+ "name": "_factory",
1031
+ "type": "address"
1032
+ }, {
1033
+ "internalType": "address",
1034
+ "name": "_WNativeToken",
1035
+ "type": "address"
1036
+ }, {
1037
+ "internalType": "address",
1038
+ "name": "_poolDeployer",
1039
+ "type": "address"
1040
+ }
1041
+ ],
1042
+ "stateMutability": "nonpayable",
1043
+ "type": "constructor"
1044
+ },
1045
+ {
1046
+ "inputs": [],
1047
+ "name": "WNativeToken",
1048
+ "outputs": [
1049
+ {
1050
+ "internalType": "address",
1051
+ "name": "",
1052
+ "type": "address"
1053
+ }
1054
+ ],
1055
+ "stateMutability": "view",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [
1060
+ {
1061
+ "internalType": "int256",
1062
+ "name": "amount0Delta",
1063
+ "type": "int256"
1064
+ }, {
1065
+ "internalType": "int256",
1066
+ "name": "amount1Delta",
1067
+ "type": "int256"
1068
+ }, {
1069
+ "internalType": "bytes",
1070
+ "name": "path",
1071
+ "type": "bytes"
1072
+ }
1073
+ ],
1074
+ "name": "algebraSwapCallback",
1075
+ "outputs": [],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [],
1081
+ "name": "factory",
1082
+ "outputs": [
1083
+ {
1084
+ "internalType": "address",
1085
+ "name": "",
1086
+ "type": "address"
1087
+ }
1088
+ ],
1089
+ "stateMutability": "view",
1090
+ "type": "function"
1091
+ }, {
1092
+ "inputs": [],
1093
+ "name": "poolDeployer",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "address",
1097
+ "name": "",
1098
+ "type": "address"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ }, {
1104
+ "inputs": [
1105
+ {
1106
+ "internalType": "bytes",
1107
+ "name": "path",
1108
+ "type": "bytes"
1109
+ }, {
1110
+ "internalType": "uint256",
1111
+ "name": "amountInRequired",
1112
+ "type": "uint256"
1113
+ }
1114
+ ],
1115
+ "name": "quoteExactInput",
1116
+ "outputs": [
1117
+ {
1118
+ "internalType": "uint256[]",
1119
+ "name": "amountOutList",
1120
+ "type": "uint256[]"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256[]",
1124
+ "name": "amountInList",
1125
+ "type": "uint256[]"
1126
+ },
1127
+ {
1128
+ "internalType": "uint160[]",
1129
+ "name": "sqrtPriceX96AfterList",
1130
+ "type": "uint160[]"
1131
+ },
1132
+ {
1133
+ "internalType": "uint32[]",
1134
+ "name": "initializedTicksCrossedList",
1135
+ "type": "uint32[]"
1136
+ }, {
1137
+ "internalType": "uint256",
1138
+ "name": "gasEstimate",
1139
+ "type": "uint256"
1140
+ }, {
1141
+ "internalType": "uint16[]",
1142
+ "name": "feeList",
1143
+ "type": "uint16[]"
1144
+ }
1145
+ ],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ }, {
1149
+ "inputs": [
1150
+ {
1151
+ "components": [
1152
+ {
1153
+ "internalType": "address",
1154
+ "name": "tokenIn",
1155
+ "type": "address"
1156
+ },
1157
+ {
1158
+ "internalType": "address",
1159
+ "name": "tokenOut",
1160
+ "type": "address"
1161
+ },
1162
+ {
1163
+ "internalType": "address",
1164
+ "name": "deployer",
1165
+ "type": "address"
1166
+ },
1167
+ {
1168
+ "internalType": "uint256",
1169
+ "name": "amountIn",
1170
+ "type": "uint256"
1171
+ }, {
1172
+ "internalType": "uint160",
1173
+ "name": "limitSqrtPrice",
1174
+ "type": "uint160"
1175
+ }
1176
+ ],
1177
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
1178
+ "name": "params",
1179
+ "type": "tuple"
1180
+ }
1181
+ ],
1182
+ "name": "quoteExactInputSingle",
1183
+ "outputs": [
1184
+ {
1185
+ "internalType": "uint256",
1186
+ "name": "amountOut",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "amountIn",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "uint160",
1196
+ "name": "sqrtPriceX96After",
1197
+ "type": "uint160"
1198
+ },
1199
+ {
1200
+ "internalType": "uint32",
1201
+ "name": "initializedTicksCrossed",
1202
+ "type": "uint32"
1203
+ }, {
1204
+ "internalType": "uint256",
1205
+ "name": "gasEstimate",
1206
+ "type": "uint256"
1207
+ }, {
1208
+ "internalType": "uint16",
1209
+ "name": "fee",
1210
+ "type": "uint16"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "nonpayable",
1214
+ "type": "function"
1215
+ }, {
1216
+ "inputs": [
1217
+ {
1218
+ "internalType": "bytes",
1219
+ "name": "path",
1220
+ "type": "bytes"
1221
+ }, {
1222
+ "internalType": "uint256",
1223
+ "name": "amountOutRequired",
1224
+ "type": "uint256"
1225
+ }
1226
+ ],
1227
+ "name": "quoteExactOutput",
1228
+ "outputs": [
1229
+ {
1230
+ "internalType": "uint256[]",
1231
+ "name": "amountOutList",
1232
+ "type": "uint256[]"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256[]",
1236
+ "name": "amountInList",
1237
+ "type": "uint256[]"
1238
+ },
1239
+ {
1240
+ "internalType": "uint160[]",
1241
+ "name": "sqrtPriceX96AfterList",
1242
+ "type": "uint160[]"
1243
+ },
1244
+ {
1245
+ "internalType": "uint32[]",
1246
+ "name": "initializedTicksCrossedList",
1247
+ "type": "uint32[]"
1248
+ }, {
1249
+ "internalType": "uint256",
1250
+ "name": "gasEstimate",
1251
+ "type": "uint256"
1252
+ }, {
1253
+ "internalType": "uint16[]",
1254
+ "name": "feeList",
1255
+ "type": "uint16[]"
1256
+ }
1257
+ ],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ }, {
1261
+ "inputs": [
1262
+ {
1263
+ "components": [
1264
+ {
1265
+ "internalType": "address",
1266
+ "name": "tokenIn",
1267
+ "type": "address"
1268
+ },
1269
+ {
1270
+ "internalType": "address",
1271
+ "name": "tokenOut",
1272
+ "type": "address"
1273
+ },
1274
+ {
1275
+ "internalType": "address",
1276
+ "name": "deployer",
1277
+ "type": "address"
1278
+ },
1279
+ {
1280
+ "internalType": "uint256",
1281
+ "name": "amount",
1282
+ "type": "uint256"
1283
+ }, {
1284
+ "internalType": "uint160",
1285
+ "name": "limitSqrtPrice",
1286
+ "type": "uint160"
1287
+ }
1288
+ ],
1289
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
1290
+ "name": "params",
1291
+ "type": "tuple"
1292
+ }
1293
+ ],
1294
+ "name": "quoteExactOutputSingle",
1295
+ "outputs": [
1296
+ {
1297
+ "internalType": "uint256",
1298
+ "name": "amountOut",
1299
+ "type": "uint256"
1300
+ },
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "amountIn",
1304
+ "type": "uint256"
1305
+ },
1306
+ {
1307
+ "internalType": "uint160",
1308
+ "name": "sqrtPriceX96After",
1309
+ "type": "uint160"
1310
+ },
1311
+ {
1312
+ "internalType": "uint32",
1313
+ "name": "initializedTicksCrossed",
1314
+ "type": "uint32"
1315
+ }, {
1316
+ "internalType": "uint256",
1317
+ "name": "gasEstimate",
1318
+ "type": "uint256"
1319
+ }, {
1320
+ "internalType": "uint16",
1321
+ "name": "fee",
1322
+ "type": "uint16"
1323
+ }
1324
+ ],
1325
+ "stateMutability": "nonpayable",
1326
+ "type": "function"
1327
+ }
1328
+ ];
1329
+ export const QuoterV2Shadow = [
1330
+ {
1331
+ "inputs": [
1332
+ {
1333
+ "internalType": "address",
1334
+ "name": "_deployer",
1335
+ "type": "address"
1336
+ }, {
1337
+ "internalType": "address",
1338
+ "name": "_WETH9",
1339
+ "type": "address"
1340
+ }
1341
+ ],
1342
+ "stateMutability": "nonpayable",
1343
+ "type": "constructor"
1344
+ },
1345
+ {
1346
+ "inputs": [],
1347
+ "name": "OutOfBounds",
1348
+ "type": "error"
1349
+ },
1350
+ {
1351
+ "inputs": [],
1352
+ "name": "Overflow",
1353
+ "type": "error"
1354
+ },
1355
+ {
1356
+ "inputs": [],
1357
+ "name": "WETH9",
1358
+ "outputs": [
1359
+ {
1360
+ "internalType": "address",
1361
+ "name": "",
1362
+ "type": "address"
1363
+ }
1364
+ ],
1365
+ "stateMutability": "view",
1366
+ "type": "function"
1367
+ }, {
1368
+ "inputs": [],
1369
+ "name": "deployer",
1370
+ "outputs": [
1371
+ {
1372
+ "internalType": "address",
1373
+ "name": "",
1374
+ "type": "address"
1375
+ }
1376
+ ],
1377
+ "stateMutability": "view",
1378
+ "type": "function"
1379
+ }, {
1380
+ "inputs": [
1381
+ {
1382
+ "internalType": "bytes",
1383
+ "name": "path",
1384
+ "type": "bytes"
1385
+ }, {
1386
+ "internalType": "uint256",
1387
+ "name": "amountIn",
1388
+ "type": "uint256"
1389
+ }
1390
+ ],
1391
+ "name": "quoteExactInput",
1392
+ "outputs": [
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "amountOut",
1396
+ "type": "uint256"
1397
+ }, {
1398
+ "internalType": "uint160[]",
1399
+ "name": "sqrtPriceX96AfterList",
1400
+ "type": "uint160[]"
1401
+ }, {
1402
+ "internalType": "uint32[]",
1403
+ "name": "initializedTicksCrossedList",
1404
+ "type": "uint32[]"
1405
+ }, {
1406
+ "internalType": "uint256",
1407
+ "name": "gasEstimate",
1408
+ "type": "uint256"
1409
+ }
1410
+ ],
1411
+ "stateMutability": "nonpayable",
1412
+ "type": "function"
1413
+ }, {
1414
+ "inputs": [
1415
+ {
1416
+ "components": [
1417
+ {
1418
+ "internalType": "address",
1419
+ "name": "tokenIn",
1420
+ "type": "address"
1421
+ },
1422
+ {
1423
+ "internalType": "address",
1424
+ "name": "tokenOut",
1425
+ "type": "address"
1426
+ },
1427
+ {
1428
+ "internalType": "uint256",
1429
+ "name": "amountIn",
1430
+ "type": "uint256"
1431
+ },
1432
+ {
1433
+ "internalType": "int24",
1434
+ "name": "tickSpacing",
1435
+ "type": "int24"
1436
+ }, {
1437
+ "internalType": "uint160",
1438
+ "name": "sqrtPriceLimitX96",
1439
+ "type": "uint160"
1440
+ }
1441
+ ],
1442
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
1443
+ "name": "params",
1444
+ "type": "tuple"
1445
+ }
1446
+ ],
1447
+ "name": "quoteExactInputSingle",
1448
+ "outputs": [
1449
+ {
1450
+ "internalType": "uint256",
1451
+ "name": "amountOut",
1452
+ "type": "uint256"
1453
+ }, {
1454
+ "internalType": "uint160",
1455
+ "name": "sqrtPriceX96After",
1456
+ "type": "uint160"
1457
+ }, {
1458
+ "internalType": "uint32",
1459
+ "name": "initializedTicksCrossed",
1460
+ "type": "uint32"
1461
+ }, {
1462
+ "internalType": "uint256",
1463
+ "name": "gasEstimate",
1464
+ "type": "uint256"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "nonpayable",
1468
+ "type": "function"
1469
+ }, {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "bytes",
1473
+ "name": "path",
1474
+ "type": "bytes"
1475
+ }, {
1476
+ "internalType": "uint256",
1477
+ "name": "amountOut",
1478
+ "type": "uint256"
1479
+ }
1480
+ ],
1481
+ "name": "quoteExactOutput",
1482
+ "outputs": [
1483
+ {
1484
+ "internalType": "uint256",
1485
+ "name": "amountIn",
1486
+ "type": "uint256"
1487
+ }, {
1488
+ "internalType": "uint160[]",
1489
+ "name": "sqrtPriceX96AfterList",
1490
+ "type": "uint160[]"
1491
+ }, {
1492
+ "internalType": "uint32[]",
1493
+ "name": "initializedTicksCrossedList",
1494
+ "type": "uint32[]"
1495
+ }, {
1496
+ "internalType": "uint256",
1497
+ "name": "gasEstimate",
1498
+ "type": "uint256"
1499
+ }
1500
+ ],
1501
+ "stateMutability": "nonpayable",
1502
+ "type": "function"
1503
+ }, {
1504
+ "inputs": [
1505
+ {
1506
+ "components": [
1507
+ {
1508
+ "internalType": "address",
1509
+ "name": "tokenIn",
1510
+ "type": "address"
1511
+ },
1512
+ {
1513
+ "internalType": "address",
1514
+ "name": "tokenOut",
1515
+ "type": "address"
1516
+ },
1517
+ {
1518
+ "internalType": "uint256",
1519
+ "name": "amount",
1520
+ "type": "uint256"
1521
+ },
1522
+ {
1523
+ "internalType": "int24",
1524
+ "name": "tickSpacing",
1525
+ "type": "int24"
1526
+ }, {
1527
+ "internalType": "uint160",
1528
+ "name": "sqrtPriceLimitX96",
1529
+ "type": "uint160"
1530
+ }
1531
+ ],
1532
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
1533
+ "name": "params",
1534
+ "type": "tuple"
1535
+ }
1536
+ ],
1537
+ "name": "quoteExactOutputSingle",
1538
+ "outputs": [
1539
+ {
1540
+ "internalType": "uint256",
1541
+ "name": "amountIn",
1542
+ "type": "uint256"
1543
+ }, {
1544
+ "internalType": "uint160",
1545
+ "name": "sqrtPriceX96After",
1546
+ "type": "uint160"
1547
+ }, {
1548
+ "internalType": "uint32",
1549
+ "name": "initializedTicksCrossed",
1550
+ "type": "uint32"
1551
+ }, {
1552
+ "internalType": "uint256",
1553
+ "name": "gasEstimate",
1554
+ "type": "uint256"
1555
+ }
1556
+ ],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ }, {
1560
+ "inputs": [
1561
+ {
1562
+ "internalType": "int256",
1563
+ "name": "amount0Delta",
1564
+ "type": "int256"
1565
+ }, {
1566
+ "internalType": "int256",
1567
+ "name": "amount1Delta",
1568
+ "type": "int256"
1569
+ }, {
1570
+ "internalType": "bytes",
1571
+ "name": "path",
1572
+ "type": "bytes"
1573
+ }
1574
+ ],
1575
+ "name": "uniswapV3SwapCallback",
1576
+ "outputs": [],
1577
+ "stateMutability": "view",
1578
+ "type": "function"
1579
+ }
1580
+ ];
245
1581
  //# sourceMappingURL=quoter.js.map