@pafi-dev/core 0.9.0 → 0.9.2

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.
@@ -471,639 +471,6 @@ var pointTokenFactoryAbi = [
471
471
  }
472
472
  ];
473
473
 
474
- // src/abi/mintFeeWrapper.ts
475
- var mintFeeWrapperAbi = [
476
- {
477
- "type": "constructor",
478
- "inputs": [],
479
- "stateMutability": "nonpayable"
480
- },
481
- {
482
- "type": "function",
483
- "name": "MAX_BASIS_POINTS",
484
- "inputs": [],
485
- "outputs": [
486
- {
487
- "name": "",
488
- "type": "uint16",
489
- "internalType": "uint16"
490
- }
491
- ],
492
- "stateMutability": "view"
493
- },
494
- {
495
- "type": "function",
496
- "name": "UPGRADE_INTERFACE_VERSION",
497
- "inputs": [],
498
- "outputs": [
499
- {
500
- "name": "",
501
- "type": "string",
502
- "internalType": "string"
503
- }
504
- ],
505
- "stateMutability": "view"
506
- },
507
- {
508
- "type": "function",
509
- "name": "acceptOwnership",
510
- "inputs": [],
511
- "outputs": [],
512
- "stateMutability": "nonpayable"
513
- },
514
- {
515
- "type": "function",
516
- "name": "getRecipients",
517
- "inputs": [
518
- {
519
- "name": "pointToken",
520
- "type": "address",
521
- "internalType": "address"
522
- }
523
- ],
524
- "outputs": [
525
- {
526
- "name": "",
527
- "type": "tuple[]",
528
- "internalType": "struct IMintFeeWrapper.Recipient[]",
529
- "components": [
530
- {
531
- "name": "account",
532
- "type": "address",
533
- "internalType": "address"
534
- },
535
- {
536
- "name": "basisPoints",
537
- "type": "uint16",
538
- "internalType": "uint16"
539
- }
540
- ]
541
- }
542
- ],
543
- "stateMutability": "view"
544
- },
545
- {
546
- "type": "function",
547
- "name": "initialize",
548
- "inputs": [
549
- {
550
- "name": "initialOwner",
551
- "type": "address",
552
- "internalType": "address"
553
- },
554
- {
555
- "name": "_registry",
556
- "type": "address",
557
- "internalType": "address"
558
- }
559
- ],
560
- "outputs": [],
561
- "stateMutability": "nonpayable"
562
- },
563
- {
564
- "type": "function",
565
- "name": "mintWithFee",
566
- "inputs": [
567
- {
568
- "name": "pointToken",
569
- "type": "address",
570
- "internalType": "address"
571
- },
572
- {
573
- "name": "user",
574
- "type": "address",
575
- "internalType": "address"
576
- },
577
- {
578
- "name": "grossAmount",
579
- "type": "uint256",
580
- "internalType": "uint256"
581
- },
582
- {
583
- "name": "deadline",
584
- "type": "uint256",
585
- "internalType": "uint256"
586
- },
587
- {
588
- "name": "minterSig",
589
- "type": "bytes",
590
- "internalType": "bytes"
591
- }
592
- ],
593
- "outputs": [],
594
- "stateMutability": "nonpayable"
595
- },
596
- {
597
- "type": "function",
598
- "name": "owner",
599
- "inputs": [],
600
- "outputs": [
601
- {
602
- "name": "",
603
- "type": "address",
604
- "internalType": "address"
605
- }
606
- ],
607
- "stateMutability": "view"
608
- },
609
- {
610
- "type": "function",
611
- "name": "pendingOwner",
612
- "inputs": [],
613
- "outputs": [
614
- {
615
- "name": "",
616
- "type": "address",
617
- "internalType": "address"
618
- }
619
- ],
620
- "stateMutability": "view"
621
- },
622
- {
623
- "type": "function",
624
- "name": "proxiableUUID",
625
- "inputs": [],
626
- "outputs": [
627
- {
628
- "name": "",
629
- "type": "bytes32",
630
- "internalType": "bytes32"
631
- }
632
- ],
633
- "stateMutability": "view"
634
- },
635
- {
636
- "type": "function",
637
- "name": "registerToken",
638
- "inputs": [
639
- {
640
- "name": "pointToken",
641
- "type": "address",
642
- "internalType": "address"
643
- },
644
- {
645
- "name": "recipients",
646
- "type": "tuple[]",
647
- "internalType": "struct IMintFeeWrapper.Recipient[]",
648
- "components": [
649
- {
650
- "name": "account",
651
- "type": "address",
652
- "internalType": "address"
653
- },
654
- {
655
- "name": "basisPoints",
656
- "type": "uint16",
657
- "internalType": "uint16"
658
- }
659
- ]
660
- }
661
- ],
662
- "outputs": [],
663
- "stateMutability": "nonpayable"
664
- },
665
- {
666
- "type": "function",
667
- "name": "registered",
668
- "inputs": [
669
- {
670
- "name": "pointToken",
671
- "type": "address",
672
- "internalType": "address"
673
- }
674
- ],
675
- "outputs": [
676
- {
677
- "name": "",
678
- "type": "bool",
679
- "internalType": "bool"
680
- }
681
- ],
682
- "stateMutability": "view"
683
- },
684
- {
685
- "type": "function",
686
- "name": "registry",
687
- "inputs": [],
688
- "outputs": [
689
- {
690
- "name": "",
691
- "type": "address",
692
- "internalType": "address"
693
- }
694
- ],
695
- "stateMutability": "view"
696
- },
697
- {
698
- "type": "function",
699
- "name": "renounceOwnership",
700
- "inputs": [],
701
- "outputs": [],
702
- "stateMutability": "nonpayable"
703
- },
704
- {
705
- "type": "function",
706
- "name": "setRecipients",
707
- "inputs": [
708
- {
709
- "name": "pointToken",
710
- "type": "address",
711
- "internalType": "address"
712
- },
713
- {
714
- "name": "newRecipients",
715
- "type": "tuple[]",
716
- "internalType": "struct IMintFeeWrapper.Recipient[]",
717
- "components": [
718
- {
719
- "name": "account",
720
- "type": "address",
721
- "internalType": "address"
722
- },
723
- {
724
- "name": "basisPoints",
725
- "type": "uint16",
726
- "internalType": "uint16"
727
- }
728
- ]
729
- }
730
- ],
731
- "outputs": [],
732
- "stateMutability": "nonpayable"
733
- },
734
- {
735
- "type": "function",
736
- "name": "setRegistry",
737
- "inputs": [
738
- {
739
- "name": "newRegistry",
740
- "type": "address",
741
- "internalType": "address"
742
- }
743
- ],
744
- "outputs": [],
745
- "stateMutability": "nonpayable"
746
- },
747
- {
748
- "type": "function",
749
- "name": "totalFeeBps",
750
- "inputs": [
751
- {
752
- "name": "pointToken",
753
- "type": "address",
754
- "internalType": "address"
755
- }
756
- ],
757
- "outputs": [
758
- {
759
- "name": "",
760
- "type": "uint16",
761
- "internalType": "uint16"
762
- }
763
- ],
764
- "stateMutability": "view"
765
- },
766
- {
767
- "type": "function",
768
- "name": "transferOwnership",
769
- "inputs": [
770
- {
771
- "name": "newOwner",
772
- "type": "address",
773
- "internalType": "address"
774
- }
775
- ],
776
- "outputs": [],
777
- "stateMutability": "nonpayable"
778
- },
779
- {
780
- "type": "function",
781
- "name": "upgradeToAndCall",
782
- "inputs": [
783
- {
784
- "name": "newImplementation",
785
- "type": "address",
786
- "internalType": "address"
787
- },
788
- {
789
- "name": "data",
790
- "type": "bytes",
791
- "internalType": "bytes"
792
- }
793
- ],
794
- "outputs": [],
795
- "stateMutability": "payable"
796
- },
797
- {
798
- "type": "event",
799
- "name": "FeeDistributed",
800
- "inputs": [
801
- {
802
- "name": "pointToken",
803
- "type": "address",
804
- "indexed": true,
805
- "internalType": "address"
806
- },
807
- {
808
- "name": "recipient",
809
- "type": "address",
810
- "indexed": true,
811
- "internalType": "address"
812
- },
813
- {
814
- "name": "amount",
815
- "type": "uint256",
816
- "indexed": false,
817
- "internalType": "uint256"
818
- }
819
- ],
820
- "anonymous": false
821
- },
822
- {
823
- "type": "event",
824
- "name": "Initialized",
825
- "inputs": [
826
- {
827
- "name": "version",
828
- "type": "uint64",
829
- "indexed": false,
830
- "internalType": "uint64"
831
- }
832
- ],
833
- "anonymous": false
834
- },
835
- {
836
- "type": "event",
837
- "name": "MintWithFee",
838
- "inputs": [
839
- {
840
- "name": "pointToken",
841
- "type": "address",
842
- "indexed": true,
843
- "internalType": "address"
844
- },
845
- {
846
- "name": "to",
847
- "type": "address",
848
- "indexed": true,
849
- "internalType": "address"
850
- },
851
- {
852
- "name": "grossAmount",
853
- "type": "uint256",
854
- "indexed": false,
855
- "internalType": "uint256"
856
- },
857
- {
858
- "name": "netAmount",
859
- "type": "uint256",
860
- "indexed": false,
861
- "internalType": "uint256"
862
- },
863
- {
864
- "name": "feeAmount",
865
- "type": "uint256",
866
- "indexed": false,
867
- "internalType": "uint256"
868
- }
869
- ],
870
- "anonymous": false
871
- },
872
- {
873
- "type": "event",
874
- "name": "OwnershipTransferStarted",
875
- "inputs": [
876
- {
877
- "name": "previousOwner",
878
- "type": "address",
879
- "indexed": true,
880
- "internalType": "address"
881
- },
882
- {
883
- "name": "newOwner",
884
- "type": "address",
885
- "indexed": true,
886
- "internalType": "address"
887
- }
888
- ],
889
- "anonymous": false
890
- },
891
- {
892
- "type": "event",
893
- "name": "OwnershipTransferred",
894
- "inputs": [
895
- {
896
- "name": "previousOwner",
897
- "type": "address",
898
- "indexed": true,
899
- "internalType": "address"
900
- },
901
- {
902
- "name": "newOwner",
903
- "type": "address",
904
- "indexed": true,
905
- "internalType": "address"
906
- }
907
- ],
908
- "anonymous": false
909
- },
910
- {
911
- "type": "event",
912
- "name": "RecipientsUpdated",
913
- "inputs": [
914
- {
915
- "name": "pointToken",
916
- "type": "address",
917
- "indexed": true,
918
- "internalType": "address"
919
- },
920
- {
921
- "name": "recipients",
922
- "type": "tuple[]",
923
- "indexed": false,
924
- "internalType": "struct IMintFeeWrapper.Recipient[]",
925
- "components": [
926
- {
927
- "name": "account",
928
- "type": "address",
929
- "internalType": "address"
930
- },
931
- {
932
- "name": "basisPoints",
933
- "type": "uint16",
934
- "internalType": "uint16"
935
- }
936
- ]
937
- }
938
- ],
939
- "anonymous": false
940
- },
941
- {
942
- "type": "event",
943
- "name": "RegistryUpdated",
944
- "inputs": [
945
- {
946
- "name": "registry",
947
- "type": "address",
948
- "indexed": true,
949
- "internalType": "address"
950
- }
951
- ],
952
- "anonymous": false
953
- },
954
- {
955
- "type": "event",
956
- "name": "Upgraded",
957
- "inputs": [
958
- {
959
- "name": "implementation",
960
- "type": "address",
961
- "indexed": true,
962
- "internalType": "address"
963
- }
964
- ],
965
- "anonymous": false
966
- },
967
- {
968
- "type": "error",
969
- "name": "AddressEmptyCode",
970
- "inputs": [
971
- {
972
- "name": "target",
973
- "type": "address",
974
- "internalType": "address"
975
- }
976
- ]
977
- },
978
- {
979
- "type": "error",
980
- "name": "AlreadyRegistered",
981
- "inputs": [
982
- {
983
- "name": "pointToken",
984
- "type": "address",
985
- "internalType": "address"
986
- }
987
- ]
988
- },
989
- {
990
- "type": "error",
991
- "name": "ERC1967InvalidImplementation",
992
- "inputs": [
993
- {
994
- "name": "implementation",
995
- "type": "address",
996
- "internalType": "address"
997
- }
998
- ]
999
- },
1000
- {
1001
- "type": "error",
1002
- "name": "ERC1967NonPayable",
1003
- "inputs": []
1004
- },
1005
- {
1006
- "type": "error",
1007
- "name": "FailedCall",
1008
- "inputs": []
1009
- },
1010
- {
1011
- "type": "error",
1012
- "name": "InvalidInitialization",
1013
- "inputs": []
1014
- },
1015
- {
1016
- "type": "error",
1017
- "name": "NotInitializing",
1018
- "inputs": []
1019
- },
1020
- {
1021
- "type": "error",
1022
- "name": "NotIssuer",
1023
- "inputs": []
1024
- },
1025
- {
1026
- "type": "error",
1027
- "name": "NotRegistered",
1028
- "inputs": [
1029
- {
1030
- "name": "pointToken",
1031
- "type": "address",
1032
- "internalType": "address"
1033
- }
1034
- ]
1035
- },
1036
- {
1037
- "type": "error",
1038
- "name": "NotUser",
1039
- "inputs": []
1040
- },
1041
- {
1042
- "type": "error",
1043
- "name": "OnlyRegistry",
1044
- "inputs": []
1045
- },
1046
- {
1047
- "type": "error",
1048
- "name": "OwnableInvalidOwner",
1049
- "inputs": [
1050
- {
1051
- "name": "owner",
1052
- "type": "address",
1053
- "internalType": "address"
1054
- }
1055
- ]
1056
- },
1057
- {
1058
- "type": "error",
1059
- "name": "OwnableUnauthorizedAccount",
1060
- "inputs": [
1061
- {
1062
- "name": "account",
1063
- "type": "address",
1064
- "internalType": "address"
1065
- }
1066
- ]
1067
- },
1068
- {
1069
- "type": "error",
1070
- "name": "TotalFeeTooHigh",
1071
- "inputs": [
1072
- {
1073
- "name": "totalBps",
1074
- "type": "uint16",
1075
- "internalType": "uint16"
1076
- }
1077
- ]
1078
- },
1079
- {
1080
- "type": "error",
1081
- "name": "UUPSUnauthorizedCallContext",
1082
- "inputs": []
1083
- },
1084
- {
1085
- "type": "error",
1086
- "name": "UUPSUnsupportedProxiableUUID",
1087
- "inputs": [
1088
- {
1089
- "name": "slot",
1090
- "type": "bytes32",
1091
- "internalType": "bytes32"
1092
- }
1093
- ]
1094
- },
1095
- {
1096
- "type": "error",
1097
- "name": "ZeroAddress",
1098
- "inputs": []
1099
- },
1100
- {
1101
- "type": "error",
1102
- "name": "ZeroAmount",
1103
- "inputs": []
1104
- }
1105
- ];
1106
-
1107
474
  // src/abi/erc20.ts
1108
475
  var erc20Abi = [
1109
476
  {
@@ -1344,10 +711,9 @@ var v4QuoterAbi = [
1344
711
 
1345
712
  export {
1346
713
  pointTokenFactoryAbi,
1347
- mintFeeWrapperAbi,
1348
714
  erc20Abi,
1349
715
  universalRouterAbi,
1350
716
  permit2Abi,
1351
717
  v4QuoterAbi
1352
718
  };
1353
- //# sourceMappingURL=chunk-JWZTY5UL.js.map
719
+ //# sourceMappingURL=chunk-CWH4KOUW.js.map