@pafi-dev/core 0.5.8 → 0.5.9
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 +125 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -1
- package/dist/index.d.ts +124 -1
- package/dist/index.js +113 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -244,6 +244,113 @@ function buildPerpDepositWithGasDeduction(params) {
|
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
+
// src/perp/buildPerpDepositViaRelay.ts
|
|
248
|
+
|
|
249
|
+
var ORDERLY_RELAY_ABI = [
|
|
250
|
+
{
|
|
251
|
+
type: "function",
|
|
252
|
+
name: "deposit",
|
|
253
|
+
stateMutability: "nonpayable",
|
|
254
|
+
inputs: [
|
|
255
|
+
{
|
|
256
|
+
name: "req",
|
|
257
|
+
type: "tuple",
|
|
258
|
+
components: [
|
|
259
|
+
{ name: "token", type: "address" },
|
|
260
|
+
{ name: "receiver", type: "address" },
|
|
261
|
+
{ name: "brokerHash", type: "bytes32" },
|
|
262
|
+
{ name: "totalAmount", type: "uint128" },
|
|
263
|
+
{ name: "maxFee", type: "uint128" }
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
outputs: []
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
type: "function",
|
|
271
|
+
name: "quoteTokenFee",
|
|
272
|
+
stateMutability: "view",
|
|
273
|
+
inputs: [
|
|
274
|
+
{
|
|
275
|
+
name: "req",
|
|
276
|
+
type: "tuple",
|
|
277
|
+
components: [
|
|
278
|
+
{ name: "token", type: "address" },
|
|
279
|
+
{ name: "receiver", type: "address" },
|
|
280
|
+
{ name: "brokerHash", type: "bytes32" },
|
|
281
|
+
{ name: "totalAmount", type: "uint128" },
|
|
282
|
+
{ name: "maxFee", type: "uint128" }
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
outputs: [{ name: "", type: "uint128" }]
|
|
287
|
+
}
|
|
288
|
+
];
|
|
289
|
+
function buildPerpDepositViaRelay(params) {
|
|
290
|
+
if (params.request.totalAmount <= 0n) {
|
|
291
|
+
throw new Error("buildPerpDepositViaRelay: totalAmount must be positive");
|
|
292
|
+
}
|
|
293
|
+
if (params.request.maxFee < 0n) {
|
|
294
|
+
throw new Error("buildPerpDepositViaRelay: maxFee cannot be negative");
|
|
295
|
+
}
|
|
296
|
+
if (!params.relayAddress) {
|
|
297
|
+
throw new Error("buildPerpDepositViaRelay: relayAddress required");
|
|
298
|
+
}
|
|
299
|
+
const operations = [];
|
|
300
|
+
if (params.gasFeePt && params.gasFeePt > 0n) {
|
|
301
|
+
if (!params.pointTokenAddress) {
|
|
302
|
+
throw new Error(
|
|
303
|
+
"buildPerpDepositViaRelay: pointTokenAddress required when gasFeePt > 0"
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
if (!params.gasFeePtRecipient) {
|
|
307
|
+
throw new Error(
|
|
308
|
+
"buildPerpDepositViaRelay: gasFeePtRecipient required when gasFeePt > 0"
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
operations.push({
|
|
312
|
+
target: params.pointTokenAddress,
|
|
313
|
+
value: 0n,
|
|
314
|
+
data: _viem.encodeFunctionData.call(void 0, {
|
|
315
|
+
abi: _viem.erc20Abi,
|
|
316
|
+
functionName: "transfer",
|
|
317
|
+
args: [params.gasFeePtRecipient, params.gasFeePt]
|
|
318
|
+
})
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
operations.push(
|
|
322
|
+
_chunkB3PYJGTHcjs.erc20ApproveOp.call(void 0,
|
|
323
|
+
params.request.token,
|
|
324
|
+
params.relayAddress,
|
|
325
|
+
params.request.totalAmount
|
|
326
|
+
)
|
|
327
|
+
);
|
|
328
|
+
const depositCallData = _viem.encodeFunctionData.call(void 0, {
|
|
329
|
+
abi: ORDERLY_RELAY_ABI,
|
|
330
|
+
functionName: "deposit",
|
|
331
|
+
args: [
|
|
332
|
+
{
|
|
333
|
+
token: params.request.token,
|
|
334
|
+
receiver: params.request.receiver,
|
|
335
|
+
brokerHash: params.request.brokerHash,
|
|
336
|
+
totalAmount: params.request.totalAmount,
|
|
337
|
+
maxFee: params.request.maxFee
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
});
|
|
341
|
+
operations.push(_chunkB3PYJGTHcjs.rawCallOp.call(void 0, params.relayAddress, depositCallData));
|
|
342
|
+
return _chunkB3PYJGTHcjs.buildPartialUserOperation.call(void 0, {
|
|
343
|
+
sender: params.userAddress,
|
|
344
|
+
nonce: params.aaNonce,
|
|
345
|
+
operations,
|
|
346
|
+
gasLimits: {
|
|
347
|
+
callGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _7 => _7.gasLimits, 'optionalAccess', _8 => _8.callGasLimit]), () => ( 800000n)),
|
|
348
|
+
verificationGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _9 => _9.gasLimits, 'optionalAccess', _10 => _10.verificationGasLimit]), () => ( 150000n)),
|
|
349
|
+
preVerificationGas: _nullishCoalesce(_optionalChain([params, 'access', _11 => _11.gasLimits, 'optionalAccess', _12 => _12.preVerificationGas]), () => ( 50000n))
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
|
|
247
354
|
// src/userop/types.ts
|
|
248
355
|
var ZERO_VALUE = 0n;
|
|
249
356
|
|
|
@@ -414,9 +521,9 @@ function buildDelegationUserOp(params) {
|
|
|
414
521
|
}
|
|
415
522
|
],
|
|
416
523
|
gasLimits: {
|
|
417
|
-
callGasLimit: _nullishCoalesce(_optionalChain([params, 'access',
|
|
418
|
-
verificationGasLimit: _nullishCoalesce(_optionalChain([params, 'access',
|
|
419
|
-
preVerificationGas: _nullishCoalesce(_optionalChain([params, 'access',
|
|
524
|
+
callGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _13 => _13.gasLimits, 'optionalAccess', _14 => _14.callGasLimit]), () => ( 50000n)),
|
|
525
|
+
verificationGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _15 => _15.gasLimits, 'optionalAccess', _16 => _16.verificationGasLimit]), () => ( 150000n)),
|
|
526
|
+
preVerificationGas: _nullishCoalesce(_optionalChain([params, 'access', _17 => _17.gasLimits, 'optionalAccess', _18 => _18.preVerificationGas]), () => ( 50000n))
|
|
420
527
|
}
|
|
421
528
|
});
|
|
422
529
|
}
|
|
@@ -471,7 +578,7 @@ function createPafiProxyTransport(params) {
|
|
|
471
578
|
// fetchFn intercepts every fetch call the viem http transport makes,
|
|
472
579
|
// injecting the auth headers before the request leaves the browser.
|
|
473
580
|
fetchFn: (input, init) => {
|
|
474
|
-
const headers = new Headers(_optionalChain([init, 'optionalAccess',
|
|
581
|
+
const headers = new Headers(_optionalChain([init, 'optionalAccess', _19 => _19.headers]));
|
|
475
582
|
const token = getIdentityToken();
|
|
476
583
|
if (token) {
|
|
477
584
|
headers.set("authorization", `Bearer ${token}`);
|
|
@@ -484,7 +591,7 @@ function createPafiProxyTransport(params) {
|
|
|
484
591
|
|
|
485
592
|
// src/transport/paymasterFallback.ts
|
|
486
593
|
function isPaymasterError(err) {
|
|
487
|
-
const msg = (_nullishCoalesce(_optionalChain([err, 'optionalAccess',
|
|
594
|
+
const msg = (_nullishCoalesce(_optionalChain([err, 'optionalAccess', _20 => _20.message]), () => ( String(err)))).toLowerCase();
|
|
488
595
|
return msg.includes("paymaster") || msg.includes("sponsorship") || msg.includes("aa31") || msg.includes("aa32") || msg.includes("aa33") || msg.includes("aa34") || msg.includes("pm_") || msg.includes("rate limit") || msg.includes("unauthorized") || msg.includes("403") || msg.includes("429") || msg.includes("503");
|
|
489
596
|
}
|
|
490
597
|
async function sendWithPaymasterFallback(params) {
|
|
@@ -493,8 +600,8 @@ async function sendWithPaymasterFallback(params) {
|
|
|
493
600
|
return await primaryClient.sendTransaction(txParams);
|
|
494
601
|
} catch (err) {
|
|
495
602
|
if (isPaymasterError(err) && fallbackClient) {
|
|
496
|
-
const msg = _nullishCoalesce(_optionalChain([err, 'optionalAccess',
|
|
497
|
-
_optionalChain([onFallback, 'optionalCall',
|
|
603
|
+
const msg = _nullishCoalesce(_optionalChain([err, 'optionalAccess', _21 => _21.message]), () => ( String(err)));
|
|
604
|
+
_optionalChain([onFallback, 'optionalCall', _22 => _22(msg)]);
|
|
498
605
|
return await fallbackClient.sendTransaction(txParams);
|
|
499
606
|
}
|
|
500
607
|
throw err;
|
|
@@ -520,7 +627,8 @@ var CONTRACT_ADDRESSES = {
|
|
|
520
627
|
issuerRegistry: "0xda2D3338CF70F462Ac175F5f2edfa45660CA4f31",
|
|
521
628
|
mintingOracle: "0xD85165939C700E51c8a45099316C6482634C2Ab9",
|
|
522
629
|
pafiHook: "0x870cAF9882d3160602AaC1769C2B264A2d8EC044",
|
|
523
|
-
chainlinkEthUsd: "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70"
|
|
630
|
+
chainlinkEthUsd: "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70",
|
|
631
|
+
orderlyRelay: "0xDA082DAce1522c185aeB5A713FcA6fa6B6E99e7f"
|
|
524
632
|
},
|
|
525
633
|
// Base Sepolia — not in active use; placeholders kept so the map
|
|
526
634
|
// compiles for tooling that enumerates chains.
|
|
@@ -531,7 +639,8 @@ var CONTRACT_ADDRESSES = {
|
|
|
531
639
|
issuerRegistry: PLACEHOLDER_DEAD("dead"),
|
|
532
640
|
mintingOracle: PLACEHOLDER_DEAD("dead"),
|
|
533
641
|
pafiHook: PLACEHOLDER_DEAD("dead"),
|
|
534
|
-
chainlinkEthUsd: PLACEHOLDER_DEAD("de02")
|
|
642
|
+
chainlinkEthUsd: PLACEHOLDER_DEAD("de02"),
|
|
643
|
+
orderlyRelay: PLACEHOLDER_DEAD("de03")
|
|
535
644
|
}
|
|
536
645
|
};
|
|
537
646
|
var POINT_TOKEN_FACTORY_ADDRESSES = {
|
|
@@ -569,8 +678,8 @@ function openWebPopup(url, options = {}) {
|
|
|
569
678
|
const width = _nullishCoalesce(options.width, () => ( DEFAULT_WIDTH));
|
|
570
679
|
const height = _nullishCoalesce(options.height, () => ( DEFAULT_HEIGHT));
|
|
571
680
|
const name = _nullishCoalesce(options.windowName, () => ( DEFAULT_NAME));
|
|
572
|
-
const screenW = _nullishCoalesce(_optionalChain([window, 'access',
|
|
573
|
-
const screenH = _nullishCoalesce(_optionalChain([window, 'access',
|
|
681
|
+
const screenW = _nullishCoalesce(_optionalChain([window, 'access', _23 => _23.screen, 'optionalAccess', _24 => _24.availWidth]), () => ( window.innerWidth));
|
|
682
|
+
const screenH = _nullishCoalesce(_optionalChain([window, 'access', _25 => _25.screen, 'optionalAccess', _26 => _26.availHeight]), () => ( window.innerHeight));
|
|
574
683
|
const left = Math.max(0, Math.floor((screenW - width) / 2));
|
|
575
684
|
const top = Math.max(0, Math.floor((screenH - height) / 2));
|
|
576
685
|
const features = [
|
|
@@ -603,7 +712,7 @@ function openWebPopup(url, options = {}) {
|
|
|
603
712
|
window.removeEventListener("message", messageListener);
|
|
604
713
|
messageListener = null;
|
|
605
714
|
}
|
|
606
|
-
_optionalChain([options, 'access',
|
|
715
|
+
_optionalChain([options, 'access', _27 => _27.onClose, 'optionalCall', _28 => _28()]);
|
|
607
716
|
};
|
|
608
717
|
pollId = setInterval(() => {
|
|
609
718
|
if (popup.closed) {
|
|
@@ -725,7 +834,7 @@ async function fetchPafiPools(_chainId, pointTokenAddress, subgraphUrl = PAFI_SU
|
|
|
725
834
|
);
|
|
726
835
|
return [];
|
|
727
836
|
}
|
|
728
|
-
const pool = _optionalChain([json, 'access',
|
|
837
|
+
const pool = _optionalChain([json, 'access', _29 => _29.data, 'optionalAccess', _30 => _30.pafiToken, 'optionalAccess', _31 => _31.pool]);
|
|
729
838
|
if (!pool) return [];
|
|
730
839
|
if (!_viem.isAddress.call(void 0, pool.hooks) || !_viem.isAddress.call(void 0, pool.token0.id) || !_viem.isAddress.call(void 0, pool.token1.id) || !Number.isFinite(Number(pool.feeTier)) || !Number.isFinite(Number(pool.tickSpacing))) {
|
|
731
840
|
console.error("[fetchPafiPools] invalid pool data in subgraph response \u2014 skipping");
|
|
@@ -1086,5 +1195,7 @@ var PafiSDK = class {
|
|
|
1086
1195
|
|
|
1087
1196
|
|
|
1088
1197
|
|
|
1089
|
-
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
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_RELAY_ABI = ORDERLY_RELAY_ABI; 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 = _chunkLRHY7GORcjs.pointTokenAbi; 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.buildPerpDepositViaRelay = buildPerpDepositViaRelay; 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.getBurnRequestNonce = _chunkYHUPQP6Rcjs.getBurnRequestNonce; exports.getContractAddresses = getContractAddresses; exports.getIssuer = _chunkYHUPQP6Rcjs.getIssuer2; exports.getMintRequestNonce = _chunkYHUPQP6Rcjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkYHUPQP6Rcjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkYHUPQP6Rcjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkYHUPQP6Rcjs.getIssuer; exports.getReceiverConsentNonce = _chunkYHUPQP6Rcjs.getReceiverConsentNonce; exports.getTokenName = _chunkYHUPQP6Rcjs.getTokenName; exports.isActiveIssuer = _chunkYHUPQP6Rcjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkYHUPQP6Rcjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkLRHY7GORcjs.issuerRegistryAbi; exports.mintRequestTypes = _chunk52SZJDFTcjs.mintRequestTypes; exports.mintingOracleAbi = _chunkLRHY7GORcjs.mintingOracleAbi; exports.openPafiWebModal = openPafiWebModal; exports.openWebPopup = openWebPopup; exports.parseEip7702DelegatedAddress = parseEip7702DelegatedAddress; exports.parseLoginMessage = _chunkFNJZUNK3cjs.parseLoginMessage; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkLRHY7GORcjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkR6OFGVMPcjs.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 = _chunkYHUPQP6Rcjs.verifyMintCap; exports.verifyMintRequest = _chunk2PY5RNVScjs.verifyMintRequest; exports.verifyReceiverConsent = _chunk2PY5RNVScjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
|
|
1090
1201
|
//# sourceMappingURL=index.cjs.map
|