@pimlico/alto 0.0.0-main.20241218T163308 → 0.0.0-main.20241220T183546
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/esm/cli/config/bundler.d.ts +32 -20
- package/esm/cli/config/bundler.js +3 -1
- package/esm/cli/config/bundler.js.map +1 -1
- package/esm/cli/config/options.js +13 -2
- package/esm/cli/config/options.js.map +1 -1
- package/esm/cli/deploySimulationsContract.js +45 -19
- package/esm/cli/deploySimulationsContract.js.map +1 -1
- package/esm/cli/handler.js +2 -1
- package/esm/cli/handler.js.map +1 -1
- package/esm/cli/parseArgs.js +1 -1
- package/esm/cli/parseArgs.js.map +1 -1
- package/esm/executor/executor.js +45 -20
- package/esm/executor/executor.js.map +1 -1
- package/esm/executor/executorManager.d.ts +1 -1
- package/esm/executor/types.d.ts +25 -0
- package/esm/executor/types.js +2 -0
- package/esm/executor/types.js.map +1 -0
- package/esm/executor/utils.d.ts +4 -2
- package/esm/executor/utils.js +20 -6
- package/esm/executor/utils.js.map +1 -1
- package/esm/mempool/mempool.js +7 -1
- package/esm/mempool/mempool.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationHandler.d.ts +3 -1
- package/esm/rpc/estimation/gasEstimationHandler.js +3 -1
- package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV06.d.ts +3 -1
- package/esm/rpc/estimation/gasEstimationsV06.js +9 -1
- package/esm/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +21 -11
- package/esm/rpc/estimation/gasEstimationsV07.js +216 -48
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/esm/rpc/estimation/types.d.ts +9 -2
- package/esm/rpc/estimation/types.js.map +1 -1
- package/esm/rpc/rpcHandler.d.ts +53 -1
- package/esm/rpc/rpcHandler.js +221 -146
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/rpc/validation/SafeValidator.d.ts +18 -3
- package/esm/rpc/validation/SafeValidator.js +15 -6
- package/esm/rpc/validation/SafeValidator.js.map +1 -1
- package/esm/rpc/validation/UnsafeValidator.d.ts +41 -6
- package/esm/rpc/validation/UnsafeValidator.js +27 -10
- package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
- package/esm/types/contracts/EntryPointSimulationsV7.d.ts +983 -15
- package/esm/types/contracts/EntryPointSimulationsV7.js +1178 -425
- package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js +2 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/esm/types/interfaces.d.ts +41 -6
- package/esm/types/mempool.d.ts +3 -2
- package/esm/types/mempool.js +10 -3
- package/esm/types/mempool.js.map +1 -1
- package/esm/types/schemas.d.ts +896 -40
- package/esm/types/schemas.js +61 -2
- package/esm/types/schemas.js.map +1 -1
- package/esm/types/validation.d.ts +210 -210
- package/esm/types/validation.js +1 -1
- package/esm/types/validation.js.map +1 -1
- package/esm/utils/helpers.d.ts +14 -1
- package/esm/utils/helpers.js +14 -0
- package/esm/utils/helpers.js.map +1 -1
- package/esm/utils/metrics.d.ts +3 -3
- package/esm/utils/userop.d.ts +1 -1
- package/esm/utils/validation.d.ts +5 -2
- package/esm/utils/validation.js +9 -4
- package/esm/utils/validation.js.map +1 -1
- package/lib/cli/config/bundler.d.ts +32 -20
- package/lib/cli/config/bundler.js +3 -1
- package/lib/cli/config/bundler.js.map +1 -1
- package/lib/cli/config/options.js +13 -2
- package/lib/cli/config/options.js.map +1 -1
- package/lib/cli/deploySimulationsContract.js +43 -17
- package/lib/cli/deploySimulationsContract.js.map +1 -1
- package/lib/cli/handler.js +2 -1
- package/lib/cli/handler.js.map +1 -1
- package/lib/cli/parseArgs.js +1 -1
- package/lib/cli/parseArgs.js.map +1 -1
- package/lib/executor/executor.js +44 -19
- package/lib/executor/executor.js.map +1 -1
- package/lib/executor/executorManager.d.ts +1 -1
- package/lib/executor/types.d.ts +25 -0
- package/lib/executor/types.js +3 -0
- package/lib/executor/types.js.map +1 -0
- package/lib/executor/utils.d.ts +4 -2
- package/lib/executor/utils.js +21 -6
- package/lib/executor/utils.js.map +1 -1
- package/lib/mempool/mempool.js +7 -1
- package/lib/mempool/mempool.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationHandler.d.ts +3 -1
- package/lib/rpc/estimation/gasEstimationHandler.js +3 -1
- package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV06.d.ts +3 -1
- package/lib/rpc/estimation/gasEstimationsV06.js +9 -1
- package/lib/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +21 -11
- package/lib/rpc/estimation/gasEstimationsV07.js +213 -45
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/lib/rpc/estimation/types.d.ts +9 -2
- package/lib/rpc/estimation/types.js.map +1 -1
- package/lib/rpc/rpcHandler.d.ts +53 -1
- package/lib/rpc/rpcHandler.js +220 -145
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/rpc/validation/SafeValidator.d.ts +18 -3
- package/lib/rpc/validation/SafeValidator.js +15 -6
- package/lib/rpc/validation/SafeValidator.js.map +1 -1
- package/lib/rpc/validation/UnsafeValidator.d.ts +41 -6
- package/lib/rpc/validation/UnsafeValidator.js +27 -10
- package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
- package/lib/types/contracts/EntryPointSimulationsV7.d.ts +983 -15
- package/lib/types/contracts/EntryPointSimulationsV7.js +1179 -426
- package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.js +3 -2
- package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/lib/types/interfaces.d.ts +41 -6
- package/lib/types/mempool.d.ts +3 -2
- package/lib/types/mempool.js +12 -4
- package/lib/types/mempool.js.map +1 -1
- package/lib/types/schemas.d.ts +896 -40
- package/lib/types/schemas.js +61 -2
- package/lib/types/schemas.js.map +1 -1
- package/lib/types/validation.d.ts +210 -210
- package/lib/types/validation.js +2 -2
- package/lib/types/validation.js.map +1 -1
- package/lib/utils/helpers.d.ts +14 -1
- package/lib/utils/helpers.js +16 -1
- package/lib/utils/helpers.js.map +1 -1
- package/lib/utils/metrics.d.ts +3 -3
- package/lib/utils/userop.d.ts +1 -1
- package/lib/utils/validation.d.ts +5 -2
- package/lib/utils/validation.js +9 -4
- package/lib/utils/validation.js.map +1 -1
- package/package.json +1 -1
package/esm/types/schemas.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type Hex } from "viem";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import type { MempoolUserOperation } from "./mempool.js";
|
|
4
|
+
import { SignedAuthorization } from "viem/experimental";
|
|
4
5
|
export declare const hexData32Pattern: RegExp;
|
|
5
6
|
export declare const commaSeperatedAddressPattern: RegExp;
|
|
6
7
|
declare const addressSchema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -349,6 +350,10 @@ export type UserOperationV06 = z.infer<typeof userOperationV06Schema>;
|
|
|
349
350
|
export type UserOperationV07 = z.infer<typeof userOperationV07Schema>;
|
|
350
351
|
export type PackedUserOperation = z.infer<typeof packerUserOperationSchema>;
|
|
351
352
|
export type UserOperation = z.infer<typeof userOperationSchema>;
|
|
353
|
+
export type UserOperation7702 = {
|
|
354
|
+
userOperation: UserOperation;
|
|
355
|
+
authorization: SignedAuthorization;
|
|
356
|
+
};
|
|
352
357
|
export type CompressedUserOperation = {
|
|
353
358
|
compressedCalldata: Hex;
|
|
354
359
|
inflatedOp: UserOperation;
|
|
@@ -2133,19 +2138,675 @@ declare const bundlerRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObje
|
|
|
2133
2138
|
sender: string;
|
|
2134
2139
|
nonce: string | number | bigint;
|
|
2135
2140
|
callData: string;
|
|
2136
|
-
callGasLimit: string | number | bigint;
|
|
2137
|
-
verificationGasLimit: string | number | bigint;
|
|
2138
|
-
preVerificationGas: string | number | bigint;
|
|
2139
|
-
maxFeePerGas: string | number | bigint;
|
|
2140
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
2141
|
+
callGasLimit: string | number | bigint;
|
|
2142
|
+
verificationGasLimit: string | number | bigint;
|
|
2143
|
+
preVerificationGas: string | number | bigint;
|
|
2144
|
+
maxFeePerGas: string | number | bigint;
|
|
2145
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2146
|
+
signature: string;
|
|
2147
|
+
factory?: string | null | undefined;
|
|
2148
|
+
factoryData?: string | null | undefined;
|
|
2149
|
+
paymaster?: string | null | undefined;
|
|
2150
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2151
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2152
|
+
paymasterData?: string | null | undefined;
|
|
2153
|
+
}>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
2154
|
+
}, "strip", z.ZodTypeAny, {
|
|
2155
|
+
params: [{
|
|
2156
|
+
sender: `0x${string}`;
|
|
2157
|
+
nonce: bigint;
|
|
2158
|
+
initCode: `0x${string}`;
|
|
2159
|
+
callData: `0x${string}`;
|
|
2160
|
+
callGasLimit: bigint;
|
|
2161
|
+
verificationGasLimit: bigint;
|
|
2162
|
+
preVerificationGas: bigint;
|
|
2163
|
+
maxFeePerGas: bigint;
|
|
2164
|
+
maxPriorityFeePerGas: bigint;
|
|
2165
|
+
paymasterAndData: `0x${string}`;
|
|
2166
|
+
signature: `0x${string}`;
|
|
2167
|
+
} | {
|
|
2168
|
+
sender: `0x${string}`;
|
|
2169
|
+
nonce: bigint;
|
|
2170
|
+
callData: `0x${string}`;
|
|
2171
|
+
callGasLimit: bigint;
|
|
2172
|
+
verificationGasLimit: bigint;
|
|
2173
|
+
preVerificationGas: bigint;
|
|
2174
|
+
maxFeePerGas: bigint;
|
|
2175
|
+
maxPriorityFeePerGas: bigint;
|
|
2176
|
+
signature: `0x${string}`;
|
|
2177
|
+
factory: `0x${string}` | null;
|
|
2178
|
+
paymaster: `0x${string}` | null;
|
|
2179
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2180
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2181
|
+
factoryData: `0x${string}` | null;
|
|
2182
|
+
paymasterData: `0x${string}` | null;
|
|
2183
|
+
}, `0x${string}`];
|
|
2184
|
+
method: "pimlico_sendUserOperationNow";
|
|
2185
|
+
}, {
|
|
2186
|
+
params: [{
|
|
2187
|
+
sender: string;
|
|
2188
|
+
nonce: string | number | bigint;
|
|
2189
|
+
initCode: string;
|
|
2190
|
+
callData: string;
|
|
2191
|
+
callGasLimit: string | number | bigint;
|
|
2192
|
+
verificationGasLimit: string | number | bigint;
|
|
2193
|
+
preVerificationGas: string | number | bigint;
|
|
2194
|
+
maxFeePerGas: string | number | bigint;
|
|
2195
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2196
|
+
paymasterAndData: string;
|
|
2197
|
+
signature: string;
|
|
2198
|
+
} | {
|
|
2199
|
+
sender: string;
|
|
2200
|
+
nonce: string | number | bigint;
|
|
2201
|
+
callData: string;
|
|
2202
|
+
callGasLimit: string | number | bigint;
|
|
2203
|
+
verificationGasLimit: string | number | bigint;
|
|
2204
|
+
preVerificationGas: string | number | bigint;
|
|
2205
|
+
maxFeePerGas: string | number | bigint;
|
|
2206
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2207
|
+
signature: string;
|
|
2208
|
+
factory?: string | null | undefined;
|
|
2209
|
+
factoryData?: string | null | undefined;
|
|
2210
|
+
paymaster?: string | null | undefined;
|
|
2211
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2212
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2213
|
+
paymasterData?: string | null | undefined;
|
|
2214
|
+
}, string];
|
|
2215
|
+
method: "pimlico_sendUserOperationNow";
|
|
2216
|
+
}>, z.ZodObject<{
|
|
2217
|
+
method: z.ZodLiteral<"pimlico_experimental_sendUserOperation7702">;
|
|
2218
|
+
params: z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
2219
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2220
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2221
|
+
initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2222
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2223
|
+
callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2224
|
+
verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2225
|
+
preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2226
|
+
maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2227
|
+
maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2228
|
+
paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2229
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2230
|
+
}, "strict", z.ZodTypeAny, {
|
|
2231
|
+
sender: `0x${string}`;
|
|
2232
|
+
nonce: bigint;
|
|
2233
|
+
initCode: `0x${string}`;
|
|
2234
|
+
callData: `0x${string}`;
|
|
2235
|
+
callGasLimit: bigint;
|
|
2236
|
+
verificationGasLimit: bigint;
|
|
2237
|
+
preVerificationGas: bigint;
|
|
2238
|
+
maxFeePerGas: bigint;
|
|
2239
|
+
maxPriorityFeePerGas: bigint;
|
|
2240
|
+
paymasterAndData: `0x${string}`;
|
|
2241
|
+
signature: `0x${string}`;
|
|
2242
|
+
}, {
|
|
2243
|
+
sender: string;
|
|
2244
|
+
nonce: string | number | bigint;
|
|
2245
|
+
initCode: string;
|
|
2246
|
+
callData: string;
|
|
2247
|
+
callGasLimit: string | number | bigint;
|
|
2248
|
+
verificationGasLimit: string | number | bigint;
|
|
2249
|
+
preVerificationGas: string | number | bigint;
|
|
2250
|
+
maxFeePerGas: string | number | bigint;
|
|
2251
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2252
|
+
paymasterAndData: string;
|
|
2253
|
+
signature: string;
|
|
2254
|
+
}>, {
|
|
2255
|
+
sender: `0x${string}`;
|
|
2256
|
+
nonce: bigint;
|
|
2257
|
+
initCode: `0x${string}`;
|
|
2258
|
+
callData: `0x${string}`;
|
|
2259
|
+
callGasLimit: bigint;
|
|
2260
|
+
verificationGasLimit: bigint;
|
|
2261
|
+
preVerificationGas: bigint;
|
|
2262
|
+
maxFeePerGas: bigint;
|
|
2263
|
+
maxPriorityFeePerGas: bigint;
|
|
2264
|
+
paymasterAndData: `0x${string}`;
|
|
2265
|
+
signature: `0x${string}`;
|
|
2266
|
+
}, {
|
|
2267
|
+
sender: string;
|
|
2268
|
+
nonce: string | number | bigint;
|
|
2269
|
+
initCode: string;
|
|
2270
|
+
callData: string;
|
|
2271
|
+
callGasLimit: string | number | bigint;
|
|
2272
|
+
verificationGasLimit: string | number | bigint;
|
|
2273
|
+
preVerificationGas: string | number | bigint;
|
|
2274
|
+
maxFeePerGas: string | number | bigint;
|
|
2275
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2276
|
+
paymasterAndData: string;
|
|
2277
|
+
signature: string;
|
|
2278
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
2279
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2280
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2281
|
+
factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2282
|
+
factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2283
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2284
|
+
callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2285
|
+
verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2286
|
+
preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2287
|
+
maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2288
|
+
maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2289
|
+
paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2290
|
+
paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2291
|
+
paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2292
|
+
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2293
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2294
|
+
}, "strict", z.ZodTypeAny, {
|
|
2295
|
+
sender: `0x${string}`;
|
|
2296
|
+
nonce: bigint;
|
|
2297
|
+
callData: `0x${string}`;
|
|
2298
|
+
callGasLimit: bigint;
|
|
2299
|
+
verificationGasLimit: bigint;
|
|
2300
|
+
preVerificationGas: bigint;
|
|
2301
|
+
maxFeePerGas: bigint;
|
|
2302
|
+
maxPriorityFeePerGas: bigint;
|
|
2303
|
+
signature: `0x${string}`;
|
|
2304
|
+
factory: `0x${string}` | null;
|
|
2305
|
+
paymaster: `0x${string}` | null;
|
|
2306
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2307
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2308
|
+
factoryData: `0x${string}` | null;
|
|
2309
|
+
paymasterData: `0x${string}` | null;
|
|
2310
|
+
}, {
|
|
2311
|
+
sender: string;
|
|
2312
|
+
nonce: string | number | bigint;
|
|
2313
|
+
callData: string;
|
|
2314
|
+
callGasLimit: string | number | bigint;
|
|
2315
|
+
verificationGasLimit: string | number | bigint;
|
|
2316
|
+
preVerificationGas: string | number | bigint;
|
|
2317
|
+
maxFeePerGas: string | number | bigint;
|
|
2318
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2319
|
+
signature: string;
|
|
2320
|
+
factory?: string | null | undefined;
|
|
2321
|
+
factoryData?: string | null | undefined;
|
|
2322
|
+
paymaster?: string | null | undefined;
|
|
2323
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2324
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2325
|
+
paymasterData?: string | null | undefined;
|
|
2326
|
+
}>, {
|
|
2327
|
+
sender: `0x${string}`;
|
|
2328
|
+
nonce: bigint;
|
|
2329
|
+
callData: `0x${string}`;
|
|
2330
|
+
callGasLimit: bigint;
|
|
2331
|
+
verificationGasLimit: bigint;
|
|
2332
|
+
preVerificationGas: bigint;
|
|
2333
|
+
maxFeePerGas: bigint;
|
|
2334
|
+
maxPriorityFeePerGas: bigint;
|
|
2335
|
+
signature: `0x${string}`;
|
|
2336
|
+
factory: `0x${string}` | null;
|
|
2337
|
+
paymaster: `0x${string}` | null;
|
|
2338
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2339
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2340
|
+
factoryData: `0x${string}` | null;
|
|
2341
|
+
paymasterData: `0x${string}` | null;
|
|
2342
|
+
}, {
|
|
2343
|
+
sender: string;
|
|
2344
|
+
nonce: string | number | bigint;
|
|
2345
|
+
callData: string;
|
|
2346
|
+
callGasLimit: string | number | bigint;
|
|
2347
|
+
verificationGasLimit: string | number | bigint;
|
|
2348
|
+
preVerificationGas: string | number | bigint;
|
|
2349
|
+
maxFeePerGas: string | number | bigint;
|
|
2350
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2351
|
+
signature: string;
|
|
2352
|
+
factory?: string | null | undefined;
|
|
2353
|
+
factoryData?: string | null | undefined;
|
|
2354
|
+
paymaster?: string | null | undefined;
|
|
2355
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2356
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2357
|
+
paymasterData?: string | null | undefined;
|
|
2358
|
+
}>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
|
|
2359
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2360
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2361
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2362
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2363
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2364
|
+
v: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2365
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2366
|
+
}, "strip", z.ZodTypeAny, {
|
|
2367
|
+
nonce: number;
|
|
2368
|
+
r: `0x${string}`;
|
|
2369
|
+
s: `0x${string}`;
|
|
2370
|
+
v: bigint;
|
|
2371
|
+
yParity: number;
|
|
2372
|
+
contractAddress: `0x${string}`;
|
|
2373
|
+
chainId: number;
|
|
2374
|
+
}, {
|
|
2375
|
+
nonce: string | number | bigint;
|
|
2376
|
+
r: string;
|
|
2377
|
+
s: string;
|
|
2378
|
+
v: string | number | bigint;
|
|
2379
|
+
yParity: string | number | bigint;
|
|
2380
|
+
contractAddress: string;
|
|
2381
|
+
chainId: string | number | bigint;
|
|
2382
|
+
}>], null>;
|
|
2383
|
+
}, "strip", z.ZodTypeAny, {
|
|
2384
|
+
params: [{
|
|
2385
|
+
sender: `0x${string}`;
|
|
2386
|
+
nonce: bigint;
|
|
2387
|
+
initCode: `0x${string}`;
|
|
2388
|
+
callData: `0x${string}`;
|
|
2389
|
+
callGasLimit: bigint;
|
|
2390
|
+
verificationGasLimit: bigint;
|
|
2391
|
+
preVerificationGas: bigint;
|
|
2392
|
+
maxFeePerGas: bigint;
|
|
2393
|
+
maxPriorityFeePerGas: bigint;
|
|
2394
|
+
paymasterAndData: `0x${string}`;
|
|
2395
|
+
signature: `0x${string}`;
|
|
2396
|
+
} | {
|
|
2397
|
+
sender: `0x${string}`;
|
|
2398
|
+
nonce: bigint;
|
|
2399
|
+
callData: `0x${string}`;
|
|
2400
|
+
callGasLimit: bigint;
|
|
2401
|
+
verificationGasLimit: bigint;
|
|
2402
|
+
preVerificationGas: bigint;
|
|
2403
|
+
maxFeePerGas: bigint;
|
|
2404
|
+
maxPriorityFeePerGas: bigint;
|
|
2405
|
+
signature: `0x${string}`;
|
|
2406
|
+
factory: `0x${string}` | null;
|
|
2407
|
+
paymaster: `0x${string}` | null;
|
|
2408
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2409
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2410
|
+
factoryData: `0x${string}` | null;
|
|
2411
|
+
paymasterData: `0x${string}` | null;
|
|
2412
|
+
}, `0x${string}`, {
|
|
2413
|
+
nonce: number;
|
|
2414
|
+
r: `0x${string}`;
|
|
2415
|
+
s: `0x${string}`;
|
|
2416
|
+
v: bigint;
|
|
2417
|
+
yParity: number;
|
|
2418
|
+
contractAddress: `0x${string}`;
|
|
2419
|
+
chainId: number;
|
|
2420
|
+
}];
|
|
2421
|
+
method: "pimlico_experimental_sendUserOperation7702";
|
|
2422
|
+
}, {
|
|
2423
|
+
params: [{
|
|
2424
|
+
sender: string;
|
|
2425
|
+
nonce: string | number | bigint;
|
|
2426
|
+
initCode: string;
|
|
2427
|
+
callData: string;
|
|
2428
|
+
callGasLimit: string | number | bigint;
|
|
2429
|
+
verificationGasLimit: string | number | bigint;
|
|
2430
|
+
preVerificationGas: string | number | bigint;
|
|
2431
|
+
maxFeePerGas: string | number | bigint;
|
|
2432
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2433
|
+
paymasterAndData: string;
|
|
2434
|
+
signature: string;
|
|
2435
|
+
} | {
|
|
2436
|
+
sender: string;
|
|
2437
|
+
nonce: string | number | bigint;
|
|
2438
|
+
callData: string;
|
|
2439
|
+
callGasLimit: string | number | bigint;
|
|
2440
|
+
verificationGasLimit: string | number | bigint;
|
|
2441
|
+
preVerificationGas: string | number | bigint;
|
|
2442
|
+
maxFeePerGas: string | number | bigint;
|
|
2443
|
+
maxPriorityFeePerGas: string | number | bigint;
|
|
2444
|
+
signature: string;
|
|
2445
|
+
factory?: string | null | undefined;
|
|
2446
|
+
factoryData?: string | null | undefined;
|
|
2447
|
+
paymaster?: string | null | undefined;
|
|
2448
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2449
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2450
|
+
paymasterData?: string | null | undefined;
|
|
2451
|
+
}, string, {
|
|
2452
|
+
nonce: string | number | bigint;
|
|
2453
|
+
r: string;
|
|
2454
|
+
s: string;
|
|
2455
|
+
v: string | number | bigint;
|
|
2456
|
+
yParity: string | number | bigint;
|
|
2457
|
+
contractAddress: string;
|
|
2458
|
+
chainId: string | number | bigint;
|
|
2459
|
+
}];
|
|
2460
|
+
method: "pimlico_experimental_sendUserOperation7702";
|
|
2461
|
+
}>, z.ZodObject<{
|
|
2462
|
+
method: z.ZodLiteral<"pimlico_experimental_estimateUserOperationGas7702">;
|
|
2463
|
+
params: z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
2464
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2465
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2466
|
+
initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2467
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2468
|
+
callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2469
|
+
verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2470
|
+
preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2471
|
+
maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2472
|
+
maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2473
|
+
paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2474
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2475
|
+
}, "strict", z.ZodTypeAny, {
|
|
2476
|
+
sender: `0x${string}`;
|
|
2477
|
+
nonce: bigint;
|
|
2478
|
+
initCode: `0x${string}`;
|
|
2479
|
+
callData: `0x${string}`;
|
|
2480
|
+
callGasLimit: bigint;
|
|
2481
|
+
verificationGasLimit: bigint;
|
|
2482
|
+
preVerificationGas: bigint;
|
|
2483
|
+
maxFeePerGas: bigint;
|
|
2484
|
+
maxPriorityFeePerGas: bigint;
|
|
2485
|
+
paymasterAndData: `0x${string}`;
|
|
2486
|
+
signature: `0x${string}`;
|
|
2487
|
+
}, {
|
|
2488
|
+
sender: string;
|
|
2489
|
+
nonce: string | number | bigint;
|
|
2490
|
+
initCode: string;
|
|
2491
|
+
callData: string;
|
|
2492
|
+
paymasterAndData: string;
|
|
2493
|
+
signature: string;
|
|
2494
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2495
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2496
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2497
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2498
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2499
|
+
}>, {
|
|
2500
|
+
sender: `0x${string}`;
|
|
2501
|
+
nonce: bigint;
|
|
2502
|
+
initCode: `0x${string}`;
|
|
2503
|
+
callData: `0x${string}`;
|
|
2504
|
+
callGasLimit: bigint;
|
|
2505
|
+
verificationGasLimit: bigint;
|
|
2506
|
+
preVerificationGas: bigint;
|
|
2507
|
+
maxFeePerGas: bigint;
|
|
2508
|
+
maxPriorityFeePerGas: bigint;
|
|
2509
|
+
paymasterAndData: `0x${string}`;
|
|
2510
|
+
signature: `0x${string}`;
|
|
2511
|
+
}, {
|
|
2512
|
+
sender: string;
|
|
2513
|
+
nonce: string | number | bigint;
|
|
2514
|
+
initCode: string;
|
|
2515
|
+
callData: string;
|
|
2516
|
+
paymasterAndData: string;
|
|
2517
|
+
signature: string;
|
|
2518
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2519
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2520
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2521
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2522
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2523
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
2524
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2525
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2526
|
+
factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2527
|
+
factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2528
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2529
|
+
callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2530
|
+
verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2531
|
+
preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2532
|
+
maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2533
|
+
maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2534
|
+
paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2535
|
+
paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2536
|
+
paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2537
|
+
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2538
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2539
|
+
}, "strict", z.ZodTypeAny, {
|
|
2540
|
+
sender: `0x${string}`;
|
|
2541
|
+
nonce: bigint;
|
|
2542
|
+
callData: `0x${string}`;
|
|
2543
|
+
callGasLimit: bigint;
|
|
2544
|
+
verificationGasLimit: bigint;
|
|
2545
|
+
preVerificationGas: bigint;
|
|
2546
|
+
maxFeePerGas: bigint;
|
|
2547
|
+
maxPriorityFeePerGas: bigint;
|
|
2548
|
+
signature: `0x${string}`;
|
|
2549
|
+
factory: `0x${string}` | null;
|
|
2550
|
+
paymaster: `0x${string}` | null;
|
|
2551
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2552
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2553
|
+
factoryData: `0x${string}` | null;
|
|
2554
|
+
paymasterData: `0x${string}` | null;
|
|
2555
|
+
}, {
|
|
2556
|
+
sender: string;
|
|
2557
|
+
nonce: string | number | bigint;
|
|
2558
|
+
callData: string;
|
|
2559
|
+
signature: string;
|
|
2560
|
+
factory?: string | null | undefined;
|
|
2561
|
+
factoryData?: string | null | undefined;
|
|
2562
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2563
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2564
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2565
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2566
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2567
|
+
paymaster?: string | null | undefined;
|
|
2568
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2569
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2570
|
+
paymasterData?: string | null | undefined;
|
|
2571
|
+
}>, {
|
|
2572
|
+
sender: `0x${string}`;
|
|
2573
|
+
nonce: bigint;
|
|
2574
|
+
callData: `0x${string}`;
|
|
2575
|
+
callGasLimit: bigint;
|
|
2576
|
+
verificationGasLimit: bigint;
|
|
2577
|
+
preVerificationGas: bigint;
|
|
2578
|
+
maxFeePerGas: bigint;
|
|
2579
|
+
maxPriorityFeePerGas: bigint;
|
|
2580
|
+
signature: `0x${string}`;
|
|
2581
|
+
factory: `0x${string}` | null;
|
|
2582
|
+
paymaster: `0x${string}` | null;
|
|
2583
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2584
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2585
|
+
factoryData: `0x${string}` | null;
|
|
2586
|
+
paymasterData: `0x${string}` | null;
|
|
2587
|
+
}, {
|
|
2588
|
+
sender: string;
|
|
2589
|
+
nonce: string | number | bigint;
|
|
2590
|
+
callData: string;
|
|
2591
|
+
signature: string;
|
|
2592
|
+
factory?: string | null | undefined;
|
|
2593
|
+
factoryData?: string | null | undefined;
|
|
2594
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2595
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2596
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2597
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2598
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2599
|
+
paymaster?: string | null | undefined;
|
|
2600
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2601
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2602
|
+
paymasterData?: string | null | undefined;
|
|
2603
|
+
}>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
|
|
2604
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2605
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2606
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2607
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2608
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2609
|
+
v: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2610
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2611
|
+
}, "strip", z.ZodTypeAny, {
|
|
2612
|
+
nonce: number;
|
|
2613
|
+
r: `0x${string}`;
|
|
2614
|
+
s: `0x${string}`;
|
|
2615
|
+
v: bigint;
|
|
2616
|
+
yParity: number;
|
|
2617
|
+
contractAddress: `0x${string}`;
|
|
2618
|
+
chainId: number;
|
|
2619
|
+
}, {
|
|
2620
|
+
nonce: string | number | bigint;
|
|
2621
|
+
r: string;
|
|
2622
|
+
s: string;
|
|
2623
|
+
v: string | number | bigint;
|
|
2624
|
+
yParity: string | number | bigint;
|
|
2625
|
+
contractAddress: string;
|
|
2626
|
+
chainId: string | number | bigint;
|
|
2627
|
+
}>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
2628
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2629
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2630
|
+
initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2631
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2632
|
+
callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2633
|
+
verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2634
|
+
preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2635
|
+
maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2636
|
+
maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2637
|
+
paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2638
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2639
|
+
}, "strict", z.ZodTypeAny, {
|
|
2640
|
+
sender: `0x${string}`;
|
|
2641
|
+
nonce: bigint;
|
|
2642
|
+
initCode: `0x${string}`;
|
|
2643
|
+
callData: `0x${string}`;
|
|
2644
|
+
callGasLimit: bigint;
|
|
2645
|
+
verificationGasLimit: bigint;
|
|
2646
|
+
preVerificationGas: bigint;
|
|
2647
|
+
maxFeePerGas: bigint;
|
|
2648
|
+
maxPriorityFeePerGas: bigint;
|
|
2649
|
+
paymasterAndData: `0x${string}`;
|
|
2650
|
+
signature: `0x${string}`;
|
|
2651
|
+
}, {
|
|
2652
|
+
sender: string;
|
|
2653
|
+
nonce: string | number | bigint;
|
|
2654
|
+
initCode: string;
|
|
2655
|
+
callData: string;
|
|
2656
|
+
paymasterAndData: string;
|
|
2657
|
+
signature: string;
|
|
2658
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2659
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2660
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2661
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2662
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2663
|
+
}>, {
|
|
2664
|
+
sender: `0x${string}`;
|
|
2665
|
+
nonce: bigint;
|
|
2666
|
+
initCode: `0x${string}`;
|
|
2667
|
+
callData: `0x${string}`;
|
|
2668
|
+
callGasLimit: bigint;
|
|
2669
|
+
verificationGasLimit: bigint;
|
|
2670
|
+
preVerificationGas: bigint;
|
|
2671
|
+
maxFeePerGas: bigint;
|
|
2672
|
+
maxPriorityFeePerGas: bigint;
|
|
2673
|
+
paymasterAndData: `0x${string}`;
|
|
2674
|
+
signature: `0x${string}`;
|
|
2675
|
+
}, {
|
|
2676
|
+
sender: string;
|
|
2677
|
+
nonce: string | number | bigint;
|
|
2678
|
+
initCode: string;
|
|
2679
|
+
callData: string;
|
|
2680
|
+
paymasterAndData: string;
|
|
2681
|
+
signature: string;
|
|
2682
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2683
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2684
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2685
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2686
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2687
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
2688
|
+
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2689
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2690
|
+
factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2691
|
+
factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2692
|
+
callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2693
|
+
callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2694
|
+
verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2695
|
+
preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2696
|
+
maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2697
|
+
maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2698
|
+
paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2699
|
+
paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2700
|
+
paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
2701
|
+
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
2702
|
+
signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2703
|
+
}, "strict", z.ZodTypeAny, {
|
|
2704
|
+
sender: `0x${string}`;
|
|
2705
|
+
nonce: bigint;
|
|
2706
|
+
callData: `0x${string}`;
|
|
2707
|
+
callGasLimit: bigint;
|
|
2708
|
+
verificationGasLimit: bigint;
|
|
2709
|
+
preVerificationGas: bigint;
|
|
2710
|
+
maxFeePerGas: bigint;
|
|
2711
|
+
maxPriorityFeePerGas: bigint;
|
|
2712
|
+
signature: `0x${string}`;
|
|
2713
|
+
factory: `0x${string}` | null;
|
|
2714
|
+
paymaster: `0x${string}` | null;
|
|
2715
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2716
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2717
|
+
factoryData: `0x${string}` | null;
|
|
2718
|
+
paymasterData: `0x${string}` | null;
|
|
2719
|
+
}, {
|
|
2720
|
+
sender: string;
|
|
2721
|
+
nonce: string | number | bigint;
|
|
2722
|
+
callData: string;
|
|
2723
|
+
signature: string;
|
|
2724
|
+
factory?: string | null | undefined;
|
|
2725
|
+
factoryData?: string | null | undefined;
|
|
2726
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2727
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2728
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2729
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2730
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2731
|
+
paymaster?: string | null | undefined;
|
|
2732
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2733
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2734
|
+
paymasterData?: string | null | undefined;
|
|
2735
|
+
}>, {
|
|
2736
|
+
sender: `0x${string}`;
|
|
2737
|
+
nonce: bigint;
|
|
2738
|
+
callData: `0x${string}`;
|
|
2739
|
+
callGasLimit: bigint;
|
|
2740
|
+
verificationGasLimit: bigint;
|
|
2741
|
+
preVerificationGas: bigint;
|
|
2742
|
+
maxFeePerGas: bigint;
|
|
2743
|
+
maxPriorityFeePerGas: bigint;
|
|
2744
|
+
signature: `0x${string}`;
|
|
2745
|
+
factory: `0x${string}` | null;
|
|
2746
|
+
paymaster: `0x${string}` | null;
|
|
2747
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2748
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2749
|
+
factoryData: `0x${string}` | null;
|
|
2750
|
+
paymasterData: `0x${string}` | null;
|
|
2751
|
+
}, {
|
|
2752
|
+
sender: string;
|
|
2753
|
+
nonce: string | number | bigint;
|
|
2754
|
+
callData: string;
|
|
2141
2755
|
signature: string;
|
|
2142
2756
|
factory?: string | null | undefined;
|
|
2143
2757
|
factoryData?: string | null | undefined;
|
|
2758
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2759
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2760
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2761
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2762
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2144
2763
|
paymaster?: string | null | undefined;
|
|
2145
2764
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2146
2765
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2147
2766
|
paymasterData?: string | null | undefined;
|
|
2148
|
-
}>]>, z.ZodEffects<z.ZodString, `0x${string}`, string
|
|
2767
|
+
}>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
|
|
2768
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2769
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2770
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2771
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2772
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2773
|
+
v: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
2774
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2775
|
+
}, "strip", z.ZodTypeAny, {
|
|
2776
|
+
nonce: number;
|
|
2777
|
+
r: `0x${string}`;
|
|
2778
|
+
s: `0x${string}`;
|
|
2779
|
+
v: bigint;
|
|
2780
|
+
yParity: number;
|
|
2781
|
+
contractAddress: `0x${string}`;
|
|
2782
|
+
chainId: number;
|
|
2783
|
+
}, {
|
|
2784
|
+
nonce: string | number | bigint;
|
|
2785
|
+
r: string;
|
|
2786
|
+
s: string;
|
|
2787
|
+
v: string | number | bigint;
|
|
2788
|
+
yParity: string | number | bigint;
|
|
2789
|
+
contractAddress: string;
|
|
2790
|
+
chainId: string | number | bigint;
|
|
2791
|
+
}>, z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
|
|
2792
|
+
balance: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2793
|
+
nonce: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2794
|
+
code: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
2795
|
+
state: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>>>;
|
|
2796
|
+
stateDiff: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>>>;
|
|
2797
|
+
}, "strip", z.ZodTypeAny, {
|
|
2798
|
+
balance?: bigint | undefined;
|
|
2799
|
+
nonce?: bigint | undefined;
|
|
2800
|
+
code?: `0x${string}` | undefined;
|
|
2801
|
+
state?: Partial<Record<`0x${string}`, `0x${string}`>> | undefined;
|
|
2802
|
+
stateDiff?: Partial<Record<`0x${string}`, `0x${string}`>> | undefined;
|
|
2803
|
+
}, {
|
|
2804
|
+
balance?: string | number | bigint | undefined;
|
|
2805
|
+
nonce?: string | number | bigint | undefined;
|
|
2806
|
+
code?: string | undefined;
|
|
2807
|
+
state?: Record<string, string> | undefined;
|
|
2808
|
+
stateDiff?: Record<string, string> | undefined;
|
|
2809
|
+
}>>], null>]>;
|
|
2149
2810
|
}, "strip", z.ZodTypeAny, {
|
|
2150
2811
|
params: [{
|
|
2151
2812
|
sender: `0x${string}`;
|
|
@@ -2175,39 +2836,139 @@ declare const bundlerRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObje
|
|
|
2175
2836
|
paymasterPostOpGasLimit: bigint | null;
|
|
2176
2837
|
factoryData: `0x${string}` | null;
|
|
2177
2838
|
paymasterData: `0x${string}` | null;
|
|
2178
|
-
}, `0x${string}
|
|
2179
|
-
|
|
2839
|
+
}, `0x${string}`, {
|
|
2840
|
+
nonce: number;
|
|
2841
|
+
r: `0x${string}`;
|
|
2842
|
+
s: `0x${string}`;
|
|
2843
|
+
v: bigint;
|
|
2844
|
+
yParity: number;
|
|
2845
|
+
contractAddress: `0x${string}`;
|
|
2846
|
+
chainId: number;
|
|
2847
|
+
}] | [{
|
|
2848
|
+
sender: `0x${string}`;
|
|
2849
|
+
nonce: bigint;
|
|
2850
|
+
initCode: `0x${string}`;
|
|
2851
|
+
callData: `0x${string}`;
|
|
2852
|
+
callGasLimit: bigint;
|
|
2853
|
+
verificationGasLimit: bigint;
|
|
2854
|
+
preVerificationGas: bigint;
|
|
2855
|
+
maxFeePerGas: bigint;
|
|
2856
|
+
maxPriorityFeePerGas: bigint;
|
|
2857
|
+
paymasterAndData: `0x${string}`;
|
|
2858
|
+
signature: `0x${string}`;
|
|
2859
|
+
} | {
|
|
2860
|
+
sender: `0x${string}`;
|
|
2861
|
+
nonce: bigint;
|
|
2862
|
+
callData: `0x${string}`;
|
|
2863
|
+
callGasLimit: bigint;
|
|
2864
|
+
verificationGasLimit: bigint;
|
|
2865
|
+
preVerificationGas: bigint;
|
|
2866
|
+
maxFeePerGas: bigint;
|
|
2867
|
+
maxPriorityFeePerGas: bigint;
|
|
2868
|
+
signature: `0x${string}`;
|
|
2869
|
+
factory: `0x${string}` | null;
|
|
2870
|
+
paymaster: `0x${string}` | null;
|
|
2871
|
+
paymasterVerificationGasLimit: bigint | null;
|
|
2872
|
+
paymasterPostOpGasLimit: bigint | null;
|
|
2873
|
+
factoryData: `0x${string}` | null;
|
|
2874
|
+
paymasterData: `0x${string}` | null;
|
|
2875
|
+
}, `0x${string}`, {
|
|
2876
|
+
nonce: number;
|
|
2877
|
+
r: `0x${string}`;
|
|
2878
|
+
s: `0x${string}`;
|
|
2879
|
+
v: bigint;
|
|
2880
|
+
yParity: number;
|
|
2881
|
+
contractAddress: `0x${string}`;
|
|
2882
|
+
chainId: number;
|
|
2883
|
+
}, Partial<Record<`0x${string}`, {
|
|
2884
|
+
balance?: bigint | undefined;
|
|
2885
|
+
nonce?: bigint | undefined;
|
|
2886
|
+
code?: `0x${string}` | undefined;
|
|
2887
|
+
state?: Partial<Record<`0x${string}`, `0x${string}`>> | undefined;
|
|
2888
|
+
stateDiff?: Partial<Record<`0x${string}`, `0x${string}`>> | undefined;
|
|
2889
|
+
}>>];
|
|
2890
|
+
method: "pimlico_experimental_estimateUserOperationGas7702";
|
|
2180
2891
|
}, {
|
|
2181
2892
|
params: [{
|
|
2182
2893
|
sender: string;
|
|
2183
2894
|
nonce: string | number | bigint;
|
|
2184
2895
|
initCode: string;
|
|
2185
2896
|
callData: string;
|
|
2186
|
-
callGasLimit: string | number | bigint;
|
|
2187
|
-
verificationGasLimit: string | number | bigint;
|
|
2188
|
-
preVerificationGas: string | number | bigint;
|
|
2189
|
-
maxFeePerGas: string | number | bigint;
|
|
2190
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
2191
2897
|
paymasterAndData: string;
|
|
2192
2898
|
signature: string;
|
|
2899
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2900
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2901
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2902
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2903
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2193
2904
|
} | {
|
|
2194
2905
|
sender: string;
|
|
2195
2906
|
nonce: string | number | bigint;
|
|
2196
2907
|
callData: string;
|
|
2197
|
-
callGasLimit: string | number | bigint;
|
|
2198
|
-
verificationGasLimit: string | number | bigint;
|
|
2199
|
-
preVerificationGas: string | number | bigint;
|
|
2200
|
-
maxFeePerGas: string | number | bigint;
|
|
2201
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
2202
2908
|
signature: string;
|
|
2203
2909
|
factory?: string | null | undefined;
|
|
2204
2910
|
factoryData?: string | null | undefined;
|
|
2911
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2912
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2913
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2914
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2915
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2205
2916
|
paymaster?: string | null | undefined;
|
|
2206
2917
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2207
2918
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2208
2919
|
paymasterData?: string | null | undefined;
|
|
2209
|
-
}, string
|
|
2210
|
-
|
|
2920
|
+
}, string, {
|
|
2921
|
+
nonce: string | number | bigint;
|
|
2922
|
+
r: string;
|
|
2923
|
+
s: string;
|
|
2924
|
+
v: string | number | bigint;
|
|
2925
|
+
yParity: string | number | bigint;
|
|
2926
|
+
contractAddress: string;
|
|
2927
|
+
chainId: string | number | bigint;
|
|
2928
|
+
}] | [{
|
|
2929
|
+
sender: string;
|
|
2930
|
+
nonce: string | number | bigint;
|
|
2931
|
+
initCode: string;
|
|
2932
|
+
callData: string;
|
|
2933
|
+
paymasterAndData: string;
|
|
2934
|
+
signature: string;
|
|
2935
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2936
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2937
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2938
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2939
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2940
|
+
} | {
|
|
2941
|
+
sender: string;
|
|
2942
|
+
nonce: string | number | bigint;
|
|
2943
|
+
callData: string;
|
|
2944
|
+
signature: string;
|
|
2945
|
+
factory?: string | null | undefined;
|
|
2946
|
+
factoryData?: string | null | undefined;
|
|
2947
|
+
callGasLimit?: string | number | bigint | undefined;
|
|
2948
|
+
verificationGasLimit?: string | number | bigint | undefined;
|
|
2949
|
+
preVerificationGas?: string | number | bigint | undefined;
|
|
2950
|
+
maxFeePerGas?: string | number | bigint | undefined;
|
|
2951
|
+
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
2952
|
+
paymaster?: string | null | undefined;
|
|
2953
|
+
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
2954
|
+
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
2955
|
+
paymasterData?: string | null | undefined;
|
|
2956
|
+
}, string, {
|
|
2957
|
+
nonce: string | number | bigint;
|
|
2958
|
+
r: string;
|
|
2959
|
+
s: string;
|
|
2960
|
+
v: string | number | bigint;
|
|
2961
|
+
yParity: string | number | bigint;
|
|
2962
|
+
contractAddress: string;
|
|
2963
|
+
chainId: string | number | bigint;
|
|
2964
|
+
}, Record<string, {
|
|
2965
|
+
balance?: string | number | bigint | undefined;
|
|
2966
|
+
nonce?: string | number | bigint | undefined;
|
|
2967
|
+
code?: string | undefined;
|
|
2968
|
+
state?: Record<string, string> | undefined;
|
|
2969
|
+
stateDiff?: Record<string, string> | undefined;
|
|
2970
|
+
}>];
|
|
2971
|
+
method: "pimlico_experimental_estimateUserOperationGas7702";
|
|
2211
2972
|
}>]>;
|
|
2212
2973
|
declare const chainIdResponseSchema: z.ZodObject<{
|
|
2213
2974
|
method: z.ZodLiteral<"eth_chainId">;
|
|
@@ -2803,13 +3564,13 @@ declare const receiptSchema: z.ZodObject<{
|
|
|
2803
3564
|
to: `0x${string}` | null;
|
|
2804
3565
|
gasUsed: bigint;
|
|
2805
3566
|
status: bigint | null;
|
|
3567
|
+
contractAddress: `0x${string}` | null;
|
|
2806
3568
|
blockNumber: bigint;
|
|
2807
3569
|
blockHash: `0x${string}`;
|
|
2808
3570
|
transactionHash: `0x${string}`;
|
|
2809
3571
|
transactionIndex: bigint;
|
|
2810
3572
|
from: `0x${string}`;
|
|
2811
3573
|
cumulativeGasUsed: bigint;
|
|
2812
|
-
contractAddress: `0x${string}` | null;
|
|
2813
3574
|
logs: {
|
|
2814
3575
|
address: `0x${string}`;
|
|
2815
3576
|
data: `0x${string}`;
|
|
@@ -2826,13 +3587,13 @@ declare const receiptSchema: z.ZodObject<{
|
|
|
2826
3587
|
to: string | null;
|
|
2827
3588
|
gasUsed: string | number | bigint;
|
|
2828
3589
|
status: string | number | bigint | null;
|
|
3590
|
+
contractAddress: string | null;
|
|
2829
3591
|
blockNumber: string | number | bigint;
|
|
2830
3592
|
blockHash: string;
|
|
2831
3593
|
transactionHash: string;
|
|
2832
3594
|
transactionIndex: string | number | bigint;
|
|
2833
3595
|
from: string;
|
|
2834
3596
|
cumulativeGasUsed: string | number | bigint;
|
|
2835
|
-
contractAddress: string | null;
|
|
2836
3597
|
logs: {
|
|
2837
3598
|
address: string;
|
|
2838
3599
|
data: string;
|
|
@@ -2931,13 +3692,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
2931
3692
|
to: `0x${string}` | null;
|
|
2932
3693
|
gasUsed: bigint;
|
|
2933
3694
|
status: bigint | null;
|
|
3695
|
+
contractAddress: `0x${string}` | null;
|
|
2934
3696
|
blockNumber: bigint;
|
|
2935
3697
|
blockHash: `0x${string}`;
|
|
2936
3698
|
transactionHash: `0x${string}`;
|
|
2937
3699
|
transactionIndex: bigint;
|
|
2938
3700
|
from: `0x${string}`;
|
|
2939
3701
|
cumulativeGasUsed: bigint;
|
|
2940
|
-
contractAddress: `0x${string}` | null;
|
|
2941
3702
|
logs: {
|
|
2942
3703
|
address: `0x${string}`;
|
|
2943
3704
|
data: `0x${string}`;
|
|
@@ -2954,13 +3715,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
2954
3715
|
to: string | null;
|
|
2955
3716
|
gasUsed: string | number | bigint;
|
|
2956
3717
|
status: string | number | bigint | null;
|
|
3718
|
+
contractAddress: string | null;
|
|
2957
3719
|
blockNumber: string | number | bigint;
|
|
2958
3720
|
blockHash: string;
|
|
2959
3721
|
transactionHash: string;
|
|
2960
3722
|
transactionIndex: string | number | bigint;
|
|
2961
3723
|
from: string;
|
|
2962
3724
|
cumulativeGasUsed: string | number | bigint;
|
|
2963
|
-
contractAddress: string | null;
|
|
2964
3725
|
logs: {
|
|
2965
3726
|
address: string;
|
|
2966
3727
|
data: string;
|
|
@@ -2996,13 +3757,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
2996
3757
|
to: `0x${string}` | null;
|
|
2997
3758
|
gasUsed: bigint;
|
|
2998
3759
|
status: bigint | null;
|
|
3760
|
+
contractAddress: `0x${string}` | null;
|
|
2999
3761
|
blockNumber: bigint;
|
|
3000
3762
|
blockHash: `0x${string}`;
|
|
3001
3763
|
transactionHash: `0x${string}`;
|
|
3002
3764
|
transactionIndex: bigint;
|
|
3003
3765
|
from: `0x${string}`;
|
|
3004
3766
|
cumulativeGasUsed: bigint;
|
|
3005
|
-
contractAddress: `0x${string}` | null;
|
|
3006
3767
|
logs: {
|
|
3007
3768
|
address: `0x${string}`;
|
|
3008
3769
|
data: `0x${string}`;
|
|
@@ -3040,13 +3801,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
3040
3801
|
to: string | null;
|
|
3041
3802
|
gasUsed: string | number | bigint;
|
|
3042
3803
|
status: string | number | bigint | null;
|
|
3804
|
+
contractAddress: string | null;
|
|
3043
3805
|
blockNumber: string | number | bigint;
|
|
3044
3806
|
blockHash: string;
|
|
3045
3807
|
transactionHash: string;
|
|
3046
3808
|
transactionIndex: string | number | bigint;
|
|
3047
3809
|
from: string;
|
|
3048
3810
|
cumulativeGasUsed: string | number | bigint;
|
|
3049
|
-
contractAddress: string | null;
|
|
3050
3811
|
logs: {
|
|
3051
3812
|
address: string;
|
|
3052
3813
|
data: string;
|
|
@@ -3086,13 +3847,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
3086
3847
|
to: `0x${string}` | null;
|
|
3087
3848
|
gasUsed: bigint;
|
|
3088
3849
|
status: bigint | null;
|
|
3850
|
+
contractAddress: `0x${string}` | null;
|
|
3089
3851
|
blockNumber: bigint;
|
|
3090
3852
|
blockHash: `0x${string}`;
|
|
3091
3853
|
transactionHash: `0x${string}`;
|
|
3092
3854
|
transactionIndex: bigint;
|
|
3093
3855
|
from: `0x${string}`;
|
|
3094
3856
|
cumulativeGasUsed: bigint;
|
|
3095
|
-
contractAddress: `0x${string}` | null;
|
|
3096
3857
|
logs: {
|
|
3097
3858
|
address: `0x${string}`;
|
|
3098
3859
|
data: `0x${string}`;
|
|
@@ -3133,13 +3894,13 @@ declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
|
|
|
3133
3894
|
to: string | null;
|
|
3134
3895
|
gasUsed: string | number | bigint;
|
|
3135
3896
|
status: string | number | bigint | null;
|
|
3897
|
+
contractAddress: string | null;
|
|
3136
3898
|
blockNumber: string | number | bigint;
|
|
3137
3899
|
blockHash: string;
|
|
3138
3900
|
transactionHash: string;
|
|
3139
3901
|
transactionIndex: string | number | bigint;
|
|
3140
3902
|
from: string;
|
|
3141
3903
|
cumulativeGasUsed: string | number | bigint;
|
|
3142
|
-
contractAddress: string | null;
|
|
3143
3904
|
logs: {
|
|
3144
3905
|
address: string;
|
|
3145
3906
|
data: string;
|
|
@@ -4232,13 +4993,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4232
4993
|
to: `0x${string}` | null;
|
|
4233
4994
|
gasUsed: bigint;
|
|
4234
4995
|
status: bigint | null;
|
|
4996
|
+
contractAddress: `0x${string}` | null;
|
|
4235
4997
|
blockNumber: bigint;
|
|
4236
4998
|
blockHash: `0x${string}`;
|
|
4237
4999
|
transactionHash: `0x${string}`;
|
|
4238
5000
|
transactionIndex: bigint;
|
|
4239
5001
|
from: `0x${string}`;
|
|
4240
5002
|
cumulativeGasUsed: bigint;
|
|
4241
|
-
contractAddress: `0x${string}` | null;
|
|
4242
5003
|
logs: {
|
|
4243
5004
|
address: `0x${string}`;
|
|
4244
5005
|
data: `0x${string}`;
|
|
@@ -4255,13 +5016,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4255
5016
|
to: string | null;
|
|
4256
5017
|
gasUsed: string | number | bigint;
|
|
4257
5018
|
status: string | number | bigint | null;
|
|
5019
|
+
contractAddress: string | null;
|
|
4258
5020
|
blockNumber: string | number | bigint;
|
|
4259
5021
|
blockHash: string;
|
|
4260
5022
|
transactionHash: string;
|
|
4261
5023
|
transactionIndex: string | number | bigint;
|
|
4262
5024
|
from: string;
|
|
4263
5025
|
cumulativeGasUsed: string | number | bigint;
|
|
4264
|
-
contractAddress: string | null;
|
|
4265
5026
|
logs: {
|
|
4266
5027
|
address: string;
|
|
4267
5028
|
data: string;
|
|
@@ -4297,13 +5058,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4297
5058
|
to: `0x${string}` | null;
|
|
4298
5059
|
gasUsed: bigint;
|
|
4299
5060
|
status: bigint | null;
|
|
5061
|
+
contractAddress: `0x${string}` | null;
|
|
4300
5062
|
blockNumber: bigint;
|
|
4301
5063
|
blockHash: `0x${string}`;
|
|
4302
5064
|
transactionHash: `0x${string}`;
|
|
4303
5065
|
transactionIndex: bigint;
|
|
4304
5066
|
from: `0x${string}`;
|
|
4305
5067
|
cumulativeGasUsed: bigint;
|
|
4306
|
-
contractAddress: `0x${string}` | null;
|
|
4307
5068
|
logs: {
|
|
4308
5069
|
address: `0x${string}`;
|
|
4309
5070
|
data: `0x${string}`;
|
|
@@ -4341,13 +5102,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4341
5102
|
to: string | null;
|
|
4342
5103
|
gasUsed: string | number | bigint;
|
|
4343
5104
|
status: string | number | bigint | null;
|
|
5105
|
+
contractAddress: string | null;
|
|
4344
5106
|
blockNumber: string | number | bigint;
|
|
4345
5107
|
blockHash: string;
|
|
4346
5108
|
transactionHash: string;
|
|
4347
5109
|
transactionIndex: string | number | bigint;
|
|
4348
5110
|
from: string;
|
|
4349
5111
|
cumulativeGasUsed: string | number | bigint;
|
|
4350
|
-
contractAddress: string | null;
|
|
4351
5112
|
logs: {
|
|
4352
5113
|
address: string;
|
|
4353
5114
|
data: string;
|
|
@@ -4387,13 +5148,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4387
5148
|
to: `0x${string}` | null;
|
|
4388
5149
|
gasUsed: bigint;
|
|
4389
5150
|
status: bigint | null;
|
|
5151
|
+
contractAddress: `0x${string}` | null;
|
|
4390
5152
|
blockNumber: bigint;
|
|
4391
5153
|
blockHash: `0x${string}`;
|
|
4392
5154
|
transactionHash: `0x${string}`;
|
|
4393
5155
|
transactionIndex: bigint;
|
|
4394
5156
|
from: `0x${string}`;
|
|
4395
5157
|
cumulativeGasUsed: bigint;
|
|
4396
|
-
contractAddress: `0x${string}` | null;
|
|
4397
5158
|
logs: {
|
|
4398
5159
|
address: `0x${string}`;
|
|
4399
5160
|
data: `0x${string}`;
|
|
@@ -4434,13 +5195,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
4434
5195
|
to: string | null;
|
|
4435
5196
|
gasUsed: string | number | bigint;
|
|
4436
5197
|
status: string | number | bigint | null;
|
|
5198
|
+
contractAddress: string | null;
|
|
4437
5199
|
blockNumber: string | number | bigint;
|
|
4438
5200
|
blockHash: string;
|
|
4439
5201
|
transactionHash: string;
|
|
4440
5202
|
transactionIndex: string | number | bigint;
|
|
4441
5203
|
from: string;
|
|
4442
5204
|
cumulativeGasUsed: string | number | bigint;
|
|
4443
|
-
contractAddress: string | null;
|
|
4444
5205
|
logs: {
|
|
4445
5206
|
address: string;
|
|
4446
5207
|
data: string;
|
|
@@ -5004,13 +5765,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5004
5765
|
to: `0x${string}` | null;
|
|
5005
5766
|
gasUsed: bigint;
|
|
5006
5767
|
status: bigint | null;
|
|
5768
|
+
contractAddress: `0x${string}` | null;
|
|
5007
5769
|
blockNumber: bigint;
|
|
5008
5770
|
blockHash: `0x${string}`;
|
|
5009
5771
|
transactionHash: `0x${string}`;
|
|
5010
5772
|
transactionIndex: bigint;
|
|
5011
5773
|
from: `0x${string}`;
|
|
5012
5774
|
cumulativeGasUsed: bigint;
|
|
5013
|
-
contractAddress: `0x${string}` | null;
|
|
5014
5775
|
logs: {
|
|
5015
5776
|
address: `0x${string}`;
|
|
5016
5777
|
data: `0x${string}`;
|
|
@@ -5027,13 +5788,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5027
5788
|
to: string | null;
|
|
5028
5789
|
gasUsed: string | number | bigint;
|
|
5029
5790
|
status: string | number | bigint | null;
|
|
5791
|
+
contractAddress: string | null;
|
|
5030
5792
|
blockNumber: string | number | bigint;
|
|
5031
5793
|
blockHash: string;
|
|
5032
5794
|
transactionHash: string;
|
|
5033
5795
|
transactionIndex: string | number | bigint;
|
|
5034
5796
|
from: string;
|
|
5035
5797
|
cumulativeGasUsed: string | number | bigint;
|
|
5036
|
-
contractAddress: string | null;
|
|
5037
5798
|
logs: {
|
|
5038
5799
|
address: string;
|
|
5039
5800
|
data: string;
|
|
@@ -5069,13 +5830,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5069
5830
|
to: `0x${string}` | null;
|
|
5070
5831
|
gasUsed: bigint;
|
|
5071
5832
|
status: bigint | null;
|
|
5833
|
+
contractAddress: `0x${string}` | null;
|
|
5072
5834
|
blockNumber: bigint;
|
|
5073
5835
|
blockHash: `0x${string}`;
|
|
5074
5836
|
transactionHash: `0x${string}`;
|
|
5075
5837
|
transactionIndex: bigint;
|
|
5076
5838
|
from: `0x${string}`;
|
|
5077
5839
|
cumulativeGasUsed: bigint;
|
|
5078
|
-
contractAddress: `0x${string}` | null;
|
|
5079
5840
|
logs: {
|
|
5080
5841
|
address: `0x${string}`;
|
|
5081
5842
|
data: `0x${string}`;
|
|
@@ -5113,13 +5874,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5113
5874
|
to: string | null;
|
|
5114
5875
|
gasUsed: string | number | bigint;
|
|
5115
5876
|
status: string | number | bigint | null;
|
|
5877
|
+
contractAddress: string | null;
|
|
5116
5878
|
blockNumber: string | number | bigint;
|
|
5117
5879
|
blockHash: string;
|
|
5118
5880
|
transactionHash: string;
|
|
5119
5881
|
transactionIndex: string | number | bigint;
|
|
5120
5882
|
from: string;
|
|
5121
5883
|
cumulativeGasUsed: string | number | bigint;
|
|
5122
|
-
contractAddress: string | null;
|
|
5123
5884
|
logs: {
|
|
5124
5885
|
address: string;
|
|
5125
5886
|
data: string;
|
|
@@ -5159,13 +5920,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5159
5920
|
to: `0x${string}` | null;
|
|
5160
5921
|
gasUsed: bigint;
|
|
5161
5922
|
status: bigint | null;
|
|
5923
|
+
contractAddress: `0x${string}` | null;
|
|
5162
5924
|
blockNumber: bigint;
|
|
5163
5925
|
blockHash: `0x${string}`;
|
|
5164
5926
|
transactionHash: `0x${string}`;
|
|
5165
5927
|
transactionIndex: bigint;
|
|
5166
5928
|
from: `0x${string}`;
|
|
5167
5929
|
cumulativeGasUsed: bigint;
|
|
5168
|
-
contractAddress: `0x${string}` | null;
|
|
5169
5930
|
logs: {
|
|
5170
5931
|
address: `0x${string}`;
|
|
5171
5932
|
data: `0x${string}`;
|
|
@@ -5206,13 +5967,13 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5206
5967
|
to: string | null;
|
|
5207
5968
|
gasUsed: string | number | bigint;
|
|
5208
5969
|
status: string | number | bigint | null;
|
|
5970
|
+
contractAddress: string | null;
|
|
5209
5971
|
blockNumber: string | number | bigint;
|
|
5210
5972
|
blockHash: string;
|
|
5211
5973
|
transactionHash: string;
|
|
5212
5974
|
transactionIndex: string | number | bigint;
|
|
5213
5975
|
from: string;
|
|
5214
5976
|
cumulativeGasUsed: string | number | bigint;
|
|
5215
|
-
contractAddress: string | null;
|
|
5216
5977
|
logs: {
|
|
5217
5978
|
address: string;
|
|
5218
5979
|
data: string;
|
|
@@ -5230,6 +5991,101 @@ declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObj
|
|
|
5230
5991
|
reason?: string | undefined;
|
|
5231
5992
|
} | null;
|
|
5232
5993
|
method: "pimlico_sendUserOperationNow";
|
|
5994
|
+
}>, z.ZodObject<{
|
|
5995
|
+
method: z.ZodLiteral<"pimlico_experimental_sendUserOperation7702">;
|
|
5996
|
+
result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5997
|
+
}, "strip", z.ZodTypeAny, {
|
|
5998
|
+
result: `0x${string}`;
|
|
5999
|
+
method: "pimlico_experimental_sendUserOperation7702";
|
|
6000
|
+
}, {
|
|
6001
|
+
result: string;
|
|
6002
|
+
method: "pimlico_experimental_sendUserOperation7702";
|
|
6003
|
+
}>, z.ZodObject<{
|
|
6004
|
+
method: z.ZodLiteral<"pimlico_experimental_estimateUserOperationGas7702">;
|
|
6005
|
+
result: z.ZodUnion<[z.ZodObject<{
|
|
6006
|
+
callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6007
|
+
preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6008
|
+
verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6009
|
+
verificationGas: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
6010
|
+
}, "strip", z.ZodTypeAny, {
|
|
6011
|
+
callGasLimit: bigint;
|
|
6012
|
+
verificationGasLimit: bigint;
|
|
6013
|
+
preVerificationGas: bigint;
|
|
6014
|
+
verificationGas?: bigint | undefined;
|
|
6015
|
+
}, {
|
|
6016
|
+
callGasLimit: string | number | bigint;
|
|
6017
|
+
verificationGasLimit: string | number | bigint;
|
|
6018
|
+
preVerificationGas: string | number | bigint;
|
|
6019
|
+
verificationGas?: string | number | bigint | undefined;
|
|
6020
|
+
}>, z.ZodObject<{
|
|
6021
|
+
callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6022
|
+
preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6023
|
+
verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
6024
|
+
paymasterVerificationGasLimit: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
6025
|
+
paymasterPostOpGasLimit: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
6026
|
+
}, "strip", z.ZodTypeAny, {
|
|
6027
|
+
callGasLimit: bigint;
|
|
6028
|
+
verificationGasLimit: bigint;
|
|
6029
|
+
preVerificationGas: bigint;
|
|
6030
|
+
paymasterVerificationGasLimit?: bigint | undefined;
|
|
6031
|
+
paymasterPostOpGasLimit?: bigint | undefined;
|
|
6032
|
+
}, {
|
|
6033
|
+
callGasLimit: string | number | bigint;
|
|
6034
|
+
verificationGasLimit: string | number | bigint;
|
|
6035
|
+
preVerificationGas: string | number | bigint;
|
|
6036
|
+
paymasterVerificationGasLimit?: string | number | bigint | undefined;
|
|
6037
|
+
paymasterPostOpGasLimit?: string | number | bigint | undefined;
|
|
6038
|
+
}>]>;
|
|
6039
|
+
}, "strip", z.ZodTypeAny, {
|
|
6040
|
+
result: ({
|
|
6041
|
+
callGasLimit: bigint;
|
|
6042
|
+
verificationGasLimit: bigint;
|
|
6043
|
+
preVerificationGas: bigint;
|
|
6044
|
+
verificationGas?: bigint | undefined;
|
|
6045
|
+
} | {
|
|
6046
|
+
callGasLimit: bigint;
|
|
6047
|
+
verificationGasLimit: bigint;
|
|
6048
|
+
preVerificationGas: bigint;
|
|
6049
|
+
paymasterVerificationGasLimit?: bigint | undefined;
|
|
6050
|
+
paymasterPostOpGasLimit?: bigint | undefined;
|
|
6051
|
+
}) & ({
|
|
6052
|
+
callGasLimit: bigint;
|
|
6053
|
+
verificationGasLimit: bigint;
|
|
6054
|
+
preVerificationGas: bigint;
|
|
6055
|
+
verificationGas?: bigint | undefined;
|
|
6056
|
+
} | {
|
|
6057
|
+
callGasLimit: bigint;
|
|
6058
|
+
verificationGasLimit: bigint;
|
|
6059
|
+
preVerificationGas: bigint;
|
|
6060
|
+
paymasterVerificationGasLimit?: bigint | undefined;
|
|
6061
|
+
paymasterPostOpGasLimit?: bigint | undefined;
|
|
6062
|
+
} | undefined);
|
|
6063
|
+
method: "pimlico_experimental_estimateUserOperationGas7702";
|
|
6064
|
+
}, {
|
|
6065
|
+
result: ({
|
|
6066
|
+
callGasLimit: string | number | bigint;
|
|
6067
|
+
verificationGasLimit: string | number | bigint;
|
|
6068
|
+
preVerificationGas: string | number | bigint;
|
|
6069
|
+
verificationGas?: string | number | bigint | undefined;
|
|
6070
|
+
} | {
|
|
6071
|
+
callGasLimit: string | number | bigint;
|
|
6072
|
+
verificationGasLimit: string | number | bigint;
|
|
6073
|
+
preVerificationGas: string | number | bigint;
|
|
6074
|
+
paymasterVerificationGasLimit?: string | number | bigint | undefined;
|
|
6075
|
+
paymasterPostOpGasLimit?: string | number | bigint | undefined;
|
|
6076
|
+
}) & ({
|
|
6077
|
+
callGasLimit: string | number | bigint;
|
|
6078
|
+
verificationGasLimit: string | number | bigint;
|
|
6079
|
+
preVerificationGas: string | number | bigint;
|
|
6080
|
+
verificationGas?: string | number | bigint | undefined;
|
|
6081
|
+
} | {
|
|
6082
|
+
callGasLimit: string | number | bigint;
|
|
6083
|
+
verificationGasLimit: string | number | bigint;
|
|
6084
|
+
preVerificationGas: string | number | bigint;
|
|
6085
|
+
paymasterVerificationGasLimit?: string | number | bigint | undefined;
|
|
6086
|
+
paymasterPostOpGasLimit?: string | number | bigint | undefined;
|
|
6087
|
+
} | undefined);
|
|
6088
|
+
method: "pimlico_experimental_estimateUserOperationGas7702";
|
|
5233
6089
|
}>]>;
|
|
5234
6090
|
export type BundlingMode = z.infer<typeof bundlerSetBundlingModeRequestSchema>["params"][0];
|
|
5235
6091
|
export type Reputations = z.infer<typeof bundlerSetReputationsRequestSchema>["params"][0];
|