@funkit/core 2.3.11 → 2.3.13
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.js
CHANGED
|
@@ -12496,7 +12496,7 @@ var Operation = class _Operation {
|
|
|
12496
12496
|
maxPriorityFeePerGas: 0n,
|
|
12497
12497
|
preVerificationGas: 0n,
|
|
12498
12498
|
callGasLimit: 0n,
|
|
12499
|
-
verificationGasLimit: BigInt(
|
|
12499
|
+
verificationGasLimit: BigInt(DEFAULT_USEROP_GAS_LIMIT)
|
|
12500
12500
|
},
|
|
12501
12501
|
options
|
|
12502
12502
|
);
|
|
@@ -13012,6 +13012,7 @@ var BASE_PIMLICO_PAYMASTER_AND_DATA_ESTIMATION = "0xa880eae8900eb59bf7dad9bdb741
|
|
|
13012
13012
|
var OPTIMISM_PIMLICO_PAYMASTER_AND_DATA_ESTIMATION = "0x4Df91e173A6CdC74EfeF6fC72bb5Df1E8A8d758200000000000000000000000000000000000000000000000000000101010101010000000000000000000000000000000000000000000000000000000000000000cd91f19f0f19ce862d7bec7b7d9b95457145afc6f639c28fd0360f488937bfa41e6eedcd3a46054fd95fcd0e3ef6b0bc0a615c4d975eef55c8a3517257904d5b1c";
|
|
13013
13013
|
var ETHEREUM_PIMLICO_PAYMASTER_AND_DATA_ESTIMATION = "0x67F21bE69A16c314a0b7Da537309b2f3ADdDE03100000000000000000000000000000000000000000000000000000101010101010000000000000000000000000000000000000000000000000000000000000000cd91f19f0f19ce862d7bec7b7d9b95457145afc6f639c28fd0360f488937bfa41e6eedcd3a46054fd95fcd0e3ef6b0bc0a615c4d975eef55c8a3517257904d5b1c";
|
|
13014
13014
|
var STABLECOIN_SYMBOLS = ["USDC", "USDC.e", "USDT", "DAI"];
|
|
13015
|
+
var DEFAULT_USEROP_GAS_LIMIT = 15e5;
|
|
13015
13016
|
|
|
13016
13017
|
// src/utils/TypeUtils.ts
|
|
13017
13018
|
import { isHex } from "viem";
|
|
@@ -16107,8 +16108,8 @@ var FunWallet = class extends FirstClassActions {
|
|
|
16107
16108
|
initCode,
|
|
16108
16109
|
nonce: txOptions.nonce !== null && txOptions.nonce !== void 0 ? txOptions.nonce : await this.getNonce(sender, void 0, txOptions),
|
|
16109
16110
|
preVerificationGas: 100000n,
|
|
16110
|
-
callGasLimit: BigInt(
|
|
16111
|
-
verificationGasLimit: BigInt(
|
|
16111
|
+
callGasLimit: BigInt(DEFAULT_USEROP_GAS_LIMIT),
|
|
16112
|
+
verificationGasLimit: BigInt(DEFAULT_USEROP_GAS_LIMIT)
|
|
16112
16113
|
};
|
|
16113
16114
|
if (await chain.getChainId(txOptions) === "36865") {
|
|
16114
16115
|
partialOp.callGasLimit = BigInt(1e6);
|
|
@@ -16787,6 +16788,7 @@ export {
|
|
|
16787
16788
|
CheckoutSponsor,
|
|
16788
16789
|
ContractInterface,
|
|
16789
16790
|
DEFAULT_RETRY_OPTIONS,
|
|
16791
|
+
DEFAULT_USEROP_GAS_LIMIT,
|
|
16790
16792
|
ENTRYPOINT_ABI,
|
|
16791
16793
|
ENTRYPOINT_CONTRACT_INTERFACE,
|
|
16792
16794
|
ERC20_ABI,
|