@pafi-dev/core 0.3.0-beta.8 → 0.4.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/README.md +99 -1118
- package/dist/auth/index.cjs +16 -2
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +93 -2
- package/dist/auth/index.d.ts +93 -2
- package/dist/auth/index.js +17 -3
- package/dist/{chunk-W23EJNYG.js → chunk-543IPI6E.js} +11 -3
- package/dist/chunk-543IPI6E.js.map +1 -0
- package/dist/{chunk-GWLEEXM4.cjs → chunk-FNJZUNK3.cjs} +90 -2
- package/dist/chunk-FNJZUNK3.cjs.map +1 -0
- package/dist/{chunk-EDR5SFJN.cjs → chunk-TYIEMGMY.cjs} +10 -2
- package/dist/chunk-TYIEMGMY.cjs.map +1 -0
- package/dist/{chunk-O4SMTUOY.js → chunk-W6VULMCO.js} +90 -2
- package/dist/chunk-W6VULMCO.js.map +1 -0
- package/dist/{index-B06IJlHe.d.ts → index-C1FGQ004.d.ts} +22 -33
- package/dist/{index-B7pGBych.d.cts → index-CzBaRIqs.d.cts} +22 -33
- package/dist/index.cjs +114 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +154 -174
- package/dist/index.d.ts +154 -174
- package/dist/index.js +99 -95
- package/dist/index.js.map +1 -1
- package/dist/swap/index.cjs +2 -2
- package/dist/swap/index.d.cts +1 -1
- package/dist/swap/index.d.ts +1 -1
- package/dist/swap/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EDR5SFJN.cjs.map +0 -1
- package/dist/chunk-GWLEEXM4.cjs.map +0 -1
- package/dist/chunk-O4SMTUOY.js.map +0 -1
- package/dist/chunk-W23EJNYG.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,14 @@ var _chunkALCWYDVGcjs = require('./chunk-ALCWYDVG.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkFNJZUNK3cjs = require('./chunk-FNJZUNK3.cjs');
|
|
9
16
|
|
|
10
17
|
|
|
11
18
|
|
|
@@ -83,7 +90,7 @@ var _chunkDMW67WBUcjs = require('./chunk-DMW67WBU.cjs');
|
|
|
83
90
|
|
|
84
91
|
|
|
85
92
|
|
|
86
|
-
var
|
|
93
|
+
var _chunkTYIEMGMYcjs = require('./chunk-TYIEMGMY.cjs');
|
|
87
94
|
|
|
88
95
|
|
|
89
96
|
|
|
@@ -98,7 +105,7 @@ var _viem = require('viem');
|
|
|
98
105
|
|
|
99
106
|
// src/contracts/real/orderlyVault.ts
|
|
100
107
|
|
|
101
|
-
var ORDERLY_VAULT_BASE_MAINNET = "
|
|
108
|
+
var ORDERLY_VAULT_BASE_MAINNET = "0x816f722424B49Cf1275cc86DA9840Fbd5a6167e9";
|
|
102
109
|
var ORDERLY_VAULT_ADDRESSES = {
|
|
103
110
|
8453: ORDERLY_VAULT_BASE_MAINNET
|
|
104
111
|
};
|
|
@@ -212,16 +219,16 @@ function buildPerpDepositWithGasDeduction(params) {
|
|
|
212
219
|
args: [params.depositData]
|
|
213
220
|
});
|
|
214
221
|
const operations = [
|
|
215
|
-
|
|
222
|
+
_chunkTYIEMGMYcjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
|
|
216
223
|
{
|
|
217
|
-
...
|
|
224
|
+
..._chunkTYIEMGMYcjs.rawCallOp.call(void 0, vault, depositCallData),
|
|
218
225
|
// BatchExecutor passes `value` from the inner call along; this
|
|
219
226
|
// becomes the LayerZero fee. The aggregated `msg.value` for the
|
|
220
227
|
// top-level UserOp must equal the sum of inner `value`s.
|
|
221
228
|
value: params.layerZeroFee
|
|
222
229
|
}
|
|
223
230
|
];
|
|
224
|
-
return
|
|
231
|
+
return _chunkTYIEMGMYcjs.buildPartialUserOperation.call(void 0, {
|
|
225
232
|
sender: params.userAddress,
|
|
226
233
|
nonce: params.aaNonce,
|
|
227
234
|
operations,
|
|
@@ -280,99 +287,91 @@ async function checkEthAndBranch(params) {
|
|
|
280
287
|
return balance >= required ? "normal" : "paymaster";
|
|
281
288
|
}
|
|
282
289
|
|
|
283
|
-
// src/
|
|
284
|
-
var
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
{ name: "issuerId", type: "string" }
|
|
295
|
-
]
|
|
296
|
-
};
|
|
297
|
-
function buildSponsorAuthDomain(chainId) {
|
|
298
|
-
return {
|
|
299
|
-
name: SPONSOR_AUTH_DOMAIN_NAME,
|
|
300
|
-
version: SPONSOR_AUTH_DOMAIN_VERSION,
|
|
301
|
-
chainId,
|
|
302
|
-
verifyingContract: "0x0000000000000000000000000000000000000000"
|
|
303
|
-
};
|
|
290
|
+
// src/delegation/checkDelegation.ts
|
|
291
|
+
var EIP7702_MAGIC = "0xef0100";
|
|
292
|
+
function parseEip7702DelegatedAddress(code) {
|
|
293
|
+
if (!code || code === "0x" || code === "0x0") return null;
|
|
294
|
+
const normalized = code.toLowerCase();
|
|
295
|
+
const magic = EIP7702_MAGIC.toLowerCase();
|
|
296
|
+
const idx = normalized.indexOf(magic);
|
|
297
|
+
if (idx === -1) return null;
|
|
298
|
+
const raw = normalized.slice(idx + magic.length, idx + magic.length + 40);
|
|
299
|
+
if (raw.length !== 40) return null;
|
|
300
|
+
return `0x${raw}`;
|
|
304
301
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
function buildSponsorAuthTypedData(payload) {
|
|
313
|
-
return {
|
|
314
|
-
domain: buildSponsorAuthDomain(payload.chainId),
|
|
315
|
-
types: SPONSOR_AUTH_TYPES,
|
|
316
|
-
primaryType: "SponsorAuth",
|
|
317
|
-
// viem strictly types uint256 fields as `bigint`. Our payload keeps
|
|
318
|
-
// `chainId` + `expiresAt` as `number` for ergonomic JS use; cast
|
|
319
|
-
// here at the EIP-712 boundary. Runtime conversion handled by viem.
|
|
320
|
-
message: toEip712Message(payload)
|
|
321
|
-
};
|
|
302
|
+
async function checkDelegation(client, address) {
|
|
303
|
+
const code = await client.getCode({ address });
|
|
304
|
+
return parseEip7702DelegatedAddress(code);
|
|
322
305
|
}
|
|
323
|
-
async function
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
types: SPONSOR_AUTH_TYPES,
|
|
328
|
-
primaryType: "SponsorAuth",
|
|
329
|
-
// See note in buildSponsorAuthTypedData about the cast.
|
|
330
|
-
message: toEip712Message(payload)
|
|
331
|
-
});
|
|
306
|
+
async function isDelegatedTo(client, address, target) {
|
|
307
|
+
const impl = await checkDelegation(client, address);
|
|
308
|
+
if (!impl) return false;
|
|
309
|
+
return impl.toLowerCase() === target.toLowerCase();
|
|
332
310
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
ok: false,
|
|
357
|
-
reason: "INVALID_SIGNER",
|
|
358
|
-
recoveredAddress: recovered
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
return { ok: true, recoveredAddress: recovered };
|
|
311
|
+
|
|
312
|
+
// src/delegation/buildDelegationUserOp.ts
|
|
313
|
+
function buildDelegationUserOp(params) {
|
|
314
|
+
return _chunkTYIEMGMYcjs.buildPartialUserOperation.call(void 0, {
|
|
315
|
+
sender: params.userAddress,
|
|
316
|
+
nonce: params.aaNonce,
|
|
317
|
+
operations: [
|
|
318
|
+
{
|
|
319
|
+
// Self-call with no data — triggers EIP-7702 delegation without
|
|
320
|
+
// executing any inner logic. The BatchExecutor.execute([]) call with
|
|
321
|
+
// an empty array would revert, so we target the EOA itself (which
|
|
322
|
+
// forwards to BatchExecutor that then no-ops on empty input).
|
|
323
|
+
target: params.userAddress,
|
|
324
|
+
value: 0n,
|
|
325
|
+
data: "0x"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
gasLimits: {
|
|
329
|
+
callGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _7 => _7.gasLimits, 'optionalAccess', _8 => _8.callGasLimit]), () => ( 50000n)),
|
|
330
|
+
verificationGasLimit: _nullishCoalesce(_optionalChain([params, 'access', _9 => _9.gasLimits, 'optionalAccess', _10 => _10.verificationGasLimit]), () => ( 150000n)),
|
|
331
|
+
preVerificationGas: _nullishCoalesce(_optionalChain([params, 'access', _11 => _11.gasLimits, 'optionalAccess', _12 => _12.preVerificationGas]), () => ( 50000n))
|
|
332
|
+
}
|
|
333
|
+
});
|
|
362
334
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
335
|
+
async function getAaNonce(client, userAddress) {
|
|
336
|
+
const ENTRY_POINT = "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
|
337
|
+
const NONCE_ABI = [
|
|
338
|
+
{
|
|
339
|
+
inputs: [
|
|
340
|
+
{ name: "sender", type: "address" },
|
|
341
|
+
{ name: "key", type: "uint192" }
|
|
342
|
+
],
|
|
343
|
+
name: "getNonce",
|
|
344
|
+
outputs: [{ name: "nonce", type: "uint256" }],
|
|
345
|
+
stateMutability: "view",
|
|
346
|
+
type: "function"
|
|
347
|
+
}
|
|
348
|
+
];
|
|
349
|
+
return client.readContract({
|
|
350
|
+
address: ENTRY_POINT,
|
|
351
|
+
abi: NONCE_ABI,
|
|
352
|
+
functionName: "getNonce",
|
|
353
|
+
args: [userAddress, 0n]
|
|
354
|
+
});
|
|
365
355
|
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
356
|
+
|
|
357
|
+
// src/transport/proxyTransport.ts
|
|
358
|
+
|
|
359
|
+
function createPafiProxyTransport(params) {
|
|
360
|
+
const { proxyUrl, getIdentityToken, issuerId } = params;
|
|
361
|
+
return _viem.http.call(void 0, proxyUrl, {
|
|
362
|
+
fetchOptions: {},
|
|
363
|
+
// fetchFn intercepts every fetch call the viem http transport makes,
|
|
364
|
+
// injecting the auth headers before the request leaves the browser.
|
|
365
|
+
fetchFn: (input, init) => {
|
|
366
|
+
const headers = new Headers(_optionalChain([init, 'optionalAccess', _13 => _13.headers]));
|
|
367
|
+
const token = getIdentityToken();
|
|
368
|
+
if (token) {
|
|
369
|
+
headers.set("authorization", `Bearer ${token}`);
|
|
370
|
+
}
|
|
371
|
+
headers.set("x-issuer-id", issuerId);
|
|
372
|
+
return fetch(input, { ...init, headers });
|
|
373
|
+
}
|
|
374
|
+
});
|
|
376
375
|
}
|
|
377
376
|
|
|
378
377
|
// src/contracts/real/pointToken.ts
|
|
@@ -486,8 +485,8 @@ function openWebPopup(url, options = {}) {
|
|
|
486
485
|
const width = _nullishCoalesce(options.width, () => ( DEFAULT_WIDTH));
|
|
487
486
|
const height = _nullishCoalesce(options.height, () => ( DEFAULT_HEIGHT));
|
|
488
487
|
const name = _nullishCoalesce(options.windowName, () => ( DEFAULT_NAME));
|
|
489
|
-
const screenW = _nullishCoalesce(_optionalChain([window, 'access',
|
|
490
|
-
const screenH = _nullishCoalesce(_optionalChain([window, 'access',
|
|
488
|
+
const screenW = _nullishCoalesce(_optionalChain([window, 'access', _14 => _14.screen, 'optionalAccess', _15 => _15.availWidth]), () => ( window.innerWidth));
|
|
489
|
+
const screenH = _nullishCoalesce(_optionalChain([window, 'access', _16 => _16.screen, 'optionalAccess', _17 => _17.availHeight]), () => ( window.innerHeight));
|
|
491
490
|
const left = Math.max(0, Math.floor((screenW - width) / 2));
|
|
492
491
|
const top = Math.max(0, Math.floor((screenH - height) / 2));
|
|
493
492
|
const features = [
|
|
@@ -520,7 +519,7 @@ function openWebPopup(url, options = {}) {
|
|
|
520
519
|
window.removeEventListener("message", messageListener);
|
|
521
520
|
messageListener = null;
|
|
522
521
|
}
|
|
523
|
-
_optionalChain([options, 'access',
|
|
522
|
+
_optionalChain([options, 'access', _18 => _18.onClose, 'optionalCall', _19 => _19()]);
|
|
524
523
|
};
|
|
525
524
|
pollId = setInterval(() => {
|
|
526
525
|
if (popup.closed) {
|
|
@@ -545,7 +544,7 @@ function openWebPopup(url, options = {}) {
|
|
|
545
544
|
if (closed) return;
|
|
546
545
|
try {
|
|
547
546
|
popup.close();
|
|
548
|
-
} catch (
|
|
547
|
+
} catch (e) {
|
|
549
548
|
}
|
|
550
549
|
dispose();
|
|
551
550
|
},
|
|
@@ -553,14 +552,14 @@ function openWebPopup(url, options = {}) {
|
|
|
553
552
|
if (closed || popup.closed) return;
|
|
554
553
|
try {
|
|
555
554
|
popup.focus();
|
|
556
|
-
} catch (
|
|
555
|
+
} catch (e2) {
|
|
557
556
|
}
|
|
558
557
|
},
|
|
559
558
|
postMessage(data) {
|
|
560
559
|
if (closed || popup.closed) return;
|
|
561
560
|
try {
|
|
562
561
|
popup.postMessage(data, "*");
|
|
563
|
-
} catch (
|
|
562
|
+
} catch (e3) {
|
|
564
563
|
}
|
|
565
564
|
}
|
|
566
565
|
};
|
|
@@ -629,25 +628,25 @@ var PafiSDK = class {
|
|
|
629
628
|
// -------------------------------------------------------------------------
|
|
630
629
|
requirePointToken() {
|
|
631
630
|
if (!this._pointTokenAddress) {
|
|
632
|
-
throw new (0,
|
|
631
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("pointTokenAddress not set");
|
|
633
632
|
}
|
|
634
633
|
return this._pointTokenAddress;
|
|
635
634
|
}
|
|
636
635
|
requireProvider() {
|
|
637
636
|
if (!this._provider) {
|
|
638
|
-
throw new (0,
|
|
637
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("provider not set");
|
|
639
638
|
}
|
|
640
639
|
return this._provider;
|
|
641
640
|
}
|
|
642
641
|
requireSigner() {
|
|
643
642
|
if (!this._signer) {
|
|
644
|
-
throw new (0,
|
|
643
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("signer not set");
|
|
645
644
|
}
|
|
646
645
|
return this._signer;
|
|
647
646
|
}
|
|
648
647
|
requireChainId() {
|
|
649
648
|
if (this._chainId === void 0) {
|
|
650
|
-
throw new (0,
|
|
649
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("chainId not set");
|
|
651
650
|
}
|
|
652
651
|
return this._chainId;
|
|
653
652
|
}
|
|
@@ -733,7 +732,7 @@ var PafiSDK = class {
|
|
|
733
732
|
* The caller provides `minAmountOut` after applying their own slippage.
|
|
734
733
|
*/
|
|
735
734
|
buildSwapFromQuote(params) {
|
|
736
|
-
return
|
|
735
|
+
return _chunkTYIEMGMYcjs.buildSwapFromQuote.call(void 0, params);
|
|
737
736
|
}
|
|
738
737
|
// -------------------------------------------------------------------------
|
|
739
738
|
// Simulation — dry-run via eth_call (no gas spent)
|
|
@@ -749,7 +748,7 @@ var PafiSDK = class {
|
|
|
749
748
|
* @param from - Address that will execute the swap
|
|
750
749
|
*/
|
|
751
750
|
async simulateSwap(routerAddress, commands, inputs, deadline, from) {
|
|
752
|
-
return
|
|
751
|
+
return _chunkTYIEMGMYcjs.simulateSwap.call(void 0,
|
|
753
752
|
this.requireProvider(),
|
|
754
753
|
routerAddress,
|
|
755
754
|
commands,
|
|
@@ -766,16 +765,16 @@ var PafiSDK = class {
|
|
|
766
765
|
const chainId = this.requireChainId();
|
|
767
766
|
const account = signer.account;
|
|
768
767
|
if (!account) {
|
|
769
|
-
throw new (0,
|
|
768
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("signer has no account attached");
|
|
770
769
|
}
|
|
771
|
-
return
|
|
770
|
+
return _chunkFNJZUNK3cjs.createLoginMessage.call(void 0, { ...params, address: account.address, chainId });
|
|
772
771
|
}
|
|
773
772
|
/** Sign a login message string with the current signer (personal_sign) */
|
|
774
773
|
async signLoginMessage(message) {
|
|
775
774
|
const signer = this.requireSigner();
|
|
776
775
|
const account = signer.account;
|
|
777
776
|
if (!account) {
|
|
778
|
-
throw new (0,
|
|
777
|
+
throw new (0, _chunkTYIEMGMYcjs.ConfigurationError)("signer has no account attached");
|
|
779
778
|
}
|
|
780
779
|
return signer.signMessage({ account, message });
|
|
781
780
|
}
|
|
@@ -887,5 +886,10 @@ var PafiSDK = class {
|
|
|
887
886
|
|
|
888
887
|
|
|
889
888
|
|
|
890
|
-
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
exports.ApiError = _chunkTYIEMGMYcjs.ApiError; exports.BATCH_EXECUTOR_ABI = _chunkTYIEMGMYcjs.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 = _chunkDMW67WBUcjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunkDMW67WBUcjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunkTYIEMGMYcjs.ConfigurationError; exports.ENTRY_POINT_V07 = 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.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunkDMW67WBUcjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = POINT_TOKEN_ABI; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunkTYIEMGMYcjs.PafiSDKError; exports.SETTLE_ALL = _chunkTYIEMGMYcjs.SETTLE_ALL; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunkDMW67WBUcjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunkTYIEMGMYcjs.SWAP_EXACT_IN; exports.SigningError = _chunkTYIEMGMYcjs.SigningError; exports.SimulationError = _chunkTYIEMGMYcjs.SimulationError; exports.TAKE_ALL = _chunkTYIEMGMYcjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunkDMW67WBUcjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunkDMW67WBUcjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunkTYIEMGMYcjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunkTYIEMGMYcjs.assembleUserOperation; exports.buildAllPaths = _chunkZ2V525IScjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunkKJKDLD7Ncjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunkKJKDLD7Ncjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunkTYIEMGMYcjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunkKJKDLD7Ncjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunkTYIEMGMYcjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunkTYIEMGMYcjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunkKJKDLD7Ncjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunkTYIEMGMYcjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunkTYIEMGMYcjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunkTYIEMGMYcjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunkTYIEMGMYcjs.buildV4SwapInput; exports.burnRequestTypes = _chunkDMW67WBUcjs.burnRequestTypes; exports.checkAllowance = _chunkTYIEMGMYcjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkZ2V525IScjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.encodeBatchExecute = _chunkTYIEMGMYcjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunkTYIEMGMYcjs.erc20ApproveOp; exports.erc20BurnOp = _chunkTYIEMGMYcjs.erc20BurnOp; exports.erc20TransferOp = _chunkTYIEMGMYcjs.erc20TransferOp; exports.findBestQuote = _chunkZ2V525IScjs.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.issuerRegistryAbi = _chunkS2XRFFP3cjs.issuerRegistryAbi; exports.mintRequestTypes = _chunkDMW67WBUcjs.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 = _chunkZ2V525IScjs.quoteBestRoute; exports.quoteExactInput = _chunkZ2V525IScjs.quoteExactInput; exports.quoteExactInputSingle = _chunkZ2V525IScjs.quoteExactInputSingle; exports.rawCallOp = _chunkTYIEMGMYcjs.rawCallOp; exports.receiverConsentTypes = _chunkDMW67WBUcjs.receiverConsentTypes; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunkKJKDLD7Ncjs.signBurnRequest; exports.signMintRequest = _chunkKJKDLD7Ncjs.signMintRequest; exports.signReceiverConsent = _chunkKJKDLD7Ncjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunkTYIEMGMYcjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunkKJKDLD7Ncjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkCQCSQPWGcjs.verifyMintCap; exports.verifyMintRequest = _chunkKJKDLD7Ncjs.verifyMintRequest; exports.verifyReceiverConsent = _chunkKJKDLD7Ncjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
|
|
891
895
|
//# sourceMappingURL=index.cjs.map
|