@pafi-dev/core 0.5.6 → 0.5.8

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 (45) hide show
  1. package/dist/abi/index.cjs +3 -3
  2. package/dist/abi/index.d.cts +172 -79
  3. package/dist/abi/index.d.ts +172 -79
  4. package/dist/abi/index.js +2 -2
  5. package/dist/{chunk-FXNG4G22.js → chunk-5JZOJIBT.js} +213 -101
  6. package/dist/chunk-5JZOJIBT.js.map +1 -0
  7. package/dist/{chunk-S2XRFFP3.cjs → chunk-LRHY7GOR.cjs} +213 -101
  8. package/dist/chunk-LRHY7GOR.cjs.map +1 -0
  9. package/dist/{chunk-ALCWYDVG.cjs → chunk-R6OFGVMP.cjs} +11 -1
  10. package/dist/chunk-R6OFGVMP.cjs.map +1 -0
  11. package/dist/{chunk-7UBO7DY5.js → chunk-Y2MZ7MKJ.js} +11 -1
  12. package/dist/chunk-Y2MZ7MKJ.js.map +1 -0
  13. package/dist/chunk-YHUPQP6R.cjs +112 -0
  14. package/dist/chunk-YHUPQP6R.cjs.map +1 -0
  15. package/dist/chunk-ZGA5EAFJ.js +112 -0
  16. package/dist/chunk-ZGA5EAFJ.js.map +1 -0
  17. package/dist/contract/index.cjs +3 -3
  18. package/dist/contract/index.d.cts +9 -1
  19. package/dist/contract/index.d.ts +9 -1
  20. package/dist/contract/index.js +2 -2
  21. package/dist/eip712/index.d.cts +1 -1
  22. package/dist/eip712/index.d.ts +1 -1
  23. package/dist/{index-BEx-Q1bW.d.cts → index-3C_HdEIm.d.cts} +1 -1
  24. package/dist/{index-r4xCdQO7.d.ts → index-DKtVEoRC.d.ts} +1 -1
  25. package/dist/index.cjs +11 -10
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +8 -344
  28. package/dist/index.d.ts +8 -344
  29. package/dist/index.js +8 -7
  30. package/dist/index.js.map +1 -1
  31. package/dist/quoting/index.d.cts +1 -1
  32. package/dist/quoting/index.d.ts +1 -1
  33. package/dist/swap/index.d.cts +2 -2
  34. package/dist/swap/index.d.ts +2 -2
  35. package/dist/{types-b5_Tokjl.d.cts → types-JyuXUM8C.d.cts} +8 -8
  36. package/dist/{types-b5_Tokjl.d.ts → types-JyuXUM8C.d.ts} +8 -8
  37. package/package.json +1 -1
  38. package/dist/chunk-5VZMSNY4.cjs +0 -180
  39. package/dist/chunk-5VZMSNY4.cjs.map +0 -1
  40. package/dist/chunk-7UBO7DY5.js.map +0 -1
  41. package/dist/chunk-ALCWYDVG.cjs.map +0 -1
  42. package/dist/chunk-FXNG4G22.js.map +0 -1
  43. package/dist/chunk-S2XRFFP3.cjs.map +0 -1
  44. package/dist/chunk-VHZ7M3CL.js +0 -180
  45. package/dist/chunk-VHZ7M3CL.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkALCWYDVGcjs = require('../chunk-ALCWYDVG.cjs');
