@pafi-dev/core 0.7.10 → 0.9.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.
- package/dist/abi/index.cjs +6 -4
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.d.cts +1066 -136
- package/dist/abi/index.d.ts +1066 -136
- package/dist/abi/index.js +5 -3
- package/dist/{chunk-JEWSN7Q3.cjs → chunk-57KR35JW.cjs} +474 -72
- package/dist/chunk-57KR35JW.cjs.map +1 -0
- package/dist/{chunk-B2NDSIAI.js → chunk-FHFZ2F34.js} +474 -72
- package/dist/chunk-FHFZ2F34.js.map +1 -0
- package/dist/chunk-G7NS4TS3.cjs +1353 -0
- package/dist/chunk-G7NS4TS3.cjs.map +1 -0
- package/dist/{chunk-REUEMYWB.cjs → chunk-JH6XFHES.cjs} +15 -15
- package/dist/chunk-JH6XFHES.cjs.map +1 -0
- package/dist/chunk-JWZTY5UL.js +1353 -0
- package/dist/chunk-JWZTY5UL.js.map +1 -0
- package/dist/{chunk-6WWSKC3Z.cjs → chunk-KRHGFUDI.cjs} +65 -7
- package/dist/chunk-KRHGFUDI.cjs.map +1 -0
- package/dist/{chunk-AEYEFV5G.js → chunk-PWQWNHGI.js} +5 -5
- package/dist/{chunk-AEYEFV5G.js.map → chunk-PWQWNHGI.js.map} +1 -1
- package/dist/{chunk-SZMSKZHY.js → chunk-UCO5DXD6.js} +65 -7
- package/dist/chunk-UCO5DXD6.js.map +1 -0
- package/dist/{chunk-4QRHSZZQ.cjs → chunk-UTG2UT54.cjs} +10 -8
- package/dist/chunk-UTG2UT54.cjs.map +1 -0
- package/dist/{chunk-QL5COJQI.js → chunk-XNVVZVK6.js} +9 -7
- package/dist/chunk-XNVVZVK6.js.map +1 -0
- package/dist/contract/index.cjs +4 -4
- package/dist/contract/index.d.cts +7 -2
- package/dist/contract/index.d.ts +7 -2
- package/dist/contract/index.js +3 -3
- package/dist/eip712/index.cjs +3 -3
- package/dist/eip712/index.d.cts +16 -5
- package/dist/eip712/index.d.ts +16 -5
- package/dist/eip712/index.js +2 -2
- package/dist/index.cjs +89 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -10
- package/dist/index.d.ts +62 -10
- package/dist/index.js +51 -7
- package/dist/index.js.map +1 -1
- package/dist/{types-CCvAk-ma.d.ts → types-DWLZNgcw.d.cts} +39 -15
- package/dist/{types-CCvAk-ma.d.cts → types-DWLZNgcw.d.ts} +39 -15
- package/package.json +1 -1
- package/dist/chunk-4QRHSZZQ.cjs.map +0 -1
- package/dist/chunk-6CXTFOIH.js +0 -671
- package/dist/chunk-6CXTFOIH.js.map +0 -1
- package/dist/chunk-6WWSKC3Z.cjs.map +0 -1
- package/dist/chunk-B2NDSIAI.js.map +0 -1
- package/dist/chunk-JEWSN7Q3.cjs.map +0 -1
- package/dist/chunk-Q6WCDZXI.cjs +0 -671
- package/dist/chunk-Q6WCDZXI.cjs.map +0 -1
- package/dist/chunk-QL5COJQI.js.map +0 -1
- package/dist/chunk-REUEMYWB.cjs.map +0 -1
- package/dist/chunk-SZMSKZHY.js.map +0 -1
package/dist/abi/index.d.cts
CHANGED
|
@@ -255,7 +255,7 @@ declare const pointTokenAbi: readonly [{
|
|
|
255
255
|
readonly type: "function";
|
|
256
256
|
readonly name: "mint";
|
|
257
257
|
readonly inputs: readonly [{
|
|
258
|
-
readonly name: "
|
|
258
|
+
readonly name: "user";
|
|
259
259
|
readonly type: "address";
|
|
260
260
|
readonly internalType: "address";
|
|
261
261
|
}, {
|
|
@@ -345,6 +345,22 @@ declare const pointTokenAbi: readonly [{
|
|
|
345
345
|
readonly internalType: "address";
|
|
346
346
|
}];
|
|
347
347
|
readonly stateMutability: "view";
|
|
348
|
+
}, {
|
|
349
|
+
readonly type: "function";
|
|
350
|
+
readonly name: "pause";
|
|
351
|
+
readonly inputs: readonly [];
|
|
352
|
+
readonly outputs: readonly [];
|
|
353
|
+
readonly stateMutability: "nonpayable";
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly name: "paused";
|
|
357
|
+
readonly inputs: readonly [];
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly name: "";
|
|
360
|
+
readonly type: "bool";
|
|
361
|
+
readonly internalType: "bool";
|
|
362
|
+
}];
|
|
363
|
+
readonly stateMutability: "view";
|
|
348
364
|
}, {
|
|
349
365
|
readonly type: "function";
|
|
350
366
|
readonly name: "pendingOwner";
|
|
@@ -495,6 +511,12 @@ declare const pointTokenAbi: readonly [{
|
|
|
495
511
|
}];
|
|
496
512
|
readonly outputs: readonly [];
|
|
497
513
|
readonly stateMutability: "nonpayable";
|
|
514
|
+
}, {
|
|
515
|
+
readonly type: "function";
|
|
516
|
+
readonly name: "unpause";
|
|
517
|
+
readonly inputs: readonly [];
|
|
518
|
+
readonly outputs: readonly [];
|
|
519
|
+
readonly stateMutability: "nonpayable";
|
|
498
520
|
}, {
|
|
499
521
|
readonly type: "event";
|
|
500
522
|
readonly name: "Approval";
|
|
@@ -610,6 +632,16 @@ declare const pointTokenAbi: readonly [{
|
|
|
610
632
|
readonly internalType: "address";
|
|
611
633
|
}];
|
|
612
634
|
readonly anonymous: false;
|
|
635
|
+
}, {
|
|
636
|
+
readonly type: "event";
|
|
637
|
+
readonly name: "Paused";
|
|
638
|
+
readonly inputs: readonly [{
|
|
639
|
+
readonly name: "account";
|
|
640
|
+
readonly type: "address";
|
|
641
|
+
readonly indexed: false;
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
}];
|
|
644
|
+
readonly anonymous: false;
|
|
613
645
|
}, {
|
|
614
646
|
readonly type: "event";
|
|
615
647
|
readonly name: "Transfer";
|
|
@@ -630,6 +662,16 @@ declare const pointTokenAbi: readonly [{
|
|
|
630
662
|
readonly internalType: "uint256";
|
|
631
663
|
}];
|
|
632
664
|
readonly anonymous: false;
|
|
665
|
+
}, {
|
|
666
|
+
readonly type: "event";
|
|
667
|
+
readonly name: "Unpaused";
|
|
668
|
+
readonly inputs: readonly [{
|
|
669
|
+
readonly name: "account";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
readonly indexed: false;
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
}];
|
|
674
|
+
readonly anonymous: false;
|
|
633
675
|
}, {
|
|
634
676
|
readonly type: "error";
|
|
635
677
|
readonly name: "BurnerAlreadyAdded";
|
|
@@ -750,6 +792,14 @@ declare const pointTokenAbi: readonly [{
|
|
|
750
792
|
readonly type: "address";
|
|
751
793
|
readonly internalType: "address";
|
|
752
794
|
}];
|
|
795
|
+
}, {
|
|
796
|
+
readonly type: "error";
|
|
797
|
+
readonly name: "EnforcedPause";
|
|
798
|
+
readonly inputs: readonly [];
|
|
799
|
+
}, {
|
|
800
|
+
readonly type: "error";
|
|
801
|
+
readonly name: "ExpectedPause";
|
|
802
|
+
readonly inputs: readonly [];
|
|
753
803
|
}, {
|
|
754
804
|
readonly type: "error";
|
|
755
805
|
readonly name: "InvalidAccountNonce";
|
|
@@ -806,10 +856,6 @@ declare const pointTokenAbi: readonly [{
|
|
|
806
856
|
readonly type: "error";
|
|
807
857
|
readonly name: "NotMinter";
|
|
808
858
|
readonly inputs: readonly [];
|
|
809
|
-
}, {
|
|
810
|
-
readonly type: "error";
|
|
811
|
-
readonly name: "NotReceiver";
|
|
812
|
-
readonly inputs: readonly [];
|
|
813
859
|
}, {
|
|
814
860
|
readonly type: "error";
|
|
815
861
|
readonly name: "OwnableInvalidOwner";
|
|
@@ -841,16 +887,6 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
841
887
|
readonly type: "constructor";
|
|
842
888
|
readonly inputs: readonly [];
|
|
843
889
|
readonly stateMutability: "nonpayable";
|
|
844
|
-
}, {
|
|
845
|
-
readonly type: "function";
|
|
846
|
-
readonly name: "MAX_BASIS_POINTS";
|
|
847
|
-
readonly inputs: readonly [];
|
|
848
|
-
readonly outputs: readonly [{
|
|
849
|
-
readonly name: "";
|
|
850
|
-
readonly type: "uint16";
|
|
851
|
-
readonly internalType: "uint16";
|
|
852
|
-
}];
|
|
853
|
-
readonly stateMutability: "view";
|
|
854
890
|
}, {
|
|
855
891
|
readonly type: "function";
|
|
856
892
|
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
@@ -908,9 +944,74 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
908
944
|
readonly name: "tokenSymbol";
|
|
909
945
|
readonly type: "string";
|
|
910
946
|
readonly internalType: "string";
|
|
947
|
+
}, {
|
|
948
|
+
readonly name: "deadline";
|
|
949
|
+
readonly type: "uint256";
|
|
950
|
+
readonly internalType: "uint256";
|
|
951
|
+
}, {
|
|
952
|
+
readonly name: "initialRecipients";
|
|
953
|
+
readonly type: "tuple[]";
|
|
954
|
+
readonly internalType: "struct IMintFeeWrapper.Recipient[]";
|
|
955
|
+
readonly components: readonly [{
|
|
956
|
+
readonly name: "account";
|
|
957
|
+
readonly type: "address";
|
|
958
|
+
readonly internalType: "address";
|
|
959
|
+
}, {
|
|
960
|
+
readonly name: "basisPoints";
|
|
961
|
+
readonly type: "uint16";
|
|
962
|
+
readonly internalType: "uint16";
|
|
963
|
+
}];
|
|
964
|
+
}, {
|
|
965
|
+
readonly name: "daoSig";
|
|
966
|
+
readonly type: "bytes";
|
|
967
|
+
readonly internalType: "bytes";
|
|
911
968
|
}];
|
|
912
969
|
readonly outputs: readonly [];
|
|
913
970
|
readonly stateMutability: "nonpayable";
|
|
971
|
+
}, {
|
|
972
|
+
readonly type: "function";
|
|
973
|
+
readonly name: "daoSigner";
|
|
974
|
+
readonly inputs: readonly [];
|
|
975
|
+
readonly outputs: readonly [{
|
|
976
|
+
readonly name: "";
|
|
977
|
+
readonly type: "address";
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
}];
|
|
980
|
+
readonly stateMutability: "view";
|
|
981
|
+
}, {
|
|
982
|
+
readonly type: "function";
|
|
983
|
+
readonly name: "eip712Domain";
|
|
984
|
+
readonly inputs: readonly [];
|
|
985
|
+
readonly outputs: readonly [{
|
|
986
|
+
readonly name: "fields";
|
|
987
|
+
readonly type: "bytes1";
|
|
988
|
+
readonly internalType: "bytes1";
|
|
989
|
+
}, {
|
|
990
|
+
readonly name: "name";
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly internalType: "string";
|
|
993
|
+
}, {
|
|
994
|
+
readonly name: "version";
|
|
995
|
+
readonly type: "string";
|
|
996
|
+
readonly internalType: "string";
|
|
997
|
+
}, {
|
|
998
|
+
readonly name: "chainId";
|
|
999
|
+
readonly type: "uint256";
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly name: "verifyingContract";
|
|
1003
|
+
readonly type: "address";
|
|
1004
|
+
readonly internalType: "address";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly name: "salt";
|
|
1007
|
+
readonly type: "bytes32";
|
|
1008
|
+
readonly internalType: "bytes32";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly name: "extensions";
|
|
1011
|
+
readonly type: "uint256[]";
|
|
1012
|
+
readonly internalType: "uint256[]";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly stateMutability: "view";
|
|
914
1015
|
}, {
|
|
915
1016
|
readonly type: "function";
|
|
916
1017
|
readonly name: "getIssuer";
|
|
@@ -939,14 +1040,6 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
939
1040
|
readonly name: "symbol";
|
|
940
1041
|
readonly type: "string";
|
|
941
1042
|
readonly internalType: "string";
|
|
942
|
-
}, {
|
|
943
|
-
readonly name: "declaredTotalSupply";
|
|
944
|
-
readonly type: "uint256";
|
|
945
|
-
readonly internalType: "uint256";
|
|
946
|
-
}, {
|
|
947
|
-
readonly name: "capBasisPoints";
|
|
948
|
-
readonly type: "uint16";
|
|
949
|
-
readonly internalType: "uint16";
|
|
950
1043
|
}, {
|
|
951
1044
|
readonly name: "active";
|
|
952
1045
|
readonly type: "bool";
|
|
@@ -969,6 +1062,10 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
969
1062
|
readonly name: "initialOwner";
|
|
970
1063
|
readonly type: "address";
|
|
971
1064
|
readonly internalType: "address";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "initialDaoSigner";
|
|
1067
|
+
readonly type: "address";
|
|
1068
|
+
readonly internalType: "address";
|
|
972
1069
|
}];
|
|
973
1070
|
readonly outputs: readonly [];
|
|
974
1071
|
readonly stateMutability: "nonpayable";
|
|
@@ -986,6 +1083,30 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
986
1083
|
readonly internalType: "bool";
|
|
987
1084
|
}];
|
|
988
1085
|
readonly stateMutability: "view";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly type: "function";
|
|
1088
|
+
readonly name: "mintFeeWrapper";
|
|
1089
|
+
readonly inputs: readonly [];
|
|
1090
|
+
readonly outputs: readonly [{
|
|
1091
|
+
readonly name: "";
|
|
1092
|
+
readonly type: "address";
|
|
1093
|
+
readonly internalType: "address";
|
|
1094
|
+
}];
|
|
1095
|
+
readonly stateMutability: "view";
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly type: "function";
|
|
1098
|
+
readonly name: "nonces";
|
|
1099
|
+
readonly inputs: readonly [{
|
|
1100
|
+
readonly name: "issuer";
|
|
1101
|
+
readonly type: "address";
|
|
1102
|
+
readonly internalType: "address";
|
|
1103
|
+
}];
|
|
1104
|
+
readonly outputs: readonly [{
|
|
1105
|
+
readonly name: "";
|
|
1106
|
+
readonly type: "uint256";
|
|
1107
|
+
readonly internalType: "uint256";
|
|
1108
|
+
}];
|
|
1109
|
+
readonly stateMutability: "view";
|
|
989
1110
|
}, {
|
|
990
1111
|
readonly type: "function";
|
|
991
1112
|
readonly name: "owner";
|
|
@@ -1042,6 +1163,26 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1042
1163
|
readonly inputs: readonly [];
|
|
1043
1164
|
readonly outputs: readonly [];
|
|
1044
1165
|
readonly stateMutability: "nonpayable";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly type: "function";
|
|
1168
|
+
readonly name: "setDaoSigner";
|
|
1169
|
+
readonly inputs: readonly [{
|
|
1170
|
+
readonly name: "newDaoSigner";
|
|
1171
|
+
readonly type: "address";
|
|
1172
|
+
readonly internalType: "address";
|
|
1173
|
+
}];
|
|
1174
|
+
readonly outputs: readonly [];
|
|
1175
|
+
readonly stateMutability: "nonpayable";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly type: "function";
|
|
1178
|
+
readonly name: "setMintFeeWrapper";
|
|
1179
|
+
readonly inputs: readonly [{
|
|
1180
|
+
readonly name: "wrapper";
|
|
1181
|
+
readonly type: "address";
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly outputs: readonly [];
|
|
1185
|
+
readonly stateMutability: "nonpayable";
|
|
1045
1186
|
}, {
|
|
1046
1187
|
readonly type: "function";
|
|
1047
1188
|
readonly name: "setPointTokenFactory";
|
|
@@ -1091,14 +1232,6 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1091
1232
|
readonly name: "name";
|
|
1092
1233
|
readonly type: "string";
|
|
1093
1234
|
readonly internalType: "string";
|
|
1094
|
-
}, {
|
|
1095
|
-
readonly name: "declaredTotalSupply";
|
|
1096
|
-
readonly type: "uint256";
|
|
1097
|
-
readonly internalType: "uint256";
|
|
1098
|
-
}, {
|
|
1099
|
-
readonly name: "capBasisPoints";
|
|
1100
|
-
readonly type: "uint16";
|
|
1101
|
-
readonly internalType: "uint16";
|
|
1102
1235
|
}, {
|
|
1103
1236
|
readonly name: "active";
|
|
1104
1237
|
readonly type: "bool";
|
|
@@ -1134,6 +1267,21 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1134
1267
|
readonly internalType: "bool";
|
|
1135
1268
|
}];
|
|
1136
1269
|
readonly stateMutability: "view";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly type: "event";
|
|
1272
|
+
readonly name: "DaoSignerUpdated";
|
|
1273
|
+
readonly inputs: readonly [{
|
|
1274
|
+
readonly name: "daoSigner";
|
|
1275
|
+
readonly type: "address";
|
|
1276
|
+
readonly indexed: true;
|
|
1277
|
+
readonly internalType: "address";
|
|
1278
|
+
}];
|
|
1279
|
+
readonly anonymous: false;
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly type: "event";
|
|
1282
|
+
readonly name: "EIP712DomainChanged";
|
|
1283
|
+
readonly inputs: readonly [];
|
|
1284
|
+
readonly anonymous: false;
|
|
1137
1285
|
}, {
|
|
1138
1286
|
readonly type: "event";
|
|
1139
1287
|
readonly name: "Initialized";
|
|
@@ -1197,16 +1345,6 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1197
1345
|
readonly type: "string";
|
|
1198
1346
|
readonly indexed: false;
|
|
1199
1347
|
readonly internalType: "string";
|
|
1200
|
-
}, {
|
|
1201
|
-
readonly name: "declaredTotalSupply";
|
|
1202
|
-
readonly type: "uint256";
|
|
1203
|
-
readonly indexed: false;
|
|
1204
|
-
readonly internalType: "uint256";
|
|
1205
|
-
}, {
|
|
1206
|
-
readonly name: "capBasisPoints";
|
|
1207
|
-
readonly type: "uint16";
|
|
1208
|
-
readonly indexed: false;
|
|
1209
|
-
readonly internalType: "uint16";
|
|
1210
1348
|
}, {
|
|
1211
1349
|
readonly name: "active";
|
|
1212
1350
|
readonly type: "bool";
|
|
@@ -1214,6 +1352,16 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1214
1352
|
readonly internalType: "bool";
|
|
1215
1353
|
}];
|
|
1216
1354
|
readonly anonymous: false;
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly type: "event";
|
|
1357
|
+
readonly name: "MintFeeWrapperUpdated";
|
|
1358
|
+
readonly inputs: readonly [{
|
|
1359
|
+
readonly name: "mintFeeWrapper";
|
|
1360
|
+
readonly type: "address";
|
|
1361
|
+
readonly indexed: true;
|
|
1362
|
+
readonly internalType: "address";
|
|
1363
|
+
}];
|
|
1364
|
+
readonly anonymous: false;
|
|
1217
1365
|
}, {
|
|
1218
1366
|
readonly type: "event";
|
|
1219
1367
|
readonly name: "OwnershipTransferStarted";
|
|
@@ -1272,14 +1420,6 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1272
1420
|
readonly type: "address";
|
|
1273
1421
|
readonly internalType: "address";
|
|
1274
1422
|
}];
|
|
1275
|
-
}, {
|
|
1276
|
-
readonly type: "error";
|
|
1277
|
-
readonly name: "CapBasisPointsTooHigh";
|
|
1278
|
-
readonly inputs: readonly [{
|
|
1279
|
-
readonly name: "capBasisPoints";
|
|
1280
|
-
readonly type: "uint16";
|
|
1281
|
-
readonly internalType: "uint16";
|
|
1282
|
-
}];
|
|
1283
1423
|
}, {
|
|
1284
1424
|
readonly type: "error";
|
|
1285
1425
|
readonly name: "ERC1967InvalidImplementation";
|
|
@@ -1302,16 +1442,12 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1302
1442
|
readonly inputs: readonly [];
|
|
1303
1443
|
}, {
|
|
1304
1444
|
readonly type: "error";
|
|
1305
|
-
readonly name: "
|
|
1445
|
+
readonly name: "InvalidDAOSignature";
|
|
1306
1446
|
readonly inputs: readonly [];
|
|
1307
1447
|
}, {
|
|
1308
1448
|
readonly type: "error";
|
|
1309
|
-
readonly name: "
|
|
1310
|
-
readonly inputs: readonly [
|
|
1311
|
-
readonly name: "issuer";
|
|
1312
|
-
readonly type: "address";
|
|
1313
|
-
readonly internalType: "address";
|
|
1314
|
-
}];
|
|
1449
|
+
readonly name: "InvalidInitialization";
|
|
1450
|
+
readonly inputs: readonly [];
|
|
1315
1451
|
}, {
|
|
1316
1452
|
readonly type: "error";
|
|
1317
1453
|
readonly name: "IssuerNotFound";
|
|
@@ -1332,6 +1468,10 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1332
1468
|
readonly type: "error";
|
|
1333
1469
|
readonly name: "NotInitializing";
|
|
1334
1470
|
readonly inputs: readonly [];
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly type: "error";
|
|
1473
|
+
readonly name: "NotIssuer";
|
|
1474
|
+
readonly inputs: readonly [];
|
|
1335
1475
|
}, {
|
|
1336
1476
|
readonly type: "error";
|
|
1337
1477
|
readonly name: "OwnableInvalidOwner";
|
|
@@ -1348,6 +1488,10 @@ declare const issuerRegistryAbi: readonly [{
|
|
|
1348
1488
|
readonly type: "address";
|
|
1349
1489
|
readonly internalType: "address";
|
|
1350
1490
|
}];
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly type: "error";
|
|
1493
|
+
readonly name: "SignatureExpired";
|
|
1494
|
+
readonly inputs: readonly [];
|
|
1351
1495
|
}, {
|
|
1352
1496
|
readonly type: "error";
|
|
1353
1497
|
readonly name: "UUPSUnauthorizedCallContext";
|
|
@@ -1735,46 +1879,72 @@ declare const pointTokenFactoryAbi: readonly [{
|
|
|
1735
1879
|
/** ABI for MintingOracle (per-issuer mint cap enforcement) — auto-generated from Foundry artifacts, do not edit */
|
|
1736
1880
|
declare const mintingOracleAbi: readonly [{
|
|
1737
1881
|
readonly type: "constructor";
|
|
1738
|
-
readonly inputs: readonly [{
|
|
1739
|
-
readonly name: "initialOwner";
|
|
1740
|
-
readonly type: "address";
|
|
1741
|
-
readonly internalType: "address";
|
|
1742
|
-
}, {
|
|
1743
|
-
readonly name: "_registry";
|
|
1744
|
-
readonly type: "address";
|
|
1745
|
-
readonly internalType: "address";
|
|
1746
|
-
}];
|
|
1747
|
-
readonly stateMutability: "nonpayable";
|
|
1748
|
-
}, {
|
|
1749
|
-
readonly type: "function";
|
|
1750
|
-
readonly name: "acceptOwnership";
|
|
1751
1882
|
readonly inputs: readonly [];
|
|
1752
|
-
readonly outputs: readonly [];
|
|
1753
1883
|
readonly stateMutability: "nonpayable";
|
|
1754
1884
|
}, {
|
|
1755
1885
|
readonly type: "function";
|
|
1756
|
-
readonly name: "
|
|
1886
|
+
readonly name: "MAX_BASIS_POINTS";
|
|
1757
1887
|
readonly inputs: readonly [];
|
|
1758
1888
|
readonly outputs: readonly [{
|
|
1759
1889
|
readonly name: "";
|
|
1760
|
-
readonly type: "
|
|
1761
|
-
readonly internalType: "
|
|
1890
|
+
readonly type: "uint16";
|
|
1891
|
+
readonly internalType: "uint16";
|
|
1762
1892
|
}];
|
|
1763
1893
|
readonly stateMutability: "view";
|
|
1764
1894
|
}, {
|
|
1765
1895
|
readonly type: "function";
|
|
1766
|
-
readonly name: "
|
|
1896
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
1767
1897
|
readonly inputs: readonly [];
|
|
1768
1898
|
readonly outputs: readonly [{
|
|
1769
1899
|
readonly name: "";
|
|
1770
|
-
readonly type: "
|
|
1771
|
-
readonly internalType: "
|
|
1900
|
+
readonly type: "string";
|
|
1901
|
+
readonly internalType: "string";
|
|
1772
1902
|
}];
|
|
1773
1903
|
readonly stateMutability: "view";
|
|
1774
1904
|
}, {
|
|
1775
1905
|
readonly type: "function";
|
|
1776
|
-
readonly name: "
|
|
1777
|
-
readonly inputs: readonly [
|
|
1906
|
+
readonly name: "acceptOwnership";
|
|
1907
|
+
readonly inputs: readonly [];
|
|
1908
|
+
readonly outputs: readonly [];
|
|
1909
|
+
readonly stateMutability: "nonpayable";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly type: "function";
|
|
1912
|
+
readonly name: "initialize";
|
|
1913
|
+
readonly inputs: readonly [{
|
|
1914
|
+
readonly name: "initialOwner";
|
|
1915
|
+
readonly type: "address";
|
|
1916
|
+
readonly internalType: "address";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly name: "_registry";
|
|
1919
|
+
readonly type: "address";
|
|
1920
|
+
readonly internalType: "address";
|
|
1921
|
+
}];
|
|
1922
|
+
readonly outputs: readonly [];
|
|
1923
|
+
readonly stateMutability: "nonpayable";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly type: "function";
|
|
1926
|
+
readonly name: "owner";
|
|
1927
|
+
readonly inputs: readonly [];
|
|
1928
|
+
readonly outputs: readonly [{
|
|
1929
|
+
readonly name: "";
|
|
1930
|
+
readonly type: "address";
|
|
1931
|
+
readonly internalType: "address";
|
|
1932
|
+
}];
|
|
1933
|
+
readonly stateMutability: "view";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly type: "function";
|
|
1936
|
+
readonly name: "pendingOwner";
|
|
1937
|
+
readonly inputs: readonly [];
|
|
1938
|
+
readonly outputs: readonly [{
|
|
1939
|
+
readonly name: "";
|
|
1940
|
+
readonly type: "address";
|
|
1941
|
+
readonly internalType: "address";
|
|
1942
|
+
}];
|
|
1943
|
+
readonly stateMutability: "view";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly type: "function";
|
|
1946
|
+
readonly name: "pointTokenToIssuer";
|
|
1947
|
+
readonly inputs: readonly [{
|
|
1778
1948
|
readonly name: "pointToken";
|
|
1779
1949
|
readonly type: "address";
|
|
1780
1950
|
readonly internalType: "address";
|
|
@@ -1785,6 +1955,16 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1785
1955
|
readonly internalType: "address";
|
|
1786
1956
|
}];
|
|
1787
1957
|
readonly stateMutability: "view";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly type: "function";
|
|
1960
|
+
readonly name: "proxiableUUID";
|
|
1961
|
+
readonly inputs: readonly [];
|
|
1962
|
+
readonly outputs: readonly [{
|
|
1963
|
+
readonly name: "";
|
|
1964
|
+
readonly type: "bytes32";
|
|
1965
|
+
readonly internalType: "bytes32";
|
|
1966
|
+
}];
|
|
1967
|
+
readonly stateMutability: "view";
|
|
1788
1968
|
}, {
|
|
1789
1969
|
readonly type: "function";
|
|
1790
1970
|
readonly name: "registerToken";
|
|
@@ -1796,6 +1976,14 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1796
1976
|
readonly name: "issuer";
|
|
1797
1977
|
readonly type: "address";
|
|
1798
1978
|
readonly internalType: "address";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly name: "declaredTotalSupply";
|
|
1981
|
+
readonly type: "uint256";
|
|
1982
|
+
readonly internalType: "uint256";
|
|
1983
|
+
}, {
|
|
1984
|
+
readonly name: "capBasisPoints";
|
|
1985
|
+
readonly type: "uint16";
|
|
1986
|
+
readonly internalType: "uint16";
|
|
1799
1987
|
}];
|
|
1800
1988
|
readonly outputs: readonly [];
|
|
1801
1989
|
readonly stateMutability: "nonpayable";
|
|
@@ -1817,14 +2005,597 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1817
2005
|
readonly stateMutability: "nonpayable";
|
|
1818
2006
|
}, {
|
|
1819
2007
|
readonly type: "function";
|
|
1820
|
-
readonly name: "setRegistry";
|
|
2008
|
+
readonly name: "setRegistry";
|
|
2009
|
+
readonly inputs: readonly [{
|
|
2010
|
+
readonly name: "_registry";
|
|
2011
|
+
readonly type: "address";
|
|
2012
|
+
readonly internalType: "address";
|
|
2013
|
+
}];
|
|
2014
|
+
readonly outputs: readonly [];
|
|
2015
|
+
readonly stateMutability: "nonpayable";
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly type: "function";
|
|
2018
|
+
readonly name: "tokenCaps";
|
|
2019
|
+
readonly inputs: readonly [{
|
|
2020
|
+
readonly name: "pointToken";
|
|
2021
|
+
readonly type: "address";
|
|
2022
|
+
readonly internalType: "address";
|
|
2023
|
+
}];
|
|
2024
|
+
readonly outputs: readonly [{
|
|
2025
|
+
readonly name: "";
|
|
2026
|
+
readonly type: "tuple";
|
|
2027
|
+
readonly internalType: "struct IMintingOracle.TokenCap";
|
|
2028
|
+
readonly components: readonly [{
|
|
2029
|
+
readonly name: "declaredTotalSupply";
|
|
2030
|
+
readonly type: "uint256";
|
|
2031
|
+
readonly internalType: "uint256";
|
|
2032
|
+
}, {
|
|
2033
|
+
readonly name: "capBasisPoints";
|
|
2034
|
+
readonly type: "uint16";
|
|
2035
|
+
readonly internalType: "uint16";
|
|
2036
|
+
}];
|
|
2037
|
+
}];
|
|
2038
|
+
readonly stateMutability: "view";
|
|
2039
|
+
}, {
|
|
2040
|
+
readonly type: "function";
|
|
2041
|
+
readonly name: "transferOwnership";
|
|
2042
|
+
readonly inputs: readonly [{
|
|
2043
|
+
readonly name: "newOwner";
|
|
2044
|
+
readonly type: "address";
|
|
2045
|
+
readonly internalType: "address";
|
|
2046
|
+
}];
|
|
2047
|
+
readonly outputs: readonly [];
|
|
2048
|
+
readonly stateMutability: "nonpayable";
|
|
2049
|
+
}, {
|
|
2050
|
+
readonly type: "function";
|
|
2051
|
+
readonly name: "unregisterToken";
|
|
2052
|
+
readonly inputs: readonly [{
|
|
2053
|
+
readonly name: "pointToken";
|
|
2054
|
+
readonly type: "address";
|
|
2055
|
+
readonly internalType: "address";
|
|
2056
|
+
}];
|
|
2057
|
+
readonly outputs: readonly [];
|
|
2058
|
+
readonly stateMutability: "nonpayable";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly type: "function";
|
|
2061
|
+
readonly name: "updateTokenCap";
|
|
2062
|
+
readonly inputs: readonly [{
|
|
2063
|
+
readonly name: "pointToken";
|
|
2064
|
+
readonly type: "address";
|
|
2065
|
+
readonly internalType: "address";
|
|
2066
|
+
}, {
|
|
2067
|
+
readonly name: "declaredTotalSupply";
|
|
2068
|
+
readonly type: "uint256";
|
|
2069
|
+
readonly internalType: "uint256";
|
|
2070
|
+
}, {
|
|
2071
|
+
readonly name: "capBasisPoints";
|
|
2072
|
+
readonly type: "uint16";
|
|
2073
|
+
readonly internalType: "uint16";
|
|
2074
|
+
}];
|
|
2075
|
+
readonly outputs: readonly [];
|
|
2076
|
+
readonly stateMutability: "nonpayable";
|
|
2077
|
+
}, {
|
|
2078
|
+
readonly type: "function";
|
|
2079
|
+
readonly name: "upgradeToAndCall";
|
|
2080
|
+
readonly inputs: readonly [{
|
|
2081
|
+
readonly name: "newImplementation";
|
|
2082
|
+
readonly type: "address";
|
|
2083
|
+
readonly internalType: "address";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly name: "data";
|
|
2086
|
+
readonly type: "bytes";
|
|
2087
|
+
readonly internalType: "bytes";
|
|
2088
|
+
}];
|
|
2089
|
+
readonly outputs: readonly [];
|
|
2090
|
+
readonly stateMutability: "payable";
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly type: "function";
|
|
2093
|
+
readonly name: "verifyIssuerOperative";
|
|
2094
|
+
readonly inputs: readonly [{
|
|
2095
|
+
readonly name: "pointToken";
|
|
2096
|
+
readonly type: "address";
|
|
2097
|
+
readonly internalType: "address";
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly name: "issuer";
|
|
2100
|
+
readonly type: "address";
|
|
2101
|
+
readonly internalType: "address";
|
|
2102
|
+
}];
|
|
2103
|
+
readonly outputs: readonly [];
|
|
2104
|
+
readonly stateMutability: "view";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly type: "function";
|
|
2107
|
+
readonly name: "verifyMintCap";
|
|
2108
|
+
readonly inputs: readonly [{
|
|
2109
|
+
readonly name: "pointToken";
|
|
2110
|
+
readonly type: "address";
|
|
2111
|
+
readonly internalType: "address";
|
|
2112
|
+
}, {
|
|
2113
|
+
readonly name: "issuer";
|
|
2114
|
+
readonly type: "address";
|
|
2115
|
+
readonly internalType: "address";
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly name: "amount";
|
|
2118
|
+
readonly type: "uint256";
|
|
2119
|
+
readonly internalType: "uint256";
|
|
2120
|
+
}];
|
|
2121
|
+
readonly outputs: readonly [];
|
|
2122
|
+
readonly stateMutability: "view";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly type: "event";
|
|
2125
|
+
readonly name: "Initialized";
|
|
2126
|
+
readonly inputs: readonly [{
|
|
2127
|
+
readonly name: "version";
|
|
2128
|
+
readonly type: "uint64";
|
|
2129
|
+
readonly indexed: false;
|
|
2130
|
+
readonly internalType: "uint64";
|
|
2131
|
+
}];
|
|
2132
|
+
readonly anonymous: false;
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly type: "event";
|
|
2135
|
+
readonly name: "OwnershipTransferStarted";
|
|
2136
|
+
readonly inputs: readonly [{
|
|
2137
|
+
readonly name: "previousOwner";
|
|
2138
|
+
readonly type: "address";
|
|
2139
|
+
readonly indexed: true;
|
|
2140
|
+
readonly internalType: "address";
|
|
2141
|
+
}, {
|
|
2142
|
+
readonly name: "newOwner";
|
|
2143
|
+
readonly type: "address";
|
|
2144
|
+
readonly indexed: true;
|
|
2145
|
+
readonly internalType: "address";
|
|
2146
|
+
}];
|
|
2147
|
+
readonly anonymous: false;
|
|
2148
|
+
}, {
|
|
2149
|
+
readonly type: "event";
|
|
2150
|
+
readonly name: "OwnershipTransferred";
|
|
2151
|
+
readonly inputs: readonly [{
|
|
2152
|
+
readonly name: "previousOwner";
|
|
2153
|
+
readonly type: "address";
|
|
2154
|
+
readonly indexed: true;
|
|
2155
|
+
readonly internalType: "address";
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly name: "newOwner";
|
|
2158
|
+
readonly type: "address";
|
|
2159
|
+
readonly indexed: true;
|
|
2160
|
+
readonly internalType: "address";
|
|
2161
|
+
}];
|
|
2162
|
+
readonly anonymous: false;
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly type: "event";
|
|
2165
|
+
readonly name: "RegistryUpdated";
|
|
2166
|
+
readonly inputs: readonly [{
|
|
2167
|
+
readonly name: "registry";
|
|
2168
|
+
readonly type: "address";
|
|
2169
|
+
readonly indexed: true;
|
|
2170
|
+
readonly internalType: "address";
|
|
2171
|
+
}];
|
|
2172
|
+
readonly anonymous: false;
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly type: "event";
|
|
2175
|
+
readonly name: "TokenCapUpdated";
|
|
2176
|
+
readonly inputs: readonly [{
|
|
2177
|
+
readonly name: "pointToken";
|
|
2178
|
+
readonly type: "address";
|
|
2179
|
+
readonly indexed: true;
|
|
2180
|
+
readonly internalType: "address";
|
|
2181
|
+
}, {
|
|
2182
|
+
readonly name: "declaredTotalSupply";
|
|
2183
|
+
readonly type: "uint256";
|
|
2184
|
+
readonly indexed: false;
|
|
2185
|
+
readonly internalType: "uint256";
|
|
2186
|
+
}, {
|
|
2187
|
+
readonly name: "capBasisPoints";
|
|
2188
|
+
readonly type: "uint16";
|
|
2189
|
+
readonly indexed: false;
|
|
2190
|
+
readonly internalType: "uint16";
|
|
2191
|
+
}];
|
|
2192
|
+
readonly anonymous: false;
|
|
2193
|
+
}, {
|
|
2194
|
+
readonly type: "event";
|
|
2195
|
+
readonly name: "TokenRegistered";
|
|
2196
|
+
readonly inputs: readonly [{
|
|
2197
|
+
readonly name: "pointToken";
|
|
2198
|
+
readonly type: "address";
|
|
2199
|
+
readonly indexed: true;
|
|
2200
|
+
readonly internalType: "address";
|
|
2201
|
+
}, {
|
|
2202
|
+
readonly name: "issuer";
|
|
2203
|
+
readonly type: "address";
|
|
2204
|
+
readonly indexed: true;
|
|
2205
|
+
readonly internalType: "address";
|
|
2206
|
+
}];
|
|
2207
|
+
readonly anonymous: false;
|
|
2208
|
+
}, {
|
|
2209
|
+
readonly type: "event";
|
|
2210
|
+
readonly name: "TokenUnregistered";
|
|
2211
|
+
readonly inputs: readonly [{
|
|
2212
|
+
readonly name: "pointToken";
|
|
2213
|
+
readonly type: "address";
|
|
2214
|
+
readonly indexed: true;
|
|
2215
|
+
readonly internalType: "address";
|
|
2216
|
+
}, {
|
|
2217
|
+
readonly name: "issuer";
|
|
2218
|
+
readonly type: "address";
|
|
2219
|
+
readonly indexed: true;
|
|
2220
|
+
readonly internalType: "address";
|
|
2221
|
+
}];
|
|
2222
|
+
readonly anonymous: false;
|
|
2223
|
+
}, {
|
|
2224
|
+
readonly type: "event";
|
|
2225
|
+
readonly name: "Upgraded";
|
|
2226
|
+
readonly inputs: readonly [{
|
|
2227
|
+
readonly name: "implementation";
|
|
2228
|
+
readonly type: "address";
|
|
2229
|
+
readonly indexed: true;
|
|
2230
|
+
readonly internalType: "address";
|
|
2231
|
+
}];
|
|
2232
|
+
readonly anonymous: false;
|
|
2233
|
+
}, {
|
|
2234
|
+
readonly type: "error";
|
|
2235
|
+
readonly name: "AddressEmptyCode";
|
|
2236
|
+
readonly inputs: readonly [{
|
|
2237
|
+
readonly name: "target";
|
|
2238
|
+
readonly type: "address";
|
|
2239
|
+
readonly internalType: "address";
|
|
2240
|
+
}];
|
|
2241
|
+
}, {
|
|
2242
|
+
readonly type: "error";
|
|
2243
|
+
readonly name: "CapBasisPointsTooHigh";
|
|
2244
|
+
readonly inputs: readonly [{
|
|
2245
|
+
readonly name: "capBasisPoints";
|
|
2246
|
+
readonly type: "uint16";
|
|
2247
|
+
readonly internalType: "uint16";
|
|
2248
|
+
}];
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly type: "error";
|
|
2251
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
2252
|
+
readonly inputs: readonly [{
|
|
2253
|
+
readonly name: "implementation";
|
|
2254
|
+
readonly type: "address";
|
|
2255
|
+
readonly internalType: "address";
|
|
2256
|
+
}];
|
|
2257
|
+
}, {
|
|
2258
|
+
readonly type: "error";
|
|
2259
|
+
readonly name: "ERC1967NonPayable";
|
|
2260
|
+
readonly inputs: readonly [];
|
|
2261
|
+
}, {
|
|
2262
|
+
readonly type: "error";
|
|
2263
|
+
readonly name: "FailedCall";
|
|
2264
|
+
readonly inputs: readonly [];
|
|
2265
|
+
}, {
|
|
2266
|
+
readonly type: "error";
|
|
2267
|
+
readonly name: "InvalidInitialization";
|
|
2268
|
+
readonly inputs: readonly [];
|
|
2269
|
+
}, {
|
|
2270
|
+
readonly type: "error";
|
|
2271
|
+
readonly name: "IssuerMismatch";
|
|
2272
|
+
readonly inputs: readonly [{
|
|
2273
|
+
readonly name: "passedIssuer";
|
|
2274
|
+
readonly type: "address";
|
|
2275
|
+
readonly internalType: "address";
|
|
2276
|
+
}, {
|
|
2277
|
+
readonly name: "registeredIssuer";
|
|
2278
|
+
readonly type: "address";
|
|
2279
|
+
readonly internalType: "address";
|
|
2280
|
+
}];
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly type: "error";
|
|
2283
|
+
readonly name: "IssuerNotActive";
|
|
2284
|
+
readonly inputs: readonly [{
|
|
2285
|
+
readonly name: "issuer";
|
|
2286
|
+
readonly type: "address";
|
|
2287
|
+
readonly internalType: "address";
|
|
2288
|
+
}];
|
|
2289
|
+
}, {
|
|
2290
|
+
readonly type: "error";
|
|
2291
|
+
readonly name: "MintCapExceeded";
|
|
2292
|
+
readonly inputs: readonly [{
|
|
2293
|
+
readonly name: "issuer";
|
|
2294
|
+
readonly type: "address";
|
|
2295
|
+
readonly internalType: "address";
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly name: "cap";
|
|
2298
|
+
readonly type: "uint256";
|
|
2299
|
+
readonly internalType: "uint256";
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly name: "projectedSupply";
|
|
2302
|
+
readonly type: "uint256";
|
|
2303
|
+
readonly internalType: "uint256";
|
|
2304
|
+
}];
|
|
2305
|
+
}, {
|
|
2306
|
+
readonly type: "error";
|
|
2307
|
+
readonly name: "NotInitializing";
|
|
2308
|
+
readonly inputs: readonly [];
|
|
2309
|
+
}, {
|
|
2310
|
+
readonly type: "error";
|
|
2311
|
+
readonly name: "NotIssuer";
|
|
2312
|
+
readonly inputs: readonly [];
|
|
2313
|
+
}, {
|
|
2314
|
+
readonly type: "error";
|
|
2315
|
+
readonly name: "OnlyRegistry";
|
|
2316
|
+
readonly inputs: readonly [];
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly type: "error";
|
|
2319
|
+
readonly name: "OwnableInvalidOwner";
|
|
2320
|
+
readonly inputs: readonly [{
|
|
2321
|
+
readonly name: "owner";
|
|
2322
|
+
readonly type: "address";
|
|
2323
|
+
readonly internalType: "address";
|
|
2324
|
+
}];
|
|
2325
|
+
}, {
|
|
2326
|
+
readonly type: "error";
|
|
2327
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
2328
|
+
readonly inputs: readonly [{
|
|
2329
|
+
readonly name: "account";
|
|
2330
|
+
readonly type: "address";
|
|
2331
|
+
readonly internalType: "address";
|
|
2332
|
+
}];
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly type: "error";
|
|
2335
|
+
readonly name: "TokenAlreadyRegistered";
|
|
2336
|
+
readonly inputs: readonly [{
|
|
2337
|
+
readonly name: "pointToken";
|
|
2338
|
+
readonly type: "address";
|
|
2339
|
+
readonly internalType: "address";
|
|
2340
|
+
}];
|
|
2341
|
+
}, {
|
|
2342
|
+
readonly type: "error";
|
|
2343
|
+
readonly name: "TokenNotRegistered";
|
|
2344
|
+
readonly inputs: readonly [{
|
|
2345
|
+
readonly name: "pointToken";
|
|
2346
|
+
readonly type: "address";
|
|
2347
|
+
readonly internalType: "address";
|
|
2348
|
+
}];
|
|
2349
|
+
}, {
|
|
2350
|
+
readonly type: "error";
|
|
2351
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
2352
|
+
readonly inputs: readonly [];
|
|
2353
|
+
}, {
|
|
2354
|
+
readonly type: "error";
|
|
2355
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
2356
|
+
readonly inputs: readonly [{
|
|
2357
|
+
readonly name: "slot";
|
|
2358
|
+
readonly type: "bytes32";
|
|
2359
|
+
readonly internalType: "bytes32";
|
|
2360
|
+
}];
|
|
2361
|
+
}, {
|
|
2362
|
+
readonly type: "error";
|
|
2363
|
+
readonly name: "UnregisteredPointToken";
|
|
2364
|
+
readonly inputs: readonly [{
|
|
2365
|
+
readonly name: "pointToken";
|
|
2366
|
+
readonly type: "address";
|
|
2367
|
+
readonly internalType: "address";
|
|
2368
|
+
}];
|
|
2369
|
+
}, {
|
|
2370
|
+
readonly type: "error";
|
|
2371
|
+
readonly name: "ZeroAddress";
|
|
2372
|
+
readonly inputs: readonly [];
|
|
2373
|
+
}];
|
|
2374
|
+
|
|
2375
|
+
/** ABI for MintFeeWrapper (mint-time fee split between user + N recipients) — auto-generated from Foundry artifacts, do not edit */
|
|
2376
|
+
declare const mintFeeWrapperAbi: readonly [{
|
|
2377
|
+
readonly type: "constructor";
|
|
2378
|
+
readonly inputs: readonly [];
|
|
2379
|
+
readonly stateMutability: "nonpayable";
|
|
2380
|
+
}, {
|
|
2381
|
+
readonly type: "function";
|
|
2382
|
+
readonly name: "MAX_BASIS_POINTS";
|
|
2383
|
+
readonly inputs: readonly [];
|
|
2384
|
+
readonly outputs: readonly [{
|
|
2385
|
+
readonly name: "";
|
|
2386
|
+
readonly type: "uint16";
|
|
2387
|
+
readonly internalType: "uint16";
|
|
2388
|
+
}];
|
|
2389
|
+
readonly stateMutability: "view";
|
|
2390
|
+
}, {
|
|
2391
|
+
readonly type: "function";
|
|
2392
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
2393
|
+
readonly inputs: readonly [];
|
|
2394
|
+
readonly outputs: readonly [{
|
|
2395
|
+
readonly name: "";
|
|
2396
|
+
readonly type: "string";
|
|
2397
|
+
readonly internalType: "string";
|
|
2398
|
+
}];
|
|
2399
|
+
readonly stateMutability: "view";
|
|
2400
|
+
}, {
|
|
2401
|
+
readonly type: "function";
|
|
2402
|
+
readonly name: "acceptOwnership";
|
|
2403
|
+
readonly inputs: readonly [];
|
|
2404
|
+
readonly outputs: readonly [];
|
|
2405
|
+
readonly stateMutability: "nonpayable";
|
|
2406
|
+
}, {
|
|
2407
|
+
readonly type: "function";
|
|
2408
|
+
readonly name: "getRecipients";
|
|
2409
|
+
readonly inputs: readonly [{
|
|
2410
|
+
readonly name: "pointToken";
|
|
2411
|
+
readonly type: "address";
|
|
2412
|
+
readonly internalType: "address";
|
|
2413
|
+
}];
|
|
2414
|
+
readonly outputs: readonly [{
|
|
2415
|
+
readonly name: "";
|
|
2416
|
+
readonly type: "tuple[]";
|
|
2417
|
+
readonly internalType: "struct IMintFeeWrapper.Recipient[]";
|
|
2418
|
+
readonly components: readonly [{
|
|
2419
|
+
readonly name: "account";
|
|
2420
|
+
readonly type: "address";
|
|
2421
|
+
readonly internalType: "address";
|
|
2422
|
+
}, {
|
|
2423
|
+
readonly name: "basisPoints";
|
|
2424
|
+
readonly type: "uint16";
|
|
2425
|
+
readonly internalType: "uint16";
|
|
2426
|
+
}];
|
|
2427
|
+
}];
|
|
2428
|
+
readonly stateMutability: "view";
|
|
2429
|
+
}, {
|
|
2430
|
+
readonly type: "function";
|
|
2431
|
+
readonly name: "initialize";
|
|
2432
|
+
readonly inputs: readonly [{
|
|
2433
|
+
readonly name: "initialOwner";
|
|
2434
|
+
readonly type: "address";
|
|
2435
|
+
readonly internalType: "address";
|
|
2436
|
+
}, {
|
|
2437
|
+
readonly name: "_registry";
|
|
2438
|
+
readonly type: "address";
|
|
2439
|
+
readonly internalType: "address";
|
|
2440
|
+
}];
|
|
2441
|
+
readonly outputs: readonly [];
|
|
2442
|
+
readonly stateMutability: "nonpayable";
|
|
2443
|
+
}, {
|
|
2444
|
+
readonly type: "function";
|
|
2445
|
+
readonly name: "mintWithFee";
|
|
2446
|
+
readonly inputs: readonly [{
|
|
2447
|
+
readonly name: "pointToken";
|
|
2448
|
+
readonly type: "address";
|
|
2449
|
+
readonly internalType: "address";
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly name: "user";
|
|
2452
|
+
readonly type: "address";
|
|
2453
|
+
readonly internalType: "address";
|
|
2454
|
+
}, {
|
|
2455
|
+
readonly name: "grossAmount";
|
|
2456
|
+
readonly type: "uint256";
|
|
2457
|
+
readonly internalType: "uint256";
|
|
2458
|
+
}, {
|
|
2459
|
+
readonly name: "deadline";
|
|
2460
|
+
readonly type: "uint256";
|
|
2461
|
+
readonly internalType: "uint256";
|
|
2462
|
+
}, {
|
|
2463
|
+
readonly name: "minterSig";
|
|
2464
|
+
readonly type: "bytes";
|
|
2465
|
+
readonly internalType: "bytes";
|
|
2466
|
+
}];
|
|
2467
|
+
readonly outputs: readonly [];
|
|
2468
|
+
readonly stateMutability: "nonpayable";
|
|
2469
|
+
}, {
|
|
2470
|
+
readonly type: "function";
|
|
2471
|
+
readonly name: "owner";
|
|
2472
|
+
readonly inputs: readonly [];
|
|
2473
|
+
readonly outputs: readonly [{
|
|
2474
|
+
readonly name: "";
|
|
2475
|
+
readonly type: "address";
|
|
2476
|
+
readonly internalType: "address";
|
|
2477
|
+
}];
|
|
2478
|
+
readonly stateMutability: "view";
|
|
2479
|
+
}, {
|
|
2480
|
+
readonly type: "function";
|
|
2481
|
+
readonly name: "pendingOwner";
|
|
2482
|
+
readonly inputs: readonly [];
|
|
2483
|
+
readonly outputs: readonly [{
|
|
2484
|
+
readonly name: "";
|
|
2485
|
+
readonly type: "address";
|
|
2486
|
+
readonly internalType: "address";
|
|
2487
|
+
}];
|
|
2488
|
+
readonly stateMutability: "view";
|
|
2489
|
+
}, {
|
|
2490
|
+
readonly type: "function";
|
|
2491
|
+
readonly name: "proxiableUUID";
|
|
2492
|
+
readonly inputs: readonly [];
|
|
2493
|
+
readonly outputs: readonly [{
|
|
2494
|
+
readonly name: "";
|
|
2495
|
+
readonly type: "bytes32";
|
|
2496
|
+
readonly internalType: "bytes32";
|
|
2497
|
+
}];
|
|
2498
|
+
readonly stateMutability: "view";
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly type: "function";
|
|
2501
|
+
readonly name: "registerToken";
|
|
2502
|
+
readonly inputs: readonly [{
|
|
2503
|
+
readonly name: "pointToken";
|
|
2504
|
+
readonly type: "address";
|
|
2505
|
+
readonly internalType: "address";
|
|
2506
|
+
}, {
|
|
2507
|
+
readonly name: "recipients";
|
|
2508
|
+
readonly type: "tuple[]";
|
|
2509
|
+
readonly internalType: "struct IMintFeeWrapper.Recipient[]";
|
|
2510
|
+
readonly components: readonly [{
|
|
2511
|
+
readonly name: "account";
|
|
2512
|
+
readonly type: "address";
|
|
2513
|
+
readonly internalType: "address";
|
|
2514
|
+
}, {
|
|
2515
|
+
readonly name: "basisPoints";
|
|
2516
|
+
readonly type: "uint16";
|
|
2517
|
+
readonly internalType: "uint16";
|
|
2518
|
+
}];
|
|
2519
|
+
}];
|
|
2520
|
+
readonly outputs: readonly [];
|
|
2521
|
+
readonly stateMutability: "nonpayable";
|
|
2522
|
+
}, {
|
|
2523
|
+
readonly type: "function";
|
|
2524
|
+
readonly name: "registered";
|
|
2525
|
+
readonly inputs: readonly [{
|
|
2526
|
+
readonly name: "pointToken";
|
|
2527
|
+
readonly type: "address";
|
|
2528
|
+
readonly internalType: "address";
|
|
2529
|
+
}];
|
|
2530
|
+
readonly outputs: readonly [{
|
|
2531
|
+
readonly name: "";
|
|
2532
|
+
readonly type: "bool";
|
|
2533
|
+
readonly internalType: "bool";
|
|
2534
|
+
}];
|
|
2535
|
+
readonly stateMutability: "view";
|
|
2536
|
+
}, {
|
|
2537
|
+
readonly type: "function";
|
|
2538
|
+
readonly name: "registry";
|
|
2539
|
+
readonly inputs: readonly [];
|
|
2540
|
+
readonly outputs: readonly [{
|
|
2541
|
+
readonly name: "";
|
|
2542
|
+
readonly type: "address";
|
|
2543
|
+
readonly internalType: "address";
|
|
2544
|
+
}];
|
|
2545
|
+
readonly stateMutability: "view";
|
|
2546
|
+
}, {
|
|
2547
|
+
readonly type: "function";
|
|
2548
|
+
readonly name: "renounceOwnership";
|
|
2549
|
+
readonly inputs: readonly [];
|
|
2550
|
+
readonly outputs: readonly [];
|
|
2551
|
+
readonly stateMutability: "nonpayable";
|
|
2552
|
+
}, {
|
|
2553
|
+
readonly type: "function";
|
|
2554
|
+
readonly name: "setRecipients";
|
|
2555
|
+
readonly inputs: readonly [{
|
|
2556
|
+
readonly name: "pointToken";
|
|
2557
|
+
readonly type: "address";
|
|
2558
|
+
readonly internalType: "address";
|
|
2559
|
+
}, {
|
|
2560
|
+
readonly name: "newRecipients";
|
|
2561
|
+
readonly type: "tuple[]";
|
|
2562
|
+
readonly internalType: "struct IMintFeeWrapper.Recipient[]";
|
|
2563
|
+
readonly components: readonly [{
|
|
2564
|
+
readonly name: "account";
|
|
2565
|
+
readonly type: "address";
|
|
2566
|
+
readonly internalType: "address";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly name: "basisPoints";
|
|
2569
|
+
readonly type: "uint16";
|
|
2570
|
+
readonly internalType: "uint16";
|
|
2571
|
+
}];
|
|
2572
|
+
}];
|
|
2573
|
+
readonly outputs: readonly [];
|
|
2574
|
+
readonly stateMutability: "nonpayable";
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly type: "function";
|
|
2577
|
+
readonly name: "setRegistry";
|
|
2578
|
+
readonly inputs: readonly [{
|
|
2579
|
+
readonly name: "newRegistry";
|
|
2580
|
+
readonly type: "address";
|
|
2581
|
+
readonly internalType: "address";
|
|
2582
|
+
}];
|
|
2583
|
+
readonly outputs: readonly [];
|
|
2584
|
+
readonly stateMutability: "nonpayable";
|
|
2585
|
+
}, {
|
|
2586
|
+
readonly type: "function";
|
|
2587
|
+
readonly name: "totalFeeBps";
|
|
1821
2588
|
readonly inputs: readonly [{
|
|
1822
|
-
readonly name: "
|
|
2589
|
+
readonly name: "pointToken";
|
|
1823
2590
|
readonly type: "address";
|
|
1824
2591
|
readonly internalType: "address";
|
|
1825
2592
|
}];
|
|
1826
|
-
readonly outputs: readonly [
|
|
1827
|
-
|
|
2593
|
+
readonly outputs: readonly [{
|
|
2594
|
+
readonly name: "";
|
|
2595
|
+
readonly type: "uint16";
|
|
2596
|
+
readonly internalType: "uint16";
|
|
2597
|
+
}];
|
|
2598
|
+
readonly stateMutability: "view";
|
|
1828
2599
|
}, {
|
|
1829
2600
|
readonly type: "function";
|
|
1830
2601
|
readonly name: "transferOwnership";
|
|
@@ -1837,46 +2608,81 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1837
2608
|
readonly stateMutability: "nonpayable";
|
|
1838
2609
|
}, {
|
|
1839
2610
|
readonly type: "function";
|
|
1840
|
-
readonly name: "
|
|
2611
|
+
readonly name: "upgradeToAndCall";
|
|
1841
2612
|
readonly inputs: readonly [{
|
|
1842
|
-
readonly name: "
|
|
2613
|
+
readonly name: "newImplementation";
|
|
1843
2614
|
readonly type: "address";
|
|
1844
2615
|
readonly internalType: "address";
|
|
2616
|
+
}, {
|
|
2617
|
+
readonly name: "data";
|
|
2618
|
+
readonly type: "bytes";
|
|
2619
|
+
readonly internalType: "bytes";
|
|
1845
2620
|
}];
|
|
1846
2621
|
readonly outputs: readonly [];
|
|
1847
|
-
readonly stateMutability: "
|
|
2622
|
+
readonly stateMutability: "payable";
|
|
1848
2623
|
}, {
|
|
1849
|
-
readonly type: "
|
|
1850
|
-
readonly name: "
|
|
2624
|
+
readonly type: "event";
|
|
2625
|
+
readonly name: "FeeDistributed";
|
|
1851
2626
|
readonly inputs: readonly [{
|
|
1852
|
-
readonly name: "
|
|
2627
|
+
readonly name: "pointToken";
|
|
2628
|
+
readonly type: "address";
|
|
2629
|
+
readonly indexed: true;
|
|
2630
|
+
readonly internalType: "address";
|
|
2631
|
+
}, {
|
|
2632
|
+
readonly name: "recipient";
|
|
1853
2633
|
readonly type: "address";
|
|
2634
|
+
readonly indexed: true;
|
|
1854
2635
|
readonly internalType: "address";
|
|
1855
2636
|
}, {
|
|
1856
2637
|
readonly name: "amount";
|
|
1857
2638
|
readonly type: "uint256";
|
|
2639
|
+
readonly indexed: false;
|
|
1858
2640
|
readonly internalType: "uint256";
|
|
1859
2641
|
}];
|
|
1860
|
-
readonly
|
|
1861
|
-
readonly stateMutability: "view";
|
|
2642
|
+
readonly anonymous: false;
|
|
1862
2643
|
}, {
|
|
1863
2644
|
readonly type: "event";
|
|
1864
|
-
readonly name: "
|
|
2645
|
+
readonly name: "Initialized";
|
|
1865
2646
|
readonly inputs: readonly [{
|
|
1866
|
-
readonly name: "
|
|
2647
|
+
readonly name: "version";
|
|
2648
|
+
readonly type: "uint64";
|
|
2649
|
+
readonly indexed: false;
|
|
2650
|
+
readonly internalType: "uint64";
|
|
2651
|
+
}];
|
|
2652
|
+
readonly anonymous: false;
|
|
2653
|
+
}, {
|
|
2654
|
+
readonly type: "event";
|
|
2655
|
+
readonly name: "MintWithFee";
|
|
2656
|
+
readonly inputs: readonly [{
|
|
2657
|
+
readonly name: "pointToken";
|
|
1867
2658
|
readonly type: "address";
|
|
1868
2659
|
readonly indexed: true;
|
|
1869
2660
|
readonly internalType: "address";
|
|
1870
2661
|
}, {
|
|
1871
|
-
readonly name: "
|
|
2662
|
+
readonly name: "to";
|
|
1872
2663
|
readonly type: "address";
|
|
1873
2664
|
readonly indexed: true;
|
|
1874
2665
|
readonly internalType: "address";
|
|
2666
|
+
}, {
|
|
2667
|
+
readonly name: "grossAmount";
|
|
2668
|
+
readonly type: "uint256";
|
|
2669
|
+
readonly indexed: false;
|
|
2670
|
+
readonly internalType: "uint256";
|
|
2671
|
+
}, {
|
|
2672
|
+
readonly name: "netAmount";
|
|
2673
|
+
readonly type: "uint256";
|
|
2674
|
+
readonly indexed: false;
|
|
2675
|
+
readonly internalType: "uint256";
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly name: "feeAmount";
|
|
2678
|
+
readonly type: "uint256";
|
|
2679
|
+
readonly indexed: false;
|
|
2680
|
+
readonly internalType: "uint256";
|
|
1875
2681
|
}];
|
|
1876
2682
|
readonly anonymous: false;
|
|
1877
2683
|
}, {
|
|
1878
2684
|
readonly type: "event";
|
|
1879
|
-
readonly name: "
|
|
2685
|
+
readonly name: "OwnershipTransferStarted";
|
|
1880
2686
|
readonly inputs: readonly [{
|
|
1881
2687
|
readonly name: "previousOwner";
|
|
1882
2688
|
readonly type: "address";
|
|
@@ -1891,9 +2697,14 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1891
2697
|
readonly anonymous: false;
|
|
1892
2698
|
}, {
|
|
1893
2699
|
readonly type: "event";
|
|
1894
|
-
readonly name: "
|
|
2700
|
+
readonly name: "OwnershipTransferred";
|
|
1895
2701
|
readonly inputs: readonly [{
|
|
1896
|
-
readonly name: "
|
|
2702
|
+
readonly name: "previousOwner";
|
|
2703
|
+
readonly type: "address";
|
|
2704
|
+
readonly indexed: true;
|
|
2705
|
+
readonly internalType: "address";
|
|
2706
|
+
}, {
|
|
2707
|
+
readonly name: "newOwner";
|
|
1897
2708
|
readonly type: "address";
|
|
1898
2709
|
readonly indexed: true;
|
|
1899
2710
|
readonly internalType: "address";
|
|
@@ -1901,29 +2712,43 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1901
2712
|
readonly anonymous: false;
|
|
1902
2713
|
}, {
|
|
1903
2714
|
readonly type: "event";
|
|
1904
|
-
readonly name: "
|
|
2715
|
+
readonly name: "RecipientsUpdated";
|
|
1905
2716
|
readonly inputs: readonly [{
|
|
1906
2717
|
readonly name: "pointToken";
|
|
1907
2718
|
readonly type: "address";
|
|
1908
2719
|
readonly indexed: true;
|
|
1909
2720
|
readonly internalType: "address";
|
|
1910
2721
|
}, {
|
|
1911
|
-
readonly name: "
|
|
1912
|
-
readonly type: "
|
|
1913
|
-
readonly indexed:
|
|
1914
|
-
readonly internalType: "
|
|
2722
|
+
readonly name: "recipients";
|
|
2723
|
+
readonly type: "tuple[]";
|
|
2724
|
+
readonly indexed: false;
|
|
2725
|
+
readonly internalType: "struct IMintFeeWrapper.Recipient[]";
|
|
2726
|
+
readonly components: readonly [{
|
|
2727
|
+
readonly name: "account";
|
|
2728
|
+
readonly type: "address";
|
|
2729
|
+
readonly internalType: "address";
|
|
2730
|
+
}, {
|
|
2731
|
+
readonly name: "basisPoints";
|
|
2732
|
+
readonly type: "uint16";
|
|
2733
|
+
readonly internalType: "uint16";
|
|
2734
|
+
}];
|
|
1915
2735
|
}];
|
|
1916
2736
|
readonly anonymous: false;
|
|
1917
2737
|
}, {
|
|
1918
2738
|
readonly type: "event";
|
|
1919
|
-
readonly name: "
|
|
2739
|
+
readonly name: "RegistryUpdated";
|
|
1920
2740
|
readonly inputs: readonly [{
|
|
1921
|
-
readonly name: "
|
|
2741
|
+
readonly name: "registry";
|
|
1922
2742
|
readonly type: "address";
|
|
1923
2743
|
readonly indexed: true;
|
|
1924
2744
|
readonly internalType: "address";
|
|
1925
|
-
}
|
|
1926
|
-
|
|
2745
|
+
}];
|
|
2746
|
+
readonly anonymous: false;
|
|
2747
|
+
}, {
|
|
2748
|
+
readonly type: "event";
|
|
2749
|
+
readonly name: "Upgraded";
|
|
2750
|
+
readonly inputs: readonly [{
|
|
2751
|
+
readonly name: "implementation";
|
|
1927
2752
|
readonly type: "address";
|
|
1928
2753
|
readonly indexed: true;
|
|
1929
2754
|
readonly internalType: "address";
|
|
@@ -1931,40 +2756,60 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1931
2756
|
readonly anonymous: false;
|
|
1932
2757
|
}, {
|
|
1933
2758
|
readonly type: "error";
|
|
1934
|
-
readonly name: "
|
|
2759
|
+
readonly name: "AddressEmptyCode";
|
|
1935
2760
|
readonly inputs: readonly [{
|
|
1936
|
-
readonly name: "
|
|
2761
|
+
readonly name: "target";
|
|
1937
2762
|
readonly type: "address";
|
|
1938
2763
|
readonly internalType: "address";
|
|
1939
|
-
}
|
|
1940
|
-
|
|
2764
|
+
}];
|
|
2765
|
+
}, {
|
|
2766
|
+
readonly type: "error";
|
|
2767
|
+
readonly name: "AlreadyRegistered";
|
|
2768
|
+
readonly inputs: readonly [{
|
|
2769
|
+
readonly name: "pointToken";
|
|
1941
2770
|
readonly type: "address";
|
|
1942
2771
|
readonly internalType: "address";
|
|
1943
2772
|
}];
|
|
1944
2773
|
}, {
|
|
1945
2774
|
readonly type: "error";
|
|
1946
|
-
readonly name: "
|
|
2775
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
1947
2776
|
readonly inputs: readonly [{
|
|
1948
|
-
readonly name: "
|
|
2777
|
+
readonly name: "implementation";
|
|
1949
2778
|
readonly type: "address";
|
|
1950
2779
|
readonly internalType: "address";
|
|
1951
2780
|
}];
|
|
1952
2781
|
}, {
|
|
1953
2782
|
readonly type: "error";
|
|
1954
|
-
readonly name: "
|
|
2783
|
+
readonly name: "ERC1967NonPayable";
|
|
2784
|
+
readonly inputs: readonly [];
|
|
2785
|
+
}, {
|
|
2786
|
+
readonly type: "error";
|
|
2787
|
+
readonly name: "FailedCall";
|
|
2788
|
+
readonly inputs: readonly [];
|
|
2789
|
+
}, {
|
|
2790
|
+
readonly type: "error";
|
|
2791
|
+
readonly name: "InvalidInitialization";
|
|
2792
|
+
readonly inputs: readonly [];
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly type: "error";
|
|
2795
|
+
readonly name: "NotInitializing";
|
|
2796
|
+
readonly inputs: readonly [];
|
|
2797
|
+
}, {
|
|
2798
|
+
readonly type: "error";
|
|
2799
|
+
readonly name: "NotIssuer";
|
|
2800
|
+
readonly inputs: readonly [];
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly type: "error";
|
|
2803
|
+
readonly name: "NotRegistered";
|
|
1955
2804
|
readonly inputs: readonly [{
|
|
1956
|
-
readonly name: "
|
|
2805
|
+
readonly name: "pointToken";
|
|
1957
2806
|
readonly type: "address";
|
|
1958
2807
|
readonly internalType: "address";
|
|
1959
|
-
}, {
|
|
1960
|
-
readonly name: "cap";
|
|
1961
|
-
readonly type: "uint256";
|
|
1962
|
-
readonly internalType: "uint256";
|
|
1963
|
-
}, {
|
|
1964
|
-
readonly name: "projectedSupply";
|
|
1965
|
-
readonly type: "uint256";
|
|
1966
|
-
readonly internalType: "uint256";
|
|
1967
2808
|
}];
|
|
2809
|
+
}, {
|
|
2810
|
+
readonly type: "error";
|
|
2811
|
+
readonly name: "NotUser";
|
|
2812
|
+
readonly inputs: readonly [];
|
|
1968
2813
|
}, {
|
|
1969
2814
|
readonly type: "error";
|
|
1970
2815
|
readonly name: "OnlyRegistry";
|
|
@@ -1987,32 +2832,32 @@ declare const mintingOracleAbi: readonly [{
|
|
|
1987
2832
|
}];
|
|
1988
2833
|
}, {
|
|
1989
2834
|
readonly type: "error";
|
|
1990
|
-
readonly name: "
|
|
2835
|
+
readonly name: "TotalFeeTooHigh";
|
|
1991
2836
|
readonly inputs: readonly [{
|
|
1992
|
-
readonly name: "
|
|
1993
|
-
readonly type: "
|
|
1994
|
-
readonly internalType: "
|
|
2837
|
+
readonly name: "totalBps";
|
|
2838
|
+
readonly type: "uint16";
|
|
2839
|
+
readonly internalType: "uint16";
|
|
1995
2840
|
}];
|
|
1996
2841
|
}, {
|
|
1997
2842
|
readonly type: "error";
|
|
1998
|
-
readonly name: "
|
|
1999
|
-
readonly inputs: readonly [
|
|
2000
|
-
readonly name: "pointToken";
|
|
2001
|
-
readonly type: "address";
|
|
2002
|
-
readonly internalType: "address";
|
|
2003
|
-
}];
|
|
2843
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
2844
|
+
readonly inputs: readonly [];
|
|
2004
2845
|
}, {
|
|
2005
2846
|
readonly type: "error";
|
|
2006
|
-
readonly name: "
|
|
2847
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
2007
2848
|
readonly inputs: readonly [{
|
|
2008
|
-
readonly name: "
|
|
2009
|
-
readonly type: "
|
|
2010
|
-
readonly internalType: "
|
|
2849
|
+
readonly name: "slot";
|
|
2850
|
+
readonly type: "bytes32";
|
|
2851
|
+
readonly internalType: "bytes32";
|
|
2011
2852
|
}];
|
|
2012
2853
|
}, {
|
|
2013
2854
|
readonly type: "error";
|
|
2014
2855
|
readonly name: "ZeroAddress";
|
|
2015
2856
|
readonly inputs: readonly [];
|
|
2857
|
+
}, {
|
|
2858
|
+
readonly type: "error";
|
|
2859
|
+
readonly name: "ZeroAmount";
|
|
2860
|
+
readonly inputs: readonly [];
|
|
2016
2861
|
}];
|
|
2017
2862
|
|
|
2018
2863
|
declare const erc20Abi: readonly [{
|
|
@@ -2282,6 +3127,91 @@ declare const v4QuoterAbi: readonly [{
|
|
|
2282
3127
|
readonly name: "gasEstimate";
|
|
2283
3128
|
readonly type: "uint256";
|
|
2284
3129
|
}];
|
|
3130
|
+
}, {
|
|
3131
|
+
readonly type: "function";
|
|
3132
|
+
readonly name: "quoteExactOutputSingle";
|
|
3133
|
+
readonly stateMutability: "nonpayable";
|
|
3134
|
+
readonly inputs: readonly [{
|
|
3135
|
+
readonly name: "params";
|
|
3136
|
+
readonly type: "tuple";
|
|
3137
|
+
readonly components: readonly [{
|
|
3138
|
+
readonly name: "poolKey";
|
|
3139
|
+
readonly type: "tuple";
|
|
3140
|
+
readonly components: readonly [{
|
|
3141
|
+
readonly name: "currency0";
|
|
3142
|
+
readonly type: "address";
|
|
3143
|
+
}, {
|
|
3144
|
+
readonly name: "currency1";
|
|
3145
|
+
readonly type: "address";
|
|
3146
|
+
}, {
|
|
3147
|
+
readonly name: "fee";
|
|
3148
|
+
readonly type: "uint24";
|
|
3149
|
+
}, {
|
|
3150
|
+
readonly name: "tickSpacing";
|
|
3151
|
+
readonly type: "int24";
|
|
3152
|
+
}, {
|
|
3153
|
+
readonly name: "hooks";
|
|
3154
|
+
readonly type: "address";
|
|
3155
|
+
}];
|
|
3156
|
+
}, {
|
|
3157
|
+
readonly name: "zeroForOne";
|
|
3158
|
+
readonly type: "bool";
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly name: "exactAmount";
|
|
3161
|
+
readonly type: "uint128";
|
|
3162
|
+
}, {
|
|
3163
|
+
readonly name: "hookData";
|
|
3164
|
+
readonly type: "bytes";
|
|
3165
|
+
}];
|
|
3166
|
+
}];
|
|
3167
|
+
readonly outputs: readonly [{
|
|
3168
|
+
readonly name: "amountIn";
|
|
3169
|
+
readonly type: "uint256";
|
|
3170
|
+
}, {
|
|
3171
|
+
readonly name: "gasEstimate";
|
|
3172
|
+
readonly type: "uint256";
|
|
3173
|
+
}];
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly type: "function";
|
|
3176
|
+
readonly name: "quoteExactOutput";
|
|
3177
|
+
readonly stateMutability: "nonpayable";
|
|
3178
|
+
readonly inputs: readonly [{
|
|
3179
|
+
readonly name: "params";
|
|
3180
|
+
readonly type: "tuple";
|
|
3181
|
+
readonly components: readonly [{
|
|
3182
|
+
readonly name: "exactCurrency";
|
|
3183
|
+
readonly type: "address";
|
|
3184
|
+
}, {
|
|
3185
|
+
readonly name: "path";
|
|
3186
|
+
readonly type: "tuple[]";
|
|
3187
|
+
readonly components: readonly [{
|
|
3188
|
+
readonly name: "intermediateCurrency";
|
|
3189
|
+
readonly type: "address";
|
|
3190
|
+
}, {
|
|
3191
|
+
readonly name: "fee";
|
|
3192
|
+
readonly type: "uint24";
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly name: "tickSpacing";
|
|
3195
|
+
readonly type: "int24";
|
|
3196
|
+
}, {
|
|
3197
|
+
readonly name: "hooks";
|
|
3198
|
+
readonly type: "address";
|
|
3199
|
+
}, {
|
|
3200
|
+
readonly name: "hookData";
|
|
3201
|
+
readonly type: "bytes";
|
|
3202
|
+
}];
|
|
3203
|
+
}, {
|
|
3204
|
+
readonly name: "exactAmount";
|
|
3205
|
+
readonly type: "uint128";
|
|
3206
|
+
}];
|
|
3207
|
+
}];
|
|
3208
|
+
readonly outputs: readonly [{
|
|
3209
|
+
readonly name: "amountIn";
|
|
3210
|
+
readonly type: "uint256";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly name: "gasEstimate";
|
|
3213
|
+
readonly type: "uint256";
|
|
3214
|
+
}];
|
|
2285
3215
|
}];
|
|
2286
3216
|
|
|
2287
|
-
export { erc20Abi, issuerRegistryAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v4QuoterAbi };
|
|
3217
|
+
export { erc20Abi, issuerRegistryAbi, mintFeeWrapperAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v4QuoterAbi };
|