@pafi-dev/core 0.5.3 → 0.5.5

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/index.cjs CHANGED
@@ -24,7 +24,8 @@ var _chunkFNJZUNK3cjs = require('./chunk-FNJZUNK3.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkCQCSQPWGcjs = require('./chunk-CQCSQPWG.cjs');
27
+
28
+ var _chunkOQIQXDHWcjs = require('./chunk-OQIQXDHW.cjs');
28
29
 
29
30
 
30
31
 
@@ -79,7 +80,8 @@ var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
79
80
 
80
81
 
81
82
 
82
- var _chunkYU7MFR6Ycjs = require('./chunk-YU7MFR6Y.cjs');
83
+
84
+ var _chunkB3PYJGTHcjs = require('./chunk-B3PYJGTH.cjs');
83
85
 
84
86
 
85
87
 
@@ -221,16 +223,16 @@ function buildPerpDepositWithGasDeduction(params) {
221
223
  args: [params.depositData]
222
224
  });
223
225
  const operations = [
224
- _chunkYU7MFR6Ycjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
226
+ _chunkB3PYJGTHcjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
225
227
  {
226
- ..._chunkYU7MFR6Ycjs.rawCallOp.call(void 0, vault, depositCallData),
228
+ ..._chunkB3PYJGTHcjs.rawCallOp.call(void 0, vault, depositCallData),
227
229
  // BatchExecutor passes `value` from the inner call along; this
228
230
  // becomes the LayerZero fee. The aggregated `msg.value` for the
229
231
  // top-level UserOp must equal the sum of inner `value`s.
230
232
  value: params.layerZeroFee
231
233
  }
232
234
  ];
