@pafi-dev/core 0.5.2 → 0.5.4

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 (37) hide show
  1. package/dist/{chunk-YU7MFR6Y.cjs → chunk-B3PYJGTH.cjs} +14 -2
  2. package/dist/chunk-B3PYJGTH.cjs.map +1 -0
  3. package/dist/{chunk-CQCSQPWG.cjs → chunk-G6IUSI5S.cjs} +1 -1
  4. package/dist/{chunk-CQCSQPWG.cjs.map → chunk-G6IUSI5S.cjs.map} +1 -1
  5. package/dist/{chunk-QGO6X6LG.js → chunk-HZTR4RHR.js} +1 -1
  6. package/dist/chunk-HZTR4RHR.js.map +1 -0
  7. package/dist/{chunk-T6Y32SNK.js → chunk-MWKJODJE.js} +14 -2
  8. package/dist/{chunk-T6Y32SNK.js.map → chunk-MWKJODJE.js.map} +1 -1
  9. package/dist/contract/index.cjs +2 -2
  10. package/dist/contract/index.js +1 -1
  11. package/dist/index.cjs +130 -18
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +114 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/swap/index.cjs +2 -2
  16. package/dist/swap/index.js +1 -1
  17. package/package.json +1 -1
  18. package/dist/abi/index.d.cts +0 -2194
  19. package/dist/abi/index.d.ts +0 -2194
  20. package/dist/auth/index.d.cts +0 -151
  21. package/dist/auth/index.d.ts +0 -151
  22. package/dist/chunk-QGO6X6LG.js.map +0 -1
  23. package/dist/chunk-YU7MFR6Y.cjs.map +0 -1
  24. package/dist/contract/index.d.cts +0 -22
  25. package/dist/contract/index.d.ts +0 -22
  26. package/dist/eip712/index.d.cts +0 -125
  27. package/dist/eip712/index.d.ts +0 -125
  28. package/dist/index-BEx-Q1bW.d.cts +0 -227
  29. package/dist/index-r4xCdQO7.d.ts +0 -227
  30. package/dist/index.d.cts +0 -1559
  31. package/dist/index.d.ts +0 -1559
  32. package/dist/quoting/index.d.cts +0 -59
  33. package/dist/quoting/index.d.ts +0 -59
  34. package/dist/swap/index.d.cts +0 -3
  35. package/dist/swap/index.d.ts +0 -3
  36. package/dist/types-b5_Tokjl.d.cts +0 -89
  37. package/dist/types-b5_Tokjl.d.ts +0 -89
package/dist/index.cjs CHANGED
@@ -24,7 +24,7 @@ var _chunkFNJZUNK3cjs = require('./chunk-FNJZUNK3.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkCQCSQPWGcjs = require('./chunk-CQCSQPWG.cjs');
27
+ var _chunkG6IUSI5Scjs = require('./chunk-G6IUSI5S.cjs');
28
28
 
29
29
 
30
30
 
@@ -79,7 +79,8 @@ var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
79
79
 
80
80
 
81
81
 
82
- var _chunkYU7MFR6Ycjs = require('./chunk-YU7MFR6Y.cjs');
82
+
83
+ var _chunkB3PYJGTHcjs = require('./chunk-B3PYJGTH.cjs');
83
84
 
84
85
 
85
86
 
@@ -221,16 +222,16 @@ function buildPerpDepositWithGasDeduction(params) {
221
222
  args: [params.depositData]
222
223
  });
223
224
  const operations = [
224
- _chunkYU7MFR6Ycjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
225
+ _chunkB3PYJGTHcjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
225
226
  {
226
- ..._chunkYU7MFR6Ycjs.rawCallOp.call(void 0, vault, depositCallData),
227
+ ..._chunkB3PYJGTHcjs.rawCallOp.call(void 0, vault, depositCallData),
227
228
  // BatchExecutor passes `value` from the inner call along; this
228
229
  // becomes the LayerZero fee. The aggregated `msg.value` for the
229
230
  // top-level UserOp must equal the sum of inner `value`s.
230
231
  value: params.layerZeroFee
231
232
  }
232
233
  ];