3
+ var _chunkR6OFGVMPcjs = require('../chunk-R6OFGVMP.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkS2XRFFP3cjs = require('../chunk-S2XRFFP3.cjs');
8
+ var _chunkLRHY7GORcjs = require('../chunk-LRHY7GOR.cjs');
9
9
 
10
10
 
11
11
  var _chunkCL3QSI4Ocjs = require('../chunk-CL3QSI4O.cjs');
@@ -23,5 +23,5 @@ var _chunkIPXARZ6Fcjs = require('../chunk-IPXARZ6F.cjs');
23
23
 
24
24
 
25
25
 
26
- exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.issuerRegistryAbi = _chunkS2XRFFP3cjs.issuerRegistryAbi; exports.mintingOracleAbi = _chunkS2XRFFP3cjs.mintingOracleAbi; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkS2XRFFP3cjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkALCWYDVGcjs.pointTokenFactoryAbi; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi;
26
+ exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.issuerRegistryAbi = _chunkLRHY7GORcjs.issuerRegistryAbi; exports.mintingOracleAbi = _chunkLRHY7GORcjs.mintingOracleAbi; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkLRHY7GORcjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkR6OFGVMPcjs.pointTokenFactoryAbi; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi;
27
27
  //# sourceMappingURL=index.cjs.map
@@ -89,6 +89,28 @@ declare const pointTokenAbi: readonly [{
89
89
  readonly internalType: "uint256";
90
90
  }];
91
91
  readonly stateMutability: "view";
92
+ }, {
93
+ readonly type: "function";
94
+ readonly name: "burn";
95
+ readonly inputs: readonly [{
96
+ readonly name: "from";
97
+ readonly type: "address";
98
+ readonly internalType: "address";
99
+ }, {
100
+ readonly name: "amount";
101
+ readonly type: "uint256";
102
+ readonly internalType: "uint256";
103
+ }, {
104
+ readonly name: "deadline";
105
+ readonly type: "uint256";
106
+ readonly internalType: "uint256";
107
+ }, {
108
+ readonly name: "burnerSig";
109
+ readonly type: "bytes";
110
+ readonly internalType: "bytes";
111
+ }];
112
+ readonly outputs: readonly [];
113
+ readonly stateMutability: "nonpayable";
92
114
  }, {
93
115
  readonly type: "function";
94
116
  readonly name: "burn";
@@ -103,6 +125,20 @@ declare const pointTokenAbi: readonly [{
103
125
  }];
104
126
  readonly outputs: readonly [];
105
127
  readonly stateMutability: "nonpayable";
128
+ }, {
129
+ readonly type: "function";
130
+ readonly name: "burnRequestNonces";
131
+ readonly inputs: readonly [{
132
+ readonly name: "from";
133
+ readonly type: "address";
134
+ readonly internalType: "address";
135
+ }];
136
+ readonly outputs: readonly [{
137
+ readonly name: "";
138
+ readonly type: "uint256";
139
+ readonly internalType: "uint256";
140
+ }];
141
+ readonly stateMutability: "view";
106
142
  }, {
107
143
  readonly type: "function";
108
144
  readonly name: "burners";
@@ -165,6 +201,10 @@ declare const pointTokenAbi: readonly [{
165
201
  readonly type: "function";
166
202
  readonly name: "initialize";
167
203
  readonly inputs: readonly [{
204
+ readonly name: "_tokenOwner";
205
+ readonly type: "address";
206
+ readonly internalType: "address";
207
+ }, {
168
208
  readonly name: "_issuer";
169
209
  readonly type: "address";
170
210
  readonly internalType: "address";
@@ -233,36 +273,6 @@ declare const pointTokenAbi: readonly [{
233
273
  }];
234
274
  readonly outputs: readonly [];
235
275
  readonly stateMutability: "nonpayable";
236
- }, {
237
- readonly type: "function";
238
- readonly name: "mint";
239
- readonly inputs: readonly [{
240
- readonly name: "originalReceiver";
241
- readonly type: "address";
242
- readonly internalType: "address";
243
- }, {
244
- readonly name: "amount";
245
- readonly type: "uint256";
246
- readonly internalType: "uint256";
247
- }, {
248
- readonly name: "deadline";
249
- readonly type: "uint256";
250
- readonly internalType: "uint256";
251
- }, {
252
- readonly name: "minterSig";
253
- readonly type: "bytes";
254
- readonly internalType: "bytes";
255
- }, {
256
- readonly name: "receiverSig";
257
- readonly type: "bytes";
258
- readonly internalType: "bytes";
259
- }, {
260
- readonly name: "extData";
261
- readonly type: "bytes";
262
- readonly internalType: "bytes";
263
- }];
264
- readonly outputs: readonly [];
265
- readonly stateMutability: "nonpayable";
266
276
  }, {
267
277
  readonly type: "function";
268
278
  readonly name: "mintRequestNonces";
@@ -379,20 +389,6 @@ declare const pointTokenAbi: readonly [{
379
389
  }];
380
390
  readonly outputs: readonly [];
381
391
  readonly stateMutability: "nonpayable";
382
- }, {
383
- readonly type: "function";
384
- readonly name: "receiverConsentNonces";
385
- readonly inputs: readonly [{
386
- readonly name: "receiver";
387
- readonly type: "address";
388
- readonly internalType: "address";
389
- }];
390
- readonly outputs: readonly [{
391
- readonly name: "";
392
- readonly type: "uint256";
393
- readonly internalType: "uint256";
394
- }];
395
- readonly stateMutability: "view";
396
392
  }, {
397
393
  readonly type: "function";
398
394
  readonly name: "removeBurner";
@@ -794,10 +790,18 @@ declare const pointTokenAbi: readonly [{
794
790
  readonly type: "error";
795
791
  readonly name: "NotBurner";
796
792
  readonly inputs: readonly [];
793
+ }, {
794
+ readonly type: "error";
795
+ readonly name: "NotHolder";
796
+ readonly inputs: readonly [];
797
797
  }, {
798
798
  readonly type: "error";
799
799
  readonly name: "NotInitializing";
800
800
  readonly inputs: readonly [];
801
+ }, {
802
+ readonly type: "error";
803
+ readonly name: "NotIssuer";
804
+ readonly inputs: readonly [];
801
805
  }, {
802
806
  readonly type: "error";
803
807
  readonly name: "NotMinter";
@@ -916,41 +920,46 @@ declare const issuerRegistryAbi: readonly [{
916
920
  readonly internalType: "address";
917
921
  }];
918
922
  readonly outputs: readonly [{
919
- readonly name: "issuerAddress";
920
- readonly type: "address";
921
- readonly internalType: "address";
922
- }, {
923
- readonly name: "signerAddress";
924
- readonly type: "address";
925
- readonly internalType: "address";
926
- }, {
927
- readonly name: "name";
928
- readonly type: "string";
929
- readonly internalType: "string";
930
- }, {
931
- readonly name: "symbol";
932
- readonly type: "string";
933
- readonly internalType: "string";
934
- }, {
935
- readonly name: "declaredTotalSupply";
936
- readonly type: "uint256";
937
- readonly internalType: "uint256";
938
- }, {
939
- readonly name: "capBasisPoints";
940
- readonly type: "uint16";
941
- readonly internalType: "uint16";
942
- }, {
943
- readonly name: "active";
944
- readonly type: "bool";
945
- readonly internalType: "bool";
946
- }, {
947
- readonly name: "pointToken";
948
- readonly type: "address";
949
- readonly internalType: "address";
950
- }, {
951
- readonly name: "mintingOracle";
952
- readonly type: "address";
953
- readonly internalType: "address";
923
+ readonly name: "";
924
+ readonly type: "tuple";
925
+ readonly internalType: "struct IIssuerRegistry.Issuer";
926
+ readonly components: readonly [{
927
+ readonly name: "issuerAddress";
928
+ readonly type: "address";
929
+ readonly internalType: "address";
930
+ }, {
931
+ readonly name: "signerAddress";
932
+ readonly type: "address";
933
+ readonly internalType: "address";
934
+ }, {
935
+ readonly name: "name";
936
+ readonly type: "string";
937
+ readonly internalType: "string";
938
+ }, {
939
+ readonly name: "symbol";
940
+ readonly type: "string";
941
+ 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
+ }, {
951
+ readonly name: "active";
952
+ readonly type: "bool";
953
+ readonly internalType: "bool";
954
+ }, {
955
+ readonly name: "pointToken";
956
+ readonly type: "address";
957
+ readonly internalType: "address";
958
+ }, {
959
+ readonly name: "mintingOracle";
960
+ readonly type: "address";
961
+ readonly internalType: "address";
962
+ }];
954
963
  }];
955
964
  readonly stateMutability: "view";
956
965
  }, {
@@ -1074,6 +1083,10 @@ declare const issuerRegistryAbi: readonly [{
1074
1083
  readonly name: "issuer";
1075
1084
  readonly type: "address";
1076
1085
  readonly internalType: "address";
1086
+ }, {
1087
+ readonly name: "signerAddress";
1088
+ readonly type: "address";
1089
+ readonly internalType: "address";
1077
1090
  }, {
1078
1091
  readonly name: "name";
1079
1092
  readonly type: "string";
@@ -1107,6 +1120,20 @@ declare const issuerRegistryAbi: readonly [{
1107
1120
  }];
1108
1121
  readonly outputs: readonly [];
1109
1122
  readonly stateMutability: "payable";
1123
+ }, {
1124
+ readonly type: "function";
1125
+ readonly name: "wasEverAdded";
1126
+ readonly inputs: readonly [{
1127
+ readonly name: "issuer";
1128
+ readonly type: "address";
1129
+ readonly internalType: "address";
1130
+ }];
1131
+ readonly outputs: readonly [{
1132
+ readonly name: "";
1133
+ readonly type: "bool";
1134
+ readonly internalType: "bool";
1135
+ }];
1136
+ readonly stateMutability: "view";
1110
1137
  }, {
1111
1138
  readonly type: "event";
1112
1139
  readonly name: "Initialized";
@@ -1160,6 +1187,11 @@ declare const issuerRegistryAbi: readonly [{
1160
1187
  readonly type: "address";
1161
1188
  readonly indexed: true;
1162
1189
  readonly internalType: "address";
1190
+ }, {
1191
+ readonly name: "signerAddress";
1192
+ readonly type: "address";
1193
+ readonly indexed: false;
1194
+ readonly internalType: "address";
1163
1195
  }, {
1164
1196
  readonly name: "name";
1165
1197
  readonly type: "string";
@@ -1288,6 +1320,14 @@ declare const issuerRegistryAbi: readonly [{
1288
1320
  readonly type: "address";
1289
1321
  readonly internalType: "address";
1290
1322
  }];
1323
+ }, {
1324
+ readonly type: "error";
1325
+ readonly name: "IssuerPreviouslyAdded";
1326
+ readonly inputs: readonly [{
1327
+ readonly name: "issuer";
1328
+ readonly type: "address";
1329
+ readonly internalType: "address";
1330
+ }];
1291
1331
  }, {
1292
1332
  readonly type: "error";
1293
1333
  readonly name: "NotInitializing";
@@ -1351,6 +1391,10 @@ declare const pointTokenFactoryAbi: readonly [{
1351
1391
  readonly type: "function";
1352
1392
  readonly name: "createToken";
1353
1393
  readonly inputs: readonly [{
1394
+ readonly name: "tokenOwner";
1395
+ readonly type: "address";
1396
+ readonly internalType: "address";
1397
+ }, {
1354
1398
  readonly name: "issuer";
1355
1399
  readonly type: "address";
1356
1400
  readonly internalType: "address";
@@ -1392,6 +1436,10 @@ declare const pointTokenFactoryAbi: readonly [{
1392
1436
  readonly name: "_mintingOracle";
1393
1437
  readonly type: "address";
1394
1438
  readonly internalType: "address";
1439
+ }, {
1440
+ readonly name: "_tokenImplementation";
1441
+ readonly type: "address";
1442
+ readonly internalType: "address";
1395
1443
  }];
1396
1444
  readonly outputs: readonly [];
1397
1445
  readonly stateMutability: "nonpayable";
@@ -1787,6 +1835,16 @@ declare const mintingOracleAbi: readonly [{
1787
1835
  }];
1788
1836
  readonly outputs: readonly [];
1789
1837
  readonly stateMutability: "nonpayable";
1838
+ }, {
1839
+ readonly type: "function";
1840
+ readonly name: "unregisterToken";
1841
+ readonly inputs: readonly [{
1842
+ readonly name: "pointToken";
1843
+ readonly type: "address";
1844
+ readonly internalType: "address";
1845
+ }];
1846
+ readonly outputs: readonly [];
1847
+ readonly stateMutability: "nonpayable";
1790
1848
  }, {
1791
1849
  readonly type: "function";
1792
1850
  readonly name: "verifyMintCap";
@@ -1856,6 +1914,33 @@ declare const mintingOracleAbi: readonly [{
1856
1914
  readonly internalType: "address";
1857
1915
  }];
1858
1916
  readonly anonymous: false;
1917
+ }, {
1918
+ readonly type: "event";
1919
+ readonly name: "TokenUnregistered";
1920
+ readonly inputs: readonly [{
1921
+ readonly name: "pointToken";
1922
+ readonly type: "address";
1923
+ readonly indexed: true;
1924
+ readonly internalType: "address";
1925
+ }, {
1926
+ readonly name: "issuer";
1927
+ readonly type: "address";
1928
+ readonly indexed: true;
1929
+ readonly internalType: "address";
1930
+ }];
1931
+ readonly anonymous: false;
1932
+ }, {
1933
+ readonly type: "error";
1934
+ readonly name: "IssuerMismatch";
1935
+ readonly inputs: readonly [{
1936
+ readonly name: "passedIssuer";
1937
+ readonly type: "address";
1938
+ readonly internalType: "address";
1939
+ }, {
1940
+ readonly name: "registeredIssuer";
1941
+ readonly type: "address";
1942
+ readonly internalType: "address";
1943
+ }];
1859
1944
  }, {
1860
1945
  readonly type: "error";
1861
1946
  readonly name: "IssuerNotActive";
@@ -1908,6 +1993,14 @@ declare const mintingOracleAbi: readonly [{
1908
1993
  readonly type: "address";
1909
1994
  readonly internalType: "address";
1910
1995
  }];
1996
+ }, {
1997
+ readonly type: "error";
1998
+ readonly name: "TokenNotRegistered";
1999
+ readonly inputs: readonly [{
2000
+ readonly name: "pointToken";
2001
+ readonly type: "address";
2002
+ readonly internalType: "address";
2003
+ }];
1911
2004
  }, {
1912
2005
  readonly type: "error";
1913
2006
  readonly name: "UnregisteredPointToken";