233
- return _chunkYU7MFR6Ycjs.buildPartialUserOperation.call(void 0, {
235
+ return _chunkB3PYJGTHcjs.buildPartialUserOperation.call(void 0, {
234
236
  sender: params.userAddress,
235
237
  nonce: params.aaNonce,
236
238
  operations,
@@ -245,6 +247,28 @@ function buildPerpDepositWithGasDeduction(params) {
245
247
  // src/userop/types.ts
246
248
  var ZERO_VALUE = 0n;
247
249
 
250
+ // src/userop/serializeUserOp.ts
251
+ function serializeUserOpToJsonRpc(userOp, signature) {
252
+ const p = userOp;
253
+ return {
254
+ sender: p.sender,
255
+ nonce: `0x${p.nonce.toString(16)}`,
256
+ factory: null,
257
+ factoryData: null,
258
+ callData: p.callData,
259
+ callGasLimit: `0x${p.callGasLimit.toString(16)}`,
260
+ verificationGasLimit: `0x${p.verificationGasLimit.toString(16)}`,
261
+ preVerificationGas: `0x${p.preVerificationGas.toString(16)}`,
262
+ maxFeePerGas: `0x${p.maxFeePerGas.toString(16)}`,
263
+ maxPriorityFeePerGas: `0x${p.maxPriorityFeePerGas.toString(16)}`,
264
+ paymaster: _nullishCoalesce(p.paymaster, () => ( null)),
265
+ paymasterData: _nullishCoalesce(p.paymasterData, () => ( null)),
266
+ paymasterVerificationGasLimit: p.paymasterVerificationGasLimit != null ? `0x${p.paymasterVerificationGasLimit.toString(16)}` : null,
267
+ paymasterPostOpGasLimit: p.paymasterPostOpGasLimit != null ? `0x${p.paymasterPostOpGasLimit.toString(16)}` : null,
268
+ signature
269
+ };
270
+ }
271
+
248
272
  // src/userop/computeUserOpHash.ts
249
273
 
250
274
 
@@ -375,7 +399,7 @@ async function isDelegatedTo(client, address, target) {
375
399
 
376
400
  // src/delegation/buildDelegationUserOp.ts
377
401
  function buildDelegationUserOp(params) {
378
- return _chunkYU7MFR6Ycjs.buildPartialUserOperation.call(void 0, {
402
+ return _chunkB3PYJGTHcjs.buildPartialUserOperation.call(void 0, {
379
403
  sender: params.userAddress,
380
404
  nonce: params.aaNonce,
381
405
  operations: [
@@ -477,51 +501,6 @@ async function sendWithPaymasterFallback(params) {
477
501
  }
478
502
  }
479
503
 
480
- // src/contracts/real/pointToken.ts
481
-
482
- var POINT_TOKEN_ABI = _viem.parseAbi.call(void 0, [
483
- // --- Mint paths ---
484
- "function mint(address to, uint256 amount) external",
485
- "function mint(address to, uint256 amount, uint256 deadline, bytes minterSig) external",
486
- // --- Burn paths ---
487
- "function burn(address from, uint256 amount) external",
488
- "function burn(address from, uint256 amount, uint256 deadline, bytes burnerSig) external",
489
- // --- Authorization reads ---
490
- "function minters(address account) external view returns (bool)",
491
- "function burners(address account) external view returns (bool)",
492
- // --- Authorization writes (owner-only; used by provisioning scripts) ---
493
- "function addMinter(address minter) external",
494
- "function removeMinter(address minter) external",
495
- "function addBurner(address burner) external",
496
- "function removeBurner(address burner) external",
497
- // --- Nonces (sig-gated paths) ---
498
- "function mintRequestNonces(address receiver) external view returns (uint256)",
499
- "function burnRequestNonces(address from) external view returns (uint256)",
500
- // --- Oracle ---
501
- "function mintingOracle() external view returns (address)",
502
- "function setMintingOracle(address _mintingOracle) external",
503
- // --- Issuer ---
504
- "function issuer() external view returns (address)",
505
- // --- Standard ERC-20 reads ---
506
- "function balanceOf(address account) external view returns (uint256)",
507
- "function totalSupply() external view returns (uint256)",
508
- "function name() external view returns (string)",
509
- "function symbol() external view returns (string)",
510
- "function decimals() external view returns (uint8)",
511
- // --- EIP-712 domain (for off-chain sig verification) ---
512
- "function DOMAIN_SEPARATOR() external view returns (bytes32)",
513
- "function eip712Domain() external view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)",
514
- // --- Events ---
515
- // PointIndexer filters Transfer(from=0x0) for mints
516
- // BurnIndexer filters Transfer(to=0x0) for burns
517
- "event Transfer(address indexed from, address indexed to, uint256 value)",
518
- "event MinterAdded(address indexed minter)",
519
- "event MinterRemoved(address indexed minter)",
520
- "event BurnerAdded(address indexed burner)",
521
- "event BurnerRemoved(address indexed burner)",
522
- "event MintingOracleUpdated(address indexed mintingOracle)"
523
- ]);
524
-
525
504
  // src/contracts/real/addresses.ts
526
505
  var PLACEHOLDER_DEAD = (suffix) => `0x000000000000000000000000000000000000${suffix.toLowerCase().padStart(4, "0")}`;
527
506
  var CONTRACT_ADDRESSES = {
@@ -831,25 +810,25 @@ var PafiSDK = class {
831
810
  // -------------------------------------------------------------------------
832
811
  requirePointToken() {
833
812
  if (!this._pointTokenAddress) {
834
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("pointTokenAddress not set");
813
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("pointTokenAddress not set");
835
814
  }
836
815
  return this._pointTokenAddress;
837
816
  }
838
817
  requireProvider() {
839
818
  if (!this._provider) {
840
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("provider not set");
819
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("provider not set");
841
820
  }
842
821
  return this._provider;
843
822
  }
844
823
  requireSigner() {
845
824
  if (!this._signer) {
846
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer not set");
825
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer not set");
847
826
  }
848
827
  return this._signer;
849
828
  }
850
829
  requireChainId() {
851
830
  if (this._chainId === void 0) {
852
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("chainId not set");
831
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("chainId not set");
853
832
  }
854
833
  return this._chainId;
855
834
  }
@@ -860,7 +839,7 @@ var PafiSDK = class {
860
839
  const provider = this.requireProvider();
861
840
  const pointToken = this.requirePointToken();
862
841
  const chainId = this.requireChainId();
863
- const name = await _chunkCQCSQPWGcjs.getTokenName.call(void 0, provider, pointToken);
842
+ const name = await _chunkOQIQXDHWcjs.getTokenName.call(void 0, provider, pointToken);
864
843
  return { name, verifyingContract: pointToken, chainId };
865
844
  }
866
845
  // -------------------------------------------------------------------------
@@ -894,14 +873,14 @@ var PafiSDK = class {
894
873
  // Contract reads
895
874
  // -------------------------------------------------------------------------
896
875
  async getMintRequestNonce(receiver) {
897
- return _chunkCQCSQPWGcjs.getMintRequestNonce.call(void 0,
876
+ return _chunkOQIQXDHWcjs.getMintRequestNonce.call(void 0,
898
877
  this.requireProvider(),
899
878
  this.requirePointToken(),
900
879
  receiver
901
880
  );
902
881
  }
903
882
  async getReceiverConsentNonce(receiver) {
904
- return _chunkCQCSQPWGcjs.getReceiverConsentNonce.call(void 0,
883
+ return _chunkOQIQXDHWcjs.getReceiverConsentNonce.call(void 0,
905
884
  this.requireProvider(),
906
885
  this.requirePointToken(),
907
886
  receiver
@@ -935,7 +914,7 @@ var PafiSDK = class {
935
914
  * The caller provides `minAmountOut` after applying their own slippage.
936
915
  */
937
916
  buildSwapFromQuote(params) {
938
- return _chunkYU7MFR6Ycjs.buildSwapFromQuote.call(void 0, params);
917
+ return _chunkB3PYJGTHcjs.buildSwapFromQuote.call(void 0, params);
939
918
  }
940
919
  // -------------------------------------------------------------------------
941
920
  // Simulation — dry-run via eth_call (no gas spent)
@@ -951,7 +930,7 @@ var PafiSDK = class {
951
930
  * @param from - Address that will execute the swap
952
931
  */
953
932
  async simulateSwap(routerAddress, commands, inputs, deadline, from) {
954
- return _chunkYU7MFR6Ycjs.simulateSwap.call(void 0,
933
+ return _chunkB3PYJGTHcjs.simulateSwap.call(void 0,
955
934
  this.requireProvider(),
956
935
  routerAddress,
957
936
  commands,
@@ -968,7 +947,7 @@ var PafiSDK = class {
968
947
  const chainId = this.requireChainId();
969
948
  const account = signer.account;
970
949
  if (!account) {
971
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer has no account attached");
950
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer has no account attached");
972
951
  }
973
952
  return _chunkFNJZUNK3cjs.createLoginMessage.call(void 0, { ...params, address: account.address, chainId });
974
953
  }
@@ -977,7 +956,7 @@ var PafiSDK = class {
977
956
  const signer = this.requireSigner();
978
957
  const account = signer.account;
979
958
  if (!account) {
980
- throw new (0, _chunkYU7MFR6Ycjs.ConfigurationError)("signer has no account attached");
959
+ throw new (0, _chunkB3PYJGTHcjs.ConfigurationError)("signer has no account attached");
981
960
  }
982
961
  return signer.signMessage({ account, message });
983
962
  }
@@ -1102,5 +1081,7 @@ var PafiSDK = class {
1102
1081
 
1103
1082
 
1104
1083
 
1105
- 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.computeAuthorizationHash = computeAuthorizationHash; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.computeUserOpHash = computeUserOpHash; 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.isDelegatedToTarget = isDelegatedToTarget; 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;
1084
+
1085
+
1086
+ 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 = _chunkOQIQXDHWcjs.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 = _chunkOQIQXDHWcjs.getIssuer2; exports.getMintRequestNonce = _chunkOQIQXDHWcjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkOQIQXDHWcjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkOQIQXDHWcjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkOQIQXDHWcjs.getIssuer; exports.getReceiverConsentNonce = _chunkOQIQXDHWcjs.getReceiverConsentNonce; exports.getTokenName = _chunkOQIQXDHWcjs.getTokenName; exports.isActiveIssuer = _chunkOQIQXDHWcjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkOQIQXDHWcjs.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 = _chunkOQIQXDHWcjs.verifyMintCap; exports.verifyMintRequest = _chunk2PY5RNVScjs.verifyMintRequest; exports.verifyReceiverConsent = _chunk2PY5RNVScjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
1106
1087
  //# sourceMappingURL=index.cjs.map