@getpara/react-sdk-lite 2.15.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aa/alchemy/hook.d.ts +16708 -0
- package/dist/aa/alchemy/hook.js +26 -0
- package/dist/aa/biconomy/hook.d.ts +44 -0
- package/dist/aa/biconomy/hook.js +26 -0
- package/dist/aa/cdp/hook.d.ts +11 -0
- package/dist/aa/cdp/hook.js +26 -0
- package/dist/aa/createSmartAccountHook.d.ts +12 -0
- package/dist/aa/createSmartAccountHook.js +47 -0
- package/dist/aa/gelato/hook.d.ts +11 -0
- package/dist/aa/gelato/hook.js +26 -0
- package/dist/aa/pimlico/hook.d.ts +838 -0
- package/dist/aa/pimlico/hook.js +26 -0
- package/dist/aa/porto/hook.d.ts +12 -0
- package/dist/aa/porto/hook.js +26 -0
- package/dist/aa/rhinestone/hook.d.ts +12 -0
- package/dist/aa/rhinestone/hook.js +26 -0
- package/dist/aa/safe/hook.d.ts +12 -0
- package/dist/aa/safe/hook.js +26 -0
- package/dist/aa/thirdweb/hook.d.ts +12 -0
- package/dist/aa/thirdweb/hook.js +26 -0
- package/dist/aa/types.d.ts +21 -0
- package/dist/aa/types.js +1 -0
- package/dist/aa/zerodev/hook.d.ts +12 -0
- package/dist/aa/zerodev/hook.js +26 -0
- package/dist/cli/cli.mjs +0 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +33 -1
- package/dist/modal/ParaModal.js +1 -1
- package/dist/provider/hooks/queries/useIsFullyLoggedIn.js +2 -1
- package/package.json +62 -9
|
@@ -0,0 +1,838 @@
|
|
|
1
|
+
export declare const PIMLICO_SMART_ACCOUNT_BASE_KEY = "PARA_PIMLICO_SMART_ACCOUNT";
|
|
2
|
+
/**
|
|
3
|
+
* React hook to create and manage a Pimlico smart account.
|
|
4
|
+
*
|
|
5
|
+
* Supports both EIP-4337 and EIP-7702 modes. Uses Pimlico's bundler and paymaster
|
|
6
|
+
* infrastructure for gas sponsorship.
|
|
7
|
+
*
|
|
8
|
+
* Requires `@getpara/aa-pimlico` to be installed.
|
|
9
|
+
*/
|
|
10
|
+
export declare const usePimlicoSmartAccount: (params?: import("@getpara/aa-pimlico").PimlicoSmartAccountConfig & {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
}) => import("../types.js").UseSmartAccountResult<NonNullable<import("@getpara/viem-v2-integration").SmartAccount4337<{
|
|
13
|
+
account: import("viem/_types/account-abstraction/index.js").SmartAccount | undefined;
|
|
14
|
+
batch?: {
|
|
15
|
+
multicall?: boolean | import("viem").Prettify<import("viem").MulticallBatchOptions> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
cacheTime: number;
|
|
18
|
+
ccipRead?: false | {
|
|
19
|
+
request?: (parameters: import("viem").CcipRequestParameters) => Promise<import("viem/_types/utils/ccip.js").CcipRequestReturnType>;
|
|
20
|
+
} | undefined;
|
|
21
|
+
chain: import("viem").Chain | undefined;
|
|
22
|
+
experimental_blockTag?: import("viem").BlockTag | undefined;
|
|
23
|
+
key: string;
|
|
24
|
+
name: string;
|
|
25
|
+
pollingInterval: number;
|
|
26
|
+
request: import("viem").EIP1193RequestFn<import("viem").BundlerRpcSchema>;
|
|
27
|
+
transport: import("viem").TransportConfig<"http", import("viem").EIP1193RequestFn> & {
|
|
28
|
+
fetchOptions?: import("viem").HttpTransportConfig["fetchOptions"] | undefined;
|
|
29
|
+
url?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
type: string;
|
|
32
|
+
uid: string;
|
|
33
|
+
estimateUserOperationGas: <const calls extends readonly unknown[], accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").EstimateUserOperationGasParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem/_types/account-abstraction/index.js").EstimateUserOperationGasReturnType<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>>;
|
|
34
|
+
getChainId: () => Promise<import("viem").GetChainIdReturnType>;
|
|
35
|
+
getSupportedEntryPoints: () => Promise<import("viem/_types/account-abstraction/index.js").GetSupportedEntryPointsReturnType>;
|
|
36
|
+
getUserOperation: (parameters: import("viem/_types/account-abstraction/index.js").GetUserOperationParameters) => Promise<{
|
|
37
|
+
blockHash: import("viem").Hash;
|
|
38
|
+
blockNumber: bigint;
|
|
39
|
+
entryPoint: import("viem").Address;
|
|
40
|
+
transactionHash: import("viem").Hash;
|
|
41
|
+
userOperation: import("viem/_types/account-abstraction/index.js").UserOperation;
|
|
42
|
+
}>;
|
|
43
|
+
getUserOperationReceipt: (parameters: import("viem/_types/account-abstraction/index.js").GetUserOperationReceiptParameters) => Promise<import("viem/_types/account-abstraction/index.js").GetUserOperationReceiptReturnType>;
|
|
44
|
+
prepareUserOperation: <const calls extends readonly unknown[], const request extends import("viem/_types/account-abstraction/index.js").PrepareUserOperationRequest<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls, request>) => Promise<import("viem").UnionOmit<request, "parameters" | "calls"> & {
|
|
45
|
+
callData: import("viem").Hex;
|
|
46
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_14 ? T_14 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_14 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
47
|
+
sender: import("viem/_types/account-abstraction/index.js").UserOperation["sender"];
|
|
48
|
+
} & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "authorization"> extends never ? {} : {
|
|
49
|
+
authorization: import("viem/_types/account-abstraction/index.js").UserOperation["authorization"];
|
|
50
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_15 ? T_15 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_15 extends "0.9" ? {
|
|
51
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
52
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
53
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_16 ? T_16 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_16 extends "0.8" ? {
|
|
54
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
55
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
56
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_17 ? T_17 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_17 extends "0.7" ? {
|
|
57
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
58
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
59
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_18 ? T_18 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_18 extends "0.6" ? {
|
|
60
|
+
initCode: import("viem/_types/account-abstraction/index.js").UserOperation["initCode"];
|
|
61
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
|
62
|
+
nonce: import("viem/_types/account-abstraction/index.js").UserOperation["nonce"];
|
|
63
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
|
64
|
+
maxFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxFeePerGas"];
|
|
65
|
+
maxPriorityFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxPriorityFeePerGas"];
|
|
66
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_19 ? T_19 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_19 extends "0.9" ? {
|
|
67
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
68
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
69
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
70
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
71
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
72
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_20 ? T_20 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_20 extends "0.8" ? {
|
|
73
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
74
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
75
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
76
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
77
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
78
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_21 ? T_21 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_21 extends "0.7" ? {
|
|
79
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
80
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
81
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
82
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
83
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
84
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_22 ? T_22 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_22 extends "0.6" ? {
|
|
85
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
86
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
87
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
88
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_23 ? T_23 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_23 extends "0.9" ? {
|
|
89
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
90
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
91
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
92
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
93
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_24 ? T_24 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_24 extends "0.8" ? {
|
|
94
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
95
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
96
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
97
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
98
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_25 ? T_25 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_25 extends "0.7" ? {
|
|
99
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
100
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
101
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
102
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
103
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_26 ? T_26 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_26 extends "0.6" ? {
|
|
104
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterAndData"];
|
|
105
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
|
106
|
+
signature: import("viem/_types/account-abstraction/index.js").UserOperation["signature"];
|
|
107
|
+
}) extends infer T ? { [K in keyof T]: (import("viem").UnionOmit<request, "parameters" | "calls"> & {
|
|
108
|
+
callData: import("viem").Hex;
|
|
109
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_1 ? T_1 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
110
|
+
sender: import("viem/_types/account-abstraction/index.js").UserOperation["sender"];
|
|
111
|
+
} & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "authorization"> extends never ? {} : {
|
|
112
|
+
authorization: import("viem/_types/account-abstraction/index.js").UserOperation["authorization"];
|
|
113
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_2 ? T_2 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_2 extends "0.9" ? {
|
|
114
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
115
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
116
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_3 ? T_3 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_3 extends "0.8" ? {
|
|
117
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
118
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
119
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_4 ? T_4 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_4 extends "0.7" ? {
|
|
120
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
121
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
122
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_5 ? T_5 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_5 extends "0.6" ? {
|
|
123
|
+
initCode: import("viem/_types/account-abstraction/index.js").UserOperation["initCode"];
|
|
124
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
|
125
|
+
nonce: import("viem/_types/account-abstraction/index.js").UserOperation["nonce"];
|
|
126
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
|
127
|
+
maxFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxFeePerGas"];
|
|
128
|
+
maxPriorityFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxPriorityFeePerGas"];
|
|
129
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_6 ? T_6 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_6 extends "0.9" ? {
|
|
130
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
131
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
132
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
133
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
134
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
135
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_7 ? T_7 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_7 extends "0.8" ? {
|
|
136
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
137
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
138
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
139
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
140
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
141
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_8 ? T_8 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_8 extends "0.7" ? {
|
|
142
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
143
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
144
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
145
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
146
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
147
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_9 ? T_9 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_9 extends "0.6" ? {
|
|
148
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
149
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
150
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
151
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_10 ? T_10 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_10 extends "0.9" ? {
|
|
152
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
153
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
154
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
155
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
156
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_11 ? T_11 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_11 extends "0.8" ? {
|
|
157
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
158
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
159
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
160
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
161
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_12 ? T_12 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_12 extends "0.7" ? {
|
|
162
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
163
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
164
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
165
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
166
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_13 ? T_13 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_13 extends "0.6" ? {
|
|
167
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterAndData"];
|
|
168
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
|
169
|
+
signature: import("viem/_types/account-abstraction/index.js").UserOperation["signature"];
|
|
170
|
+
}))[K]; } : never>;
|
|
171
|
+
sendUserOperation: <const calls extends readonly unknown[], accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem/_types/account-abstraction/index.js").SendUserOperationReturnType>;
|
|
172
|
+
waitForUserOperationReceipt: (parameters: import("viem/_types/account-abstraction/index.js").WaitForUserOperationReceiptParameters) => Promise<import("@gelatocloud/gasless").WaitForUserOperationReceiptReturnType>;
|
|
173
|
+
sendTransaction: <TChainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: import("viem").SendTransactionParameters<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride> | import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem").Hash>;
|
|
174
|
+
signMessage: (args: import("viem").SignMessageParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/signMessage.js").signMessage>;
|
|
175
|
+
signTypedData: <const TTypedData extends {
|
|
176
|
+
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
177
|
+
[x: `string[${string}]`]: undefined;
|
|
178
|
+
[x: `function[${string}]`]: undefined;
|
|
179
|
+
[x: `address[${string}]`]: undefined;
|
|
180
|
+
[x: `bool[${string}]`]: undefined;
|
|
181
|
+
[x: `bytes[${string}]`]: undefined;
|
|
182
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
183
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
184
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
185
|
+
[x: `bytes1[${string}]`]: undefined;
|
|
186
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
187
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
188
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
189
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
190
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
191
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
192
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
193
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
194
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
195
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
196
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
197
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
198
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
199
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
200
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
201
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
202
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
203
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
204
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
205
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
206
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
207
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
208
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
209
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
210
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
211
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
212
|
+
[x: `bytes31[${string}]`]: undefined;
|
|
213
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
214
|
+
[x: `int[${string}]`]: undefined;
|
|
215
|
+
[x: `int8[${string}]`]: undefined;
|
|
216
|
+
[x: `int16[${string}]`]: undefined;
|
|
217
|
+
[x: `int24[${string}]`]: undefined;
|
|
218
|
+
[x: `int32[${string}]`]: undefined;
|
|
219
|
+
[x: `int40[${string}]`]: undefined;
|
|
220
|
+
[x: `int48[${string}]`]: undefined;
|
|
221
|
+
[x: `int56[${string}]`]: undefined;
|
|
222
|
+
[x: `int64[${string}]`]: undefined;
|
|
223
|
+
[x: `int72[${string}]`]: undefined;
|
|
224
|
+
[x: `int80[${string}]`]: undefined;
|
|
225
|
+
[x: `int88[${string}]`]: undefined;
|
|
226
|
+
[x: `int96[${string}]`]: undefined;
|
|
227
|
+
[x: `int104[${string}]`]: undefined;
|
|
228
|
+
[x: `int112[${string}]`]: undefined;
|
|
229
|
+
[x: `int120[${string}]`]: undefined;
|
|
230
|
+
[x: `int128[${string}]`]: undefined;
|
|
231
|
+
[x: `int136[${string}]`]: undefined;
|
|
232
|
+
[x: `int144[${string}]`]: undefined;
|
|
233
|
+
[x: `int152[${string}]`]: undefined;
|
|
234
|
+
[x: `int160[${string}]`]: undefined;
|
|
235
|
+
[x: `int168[${string}]`]: undefined;
|
|
236
|
+
[x: `int176[${string}]`]: undefined;
|
|
237
|
+
[x: `int184[${string}]`]: undefined;
|
|
238
|
+
[x: `int192[${string}]`]: undefined;
|
|
239
|
+
[x: `int200[${string}]`]: undefined;
|
|
240
|
+
[x: `int208[${string}]`]: undefined;
|
|
241
|
+
[x: `int216[${string}]`]: undefined;
|
|
242
|
+
[x: `int224[${string}]`]: undefined;
|
|
243
|
+
[x: `int232[${string}]`]: undefined;
|
|
244
|
+
[x: `int240[${string}]`]: undefined;
|
|
245
|
+
[x: `int248[${string}]`]: undefined;
|
|
246
|
+
[x: `int256[${string}]`]: undefined;
|
|
247
|
+
[x: `uint[${string}]`]: undefined;
|
|
248
|
+
[x: `uint8[${string}]`]: undefined;
|
|
249
|
+
[x: `uint16[${string}]`]: undefined;
|
|
250
|
+
[x: `uint24[${string}]`]: undefined;
|
|
251
|
+
[x: `uint32[${string}]`]: undefined;
|
|
252
|
+
[x: `uint40[${string}]`]: undefined;
|
|
253
|
+
[x: `uint48[${string}]`]: undefined;
|
|
254
|
+
[x: `uint56[${string}]`]: undefined;
|
|
255
|
+
[x: `uint64[${string}]`]: undefined;
|
|
256
|
+
[x: `uint72[${string}]`]: undefined;
|
|
257
|
+
[x: `uint80[${string}]`]: undefined;
|
|
258
|
+
[x: `uint88[${string}]`]: undefined;
|
|
259
|
+
[x: `uint96[${string}]`]: undefined;
|
|
260
|
+
[x: `uint104[${string}]`]: undefined;
|
|
261
|
+
[x: `uint112[${string}]`]: undefined;
|
|
262
|
+
[x: `uint120[${string}]`]: undefined;
|
|
263
|
+
[x: `uint128[${string}]`]: undefined;
|
|
264
|
+
[x: `uint136[${string}]`]: undefined;
|
|
265
|
+
[x: `uint144[${string}]`]: undefined;
|
|
266
|
+
[x: `uint152[${string}]`]: undefined;
|
|
267
|
+
[x: `uint160[${string}]`]: undefined;
|
|
268
|
+
[x: `uint168[${string}]`]: undefined;
|
|
269
|
+
[x: `uint176[${string}]`]: undefined;
|
|
270
|
+
[x: `uint184[${string}]`]: undefined;
|
|
271
|
+
[x: `uint192[${string}]`]: undefined;
|
|
272
|
+
[x: `uint200[${string}]`]: undefined;
|
|
273
|
+
[x: `uint208[${string}]`]: undefined;
|
|
274
|
+
[x: `uint216[${string}]`]: undefined;
|
|
275
|
+
[x: `uint224[${string}]`]: undefined;
|
|
276
|
+
[x: `uint232[${string}]`]: undefined;
|
|
277
|
+
[x: `uint240[${string}]`]: undefined;
|
|
278
|
+
[x: `uint248[${string}]`]: undefined;
|
|
279
|
+
[x: `uint256[${string}]`]: undefined;
|
|
280
|
+
string?: undefined;
|
|
281
|
+
address?: undefined;
|
|
282
|
+
bool?: undefined;
|
|
283
|
+
bytes?: undefined;
|
|
284
|
+
bytes7?: undefined;
|
|
285
|
+
bytes3?: undefined;
|
|
286
|
+
bytes2?: undefined;
|
|
287
|
+
bytes1?: undefined;
|
|
288
|
+
bytes4?: undefined;
|
|
289
|
+
bytes5?: undefined;
|
|
290
|
+
bytes6?: undefined;
|
|
291
|
+
bytes8?: undefined;
|
|
292
|
+
bytes9?: undefined;
|
|
293
|
+
bytes10?: undefined;
|
|
294
|
+
bytes11?: undefined;
|
|
295
|
+
bytes12?: undefined;
|
|
296
|
+
bytes13?: undefined;
|
|
297
|
+
bytes14?: undefined;
|
|
298
|
+
bytes15?: undefined;
|
|
299
|
+
bytes16?: undefined;
|
|
300
|
+
bytes17?: undefined;
|
|
301
|
+
bytes18?: undefined;
|
|
302
|
+
bytes19?: undefined;
|
|
303
|
+
bytes20?: undefined;
|
|
304
|
+
bytes21?: undefined;
|
|
305
|
+
bytes22?: undefined;
|
|
306
|
+
bytes23?: undefined;
|
|
307
|
+
bytes24?: undefined;
|
|
308
|
+
bytes25?: undefined;
|
|
309
|
+
bytes26?: undefined;
|
|
310
|
+
bytes27?: undefined;
|
|
311
|
+
bytes28?: undefined;
|
|
312
|
+
bytes29?: undefined;
|
|
313
|
+
bytes30?: undefined;
|
|
314
|
+
bytes31?: undefined;
|
|
315
|
+
bytes32?: undefined;
|
|
316
|
+
int8?: undefined;
|
|
317
|
+
int16?: undefined;
|
|
318
|
+
int24?: undefined;
|
|
319
|
+
int32?: undefined;
|
|
320
|
+
int40?: undefined;
|
|
321
|
+
int48?: undefined;
|
|
322
|
+
int56?: undefined;
|
|
323
|
+
int64?: undefined;
|
|
324
|
+
int72?: undefined;
|
|
325
|
+
int80?: undefined;
|
|
326
|
+
int88?: undefined;
|
|
327
|
+
int96?: undefined;
|
|
328
|
+
int104?: undefined;
|
|
329
|
+
int112?: undefined;
|
|
330
|
+
int120?: undefined;
|
|
331
|
+
int128?: undefined;
|
|
332
|
+
int136?: undefined;
|
|
333
|
+
int144?: undefined;
|
|
334
|
+
int152?: undefined;
|
|
335
|
+
int160?: undefined;
|
|
336
|
+
int168?: undefined;
|
|
337
|
+
int176?: undefined;
|
|
338
|
+
int184?: undefined;
|
|
339
|
+
int192?: undefined;
|
|
340
|
+
int200?: undefined;
|
|
341
|
+
int208?: undefined;
|
|
342
|
+
int216?: undefined;
|
|
343
|
+
int224?: undefined;
|
|
344
|
+
int232?: undefined;
|
|
345
|
+
int240?: undefined;
|
|
346
|
+
int248?: undefined;
|
|
347
|
+
int256?: undefined;
|
|
348
|
+
uint8?: undefined;
|
|
349
|
+
uint16?: undefined;
|
|
350
|
+
uint24?: undefined;
|
|
351
|
+
uint32?: undefined;
|
|
352
|
+
uint40?: undefined;
|
|
353
|
+
uint48?: undefined;
|
|
354
|
+
uint56?: undefined;
|
|
355
|
+
uint64?: undefined;
|
|
356
|
+
uint72?: undefined;
|
|
357
|
+
uint80?: undefined;
|
|
358
|
+
uint88?: undefined;
|
|
359
|
+
uint96?: undefined;
|
|
360
|
+
uint104?: undefined;
|
|
361
|
+
uint112?: undefined;
|
|
362
|
+
uint120?: undefined;
|
|
363
|
+
uint128?: undefined;
|
|
364
|
+
uint136?: undefined;
|
|
365
|
+
uint144?: undefined;
|
|
366
|
+
uint152?: undefined;
|
|
367
|
+
uint160?: undefined;
|
|
368
|
+
uint168?: undefined;
|
|
369
|
+
uint176?: undefined;
|
|
370
|
+
uint184?: undefined;
|
|
371
|
+
uint192?: undefined;
|
|
372
|
+
uint200?: undefined;
|
|
373
|
+
uint208?: undefined;
|
|
374
|
+
uint216?: undefined;
|
|
375
|
+
uint224?: undefined;
|
|
376
|
+
uint232?: undefined;
|
|
377
|
+
uint240?: undefined;
|
|
378
|
+
uint248?: undefined;
|
|
379
|
+
uint256?: undefined;
|
|
380
|
+
} | {
|
|
381
|
+
[key: string]: unknown;
|
|
382
|
+
}, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/signTypedData.js").signTypedData>;
|
|
383
|
+
writeContract: <const TAbi extends import("viem").Abi | readonly unknown[], TFunctionName extends import("viem").ContractFunctionName<TAbi, "nonpayable" | "payable"> = import("viem").ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends import("viem").ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = import("viem").ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends import("viem").Chain | undefined = undefined>(args: import("viem").WriteContractParameters<TAbi, TFunctionName, TArgs, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/writeContract.js").writeContract>;
|
|
384
|
+
sendCalls: <TChainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: import("viem").SendCallsParameters<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride, calls> | import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<{
|
|
385
|
+
capabilities?: {
|
|
386
|
+
[x: string]: any;
|
|
387
|
+
} | undefined;
|
|
388
|
+
id: string;
|
|
389
|
+
}>;
|
|
390
|
+
getCallsStatus: (args: import("viem").GetCallsStatusParameters) => Promise<{
|
|
391
|
+
version: string;
|
|
392
|
+
id: string;
|
|
393
|
+
chainId: number;
|
|
394
|
+
capabilities?: {
|
|
395
|
+
[key: string]: any;
|
|
396
|
+
} | {
|
|
397
|
+
[x: string]: any;
|
|
398
|
+
} | undefined;
|
|
399
|
+
atomic: boolean;
|
|
400
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
401
|
+
statusCode: number;
|
|
402
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
403
|
+
}>;
|
|
404
|
+
extend: <const client extends {
|
|
405
|
+
[x: string]: unknown;
|
|
406
|
+
account?: undefined;
|
|
407
|
+
batch?: undefined;
|
|
408
|
+
cacheTime?: undefined;
|
|
409
|
+
ccipRead?: undefined;
|
|
410
|
+
chain?: undefined;
|
|
411
|
+
experimental_blockTag?: undefined;
|
|
412
|
+
key?: undefined;
|
|
413
|
+
name?: undefined;
|
|
414
|
+
pollingInterval?: undefined;
|
|
415
|
+
request?: undefined;
|
|
416
|
+
transport?: undefined;
|
|
417
|
+
type?: undefined;
|
|
418
|
+
uid?: undefined;
|
|
419
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>, "prepareTransactionRequest" | "getChainId" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, import("viem").BundlerRpcSchema, import("viem/_types/account-abstraction/index.js").BundlerActions<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined> & import("permissionless").SmartAccountActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>>) => client) => import("viem").Client<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, import("viem").BundlerRpcSchema, { [K in keyof client]: client[K]; } & import("viem/_types/account-abstraction/index.js").BundlerActions<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined> & import("permissionless").SmartAccountActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>>;
|
|
420
|
+
} & {
|
|
421
|
+
client: import("viem").Client | undefined;
|
|
422
|
+
paymaster: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["paymaster"] | undefined;
|
|
423
|
+
paymasterContext: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["paymasterContext"] | undefined;
|
|
424
|
+
userOperation: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["userOperation"] | undefined;
|
|
425
|
+
}> | import("@getpara/viem-v2-integration").SmartAccount7702<{
|
|
426
|
+
account: import("viem/_types/account-abstraction/index.js").SmartAccount | undefined;
|
|
427
|
+
batch?: {
|
|
428
|
+
multicall?: boolean | import("viem").Prettify<import("viem").MulticallBatchOptions> | undefined;
|
|
429
|
+
} | undefined;
|
|
430
|
+
cacheTime: number;
|
|
431
|
+
ccipRead?: false | {
|
|
432
|
+
request?: (parameters: import("viem").CcipRequestParameters) => Promise<import("viem/_types/utils/ccip.js").CcipRequestReturnType>;
|
|
433
|
+
} | undefined;
|
|
434
|
+
chain: import("viem").Chain | undefined;
|
|
435
|
+
experimental_blockTag?: import("viem").BlockTag | undefined;
|
|
436
|
+
key: string;
|
|
437
|
+
name: string;
|
|
438
|
+
pollingInterval: number;
|
|
439
|
+
request: import("viem").EIP1193RequestFn<import("viem").BundlerRpcSchema>;
|
|
440
|
+
transport: import("viem").TransportConfig<"http", import("viem").EIP1193RequestFn> & {
|
|
441
|
+
fetchOptions?: import("viem").HttpTransportConfig["fetchOptions"] | undefined;
|
|
442
|
+
url?: string | undefined;
|
|
443
|
+
};
|
|
444
|
+
type: string;
|
|
445
|
+
uid: string;
|
|
446
|
+
estimateUserOperationGas: <const calls extends readonly unknown[], accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").EstimateUserOperationGasParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem/_types/account-abstraction/index.js").EstimateUserOperationGasReturnType<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>>;
|
|
447
|
+
getChainId: () => Promise<import("viem").GetChainIdReturnType>;
|
|
448
|
+
getSupportedEntryPoints: () => Promise<import("viem/_types/account-abstraction/index.js").GetSupportedEntryPointsReturnType>;
|
|
449
|
+
getUserOperation: (parameters: import("viem/_types/account-abstraction/index.js").GetUserOperationParameters) => Promise<{
|
|
450
|
+
blockHash: import("viem").Hash;
|
|
451
|
+
blockNumber: bigint;
|
|
452
|
+
entryPoint: import("viem").Address;
|
|
453
|
+
transactionHash: import("viem").Hash;
|
|
454
|
+
userOperation: import("viem/_types/account-abstraction/index.js").UserOperation;
|
|
455
|
+
}>;
|
|
456
|
+
getUserOperationReceipt: (parameters: import("viem/_types/account-abstraction/index.js").GetUserOperationReceiptParameters) => Promise<import("viem/_types/account-abstraction/index.js").GetUserOperationReceiptReturnType>;
|
|
457
|
+
prepareUserOperation: <const calls extends readonly unknown[], const request extends import("viem/_types/account-abstraction/index.js").PrepareUserOperationRequest<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls, request>) => Promise<import("viem").UnionOmit<request, "parameters" | "calls"> & {
|
|
458
|
+
callData: import("viem").Hex;
|
|
459
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_14 ? T_14 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_14 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
460
|
+
sender: import("viem/_types/account-abstraction/index.js").UserOperation["sender"];
|
|
461
|
+
} & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "authorization"> extends never ? {} : {
|
|
462
|
+
authorization: import("viem/_types/account-abstraction/index.js").UserOperation["authorization"];
|
|
463
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_15 ? T_15 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_15 extends "0.9" ? {
|
|
464
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
465
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
466
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_16 ? T_16 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_16 extends "0.8" ? {
|
|
467
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
468
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
469
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_17 ? T_17 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_17 extends "0.7" ? {
|
|
470
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
471
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
472
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_18 ? T_18 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_18 extends "0.6" ? {
|
|
473
|
+
initCode: import("viem/_types/account-abstraction/index.js").UserOperation["initCode"];
|
|
474
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
|
475
|
+
nonce: import("viem/_types/account-abstraction/index.js").UserOperation["nonce"];
|
|
476
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
|
477
|
+
maxFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxFeePerGas"];
|
|
478
|
+
maxPriorityFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxPriorityFeePerGas"];
|
|
479
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_19 ? T_19 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_19 extends "0.9" ? {
|
|
480
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
481
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
482
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
483
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
484
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
485
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_20 ? T_20 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_20 extends "0.8" ? {
|
|
486
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
487
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
488
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
489
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
490
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
491
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_21 ? T_21 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_21 extends "0.7" ? {
|
|
492
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
493
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
494
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
495
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
496
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
497
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_22 ? T_22 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_22 extends "0.6" ? {
|
|
498
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
499
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
500
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
501
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_23 ? T_23 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_23 extends "0.9" ? {
|
|
502
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
503
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
504
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
505
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
506
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_24 ? T_24 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_24 extends "0.8" ? {
|
|
507
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
508
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
509
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
510
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
511
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_25 ? T_25 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_25 extends "0.7" ? {
|
|
512
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
513
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
514
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
515
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
516
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_26 ? T_26 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_26 extends "0.6" ? {
|
|
517
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterAndData"];
|
|
518
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
|
519
|
+
signature: import("viem/_types/account-abstraction/index.js").UserOperation["signature"];
|
|
520
|
+
}) extends infer T ? { [K in keyof T]: (import("viem").UnionOmit<request, "parameters" | "calls"> & {
|
|
521
|
+
callData: import("viem").Hex;
|
|
522
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_1 ? T_1 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
523
|
+
sender: import("viem/_types/account-abstraction/index.js").UserOperation["sender"];
|
|
524
|
+
} & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "authorization"> extends never ? {} : {
|
|
525
|
+
authorization: import("viem/_types/account-abstraction/index.js").UserOperation["authorization"];
|
|
526
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_2 ? T_2 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_2 extends "0.9" ? {
|
|
527
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
528
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
529
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_3 ? T_3 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_3 extends "0.8" ? {
|
|
530
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
531
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
532
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_4 ? T_4 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_4 extends "0.7" ? {
|
|
533
|
+
factory: import("viem/_types/account-abstraction/index.js").UserOperation["factory"];
|
|
534
|
+
factoryData: import("viem/_types/account-abstraction/index.js").UserOperation["factoryData"];
|
|
535
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_5 ? T_5 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_5 extends "0.6" ? {
|
|
536
|
+
initCode: import("viem/_types/account-abstraction/index.js").UserOperation["initCode"];
|
|
537
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
|
538
|
+
nonce: import("viem/_types/account-abstraction/index.js").UserOperation["nonce"];
|
|
539
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
|
540
|
+
maxFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxFeePerGas"];
|
|
541
|
+
maxPriorityFeePerGas: import("viem/_types/account-abstraction/index.js").UserOperation["maxPriorityFeePerGas"];
|
|
542
|
+
}) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_6 ? T_6 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_6 extends "0.9" ? {
|
|
543
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
544
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
545
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
546
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
547
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
548
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_7 ? T_7 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_7 extends "0.8" ? {
|
|
549
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
550
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
551
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
552
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
553
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
554
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_8 ? T_8 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_8 extends "0.7" ? {
|
|
555
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
556
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
557
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
558
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
559
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
560
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_9 ? T_9 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_9 extends "0.6" ? {
|
|
561
|
+
callGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["callGasLimit"];
|
|
562
|
+
preVerificationGas: import("viem/_types/account-abstraction/index.js").UserOperation["preVerificationGas"];
|
|
563
|
+
verificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["verificationGasLimit"];
|
|
564
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_10 ? T_10 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_10 extends "0.9" ? {
|
|
565
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
566
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
567
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
568
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
569
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_11 ? T_11 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_11 extends "0.8" ? {
|
|
570
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
571
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
572
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
573
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
574
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_12 ? T_12 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_12 extends "0.7" ? {
|
|
575
|
+
paymaster: import("viem/_types/account-abstraction/index.js").UserOperation["paymaster"];
|
|
576
|
+
paymasterData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterData"];
|
|
577
|
+
paymasterPostOpGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterPostOpGasLimit"];
|
|
578
|
+
paymasterVerificationGasLimit: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterVerificationGasLimit"];
|
|
579
|
+
} : never : never : never) | (import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> extends infer T_13 ? T_13 extends import("viem/_types/account-abstraction/index.js").DeriveEntryPointVersion<import("viem/_types/account-abstraction/index.js").DeriveSmartAccount<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride>> ? T_13 extends "0.6" ? {
|
|
580
|
+
paymasterAndData: import("viem/_types/account-abstraction/index.js").UserOperation["paymasterAndData"];
|
|
581
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly import("viem/_types/account-abstraction/index.js").PrepareUserOperationParameterType[] ? request["parameters"][number] : "fees" | "authorization" | "gas" | "nonce" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
|
582
|
+
signature: import("viem/_types/account-abstraction/index.js").UserOperation["signature"];
|
|
583
|
+
}))[K]; } : never>;
|
|
584
|
+
sendUserOperation: <const calls extends readonly unknown[], accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined>(parameters: import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem/_types/account-abstraction/index.js").SendUserOperationReturnType>;
|
|
585
|
+
waitForUserOperationReceipt: (parameters: import("viem/_types/account-abstraction/index.js").WaitForUserOperationReceiptParameters) => Promise<import("@gelatocloud/gasless").WaitForUserOperationReceiptReturnType>;
|
|
586
|
+
sendTransaction: <TChainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: import("viem").SendTransactionParameters<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride> | import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<import("viem").Hash>;
|
|
587
|
+
signMessage: (args: import("viem").SignMessageParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/signMessage.js").signMessage>;
|
|
588
|
+
signTypedData: <const TTypedData extends {
|
|
589
|
+
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
590
|
+
[x: `string[${string}]`]: undefined;
|
|
591
|
+
[x: `function[${string}]`]: undefined;
|
|
592
|
+
[x: `address[${string}]`]: undefined;
|
|
593
|
+
[x: `bool[${string}]`]: undefined;
|
|
594
|
+
[x: `bytes[${string}]`]: undefined;
|
|
595
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
596
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
597
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
598
|
+
[x: `bytes1[${string}]`]: undefined;
|
|
599
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
600
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
601
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
602
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
603
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
604
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
605
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
606
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
607
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
608
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
609
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
610
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
611
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
612
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
613
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
614
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
615
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
616
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
617
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
618
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
619
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
620
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
621
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
622
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
623
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
624
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
625
|
+
[x: `bytes31[${string}]`]: undefined;
|
|
626
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
627
|
+
[x: `int[${string}]`]: undefined;
|
|
628
|
+
[x: `int8[${string}]`]: undefined;
|
|
629
|
+
[x: `int16[${string}]`]: undefined;
|
|
630
|
+
[x: `int24[${string}]`]: undefined;
|
|
631
|
+
[x: `int32[${string}]`]: undefined;
|
|
632
|
+
[x: `int40[${string}]`]: undefined;
|
|
633
|
+
[x: `int48[${string}]`]: undefined;
|
|
634
|
+
[x: `int56[${string}]`]: undefined;
|
|
635
|
+
[x: `int64[${string}]`]: undefined;
|
|
636
|
+
[x: `int72[${string}]`]: undefined;
|
|
637
|
+
[x: `int80[${string}]`]: undefined;
|
|
638
|
+
[x: `int88[${string}]`]: undefined;
|
|
639
|
+
[x: `int96[${string}]`]: undefined;
|
|
640
|
+
[x: `int104[${string}]`]: undefined;
|
|
641
|
+
[x: `int112[${string}]`]: undefined;
|
|
642
|
+
[x: `int120[${string}]`]: undefined;
|
|
643
|
+
[x: `int128[${string}]`]: undefined;
|
|
644
|
+
[x: `int136[${string}]`]: undefined;
|
|
645
|
+
[x: `int144[${string}]`]: undefined;
|
|
646
|
+
[x: `int152[${string}]`]: undefined;
|
|
647
|
+
[x: `int160[${string}]`]: undefined;
|
|
648
|
+
[x: `int168[${string}]`]: undefined;
|
|
649
|
+
[x: `int176[${string}]`]: undefined;
|
|
650
|
+
[x: `int184[${string}]`]: undefined;
|
|
651
|
+
[x: `int192[${string}]`]: undefined;
|
|
652
|
+
[x: `int200[${string}]`]: undefined;
|
|
653
|
+
[x: `int208[${string}]`]: undefined;
|
|
654
|
+
[x: `int216[${string}]`]: undefined;
|
|
655
|
+
[x: `int224[${string}]`]: undefined;
|
|
656
|
+
[x: `int232[${string}]`]: undefined;
|
|
657
|
+
[x: `int240[${string}]`]: undefined;
|
|
658
|
+
[x: `int248[${string}]`]: undefined;
|
|
659
|
+
[x: `int256[${string}]`]: undefined;
|
|
660
|
+
[x: `uint[${string}]`]: undefined;
|
|
661
|
+
[x: `uint8[${string}]`]: undefined;
|
|
662
|
+
[x: `uint16[${string}]`]: undefined;
|
|
663
|
+
[x: `uint24[${string}]`]: undefined;
|
|
664
|
+
[x: `uint32[${string}]`]: undefined;
|
|
665
|
+
[x: `uint40[${string}]`]: undefined;
|
|
666
|
+
[x: `uint48[${string}]`]: undefined;
|
|
667
|
+
[x: `uint56[${string}]`]: undefined;
|
|
668
|
+
[x: `uint64[${string}]`]: undefined;
|
|
669
|
+
[x: `uint72[${string}]`]: undefined;
|
|
670
|
+
[x: `uint80[${string}]`]: undefined;
|
|
671
|
+
[x: `uint88[${string}]`]: undefined;
|
|
672
|
+
[x: `uint96[${string}]`]: undefined;
|
|
673
|
+
[x: `uint104[${string}]`]: undefined;
|
|
674
|
+
[x: `uint112[${string}]`]: undefined;
|
|
675
|
+
[x: `uint120[${string}]`]: undefined;
|
|
676
|
+
[x: `uint128[${string}]`]: undefined;
|
|
677
|
+
[x: `uint136[${string}]`]: undefined;
|
|
678
|
+
[x: `uint144[${string}]`]: undefined;
|
|
679
|
+
[x: `uint152[${string}]`]: undefined;
|
|
680
|
+
[x: `uint160[${string}]`]: undefined;
|
|
681
|
+
[x: `uint168[${string}]`]: undefined;
|
|
682
|
+
[x: `uint176[${string}]`]: undefined;
|
|
683
|
+
[x: `uint184[${string}]`]: undefined;
|
|
684
|
+
[x: `uint192[${string}]`]: undefined;
|
|
685
|
+
[x: `uint200[${string}]`]: undefined;
|
|
686
|
+
[x: `uint208[${string}]`]: undefined;
|
|
687
|
+
[x: `uint216[${string}]`]: undefined;
|
|
688
|
+
[x: `uint224[${string}]`]: undefined;
|
|
689
|
+
[x: `uint232[${string}]`]: undefined;
|
|
690
|
+
[x: `uint240[${string}]`]: undefined;
|
|
691
|
+
[x: `uint248[${string}]`]: undefined;
|
|
692
|
+
[x: `uint256[${string}]`]: undefined;
|
|
693
|
+
string?: undefined;
|
|
694
|
+
address?: undefined;
|
|
695
|
+
bool?: undefined;
|
|
696
|
+
bytes?: undefined;
|
|
697
|
+
bytes7?: undefined;
|
|
698
|
+
bytes3?: undefined;
|
|
699
|
+
bytes2?: undefined;
|
|
700
|
+
bytes1?: undefined;
|
|
701
|
+
bytes4?: undefined;
|
|
702
|
+
bytes5?: undefined;
|
|
703
|
+
bytes6?: undefined;
|
|
704
|
+
bytes8?: undefined;
|
|
705
|
+
bytes9?: undefined;
|
|
706
|
+
bytes10?: undefined;
|
|
707
|
+
bytes11?: undefined;
|
|
708
|
+
bytes12?: undefined;
|
|
709
|
+
bytes13?: undefined;
|
|
710
|
+
bytes14?: undefined;
|
|
711
|
+
bytes15?: undefined;
|
|
712
|
+
bytes16?: undefined;
|
|
713
|
+
bytes17?: undefined;
|
|
714
|
+
bytes18?: undefined;
|
|
715
|
+
bytes19?: undefined;
|
|
716
|
+
bytes20?: undefined;
|
|
717
|
+
bytes21?: undefined;
|
|
718
|
+
bytes22?: undefined;
|
|
719
|
+
bytes23?: undefined;
|
|
720
|
+
bytes24?: undefined;
|
|
721
|
+
bytes25?: undefined;
|
|
722
|
+
bytes26?: undefined;
|
|
723
|
+
bytes27?: undefined;
|
|
724
|
+
bytes28?: undefined;
|
|
725
|
+
bytes29?: undefined;
|
|
726
|
+
bytes30?: undefined;
|
|
727
|
+
bytes31?: undefined;
|
|
728
|
+
bytes32?: undefined;
|
|
729
|
+
int8?: undefined;
|
|
730
|
+
int16?: undefined;
|
|
731
|
+
int24?: undefined;
|
|
732
|
+
int32?: undefined;
|
|
733
|
+
int40?: undefined;
|
|
734
|
+
int48?: undefined;
|
|
735
|
+
int56?: undefined;
|
|
736
|
+
int64?: undefined;
|
|
737
|
+
int72?: undefined;
|
|
738
|
+
int80?: undefined;
|
|
739
|
+
int88?: undefined;
|
|
740
|
+
int96?: undefined;
|
|
741
|
+
int104?: undefined;
|
|
742
|
+
int112?: undefined;
|
|
743
|
+
int120?: undefined;
|
|
744
|
+
int128?: undefined;
|
|
745
|
+
int136?: undefined;
|
|
746
|
+
int144?: undefined;
|
|
747
|
+
int152?: undefined;
|
|
748
|
+
int160?: undefined;
|
|
749
|
+
int168?: undefined;
|
|
750
|
+
int176?: undefined;
|
|
751
|
+
int184?: undefined;
|
|
752
|
+
int192?: undefined;
|
|
753
|
+
int200?: undefined;
|
|
754
|
+
int208?: undefined;
|
|
755
|
+
int216?: undefined;
|
|
756
|
+
int224?: undefined;
|
|
757
|
+
int232?: undefined;
|
|
758
|
+
int240?: undefined;
|
|
759
|
+
int248?: undefined;
|
|
760
|
+
int256?: undefined;
|
|
761
|
+
uint8?: undefined;
|
|
762
|
+
uint16?: undefined;
|
|
763
|
+
uint24?: undefined;
|
|
764
|
+
uint32?: undefined;
|
|
765
|
+
uint40?: undefined;
|
|
766
|
+
uint48?: undefined;
|
|
767
|
+
uint56?: undefined;
|
|
768
|
+
uint64?: undefined;
|
|
769
|
+
uint72?: undefined;
|
|
770
|
+
uint80?: undefined;
|
|
771
|
+
uint88?: undefined;
|
|
772
|
+
uint96?: undefined;
|
|
773
|
+
uint104?: undefined;
|
|
774
|
+
uint112?: undefined;
|
|
775
|
+
uint120?: undefined;
|
|
776
|
+
uint128?: undefined;
|
|
777
|
+
uint136?: undefined;
|
|
778
|
+
uint144?: undefined;
|
|
779
|
+
uint152?: undefined;
|
|
780
|
+
uint160?: undefined;
|
|
781
|
+
uint168?: undefined;
|
|
782
|
+
uint176?: undefined;
|
|
783
|
+
uint184?: undefined;
|
|
784
|
+
uint192?: undefined;
|
|
785
|
+
uint200?: undefined;
|
|
786
|
+
uint208?: undefined;
|
|
787
|
+
uint216?: undefined;
|
|
788
|
+
uint224?: undefined;
|
|
789
|
+
uint232?: undefined;
|
|
790
|
+
uint240?: undefined;
|
|
791
|
+
uint248?: undefined;
|
|
792
|
+
uint256?: undefined;
|
|
793
|
+
} | {
|
|
794
|
+
[key: string]: unknown;
|
|
795
|
+
}, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/signTypedData.js").signTypedData>;
|
|
796
|
+
writeContract: <const TAbi extends import("viem").Abi | readonly unknown[], TFunctionName extends import("viem").ContractFunctionName<TAbi, "nonpayable" | "payable"> = import("viem").ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends import("viem").ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = import("viem").ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends import("viem").Chain | undefined = undefined>(args: import("viem").WriteContractParameters<TAbi, TFunctionName, TArgs, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride>) => ReturnType<typeof import("permissionless/_types/actions/smartAccount/writeContract.js").writeContract>;
|
|
797
|
+
sendCalls: <TChainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem/_types/account-abstraction/index.js").SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: import("viem").SendCallsParameters<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, TChainOverride, calls> | import("viem/_types/account-abstraction/index.js").SendUserOperationParameters<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, accountOverride, calls>) => Promise<{
|
|
798
|
+
capabilities?: {
|
|
799
|
+
[x: string]: any;
|
|
800
|
+
} | undefined;
|
|
801
|
+
id: string;
|
|
802
|
+
}>;
|
|
803
|
+
getCallsStatus: (args: import("viem").GetCallsStatusParameters) => Promise<{
|
|
804
|
+
version: string;
|
|
805
|
+
id: string;
|
|
806
|
+
chainId: number;
|
|
807
|
+
capabilities?: {
|
|
808
|
+
[key: string]: any;
|
|
809
|
+
} | {
|
|
810
|
+
[x: string]: any;
|
|
811
|
+
} | undefined;
|
|
812
|
+
atomic: boolean;
|
|
813
|
+
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
814
|
+
statusCode: number;
|
|
815
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
816
|
+
}>;
|
|
817
|
+
extend: <const client extends {
|
|
818
|
+
[x: string]: unknown;
|
|
819
|
+
account?: undefined;
|
|
820
|
+
batch?: undefined;
|
|
821
|
+
cacheTime?: undefined;
|
|
822
|
+
ccipRead?: undefined;
|
|
823
|
+
chain?: undefined;
|
|
824
|
+
experimental_blockTag?: undefined;
|
|
825
|
+
key?: undefined;
|
|
826
|
+
name?: undefined;
|
|
827
|
+
pollingInterval?: undefined;
|
|
828
|
+
request?: undefined;
|
|
829
|
+
transport?: undefined;
|
|
830
|
+
type?: undefined;
|
|
831
|
+
uid?: undefined;
|
|
832
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>, "prepareTransactionRequest" | "getChainId" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, import("viem").BundlerRpcSchema, import("viem/_types/account-abstraction/index.js").BundlerActions<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined> & import("permissionless").SmartAccountActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>>) => client) => import("viem").Client<import("viem").HttpTransport, import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined, import("viem").BundlerRpcSchema, { [K in keyof client]: client[K]; } & import("viem/_types/account-abstraction/index.js").BundlerActions<import("viem/_types/account-abstraction/index.js").SmartAccount | undefined> & import("permissionless").SmartAccountActions<import("viem").Chain | undefined, import("viem/_types/account-abstraction/index.js").SmartAccount | undefined>>;
|
|
833
|
+
} & {
|
|
834
|
+
client: import("viem").Client | undefined;
|
|
835
|
+
paymaster: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["paymaster"] | undefined;
|
|
836
|
+
paymasterContext: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["paymasterContext"] | undefined;
|
|
837
|
+
userOperation: import("viem/_types/account-abstraction/index.js").BundlerClientConfig["userOperation"] | undefined;
|
|
838
|
+
}> | null>>;
|