@pafi-dev/core 0.5.12 → 0.5.14
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/{chunk-2PY5RNVS.cjs → chunk-DX73FB4P.cjs} +11 -11
- package/dist/{chunk-2PY5RNVS.cjs.map → chunk-DX73FB4P.cjs.map} +1 -1
- package/dist/{chunk-B3PYJGTH.cjs → chunk-JJ2LGENO.cjs} +6 -6
- package/dist/chunk-JJ2LGENO.cjs.map +1 -0
- package/dist/{chunk-ARZSGP5Y.cjs → chunk-L5UHQQVC.cjs} +6 -6
- package/dist/{chunk-ARZSGP5Y.cjs.map → chunk-L5UHQQVC.cjs.map} +1 -1
- package/dist/{chunk-WTWG6QXP.js → chunk-TXA4GK5C.js} +2 -2
- package/dist/{chunk-MWKJODJE.js → chunk-VG23GIWQ.js} +4 -4
- package/dist/{chunk-MWKJODJE.js.map → chunk-VG23GIWQ.js.map} +1 -1
- package/dist/{chunk-N5M3BLOV.js → chunk-WAFUL62X.js} +2 -2
- package/dist/{chunk-52SZJDFT.cjs → chunk-X2JZFK4C.cjs} +4 -2
- package/dist/chunk-X2JZFK4C.cjs.map +1 -0
- package/dist/{chunk-S5CCEO4O.js → chunk-Y3HMGOYW.js} +3 -1
- package/dist/{chunk-S5CCEO4O.js.map → chunk-Y3HMGOYW.js.map} +1 -1
- package/dist/eip712/index.cjs +3 -3
- package/dist/eip712/index.js +2 -2
- package/dist/index.cjs +31 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -6
- package/dist/index.d.ts +22 -6
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/quoting/index.cjs +3 -3
- package/dist/quoting/index.js +2 -2
- package/dist/swap/index.cjs +3 -3
- package/dist/swap/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-52SZJDFT.cjs.map +0 -1
- package/dist/chunk-B3PYJGTH.cjs.map +0 -1
- /package/dist/{chunk-WTWG6QXP.js.map → chunk-TXA4GK5C.js.map} +0 -0
- /package/dist/{chunk-N5M3BLOV.js.map → chunk-WAFUL62X.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/phitran/Pacific-Finance/pafi-backend/pafi-sdk/packages/core/dist/chunk-X2JZFK4C.cjs","../src/constants.ts"],"names":[],"mappings":"AAAA;ACOO,IAAM,iBAAA,EAAmB;AAAA,EAC9B,WAAA,EAAa;AAAA,IACX,EAAE,IAAA,EAAM,IAAA,EAAM,IAAA,EAAM,UAAU,CAAA;AAAA,IAC9B,EAAE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,UAAU,CAAA;AAAA,IAClC,EAAE,IAAA,EAAM,OAAA,EAAS,IAAA,EAAM,UAAU,CAAA;AAAA,IACjC,EAAE,IAAA,EAAM,UAAA,EAAY,IAAA,EAAM,UAAU;AAAA,EACtC;AACF,CAAA;AAEO,IAAM,iBAAA,EAAmB;AAAA,EAC9B,WAAA,EAAa;AAAA,IACX,EAAE,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,UAAU,CAAA;AAAA,IAChC,EAAE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,UAAU,CAAA;AAAA,IAClC,EAAE,IAAA,EAAM,OAAA,EAAS,IAAA,EAAM,UAAU,CAAA;AAAA,IACjC,EAAE,IAAA,EAAM,UAAA,EAAY,IAAA,EAAM,UAAU;AAAA,EACtC;AACF,CAAA;AAEO,IAAM,qBAAA,EAAuB;AAAA,EAClC,eAAA,EAAiB;AAAA,IACf,EAAE,IAAA,EAAM,YAAA,EAAc,IAAA,EAAM,UAAU,CAAA;AAAA,IACtC,EAAE,IAAA,EAAM,kBAAA,EAAoB,IAAA,EAAM,UAAU,CAAA;AAAA,IAC5C,EAAE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,UAAU,CAAA;AAAA,IAClC,EAAE,IAAA,EAAM,OAAA,EAAS,IAAA,EAAM,UAAU,CAAA;AAAA,IACjC,EA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C.cjs","sourcesContent":[null,"import type { Address } from \"viem\";\nimport type { ChainConfig, PoolKey } from \"./types\";\n\n// -------------------------------------------------------------------------\n// EIP-712 type definitions for viem\n// -------------------------------------------------------------------------\n\nexport const mintRequestTypes = {\n MintRequest: [\n { name: \"to\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const burnRequestTypes = {\n BurnRequest: [\n { name: \"from\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const receiverConsentTypes = {\n ReceiverConsent: [\n { name: \"onBehalfOf\", type: \"address\" },\n { name: \"originalReceiver\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n { name: \"extData\", type: \"bytes\" },\n ],\n} as const;\n\n// -------------------------------------------------------------------------\n// Chain-indexed constants — add entries here as new chains are supported\n// -------------------------------------------------------------------------\n\nexport const SUPPORTED_CHAINS: Record<number, ChainConfig> = {\n 8453: { name: \"Base\" },\n};\n\nexport const V4_QUOTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x0d5e0f971ed27fbff6c2837bf31316121532048d\",\n};\n\nexport const UNIVERSAL_ROUTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x6ff5693b99212da76ad316178a184ab56d299b43\",\n};\n\nexport const COMMON_TOKENS: Record<number, Record<string, Address>> = {\n // Base\n 8453: {\n WETH: \"0x4200000000000000000000000000000000000006\",\n USDC: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n USDT: \"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2\",\n },\n};\n\nexport const COMMON_POOLS: Record<number, PoolKey[]> = {\n // Base — existing Uniswap V4 pools\n 8453: [\n // WETH/USDC 0.3%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 3000,\n tickSpacing: 60,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n // WETH/USDC 0.05%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 500,\n tickSpacing: 10,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n ],\n};\n\nexport const POINT_TOKEN_POOLS: Record<number, Record<Address, PoolKey[]>> = {\n // chainId → pointTokenAddress → PoolKey[]\n};\n\n// -------------------------------------------------------------------------\n// Protocol constants — chain-agnostic (same address on every EVM chain)\n// -------------------------------------------------------------------------\n\n/** ERC-4337 v0.7 EntryPoint — deployed deterministically across all EVM chains. */\nexport const ENTRY_POINT_V07: Address = \"0x0000000071727De22E5E9d8BAf0edAc6f37da032\";\n\n/**\n * ERC-4337 v0.8 EntryPoint — used by Pimlico's `Simple7702Account` impl\n * (`0xe6Cae83BdE06E4c305530e199D7217f42808555B`) and by permissionless's\n * `to7702SimpleSmartAccount`. EIP-7702 delegated EOAs in PAFI's flow\n * point at this EntryPoint, NOT v0.7.\n *\n * Why this matters: account.validateUserOp does\n * `require(msg.sender == entryPoint(), \"account: not from EntryPoint\")`.\n * If the bundler/paymaster sim runs against a different EntryPoint than\n * what the account's `entryPoint()` returns, the require fails and you\n * see `AA23 reverted account: not from EntryPoint`.\n */\nexport const ENTRY_POINT_V08: Address = \"0x4337084d9e255ff0702461cf8895ce9e3b5ff108\";\n\n/** Permit2 — Uniswap's universal approval contract, same address on all EVM chains. */\nexport const PERMIT2_ADDRESS: Address = \"0x000000000022D473030F116dDEE9F6B43aC78BA3\";\n"]}
|
|
@@ -67,6 +67,7 @@ var POINT_TOKEN_POOLS = {
|
|
|
67
67
|
// chainId → pointTokenAddress → PoolKey[]
|
|
68
68
|
};
|
|
69
69
|
var ENTRY_POINT_V07 = "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
|
70
|
+
var ENTRY_POINT_V08 = "0x4337084d9e255ff0702461cf8895ce9e3b5ff108";
|
|
70
71
|
var PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
71
72
|
|
|
72
73
|
export {
|
|
@@ -80,6 +81,7 @@ export {
|
|
|
80
81
|
COMMON_POOLS,
|
|
81
82
|
POINT_TOKEN_POOLS,
|
|
82
83
|
ENTRY_POINT_V07,
|
|
84
|
+
ENTRY_POINT_V08,
|
|
83
85
|
PERMIT2_ADDRESS
|
|
84
86
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-Y3HMGOYW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/constants.ts"],"sourcesContent":["import type { Address } from \"viem\";\nimport type { ChainConfig, PoolKey } from \"./types\";\n\n// -------------------------------------------------------------------------\n// EIP-712 type definitions for viem\n// -------------------------------------------------------------------------\n\nexport const mintRequestTypes = {\n MintRequest: [\n { name: \"to\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const burnRequestTypes = {\n BurnRequest: [\n { name: \"from\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const receiverConsentTypes = {\n ReceiverConsent: [\n { name: \"onBehalfOf\", type: \"address\" },\n { name: \"originalReceiver\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n { name: \"extData\", type: \"bytes\" },\n ],\n} as const;\n\n// -------------------------------------------------------------------------\n// Chain-indexed constants — add entries here as new chains are supported\n// -------------------------------------------------------------------------\n\nexport const SUPPORTED_CHAINS: Record<number, ChainConfig> = {\n 8453: { name: \"Base\" },\n};\n\nexport const V4_QUOTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x0d5e0f971ed27fbff6c2837bf31316121532048d\",\n};\n\nexport const UNIVERSAL_ROUTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x6ff5693b99212da76ad316178a184ab56d299b43\",\n};\n\nexport const COMMON_TOKENS: Record<number, Record<string, Address>> = {\n // Base\n 8453: {\n WETH: \"0x4200000000000000000000000000000000000006\",\n USDC: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n USDT: \"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2\",\n },\n};\n\nexport const COMMON_POOLS: Record<number, PoolKey[]> = {\n // Base — existing Uniswap V4 pools\n 8453: [\n // WETH/USDC 0.3%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 3000,\n tickSpacing: 60,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n // WETH/USDC 0.05%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 500,\n tickSpacing: 10,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n ],\n};\n\nexport const POINT_TOKEN_POOLS: Record<number, Record<Address, PoolKey[]>> = {\n // chainId → pointTokenAddress → PoolKey[]\n};\n\n// -------------------------------------------------------------------------\n// Protocol constants — chain-agnostic (same address on every EVM chain)\n// -------------------------------------------------------------------------\n\n/** ERC-4337 v0.7 EntryPoint — deployed deterministically across all EVM chains. */\nexport const ENTRY_POINT_V07: Address = \"0x0000000071727De22E5E9d8BAf0edAc6f37da032\";\n\n/** Permit2 — Uniswap's universal approval contract, same address on all EVM chains. */\nexport const PERMIT2_ADDRESS: Address = \"0x000000000022D473030F116dDEE9F6B43aC78BA3\";\n"],"mappings":";AAOO,IAAM,mBAAmB;AAAA,EAC9B,aAAa;AA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AA,MACb,OAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,IAAM,oBAAgE;AAAA;AAE7E;AAOO,IAAM,kBAA2B;AAGjC,IAAM,kBAA2B;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/constants.ts"],"sourcesContent":["import type { Address } from \"viem\";\nimport type { ChainConfig, PoolKey } from \"./types\";\n\n// -------------------------------------------------------------------------\n// EIP-712 type definitions for viem\n// -------------------------------------------------------------------------\n\nexport const mintRequestTypes = {\n MintRequest: [\n { name: \"to\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const burnRequestTypes = {\n BurnRequest: [\n { name: \"from\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const receiverConsentTypes = {\n ReceiverConsent: [\n { name: \"onBehalfOf\", type: \"address\" },\n { name: \"originalReceiver\", type: \"address\" },\n { name: \"amount\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n { name: \"extData\", type: \"bytes\" },\n ],\n} as const;\n\n// -------------------------------------------------------------------------\n// Chain-indexed constants — add entries here as new chains are supported\n// -------------------------------------------------------------------------\n\nexport const SUPPORTED_CHAINS: Record<number, ChainConfig> = {\n 8453: { name: \"Base\" },\n};\n\nexport const V4_QUOTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x0d5e0f971ed27fbff6c2837bf31316121532048d\",\n};\n\nexport const UNIVERSAL_ROUTER_ADDRESSES: Record<number, Address> = {\n 8453: \"0x6ff5693b99212da76ad316178a184ab56d299b43\",\n};\n\nexport const COMMON_TOKENS: Record<number, Record<string, Address>> = {\n // Base\n 8453: {\n WETH: \"0x4200000000000000000000000000000000000006\",\n USDC: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n USDT: \"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2\",\n },\n};\n\nexport const COMMON_POOLS: Record<number, PoolKey[]> = {\n // Base — existing Uniswap V4 pools\n 8453: [\n // WETH/USDC 0.3%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 3000,\n tickSpacing: 60,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n // WETH/USDC 0.05%\n {\n currency0: \"0x4200000000000000000000000000000000000006\",\n currency1: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n fee: 500,\n tickSpacing: 10,\n hooks: \"0x0000000000000000000000000000000000000000\",\n },\n ],\n};\n\nexport const POINT_TOKEN_POOLS: Record<number, Record<Address, PoolKey[]>> = {\n // chainId → pointTokenAddress → PoolKey[]\n};\n\n// -------------------------------------------------------------------------\n// Protocol constants — chain-agnostic (same address on every EVM chain)\n// -------------------------------------------------------------------------\n\n/** ERC-4337 v0.7 EntryPoint — deployed deterministically across all EVM chains. */\nexport const ENTRY_POINT_V07: Address = \"0x0000000071727De22E5E9d8BAf0edAc6f37da032\";\n\n/**\n * ERC-4337 v0.8 EntryPoint — used by Pimlico's `Simple7702Account` impl\n * (`0xe6Cae83BdE06E4c305530e199D7217f42808555B`) and by permissionless's\n * `to7702SimpleSmartAccount`. EIP-7702 delegated EOAs in PAFI's flow\n * point at this EntryPoint, NOT v0.7.\n *\n * Why this matters: account.validateUserOp does\n * `require(msg.sender == entryPoint(), \"account: not from EntryPoint\")`.\n * If the bundler/paymaster sim runs against a different EntryPoint than\n * what the account's `entryPoint()` returns, the require fails and you\n * see `AA23 reverted account: not from EntryPoint`.\n */\nexport const ENTRY_POINT_V08: Address = \"0x4337084d9e255ff0702461cf8895ce9e3b5ff108\";\n\n/** Permit2 — Uniswap's universal approval contract, same address on all EVM chains. */\nexport const PERMIT2_ADDRESS: Address = \"0x000000000022D473030F116dDEE9F6B43aC78BA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AAW;AAAA,MACX,WAAW;AAAA,MACX,KAAK;AAAA,MACL,aAAa;AAAA,MACb,OAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,IAAM,oBAAgE;AAAA;AAE7E;AAOO,IAAM,kBAA2B;AAcjC,IAAM,kBAA2B;AAGjC,IAAM,kBAA2B;","names":[]}
|
package/dist/eip712/index.cjs
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../chunk-
|
|
12
|
+
var _chunkDX73FB4Pcjs = require('../chunk-DX73FB4P.cjs');
|
|
13
|
+
require('../chunk-X2JZFK4C.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -22,5 +22,5 @@ require('../chunk-52SZJDFT.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.buildBurnRequestTypedData =
|
|
25
|
+
exports.buildBurnRequestTypedData = _chunkDX73FB4Pcjs.buildBurnRequestTypedData; exports.buildDomain = _chunkDX73FB4Pcjs.buildDomain; exports.buildMintRequestTypedData = _chunkDX73FB4Pcjs.buildMintRequestTypedData; exports.buildReceiverConsentTypedData = _chunkDX73FB4Pcjs.buildReceiverConsentTypedData; exports.signBurnRequest = _chunkDX73FB4Pcjs.signBurnRequest; exports.signMintRequest = _chunkDX73FB4Pcjs.signMintRequest; exports.signReceiverConsent = _chunkDX73FB4Pcjs.signReceiverConsent; exports.verifyBurnRequest = _chunkDX73FB4Pcjs.verifyBurnRequest; exports.verifyMintRequest = _chunkDX73FB4Pcjs.verifyMintRequest; exports.verifyReceiverConsent = _chunkDX73FB4Pcjs.verifyReceiverConsent;
|
|
26
26
|
//# sourceMappingURL=index.cjs.map
|
package/dist/eip712/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
verifyBurnRequest,
|
|
10
10
|
verifyMintRequest,
|
|
11
11
|
verifyReceiverConsent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-TXA4GK5C.js";
|
|
13
|
+
import "../chunk-Y3HMGOYW.js";
|
|
14
14
|
export {
|
|
15
15
|
buildBurnRequestTypedData,
|
|
16
16
|
buildDomain,
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var _chunkLRHY7GORcjs = require('./chunk-LRHY7GOR.cjs');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkDX73FB4Pcjs = require('./chunk-DX73FB4P.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ var _chunk2PY5RNVScjs = require('./chunk-2PY5RNVS.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkL5UHQQVCcjs = require('./chunk-L5UHQQVC.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
|
|
@@ -82,7 +82,7 @@ var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var
|
|
85
|
+
var _chunkJJ2LGENOcjs = require('./chunk-JJ2LGENO.cjs');
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
@@ -100,7 +100,8 @@ var _chunkIPXARZ6Fcjs = require('./chunk-IPXARZ6F.cjs');
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
|
|
104
|
+
var _chunkX2JZFK4Ccjs = require('./chunk-X2JZFK4C.cjs');
|
|
104
105
|
|
|
105
106
|
// src/index.ts
|
|
106
107
|
var _viem = require('viem');
|
|
@@ -224,16 +225,16 @@ function buildPerpDepositWithGasDeduction(params) {
|
|
|
224
225
|
args: [params.depositData]
|
|
225
226
|
});
|
|
226
227
|
const operations = [
|
|
227
|
-
|
|
228
|
+
_chunkJJ2LGENOcjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
|
|
228
229
|
{
|
|
229
|
-
...
|
|
230
|
+
..._chunkJJ2LGENOcjs.rawCallOp.call(void 0, vault, depositCallData),
|
|
230
231
|
// BatchExecutor passes `value` from the inner call along; this
|
|
231
232
|
// becomes the LayerZero fee. The aggregated `msg.value` for the
|
|
232
233
|
// top-level UserOp must equal the sum of inner `value`s.
|
|
233
234
|
value: params.layerZeroFee
|
|
234
235
|
}
|
|
235
236
|
];
|
|
236
|
-
return
|
|
237
|
+
return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
|
|
237
238
|
sender: params.userAddress,
|
|
238
239
|
nonce: params.aaNonce,
|
|
239
240
|
operations,
|
|
@@ -320,7 +321,7 @@ function buildPerpDepositViaRelay(params) {
|
|
|
320
321
|
});
|
|
321
322
|
}
|
|
322
323
|
operations.push(
|
|
323
|
-
|
|
324
|
+
_chunkJJ2LGENOcjs.erc20ApproveOp.call(void 0,
|
|
324
325
|
params.request.token,
|
|
325
326
|
params.relayAddress,
|
|
326
327
|
params.request.totalAmount
|
|
@@ -339,8 +340,8 @@ function buildPerpDepositViaRelay(params) {
|
|
|
339
340
|
}
|
|
340
341
|
]
|
|
341
342
|
});
|
|
342
|
-
operations.push(
|
|
343
|
-
return
|
|
343
|
+
operations.push(_chunkJJ2LGENOcjs.rawCallOp.call(void 0, params.relayAddress, depositCallData));
|
|
344
|
+
return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
|
|
344
345
|
sender: params.userAddress,
|
|
345
346
|
nonce: params.aaNonce,
|
|
346
347
|
operations,
|
|
@@ -432,7 +433,7 @@ function computeUserOpHash(userOp, chainId) {
|
|
|
432
433
|
return _viem.keccak256.call(void 0,
|
|
433
434
|
_viem.encodeAbiParameters.call(void 0,
|
|
434
435
|
[{ type: "bytes32" }, { type: "address" }, { type: "uint256" }],
|
|
435
|
-
[packed,
|
|
436
|
+
[packed, _chunkX2JZFK4Ccjs.ENTRY_POINT_V08, BigInt(chainId)]
|
|
436
437
|
)
|
|
437
438
|
);
|
|
438
439
|
}
|
|
@@ -524,7 +525,7 @@ async function isDelegatedTo(client, address, target) {
|
|
|
524
525
|
|
|
525
526
|
// src/delegation/buildDelegationUserOp.ts
|
|
526
527
|
function buildDelegationUserOp(params) {
|
|
527
|
-
return
|
|
528
|
+
return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
|
|
528
529
|
sender: params.userAddress,
|
|
529
530
|
nonce: params.aaNonce,
|
|
530
531
|
operations: [
|
|
@@ -559,7 +560,7 @@ async function getAaNonce(client, userAddress) {
|
|
|
559
560
|
}
|
|
560
561
|
];
|
|
561
562
|
return client.readContract({
|
|
562
|
-
address:
|
|
563
|
+
address: _chunkX2JZFK4Ccjs.ENTRY_POINT_V08,
|
|
563
564
|
abi: NONCE_ABI,
|
|
564
565
|
functionName: "getNonce",
|
|
565
566
|
args: [userAddress, 0n]
|
|
@@ -941,25 +942,25 @@ var PafiSDK = class {
|
|
|
941
942
|
// -------------------------------------------------------------------------
|
|
942
943
|
requirePointToken() {
|
|
943
944
|
if (!this._pointTokenAddress) {
|
|
944
|
-
throw new (0,
|
|
945
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("pointTokenAddress not set");
|
|
945
946
|
}
|
|
946
947
|
return this._pointTokenAddress;
|
|
947
948
|
}
|
|
948
949
|
requireProvider() {
|
|
949
950
|
if (!this._provider) {
|
|
950
|
-
throw new (0,
|
|
951
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("provider not set");
|
|
951
952
|
}
|
|
952
953
|
return this._provider;
|
|
953
954
|
}
|
|
954
955
|
requireSigner() {
|
|
955
956
|
if (!this._signer) {
|
|
956
|
-
throw new (0,
|
|
957
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer not set");
|
|
957
958
|
}
|
|
958
959
|
return this._signer;
|
|
959
960
|
}
|
|
960
961
|
requireChainId() {
|
|
961
962
|
if (this._chainId === void 0) {
|
|
962
|
-
throw new (0,
|
|
963
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("chainId not set");
|
|
963
964
|
}
|
|
964
965
|
return this._chainId;
|
|
965
966
|
}
|
|
@@ -978,27 +979,27 @@ var PafiSDK = class {
|
|
|
978
979
|
// -------------------------------------------------------------------------
|
|
979
980
|
async buildMintRequestTypedData(message) {
|
|
980
981
|
const domain = await this.getDomain();
|
|
981
|
-
return
|
|
982
|
+
return _chunkDX73FB4Pcjs.buildMintRequestTypedData.call(void 0, domain, message);
|
|
982
983
|
}
|
|
983
984
|
async buildReceiverConsentTypedData(message) {
|
|
984
985
|
const domain = await this.getDomain();
|
|
985
|
-
return
|
|
986
|
+
return _chunkDX73FB4Pcjs.buildReceiverConsentTypedData.call(void 0, domain, message);
|
|
986
987
|
}
|
|
987
988
|
async signMintRequest(message) {
|
|
988
989
|
const domain = await this.getDomain();
|
|
989
|
-
return
|
|
990
|
+
return _chunkDX73FB4Pcjs.signMintRequest.call(void 0, this.requireSigner(), domain, message);
|
|
990
991
|
}
|
|
991
992
|
async verifyMintRequest(message, signature, expectedMinter) {
|
|
992
993
|
const domain = await this.getDomain();
|
|
993
|
-
return
|
|
994
|
+
return _chunkDX73FB4Pcjs.verifyMintRequest.call(void 0, domain, message, signature, expectedMinter);
|
|
994
995
|
}
|
|
995
996
|
async signReceiverConsent(message) {
|
|
996
997
|
const domain = await this.getDomain();
|
|
997
|
-
return
|
|
998
|
+
return _chunkDX73FB4Pcjs.signReceiverConsent.call(void 0, this.requireSigner(), domain, message);
|
|
998
999
|
}
|
|
999
1000
|
async verifyReceiverConsent(message, signature, expectedReceiver) {
|
|
1000
1001
|
const domain = await this.getDomain();
|
|
1001
|
-
return
|
|
1002
|
+
return _chunkDX73FB4Pcjs.verifyReceiverConsent.call(void 0, domain, message, signature, expectedReceiver);
|
|
1002
1003
|
}
|
|
1003
1004
|
// -------------------------------------------------------------------------
|
|
1004
1005
|
// Contract reads
|
|
@@ -1026,7 +1027,7 @@ var PafiSDK = class {
|
|
|
1026
1027
|
* paths, and quotes via a single multicall RPC call.
|
|
1027
1028
|
*/
|
|
1028
1029
|
async findBestQuote(tokenIn, tokenOut, exactAmount, pools = [], quoterAddress, maxHops) {
|
|
1029
|
-
return
|
|
1030
|
+
return _chunkL5UHQQVCcjs.findBestQuote.call(void 0,
|
|
1030
1031
|
this.requireProvider(),
|
|
1031
1032
|
this.requireChainId(),
|
|
1032
1033
|
tokenIn,
|
|
@@ -1045,7 +1046,7 @@ var PafiSDK = class {
|
|
|
1045
1046
|
* The caller provides `minAmountOut` after applying their own slippage.
|
|
1046
1047
|
*/
|
|
1047
1048
|
buildSwapFromQuote(params) {
|
|
1048
|
-
return
|
|
1049
|
+
return _chunkJJ2LGENOcjs.buildSwapFromQuote.call(void 0, params);
|
|
1049
1050
|
}
|
|
1050
1051
|
// -------------------------------------------------------------------------
|
|
1051
1052
|
// Simulation — dry-run via eth_call (no gas spent)
|
|
@@ -1061,7 +1062,7 @@ var PafiSDK = class {
|
|
|
1061
1062
|
* @param from - Address that will execute the swap
|
|
1062
1063
|
*/
|
|
1063
1064
|
async simulateSwap(routerAddress, commands, inputs, deadline, from) {
|
|
1064
|
-
return
|
|
1065
|
+
return _chunkJJ2LGENOcjs.simulateSwap.call(void 0,
|
|
1065
1066
|
this.requireProvider(),
|
|
1066
1067
|
routerAddress,
|
|
1067
1068
|
commands,
|
|
@@ -1078,7 +1079,7 @@ var PafiSDK = class {
|
|
|
1078
1079
|
const chainId = this.requireChainId();
|
|
1079
1080
|
const account = signer.account;
|
|
1080
1081
|
if (!account) {
|
|
1081
|
-
throw new (0,
|
|
1082
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer has no account attached");
|
|
1082
1083
|
}
|
|
1083
1084
|
return _chunkFNJZUNK3cjs.createLoginMessage.call(void 0, { ...params, address: account.address, chainId });
|
|
1084
1085
|
}
|
|
@@ -1087,7 +1088,7 @@ var PafiSDK = class {
|
|
|
1087
1088
|
const signer = this.requireSigner();
|
|
1088
1089
|
const account = signer.account;
|
|
1089
1090
|
if (!account) {
|
|
1090
|
-
throw new (0,
|
|
1091
|
+
throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer has no account attached");
|
|
1091
1092
|
}
|
|
1092
1093
|
return signer.signMessage({ account, message });
|
|
1093
1094
|
}
|
|
@@ -1223,5 +1224,6 @@ var PafiSDK = class {
|
|
|
1223
1224
|
|
|
1224
1225
|
|
|
1225
1226
|
|
|
1226
|
-
|
|
1227
|
+
|
|
1228
|
+
exports.ApiError = _chunkJJ2LGENOcjs.ApiError; exports.BATCH_EXECUTOR_7702_IMPL = BATCH_EXECUTOR_7702_IMPL; exports.BATCH_EXECUTOR_ABI = _chunkJJ2LGENOcjs.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 = _chunkX2JZFK4Ccjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunkX2JZFK4Ccjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunkJJ2LGENOcjs.ConfigurationError; exports.DUMMY_SIGNATURE_V07 = DUMMY_SIGNATURE_V07; exports.ENTRY_POINT_V07 = _chunkX2JZFK4Ccjs.ENTRY_POINT_V07; exports.ENTRY_POINT_V08 = _chunkX2JZFK4Ccjs.ENTRY_POINT_V08; 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 = _chunkX2JZFK4Ccjs.PERMIT2_ADDRESS; exports.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunkX2JZFK4Ccjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = _chunkLRHY7GORcjs.pointTokenAbi; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunkJJ2LGENOcjs.PafiSDKError; exports.SETTLE_ALL = _chunkJJ2LGENOcjs.SETTLE_ALL; exports.SIMPLE_7702_IMPL_BASE_MAINNET = SIMPLE_7702_IMPL_BASE_MAINNET; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunkX2JZFK4Ccjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunkJJ2LGENOcjs.SWAP_EXACT_IN; exports.SigningError = _chunkJJ2LGENOcjs.SigningError; exports.SimulationError = _chunkJJ2LGENOcjs.SimulationError; exports.TAKE_ALL = _chunkJJ2LGENOcjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunkX2JZFK4Ccjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunkX2JZFK4Ccjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunkJJ2LGENOcjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunkJJ2LGENOcjs.assembleUserOperation; exports.buildAllPaths = _chunkL5UHQQVCcjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunkDX73FB4Pcjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunkDX73FB4Pcjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunkJJ2LGENOcjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunkDX73FB4Pcjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunkJJ2LGENOcjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunkJJ2LGENOcjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositViaRelay = buildPerpDepositViaRelay; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunkDX73FB4Pcjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunkJJ2LGENOcjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunkJJ2LGENOcjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunkJJ2LGENOcjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunkJJ2LGENOcjs.buildV4SwapInput; exports.burnRequestTypes = _chunkX2JZFK4Ccjs.burnRequestTypes; exports.checkAllowance = _chunkJJ2LGENOcjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkL5UHQQVCcjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeAuthorizationHash = computeAuthorizationHash; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.computeUserOpHash = computeUserOpHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.decodeBatchExecuteCalls = _chunkJJ2LGENOcjs.decodeBatchExecuteCalls; exports.detectDelegateImpl = detectDelegateImpl; exports.encodeBatchExecute = _chunkJJ2LGENOcjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunkJJ2LGENOcjs.erc20ApproveOp; exports.erc20BurnOp = _chunkJJ2LGENOcjs.erc20BurnOp; exports.erc20TransferOp = _chunkJJ2LGENOcjs.erc20TransferOp; exports.fetchPafiPools = fetchPafiPools; exports.findBestQuote = _chunkL5UHQQVCcjs.findBestQuote; exports.getAaNonce = getAaNonce; exports.getBurnRequestNonce = _chunkCLPRSQT2cjs.getBurnRequestNonce; exports.getContractAddresses = getContractAddresses; exports.getDummySignatureFor7702 = getDummySignatureFor7702; exports.getIssuer = _chunkCLPRSQT2cjs.getIssuer2; exports.getMintRequestNonce = _chunkCLPRSQT2cjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkCLPRSQT2cjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkCLPRSQT2cjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkCLPRSQT2cjs.getIssuer; exports.getReceiverConsentNonce = _chunkCLPRSQT2cjs.getReceiverConsentNonce; exports.getTokenName = _chunkCLPRSQT2cjs.getTokenName; exports.isActiveIssuer = _chunkCLPRSQT2cjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkCLPRSQT2cjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkLRHY7GORcjs.issuerRegistryAbi; exports.issuerRegistryGetIssuerFlatAbi = _chunkCLPRSQT2cjs.issuerRegistryGetIssuerFlatAbi; exports.mintRequestTypes = _chunkX2JZFK4Ccjs.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 = _chunkL5UHQQVCcjs.quoteBestRoute; exports.quoteExactInput = _chunkL5UHQQVCcjs.quoteExactInput; exports.quoteExactInputSingle = _chunkL5UHQQVCcjs.quoteExactInputSingle; exports.rawCallOp = _chunkJJ2LGENOcjs.rawCallOp; exports.receiverConsentTypes = _chunkX2JZFK4Ccjs.receiverConsentTypes; exports.sendWithPaymasterFallback = sendWithPaymasterFallback; exports.serializeUserOpToJsonRpc = serializeUserOpToJsonRpc; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunkDX73FB4Pcjs.signBurnRequest; exports.signMintRequest = _chunkDX73FB4Pcjs.signMintRequest; exports.signReceiverConsent = _chunkDX73FB4Pcjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunkJJ2LGENOcjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunkDX73FB4Pcjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkCLPRSQT2cjs.verifyMintCap; exports.verifyMintRequest = _chunkDX73FB4Pcjs.verifyMintRequest; exports.verifyReceiverConsent = _chunkDX73FB4Pcjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
|
|
1227
1229
|
//# sourceMappingURL=index.cjs.map
|