233
- return _chunkYU7MFR6Ycjs.buildPartialUserOperation.call(void 0, {
234
+ return _chunkB3PYJGTHcjs.buildPartialUserOperation.call(void 0, {
234
235
  sender: params.userAddress,
235
236
  nonce: params.aaNonce,
236
237
  operations,
@@ -245,6 +246,91 @@ function buildPerpDepositWithGasDeduction(params) {
245
246
  // src/userop/types.ts
246
247
  var ZERO_VALUE = 0n;
247
248
 
249
+ // src/userop/serializeUserOp.ts
250
+ function serializeUserOpToJsonRpc(userOp, signature) {
251
+ const p = userOp;
252
+ return {
253
+ sender: p.sender,
254
+ nonce: `0x${p.nonce.toString(16)}`,
255
+ factory: null,
256
+ factoryData: null,
257
+ callData: p.callData,
258
+ callGasLimit: `0x${p.callGasLimit.toString(16)}`,
259
+ verificationGasLimit: `0x${p.verificationGasLimit.toString(16)}`,
260
+ preVerificationGas: `0x${p.preVerificationGas.toString(16)}`,
261
+ maxFeePerGas: `0x${p.maxFeePerGas.toString(16)}`,
262
+ maxPriorityFeePerGas: `0x${p.maxPriorityFeePerGas.toString(16)}`,
263
+ paymaster: _nullishCoalesce(p.paymaster, () => ( null)),
264
+ paymasterData: _nullishCoalesce(p.paymasterData, () => ( null)),
265
+ paymasterVerificationGasLimit: p.paymasterVerificationGasLimit != null ? `0x${p.paymasterVerificationGasLimit.toString(16)}` : null,
266
+ paymasterPostOpGasLimit: p.paymasterPostOpGasLimit != null ? `0x${p.paymasterPostOpGasLimit.toString(16)}` : null,
267
+ signature
268
+ };
269
+ }
270
+
271
+ // src/userop/computeUserOpHash.ts
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+ function computeUserOpHash(userOp, chainId) {
280
+ const accountGasLimits = pack128(
281
+ userOp.verificationGasLimit,
282
+ userOp.callGasLimit
283
+ );
284
+ const gasFees = pack128(userOp.maxPriorityFeePerGas, userOp.maxFeePerGas);
285
+ const paymasterAndData = userOp.paymaster ? _viem.concat.call(void 0, [
286
+ userOp.paymaster,
287
+ _viem.pad.call(void 0, _viem.toHex.call(void 0, _nullishCoalesce(userOp.paymasterVerificationGasLimit, () => ( 0n))), { size: 16 }),
288
+ _viem.pad.call(void 0, _viem.toHex.call(void 0, _nullishCoalesce(userOp.paymasterPostOpGasLimit, () => ( 0n))), { size: 16 }),
289
+ _nullishCoalesce(userOp.paymasterData, () => ( "0x"))
290
+ ]) : "0x";
291
+ const packed = _viem.keccak256.call(void 0,
292
+ _viem.encodeAbiParameters.call(void 0,
293
+ [
294
+ { type: "address" },
295
+ // sender
296
+ { type: "uint256" },
297
+ // nonce
298
+ { type: "bytes32" },
299
+ // keccak(initCode) — no factory so keccak(0x)
300
+ { type: "bytes32" },
301
+ // keccak(callData)
302
+ { type: "bytes32" },
303
+ // accountGasLimits
304
+ { type: "uint256" },
305
+ // preVerificationGas
306
+ { type: "bytes32" },
307
+ // gasFees
308
+ { type: "bytes32" }
309
+ // keccak(paymasterAndData)
310
+ ],
311
+ [
312
+ userOp.sender,
313
+ userOp.nonce,
314
+ _viem.keccak256.call(void 0, "0x"),
315
+ _viem.keccak256.call(void 0, userOp.callData),
316
+ accountGasLimits,
317
+ userOp.preVerificationGas,
318
+ gasFees,
319
+ _viem.keccak256.call(void 0, paymasterAndData)
320
+ ]
321
+ )
322
+ );
323
+ return _viem.keccak256.call(void 0,
324
+ _viem.encodeAbiParameters.call(void 0,
325
+ [{ type: "bytes32" }, { type: "address" }, { type: "uint256" }],
326
+ [packed, _chunk52SZJDFTcjs.ENTRY_POINT_V07, BigInt(chainId)]
327
+ )
328
+ );
329
+ }
330
+ function pack128(hi, lo) {
331
+ return `0x${(hi << 128n | lo).toString(16).padStart(64, "0")}`;
332
+ }
333
+
248
334
  // src/paymaster/config.ts
249
335
  var _config = null;
250
336
  function setPaymasterConfig(config) {
@@ -312,7 +398,7 @@ async function isDelegatedTo(client, address, target) {
312
398
 
313
399
  // src/delegation/buildDelegationUserOp.ts
314
400
  function buildDelegationUserOp(params) {
315
- return _chunkYU7MFR6Ycjs.buildPartialUserOperation.call(void 0, {
401
+ return _chunkB3PYJGTHcjs.buildPartialUserOperation.call(void 0, {
316
402
  sender: params.userAddress,
317
403
  nonce: params.aaNonce,
318
404
  operations: [
@@ -354,6 +440,27 @@ async function getAaNonce(client, userAddress) {
354
440
  });
355
441
  }
356
442
 
443
+ // src/delegation/computeAuthorizationHash.ts
444
+
445
+ function computeAuthorizationHash(chainId, address, nonce) {
446
+ const rlpEncoded = _viem.toRlp.call(void 0, [
447
+ toMinimalHex(BigInt(chainId)),
448
+ address,
449
+ toMinimalHex(nonce)
450
+ ]);
451
+ return _viem.keccak256.call(void 0, _viem.concat.call(void 0, ["0x05", rlpEncoded]));
452
+ }
453
+ function isDelegatedToTarget(code, target) {
454
+ if (!code || code === "0x") return false;
455
+ const expected = `0xef0100${target.slice(2).toLowerCase()}`;
456
+ return code.toLowerCase() === expected;
457
+ }
458
+ function toMinimalHex(n) {
459
+ if (n === 0n) return "0x";
460
+ const hex = n.toString(16);
461
+ return `0x${hex.length % 2 === 0 ? hex : "0" + hex}`;
462
+ }
463
+
357
464
  // src/transport/proxyTransport.ts
358
465
 
359
466
  function createPafiProxyTransport(params) {
@@ -747,25 +854,25 @@ var PafiSDK = class {
747
854
  // -------------------------------------------------------------------------
748
855
  requirePointToken() {
749
856
  if (!this._pointTokenAddress) {
750
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("pointTokenAddress not set");
857
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("pointTokenAddress not set");
751
858
  }
752
859
  return this._pointTokenAddress;
753
860
  }
754
861
  requireProvider() {
755
862
  if (!this._provider) {
756
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("provider not set");
863
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("provider not set");
757
864
  }
758
865
  return this._provider;
759
866
  }
760
867
  requireSigner() {
761
868
  if (!this._signer) {
762
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer not set");
869
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer not set");
763
870
  }
764
871
  return this._signer;
765
872
  }
766
873
  requireChainId() {
767
874
  if (this._chainId === void 0) {
768
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("chainId not set");
875
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("chainId not set");
769
876
  }
770
877
  return this._chainId;
771
878
  }
@@ -776,7 +883,7 @@ var PafiSDK = class {
776
883
  const provider = this.requireProvider();
777
884
  const pointToken = this.requirePointToken();
778
885
  const chainId = this.requireChainId();
779
- const name = await _chunkCQCSQPWGcjs.getTokenName.call(void 0, provider, pointToken);
886
+ const name = await _chunkG6IUSI5Scjs.getTokenName.call(void 0, provider, pointToken);
780
887
  return { name, verifyingContract: pointToken, chainId };
781
888
  }
782
889
  // -------------------------------------------------------------------------
@@ -810,14 +917,14 @@ var PafiSDK = class {
810
917
  // Contract reads
811
918
  // -------------------------------------------------------------------------
812
919
  async getMintRequestNonce(receiver) {
813
- return _chunkCQCSQPWGcjs.getMintRequestNonce.call(void 0,
920
+ return _chunkG6IUSI5Scjs.getMintRequestNonce.call(void 0,
814
921
  this.requireProvider(),
815
922
  this.requirePointToken(),
816
923
  receiver
817
924
  );
818
925
  }
819
926
  async getReceiverConsentNonce(receiver) {
820
- return _chunkCQCSQPWGcjs.getReceiverConsentNonce.call(void 0,
927
+ return _chunkG6IUSI5Scjs.getReceiverConsentNonce.call(void 0,
821
928
  this.requireProvider(),
822
929
  this.requirePointToken(),
823
930
  receiver
@@ -851,7 +958,7 @@ var PafiSDK = class {
851
958
  * The caller provides `minAmountOut` after applying their own slippage.
852
959
  */
853
960
  buildSwapFromQuote(params) {
854
- return _chunkYU7MFR6Ycjs.buildSwapFromQuote.call(void 0, params);
961
+ return _chunkB3PYJGTHcjs.buildSwapFromQuote.call(void 0, params);
855
962
  }
856
963
  // -------------------------------------------------------------------------
857
964
  // Simulation — dry-run via eth_call (no gas spent)
@@ -867,7 +974,7 @@ var PafiSDK = class {
867
974
  * @param from - Address that will execute the swap
868
975
  */
869
976
  async simulateSwap(routerAddress, commands, inputs, deadline, from) {
870
- return _chunkYU7MFR6Ycjs.simulateSwap.call(void 0,
977
+ return _chunkB3PYJGTHcjs.simulateSwap.call(void 0,
871
978
  this.requireProvider(),
872
979
  routerAddress,
873
980
  commands,
@@ -884,7 +991,7 @@ var PafiSDK = class {
884
991
  const chainId = this.requireChainId();
885
992
  const account = signer.account;
886
993
  if (!account) {
887
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer has no account attached");
994
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer has no account attached");
888
995
  }
889
996
  return _chunkFNJZUNK3cjs.createLoginMessage.call(void 0, { ...params, address: account.address, chainId });
890
997
  }
@@ -893,7 +1000,7 @@ var PafiSDK = class {
893
1000
  const signer = this.requireSigner();
894
1001
  const account = signer.account;
895
1002
  if (!account) {
896
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer has no account attached");
1003
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer has no account attached");
897
1004
  }
898
1005
  return signer.signMessage({ account, message });
899
1006
  }
@@ -1015,5 +1122,10 @@ var PafiSDK = class {
1015
1122
 
1016
1123
 
1017
1124
 
1018
- exports.ApiError = _chunkYU7MFR6Ycjs.ApiError; exports.BATCH_EXECUTOR_ABI = _chunkYU7MFR6Ycjs.BATCH_EXECUTOR_ABI; exports.BATCH_EXECUTOR_ADDRESS_BASE_MAINNET = BATCH_EXECUTOR_ADDRESS_BASE_MAINNET; exports.BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA = BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA; exports.BROKER_HASHES = BROKER_HASHES; exports.COMMON_POOLS = _chunk52SZJDFTcjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunk52SZJDFTcjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunkYU7MFR6Ycjs.ConfigurationError; exports.ENTRY_POINT_V07 = _chunk52SZJDFTcjs.ENTRY_POINT_V07; exports.ORDERLY_VAULT_ABI = ORDERLY_VAULT_ABI; exports.ORDERLY_VAULT_ADDRESSES = ORDERLY_VAULT_ADDRESSES; exports.ORDERLY_VAULT_BASE_MAINNET = ORDERLY_VAULT_BASE_MAINNET; exports.PAFI_SUBGRAPH_URL = PAFI_SUBGRAPH_URL; exports.PERMIT2_ADDRESS = _chunk52SZJDFTcjs.PERMIT2_ADDRESS; exports.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunk52SZJDFTcjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = POINT_TOKEN_ABI; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunkYU7MFR6Ycjs.PafiSDKError; exports.SETTLE_ALL = _chunkYU7MFR6Ycjs.SETTLE_ALL; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunk52SZJDFTcjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunkYU7MFR6Ycjs.SWAP_EXACT_IN; exports.SigningError = _chunkYU7MFR6Ycjs.SigningError; exports.SimulationError = _chunkYU7MFR6Ycjs.SimulationError; exports.TAKE_ALL = _chunkYU7MFR6Ycjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunk52SZJDFTcjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunk52SZJDFTcjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunkYU7MFR6Ycjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunkYU7MFR6Ycjs.assembleUserOperation; exports.buildAllPaths = _chunkARZSGP5Ycjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunk2PY5RNVScjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunk2PY5RNVScjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunkYU7MFR6Ycjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunk2PY5RNVScjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunkYU7MFR6Ycjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunkYU7MFR6Ycjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunk2PY5RNVScjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunkYU7MFR6Ycjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunkYU7MFR6Ycjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunkYU7MFR6Ycjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunkYU7MFR6Ycjs.buildV4SwapInput; exports.burnRequestTypes = _chunk52SZJDFTcjs.burnRequestTypes; exports.checkAllowance = _chunkYU7MFR6Ycjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkARZSGP5Ycjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.encodeBatchExecute = _chunkYU7MFR6Ycjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunkYU7MFR6Ycjs.erc20ApproveOp; exports.erc20BurnOp = _chunkYU7MFR6Ycjs.erc20BurnOp; exports.erc20TransferOp = _chunkYU7MFR6Ycjs.erc20TransferOp; exports.fetchPafiPools = fetchPafiPools; exports.findBestQuote = _chunkARZSGP5Ycjs.findBestQuote; exports.getAaNonce = getAaNonce; exports.getContractAddresses = getContractAddresses; exports.getIssuer = _chunkCQCSQPWGcjs.getIssuer2; exports.getMintRequestNonce = _chunkCQCSQPWGcjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkCQCSQPWGcjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkCQCSQPWGcjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkCQCSQPWGcjs.getIssuer; exports.getReceiverConsentNonce = _chunkCQCSQPWGcjs.getReceiverConsentNonce; exports.getTokenName = _chunkCQCSQPWGcjs.getTokenName; exports.isActiveIssuer = _chunkCQCSQPWGcjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isMinter = _chunkCQCSQPWGcjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkS2XRFFP3cjs.issuerRegistryAbi; exports.mintRequestTypes = _chunk52SZJDFTcjs.mintRequestTypes; exports.mintingOracleAbi = _chunkS2XRFFP3cjs.mintingOracleAbi; exports.openPafiWebModal = openPafiWebModal; exports.openWebPopup = openWebPopup; exports.parseEip7702DelegatedAddress = parseEip7702DelegatedAddress; exports.parseLoginMessage = _chunkFNJZUNK3cjs.parseLoginMessage; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkS2XRFFP3cjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkALCWYDVGcjs.pointTokenFactoryAbi; exports.quoteBestRoute = _chunkARZSGP5Ycjs.quoteBestRoute; exports.quoteExactInput = _chunkARZSGP5Ycjs.quoteExactInput; exports.quoteExactInputSingle = _chunkARZSGP5Ycjs.quoteExactInputSingle; exports.rawCallOp = _chunkYU7MFR6Ycjs.rawCallOp; exports.receiverConsentTypes = _chunk52SZJDFTcjs.receiverConsentTypes; exports.sendWithPaymasterFallback = sendWithPaymasterFallback; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunk2PY5RNVScjs.signBurnRequest; exports.signMintRequest = _chunk2PY5RNVScjs.signMintRequest; exports.signReceiverConsent = _chunk2PY5RNVScjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunkYU7MFR6Ycjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunk2PY5RNVScjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkCQCSQPWGcjs.verifyMintCap; exports.verifyMintRequest = _chunk2PY5RNVScjs.verifyMintRequest; exports.verifyReceiverConsent = _chunk2PY5RNVScjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+ exports.ApiError = _chunkB3PYJGTHcjs.ApiError; exports.BATCH_EXECUTOR_ABI = _chunkB3PYJGTHcjs.BATCH_EXECUTOR_ABI; exports.BATCH_EXECUTOR_ADDRESS_BASE_MAINNET = BATCH_EXECUTOR_ADDRESS_BASE_MAINNET; exports.BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA = BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA; exports.BROKER_HASHES = BROKER_HASHES; exports.COMMON_POOLS = _chunk52SZJDFTcjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunk52SZJDFTcjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunkB3PYJGTHcjs.ConfigurationError; exports.ENTRY_POINT_V07 = _chunk52SZJDFTcjs.ENTRY_POINT_V07; exports.ORDERLY_VAULT_ABI = ORDERLY_VAULT_ABI; exports.ORDERLY_VAULT_ADDRESSES = ORDERLY_VAULT_ADDRESSES; exports.ORDERLY_VAULT_BASE_MAINNET = ORDERLY_VAULT_BASE_MAINNET; exports.PAFI_SUBGRAPH_URL = PAFI_SUBGRAPH_URL; exports.PERMIT2_ADDRESS = _chunk52SZJDFTcjs.PERMIT2_ADDRESS; exports.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunk52SZJDFTcjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = POINT_TOKEN_ABI; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunkB3PYJGTHcjs.PafiSDKError; exports.SETTLE_ALL = _chunkB3PYJGTHcjs.SETTLE_ALL; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunk52SZJDFTcjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunkB3PYJGTHcjs.SWAP_EXACT_IN; exports.SigningError = _chunkB3PYJGTHcjs.SigningError; exports.SimulationError = _chunkB3PYJGTHcjs.SimulationError; exports.TAKE_ALL = _chunkB3PYJGTHcjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunk52SZJDFTcjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunk52SZJDFTcjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunkB3PYJGTHcjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunkB3PYJGTHcjs.assembleUserOperation; exports.buildAllPaths = _chunkARZSGP5Ycjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunk2PY5RNVScjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunk2PY5RNVScjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunkB3PYJGTHcjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunk2PY5RNVScjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunkB3PYJGTHcjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunkB3PYJGTHcjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunk2PY5RNVScjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunkB3PYJGTHcjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunkB3PYJGTHcjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunkB3PYJGTHcjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunkB3PYJGTHcjs.buildV4SwapInput; exports.burnRequestTypes = _chunk52SZJDFTcjs.burnRequestTypes; exports.checkAllowance = _chunkB3PYJGTHcjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkARZSGP5Ycjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeAuthorizationHash = computeAuthorizationHash; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.computeUserOpHash = computeUserOpHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.decodeBatchExecuteCalls = _chunkB3PYJGTHcjs.decodeBatchExecuteCalls; exports.encodeBatchExecute = _chunkB3PYJGTHcjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunkB3PYJGTHcjs.erc20ApproveOp; exports.erc20BurnOp = _chunkB3PYJGTHcjs.erc20BurnOp; exports.erc20TransferOp = _chunkB3PYJGTHcjs.erc20TransferOp; exports.fetchPafiPools = fetchPafiPools; exports.findBestQuote = _chunkARZSGP5Ycjs.findBestQuote; exports.getAaNonce = getAaNonce; exports.getContractAddresses = getContractAddresses; exports.getIssuer = _chunkG6IUSI5Scjs.getIssuer2; exports.getMintRequestNonce = _chunkG6IUSI5Scjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkG6IUSI5Scjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkG6IUSI5Scjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkG6IUSI5Scjs.getIssuer; exports.getReceiverConsentNonce = _chunkG6IUSI5Scjs.getReceiverConsentNonce; exports.getTokenName = _chunkG6IUSI5Scjs.getTokenName; exports.isActiveIssuer = _chunkG6IUSI5Scjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkG6IUSI5Scjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkS2XRFFP3cjs.issuerRegistryAbi; exports.mintRequestTypes = _chunk52SZJDFTcjs.mintRequestTypes; exports.mintingOracleAbi = _chunkS2XRFFP3cjs.mintingOracleAbi; exports.openPafiWebModal = openPafiWebModal; exports.openWebPopup = openWebPopup; exports.parseEip7702DelegatedAddress = parseEip7702DelegatedAddress; exports.parseLoginMessage = _chunkFNJZUNK3cjs.parseLoginMessage; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkS2XRFFP3cjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkALCWYDVGcjs.pointTokenFactoryAbi; exports.quoteBestRoute = _chunkARZSGP5Ycjs.quoteBestRoute; exports.quoteExactInput = _chunkARZSGP5Ycjs.quoteExactInput; exports.quoteExactInputSingle = _chunkARZSGP5Ycjs.quoteExactInputSingle; exports.rawCallOp = _chunkB3PYJGTHcjs.rawCallOp; exports.receiverConsentTypes = _chunk52SZJDFTcjs.receiverConsentTypes; exports.sendWithPaymasterFallback = sendWithPaymasterFallback; exports.serializeUserOpToJsonRpc = serializeUserOpToJsonRpc; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunk2PY5RNVScjs.signBurnRequest; exports.signMintRequest = _chunk2PY5RNVScjs.signMintRequest; exports.signReceiverConsent = _chunk2PY5RNVScjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunkB3PYJGTHcjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunk2PY5RNVScjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkG6IUSI5Scjs.verifyMintCap; exports.verifyMintRequest = _chunk2PY5RNVScjs.verifyMintRequest; exports.verifyReceiverConsent = _chunk2PY5RNVScjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
1019
1131
  //# sourceMappingURL=index.cjs.map