@cometh/connect-react-hooks 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +38 -4
- package/dist/index.d.cts +116 -1628
- package/dist/index.d.ts +116 -1628
- package/dist/index.js +37 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -1,1600 +1,22 @@
|
|
1
|
-
import
|
2
|
-
import {
|
3
|
-
import * as permissionless_types_entrypoint from 'permissionless/types/entrypoint';
|
4
|
-
import { EntryPoint, ENTRYPOINT_ADDRESS_V07_TYPE } from 'permissionless/types/entrypoint';
|
5
|
-
import * as permissionless_actions_smartAccount from 'permissionless/actions/smartAccount';
|
6
|
-
import * as permissionless from 'permissionless';
|
7
|
-
import * as permissionless__types_accounts from 'permissionless/_types/accounts';
|
8
|
-
import * as permissionless__types_types from 'permissionless/_types/types';
|
9
|
-
import { TypedDataParameter, Abi, Address } from '../abi.js';
|
10
|
-
import * as permissionless__types_actions_smartAccount from 'permissionless/_types/actions/smartAccount';
|
11
|
-
import * as permissionless__types_types_bundler from 'permissionless/_types/types/bundler';
|
12
|
-
import * as _cometh_connect_sdk_4337 from '@cometh/connect-sdk-4337';
|
13
|
-
import { EnrichedOwner, Session, AddSessionKeyParams, Signer, webAuthnOptions, QRCodeOptions, SetUpRecoveryModuleParams, IsRecoveryActiveParams, IsRecoveryActiveReturnType, RecoveryParamsResponse, GetRecoveryRequestParams, createSafeSmartAccountParameters } from '@cometh/connect-sdk-4337';
|
14
|
-
import * as viem from 'viem';
|
15
|
-
import { Hash, Address as Address$1, Hex, Abi as Abi$1, ContractFunctionName, ContractFunctionArgs, Chain, Account, DeriveChain, ContractFunctionParameters, GetChainParameter, GetValue, FormattedTransactionRequest, UnionOmit, SignableMessage } from 'viem';
|
1
|
+
import { Address, Transport, Chain, Hash, Hex, Abi, ContractFunctionName, ContractFunctionArgs, Account, DeriveChain, ContractFunctionParameters, GetChainParameter, GetValue, FormattedTransactionRequest, UnionOmit, SignableMessage } from 'viem';
|
2
|
+
import { createSafeSmartAccountParameters, ComethSmartAccountClient, SafeSmartAccount, EnrichedOwner, Session, AddSessionKeyParams, Signer, webAuthnOptions, QRCodeOptions, SetUpRecoveryModuleParams, IsRecoveryActiveParams, IsRecoveryActiveReturnType, RecoveryParamsResponse, GetRecoveryRequestParams, CancelRecoveryRequestParams } from '@cometh/connect-sdk-4337';
|
16
3
|
import { y, z, O, aI, a3, at, aQ, aK, b } from './hydration-Bnn1iiSg.js';
|
4
|
+
import React, { ReactNode } from 'react';
|
5
|
+
import { ENTRYPOINT_ADDRESS_V07_TYPE, EntryPoint } from 'permissionless/types/entrypoint';
|
17
6
|
import { GetAccountParameter } from 'viem/_types/types/account';
|
7
|
+
import { Prettify } from 'viem/chains';
|
18
8
|
import { UnionEvaluate } from 'viem/types/utils';
|
19
9
|
import { UseQueryParameters } from 'wagmi/query';
|
20
|
-
import React, { ReactNode } from 'react';
|
21
10
|
|
22
|
-
type
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
key: string;
|
32
|
-
name: string;
|
33
|
-
pollingInterval: number;
|
34
|
-
request: viem.EIP1193RequestFn<permissionless__types_types_bundler.BundlerRpcSchema<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>;
|
35
|
-
transport: viem.TransportConfig<string, viem.EIP1193RequestFn> & Record<string, any>;
|
36
|
-
type: string;
|
37
|
-
uid: string;
|
38
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, TChainOverride>) => Promise<viem.Hash>;
|
39
|
-
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>) => ReturnType<typeof permissionless__types_actions_smartAccount.signMessage>;
|
40
|
-
signTypedData: <const TTypedData extends {
|
41
|
-
[x: string]: readonly TypedDataParameter[];
|
42
|
-
[x: `string[${string}]`]: undefined;
|
43
|
-
[x: `function[${string}]`]: undefined;
|
44
|
-
[x: `address[${string}]`]: undefined;
|
45
|
-
[x: `bool[${string}]`]: undefined;
|
46
|
-
[x: `bytes[${string}]`]: undefined;
|
47
|
-
[x: `bytes22[${string}]`]: undefined;
|
48
|
-
[x: `bytes1[${string}]`]: undefined;
|
49
|
-
[x: `bytes2[${string}]`]: undefined;
|
50
|
-
[x: `bytes3[${string}]`]: undefined;
|
51
|
-
[x: `bytes4[${string}]`]: undefined;
|
52
|
-
[x: `bytes5[${string}]`]: undefined;
|
53
|
-
[x: `bytes6[${string}]`]: undefined;
|
54
|
-
[x: `bytes7[${string}]`]: undefined;
|
55
|
-
[x: `bytes8[${string}]`]: undefined;
|
56
|
-
[x: `bytes9[${string}]`]: undefined;
|
57
|
-
[x: `bytes10[${string}]`]: undefined;
|
58
|
-
[x: `bytes11[${string}]`]: undefined;
|
59
|
-
[x: `bytes12[${string}]`]: undefined;
|
60
|
-
[x: `bytes13[${string}]`]: undefined;
|
61
|
-
[x: `bytes14[${string}]`]: undefined;
|
62
|
-
[x: `bytes15[${string}]`]: undefined;
|
63
|
-
[x: `bytes16[${string}]`]: undefined;
|
64
|
-
[x: `bytes17[${string}]`]: undefined;
|
65
|
-
[x: `bytes18[${string}]`]: undefined;
|
66
|
-
[x: `bytes19[${string}]`]: undefined;
|
67
|
-
[x: `bytes20[${string}]`]: undefined;
|
68
|
-
[x: `bytes21[${string}]`]: undefined;
|
69
|
-
[x: `bytes23[${string}]`]: undefined;
|
70
|
-
[x: `bytes24[${string}]`]: undefined;
|
71
|
-
[x: `bytes25[${string}]`]: undefined;
|
72
|
-
[x: `bytes26[${string}]`]: undefined;
|
73
|
-
[x: `bytes27[${string}]`]: undefined;
|
74
|
-
[x: `bytes28[${string}]`]: undefined;
|
75
|
-
[x: `bytes29[${string}]`]: undefined;
|
76
|
-
[x: `bytes30[${string}]`]: undefined;
|
77
|
-
[x: `bytes31[${string}]`]: undefined;
|
78
|
-
[x: `bytes32[${string}]`]: undefined;
|
79
|
-
[x: `int[${string}]`]: undefined;
|
80
|
-
[x: `int40[${string}]`]: undefined;
|
81
|
-
[x: `int8[${string}]`]: undefined;
|
82
|
-
[x: `int16[${string}]`]: undefined;
|
83
|
-
[x: `int24[${string}]`]: undefined;
|
84
|
-
[x: `int32[${string}]`]: undefined;
|
85
|
-
[x: `int48[${string}]`]: undefined;
|
86
|
-
[x: `int56[${string}]`]: undefined;
|
87
|
-
[x: `int64[${string}]`]: undefined;
|
88
|
-
[x: `int72[${string}]`]: undefined;
|
89
|
-
[x: `int80[${string}]`]: undefined;
|
90
|
-
[x: `int88[${string}]`]: undefined;
|
91
|
-
[x: `int96[${string}]`]: undefined;
|
92
|
-
[x: `int104[${string}]`]: undefined;
|
93
|
-
[x: `int112[${string}]`]: undefined;
|
94
|
-
[x: `int120[${string}]`]: undefined;
|
95
|
-
[x: `int128[${string}]`]: undefined;
|
96
|
-
[x: `int136[${string}]`]: undefined;
|
97
|
-
[x: `int144[${string}]`]: undefined;
|
98
|
-
[x: `int152[${string}]`]: undefined;
|
99
|
-
[x: `int160[${string}]`]: undefined;
|
100
|
-
[x: `int168[${string}]`]: undefined;
|
101
|
-
[x: `int176[${string}]`]: undefined;
|
102
|
-
[x: `int184[${string}]`]: undefined;
|
103
|
-
[x: `int192[${string}]`]: undefined;
|
104
|
-
[x: `int200[${string}]`]: undefined;
|
105
|
-
[x: `int208[${string}]`]: undefined;
|
106
|
-
[x: `int216[${string}]`]: undefined;
|
107
|
-
[x: `int224[${string}]`]: undefined;
|
108
|
-
[x: `int232[${string}]`]: undefined;
|
109
|
-
[x: `int240[${string}]`]: undefined;
|
110
|
-
[x: `int248[${string}]`]: undefined;
|
111
|
-
[x: `int256[${string}]`]: undefined;
|
112
|
-
[x: `uint[${string}]`]: undefined;
|
113
|
-
[x: `uint40[${string}]`]: undefined;
|
114
|
-
[x: `uint8[${string}]`]: undefined;
|
115
|
-
[x: `uint16[${string}]`]: undefined;
|
116
|
-
[x: `uint24[${string}]`]: undefined;
|
117
|
-
[x: `uint32[${string}]`]: undefined;
|
118
|
-
[x: `uint48[${string}]`]: undefined;
|
119
|
-
[x: `uint56[${string}]`]: undefined;
|
120
|
-
[x: `uint64[${string}]`]: undefined;
|
121
|
-
[x: `uint72[${string}]`]: undefined;
|
122
|
-
[x: `uint80[${string}]`]: undefined;
|
123
|
-
[x: `uint88[${string}]`]: undefined;
|
124
|
-
[x: `uint96[${string}]`]: undefined;
|
125
|
-
[x: `uint104[${string}]`]: undefined;
|
126
|
-
[x: `uint112[${string}]`]: undefined;
|
127
|
-
[x: `uint120[${string}]`]: undefined;
|
128
|
-
[x: `uint128[${string}]`]: undefined;
|
129
|
-
[x: `uint136[${string}]`]: undefined;
|
130
|
-
[x: `uint144[${string}]`]: undefined;
|
131
|
-
[x: `uint152[${string}]`]: undefined;
|
132
|
-
[x: `uint160[${string}]`]: undefined;
|
133
|
-
[x: `uint168[${string}]`]: undefined;
|
134
|
-
[x: `uint176[${string}]`]: undefined;
|
135
|
-
[x: `uint184[${string}]`]: undefined;
|
136
|
-
[x: `uint192[${string}]`]: undefined;
|
137
|
-
[x: `uint200[${string}]`]: undefined;
|
138
|
-
[x: `uint208[${string}]`]: undefined;
|
139
|
-
[x: `uint216[${string}]`]: undefined;
|
140
|
-
[x: `uint224[${string}]`]: undefined;
|
141
|
-
[x: `uint232[${string}]`]: undefined;
|
142
|
-
[x: `uint240[${string}]`]: undefined;
|
143
|
-
[x: `uint248[${string}]`]: undefined;
|
144
|
-
[x: `uint256[${string}]`]: undefined;
|
145
|
-
string?: undefined;
|
146
|
-
address?: undefined;
|
147
|
-
bool?: undefined;
|
148
|
-
bytes?: undefined;
|
149
|
-
bytes22?: undefined;
|
150
|
-
bytes1?: undefined;
|
151
|
-
bytes2?: undefined;
|
152
|
-
bytes3?: undefined;
|
153
|
-
bytes4?: undefined;
|
154
|
-
bytes5?: undefined;
|
155
|
-
bytes6?: undefined;
|
156
|
-
bytes7?: undefined;
|
157
|
-
bytes8?: undefined;
|
158
|
-
bytes9?: undefined;
|
159
|
-
bytes10?: undefined;
|
160
|
-
bytes11?: undefined;
|
161
|
-
bytes12?: undefined;
|
162
|
-
bytes13?: undefined;
|
163
|
-
bytes14?: undefined;
|
164
|
-
bytes15?: undefined;
|
165
|
-
bytes16?: undefined;
|
166
|
-
bytes17?: undefined;
|
167
|
-
bytes18?: undefined;
|
168
|
-
bytes19?: undefined;
|
169
|
-
bytes20?: undefined;
|
170
|
-
bytes21?: undefined;
|
171
|
-
bytes23?: undefined;
|
172
|
-
bytes24?: undefined;
|
173
|
-
bytes25?: undefined;
|
174
|
-
bytes26?: undefined;
|
175
|
-
bytes27?: undefined;
|
176
|
-
bytes28?: undefined;
|
177
|
-
bytes29?: undefined;
|
178
|
-
bytes30?: undefined;
|
179
|
-
bytes31?: undefined;
|
180
|
-
bytes32?: undefined;
|
181
|
-
int40?: undefined;
|
182
|
-
int8?: undefined;
|
183
|
-
int16?: undefined;
|
184
|
-
int24?: undefined;
|
185
|
-
int32?: undefined;
|
186
|
-
int48?: undefined;
|
187
|
-
int56?: undefined;
|
188
|
-
int64?: undefined;
|
189
|
-
int72?: undefined;
|
190
|
-
int80?: undefined;
|
191
|
-
int88?: undefined;
|
192
|
-
int96?: undefined;
|
193
|
-
int104?: undefined;
|
194
|
-
int112?: undefined;
|
195
|
-
int120?: undefined;
|
196
|
-
int128?: undefined;
|
197
|
-
int136?: undefined;
|
198
|
-
int144?: undefined;
|
199
|
-
int152?: undefined;
|
200
|
-
int160?: undefined;
|
201
|
-
int168?: undefined;
|
202
|
-
int176?: undefined;
|
203
|
-
int184?: undefined;
|
204
|
-
int192?: undefined;
|
205
|
-
int200?: undefined;
|
206
|
-
int208?: undefined;
|
207
|
-
int216?: undefined;
|
208
|
-
int224?: undefined;
|
209
|
-
int232?: undefined;
|
210
|
-
int240?: undefined;
|
211
|
-
int248?: undefined;
|
212
|
-
int256?: undefined;
|
213
|
-
uint40?: undefined;
|
214
|
-
uint8?: undefined;
|
215
|
-
uint16?: undefined;
|
216
|
-
uint24?: undefined;
|
217
|
-
uint32?: undefined;
|
218
|
-
uint48?: undefined;
|
219
|
-
uint56?: undefined;
|
220
|
-
uint64?: undefined;
|
221
|
-
uint72?: undefined;
|
222
|
-
uint80?: undefined;
|
223
|
-
uint88?: undefined;
|
224
|
-
uint96?: undefined;
|
225
|
-
uint104?: undefined;
|
226
|
-
uint112?: undefined;
|
227
|
-
uint120?: undefined;
|
228
|
-
uint128?: undefined;
|
229
|
-
uint136?: undefined;
|
230
|
-
uint144?: undefined;
|
231
|
-
uint152?: undefined;
|
232
|
-
uint160?: undefined;
|
233
|
-
uint168?: undefined;
|
234
|
-
uint176?: undefined;
|
235
|
-
uint184?: undefined;
|
236
|
-
uint192?: undefined;
|
237
|
-
uint200?: undefined;
|
238
|
-
uint208?: undefined;
|
239
|
-
uint216?: undefined;
|
240
|
-
uint224?: undefined;
|
241
|
-
uint232?: undefined;
|
242
|
-
uint240?: undefined;
|
243
|
-
uint248?: undefined;
|
244
|
-
uint256?: undefined;
|
245
|
-
} | {
|
246
|
-
[key: string]: unknown;
|
247
|
-
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>) => ReturnType<typeof permissionless__types_actions_smartAccount.signTypedData>;
|
248
|
-
deployContract: <const TAbi extends Abi | readonly unknown[], TChainOverride extends viem.Chain | undefined = undefined>(args: viem.DeployContractParameters<TAbi, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, TChainOverride> extends infer T ? { [K in keyof T]: viem.DeployContractParameters<TAbi, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, TChainOverride>[K]; } : never) => Promise<viem.Hash>;
|
249
|
-
writeContract: <const TAbi extends Abi | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, TChainOverride>) => ReturnType<typeof permissionless__types_actions_smartAccount.writeContract>;
|
250
|
-
prepareUserOperationRequest: <TTransport extends viem.Transport>(args: {
|
251
|
-
userOperation: permissionless__types_types.PartialBy<{
|
252
|
-
sender: Address;
|
253
|
-
nonce: bigint;
|
254
|
-
factory?: Address;
|
255
|
-
factoryData?: viem.Hex;
|
256
|
-
callData: viem.Hex;
|
257
|
-
callGasLimit: bigint;
|
258
|
-
verificationGasLimit: bigint;
|
259
|
-
preVerificationGas: bigint;
|
260
|
-
maxFeePerGas: bigint;
|
261
|
-
maxPriorityFeePerGas: bigint;
|
262
|
-
paymaster?: Address;
|
263
|
-
paymasterVerificationGasLimit?: bigint;
|
264
|
-
paymasterPostOpGasLimit?: bigint;
|
265
|
-
paymasterData?: viem.Hex;
|
266
|
-
signature: viem.Hex;
|
267
|
-
initCode?: never;
|
268
|
-
paymasterAndData?: never;
|
269
|
-
}, "sender" | "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "factory" | "factoryData" | "signature" | "callGasLimit" | "verificationGasLimit" | "preVerificationGas" | "paymaster" | "paymasterVerificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterData">;
|
270
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
271
|
-
middleware?: ((args: {
|
272
|
-
userOperation: {
|
273
|
-
sender: Address;
|
274
|
-
nonce: bigint;
|
275
|
-
factory?: Address;
|
276
|
-
factoryData?: viem.Hex;
|
277
|
-
callData: viem.Hex;
|
278
|
-
callGasLimit: bigint;
|
279
|
-
verificationGasLimit: bigint;
|
280
|
-
preVerificationGas: bigint;
|
281
|
-
maxFeePerGas: bigint;
|
282
|
-
maxPriorityFeePerGas: bigint;
|
283
|
-
paymaster?: Address;
|
284
|
-
paymasterVerificationGasLimit?: bigint;
|
285
|
-
paymasterPostOpGasLimit?: bigint;
|
286
|
-
paymasterData?: viem.Hex;
|
287
|
-
signature: viem.Hex;
|
288
|
-
initCode?: never;
|
289
|
-
paymasterAndData?: never;
|
290
|
-
};
|
291
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
292
|
-
}) => Promise<permissionless.UserOperation<permissionless__types_types.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | {
|
293
|
-
gasPrice?: () => Promise<{
|
294
|
-
maxFeePerGas: bigint;
|
295
|
-
maxPriorityFeePerGas: bigint;
|
296
|
-
}>;
|
297
|
-
sponsorUserOperation?: ((args: {
|
298
|
-
userOperation: {
|
299
|
-
sender: Address;
|
300
|
-
nonce: bigint;
|
301
|
-
factory?: Address;
|
302
|
-
factoryData?: viem.Hex;
|
303
|
-
callData: viem.Hex;
|
304
|
-
callGasLimit: bigint;
|
305
|
-
verificationGasLimit: bigint;
|
306
|
-
preVerificationGas: bigint;
|
307
|
-
maxFeePerGas: bigint;
|
308
|
-
maxPriorityFeePerGas: bigint;
|
309
|
-
paymaster?: Address;
|
310
|
-
paymasterVerificationGasLimit?: bigint;
|
311
|
-
paymasterPostOpGasLimit?: bigint;
|
312
|
-
paymasterData?: viem.Hex;
|
313
|
-
signature: viem.Hex;
|
314
|
-
initCode?: never;
|
315
|
-
paymasterAndData?: never;
|
316
|
-
};
|
317
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
318
|
-
}) => Promise<permissionless__types_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
319
|
-
} | undefined;
|
320
|
-
}, stateOverrides?: permissionless__types_types_bundler.StateOverrides) => Promise<permissionless__types_types.Prettify<permissionless__types_actions_smartAccount.PrepareUserOperationRequestReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>;
|
321
|
-
sendUserOperation: <TTransport extends viem.Transport>(args: {
|
322
|
-
userOperation: permissionless__types_types.PartialBy<{
|
323
|
-
sender: Address;
|
324
|
-
nonce: bigint;
|
325
|
-
factory?: Address;
|
326
|
-
factoryData?: viem.Hex;
|
327
|
-
callData: viem.Hex;
|
328
|
-
callGasLimit: bigint;
|
329
|
-
verificationGasLimit: bigint;
|
330
|
-
preVerificationGas: bigint;
|
331
|
-
maxFeePerGas: bigint;
|
332
|
-
maxPriorityFeePerGas: bigint;
|
333
|
-
paymaster?: Address;
|
334
|
-
paymasterVerificationGasLimit?: bigint;
|
335
|
-
paymasterPostOpGasLimit?: bigint;
|
336
|
-
paymasterData?: viem.Hex;
|
337
|
-
signature: viem.Hex;
|
338
|
-
initCode?: never;
|
339
|
-
paymasterAndData?: never;
|
340
|
-
}, "sender" | "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "factory" | "factoryData" | "signature" | "callGasLimit" | "verificationGasLimit" | "preVerificationGas" | "paymaster" | "paymasterVerificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterData">;
|
341
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
342
|
-
middleware?: ((args: {
|
343
|
-
userOperation: {
|
344
|
-
sender: Address;
|
345
|
-
nonce: bigint;
|
346
|
-
factory?: Address;
|
347
|
-
factoryData?: viem.Hex;
|
348
|
-
callData: viem.Hex;
|
349
|
-
callGasLimit: bigint;
|
350
|
-
verificationGasLimit: bigint;
|
351
|
-
preVerificationGas: bigint;
|
352
|
-
maxFeePerGas: bigint;
|
353
|
-
maxPriorityFeePerGas: bigint;
|
354
|
-
paymaster?: Address;
|
355
|
-
paymasterVerificationGasLimit?: bigint;
|
356
|
-
paymasterPostOpGasLimit?: bigint;
|
357
|
-
paymasterData?: viem.Hex;
|
358
|
-
signature: viem.Hex;
|
359
|
-
initCode?: never;
|
360
|
-
paymasterAndData?: never;
|
361
|
-
};
|
362
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
363
|
-
}) => Promise<permissionless.UserOperation<permissionless__types_types.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | {
|
364
|
-
gasPrice?: () => Promise<{
|
365
|
-
maxFeePerGas: bigint;
|
366
|
-
maxPriorityFeePerGas: bigint;
|
367
|
-
}>;
|
368
|
-
sponsorUserOperation?: ((args: {
|
369
|
-
userOperation: {
|
370
|
-
sender: Address;
|
371
|
-
nonce: bigint;
|
372
|
-
factory?: Address;
|
373
|
-
factoryData?: viem.Hex;
|
374
|
-
callData: viem.Hex;
|
375
|
-
callGasLimit: bigint;
|
376
|
-
verificationGasLimit: bigint;
|
377
|
-
preVerificationGas: bigint;
|
378
|
-
maxFeePerGas: bigint;
|
379
|
-
maxPriorityFeePerGas: bigint;
|
380
|
-
paymaster?: Address;
|
381
|
-
paymasterVerificationGasLimit?: bigint;
|
382
|
-
paymasterPostOpGasLimit?: bigint;
|
383
|
-
paymasterData?: viem.Hex;
|
384
|
-
signature: viem.Hex;
|
385
|
-
initCode?: never;
|
386
|
-
paymasterAndData?: never;
|
387
|
-
};
|
388
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
389
|
-
}) => Promise<permissionless__types_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
390
|
-
} | undefined;
|
391
|
-
}) => Promise<viem.Hash>;
|
392
|
-
sendTransactions: (args: {
|
393
|
-
transactions: {
|
394
|
-
to: Address;
|
395
|
-
value: bigint;
|
396
|
-
data: viem.Hex;
|
397
|
-
}[];
|
398
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
399
|
-
middleware?: ((args: {
|
400
|
-
userOperation: {
|
401
|
-
sender: Address;
|
402
|
-
nonce: bigint;
|
403
|
-
factory?: Address;
|
404
|
-
factoryData?: viem.Hex;
|
405
|
-
callData: viem.Hex;
|
406
|
-
callGasLimit: bigint;
|
407
|
-
verificationGasLimit: bigint;
|
408
|
-
preVerificationGas: bigint;
|
409
|
-
maxFeePerGas: bigint;
|
410
|
-
maxPriorityFeePerGas: bigint;
|
411
|
-
paymaster?: Address;
|
412
|
-
paymasterVerificationGasLimit?: bigint;
|
413
|
-
paymasterPostOpGasLimit?: bigint;
|
414
|
-
paymasterData?: viem.Hex;
|
415
|
-
signature: viem.Hex;
|
416
|
-
initCode?: never;
|
417
|
-
paymasterAndData?: never;
|
418
|
-
};
|
419
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
420
|
-
}) => Promise<permissionless.UserOperation<permissionless__types_types.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | {
|
421
|
-
gasPrice?: () => Promise<{
|
422
|
-
maxFeePerGas: bigint;
|
423
|
-
maxPriorityFeePerGas: bigint;
|
424
|
-
}>;
|
425
|
-
sponsorUserOperation?: ((args: {
|
426
|
-
userOperation: {
|
427
|
-
sender: Address;
|
428
|
-
nonce: bigint;
|
429
|
-
factory?: Address;
|
430
|
-
factoryData?: viem.Hex;
|
431
|
-
callData: viem.Hex;
|
432
|
-
callGasLimit: bigint;
|
433
|
-
verificationGasLimit: bigint;
|
434
|
-
preVerificationGas: bigint;
|
435
|
-
maxFeePerGas: bigint;
|
436
|
-
maxPriorityFeePerGas: bigint;
|
437
|
-
paymaster?: Address;
|
438
|
-
paymasterVerificationGasLimit?: bigint;
|
439
|
-
paymasterPostOpGasLimit?: bigint;
|
440
|
-
paymasterData?: viem.Hex;
|
441
|
-
signature: viem.Hex;
|
442
|
-
initCode?: never;
|
443
|
-
paymasterAndData?: never;
|
444
|
-
};
|
445
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
446
|
-
}) => Promise<permissionless__types_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
447
|
-
} | undefined;
|
448
|
-
maxFeePerGas?: bigint;
|
449
|
-
maxPriorityFeePerGas?: bigint;
|
450
|
-
nonce?: bigint;
|
451
|
-
}) => ReturnType<typeof permissionless__types_actions_smartAccount.sendTransactions>;
|
452
|
-
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
453
|
-
signer: _cometh_connect_sdk_4337.Signer;
|
454
|
-
middleware?: {
|
455
|
-
gasPrice?: () => Promise<{
|
456
|
-
maxFeePerGas: bigint;
|
457
|
-
maxPriorityFeePerGas: bigint;
|
458
|
-
}>;
|
459
|
-
sponsorUserOperation?: ((args: {
|
460
|
-
userOperation: {
|
461
|
-
sender: Address;
|
462
|
-
nonce: bigint;
|
463
|
-
factory?: Address;
|
464
|
-
factoryData?: viem.Hex;
|
465
|
-
callData: viem.Hex;
|
466
|
-
callGasLimit: bigint;
|
467
|
-
verificationGasLimit: bigint;
|
468
|
-
preVerificationGas: bigint;
|
469
|
-
maxFeePerGas: bigint;
|
470
|
-
maxPriorityFeePerGas: bigint;
|
471
|
-
paymaster?: Address;
|
472
|
-
paymasterVerificationGasLimit?: bigint;
|
473
|
-
paymasterPostOpGasLimit?: bigint;
|
474
|
-
paymasterData?: viem.Hex;
|
475
|
-
signature: viem.Hex;
|
476
|
-
initCode?: never;
|
477
|
-
paymasterAndData?: never;
|
478
|
-
};
|
479
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
480
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
481
|
-
} | ((args: {
|
482
|
-
userOperation: {
|
483
|
-
sender: Address;
|
484
|
-
nonce: bigint;
|
485
|
-
factory?: Address;
|
486
|
-
factoryData?: viem.Hex;
|
487
|
-
callData: viem.Hex;
|
488
|
-
callGasLimit: bigint;
|
489
|
-
verificationGasLimit: bigint;
|
490
|
-
preVerificationGas: bigint;
|
491
|
-
maxFeePerGas: bigint;
|
492
|
-
maxPriorityFeePerGas: bigint;
|
493
|
-
paymaster?: Address;
|
494
|
-
paymasterVerificationGasLimit?: bigint;
|
495
|
-
paymasterPostOpGasLimit?: bigint;
|
496
|
-
paymasterData?: viem.Hex;
|
497
|
-
signature: viem.Hex;
|
498
|
-
initCode?: never;
|
499
|
-
paymasterAndData?: never;
|
500
|
-
};
|
501
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
502
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
503
|
-
}) => Promise<viem.Hash>;
|
504
|
-
setUpRecoveryModule: <TTransport extends viem.Transport>(args: {
|
505
|
-
passKeyName?: string;
|
506
|
-
webAuthnOptions?: _cometh_connect_sdk_4337.webAuthnOptions;
|
507
|
-
rpcUrl?: string;
|
508
|
-
middleware?: {
|
509
|
-
gasPrice?: () => Promise<{
|
510
|
-
maxFeePerGas: bigint;
|
511
|
-
maxPriorityFeePerGas: bigint;
|
512
|
-
}>;
|
513
|
-
sponsorUserOperation?: ((args: {
|
514
|
-
userOperation: {
|
515
|
-
sender: Address;
|
516
|
-
nonce: bigint;
|
517
|
-
factory?: Address;
|
518
|
-
factoryData?: viem.Hex;
|
519
|
-
callData: viem.Hex;
|
520
|
-
callGasLimit: bigint;
|
521
|
-
verificationGasLimit: bigint;
|
522
|
-
preVerificationGas: bigint;
|
523
|
-
maxFeePerGas: bigint;
|
524
|
-
maxPriorityFeePerGas: bigint;
|
525
|
-
paymaster?: Address;
|
526
|
-
paymasterVerificationGasLimit?: bigint;
|
527
|
-
paymasterPostOpGasLimit?: bigint;
|
528
|
-
paymasterData?: viem.Hex;
|
529
|
-
signature: viem.Hex;
|
530
|
-
initCode?: never;
|
531
|
-
paymasterAndData?: never;
|
532
|
-
};
|
533
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
534
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
535
|
-
} | ((args: {
|
536
|
-
userOperation: {
|
537
|
-
sender: Address;
|
538
|
-
nonce: bigint;
|
539
|
-
factory?: Address;
|
540
|
-
factoryData?: viem.Hex;
|
541
|
-
callData: viem.Hex;
|
542
|
-
callGasLimit: bigint;
|
543
|
-
verificationGasLimit: bigint;
|
544
|
-
preVerificationGas: bigint;
|
545
|
-
maxFeePerGas: bigint;
|
546
|
-
maxPriorityFeePerGas: bigint;
|
547
|
-
paymaster?: Address;
|
548
|
-
paymasterVerificationGasLimit?: bigint;
|
549
|
-
paymasterPostOpGasLimit?: bigint;
|
550
|
-
paymasterData?: viem.Hex;
|
551
|
-
signature: viem.Hex;
|
552
|
-
initCode?: never;
|
553
|
-
paymasterAndData?: never;
|
554
|
-
};
|
555
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
556
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
557
|
-
}) => Promise<viem.Hash>;
|
558
|
-
isRecoveryActive: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.IsRecoveryActiveParams>) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>>[1]) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
559
|
-
getRecoveryRequest: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.GetRecoveryRequestParams>) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>>[1]) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
560
|
-
verifySignature: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args: permissionless__types_types.Prettify<{
|
561
|
-
message: string;
|
562
|
-
signature: viem.Hex;
|
563
|
-
}>) => Promise<boolean>>[1]) => Promise<boolean>;
|
564
|
-
sendTransactionWithSessionKey: <TTransport extends viem.Transport>(args: permissionless__types_types.Prettify<(((viem_chains.Omit<{
|
565
|
-
data?: viem.Hex | undefined;
|
566
|
-
from: Address;
|
567
|
-
gas?: bigint | undefined;
|
568
|
-
nonce?: number | undefined;
|
569
|
-
to?: Address | null | undefined;
|
570
|
-
value?: bigint | undefined;
|
571
|
-
accessList?: undefined;
|
572
|
-
blobs?: undefined;
|
573
|
-
type?: "legacy" | undefined;
|
574
|
-
gasPrice?: bigint | undefined;
|
575
|
-
maxFeePerBlobGas?: undefined;
|
576
|
-
maxFeePerGas?: undefined;
|
577
|
-
maxPriorityFeePerGas?: undefined;
|
578
|
-
blobVersionedHashes?: undefined;
|
579
|
-
kzg?: undefined;
|
580
|
-
sidecars?: undefined;
|
581
|
-
}, "from"> | viem_chains.Omit<{
|
582
|
-
data?: viem.Hex | undefined;
|
583
|
-
from: Address;
|
584
|
-
gas?: bigint | undefined;
|
585
|
-
nonce?: number | undefined;
|
586
|
-
to?: Address | null | undefined;
|
587
|
-
value?: bigint | undefined;
|
588
|
-
accessList?: viem.AccessList | undefined;
|
589
|
-
blobs?: undefined;
|
590
|
-
type?: "eip2930" | undefined;
|
591
|
-
gasPrice?: bigint | undefined;
|
592
|
-
maxFeePerBlobGas?: undefined;
|
593
|
-
maxFeePerGas?: undefined;
|
594
|
-
maxPriorityFeePerGas?: undefined;
|
595
|
-
blobVersionedHashes?: undefined;
|
596
|
-
kzg?: undefined;
|
597
|
-
sidecars?: undefined;
|
598
|
-
}, "from"> | viem_chains.Omit<{
|
599
|
-
data?: viem.Hex | undefined;
|
600
|
-
from: Address;
|
601
|
-
gas?: bigint | undefined;
|
602
|
-
nonce?: number | undefined;
|
603
|
-
to?: Address | null | undefined;
|
604
|
-
value?: bigint | undefined;
|
605
|
-
gasPrice?: undefined;
|
606
|
-
maxFeePerBlobGas?: undefined;
|
607
|
-
maxFeePerGas?: bigint | undefined;
|
608
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
609
|
-
accessList?: viem.AccessList | undefined;
|
610
|
-
blobs?: undefined;
|
611
|
-
type?: "eip1559" | undefined;
|
612
|
-
blobVersionedHashes?: undefined;
|
613
|
-
kzg?: undefined;
|
614
|
-
sidecars?: undefined;
|
615
|
-
}, "from"> | viem_chains.Omit<{
|
616
|
-
value?: bigint | undefined;
|
617
|
-
data?: viem.Hex | undefined;
|
618
|
-
from: Address;
|
619
|
-
gas?: bigint | undefined;
|
620
|
-
nonce?: number | undefined;
|
621
|
-
to: `0x${string}` | null;
|
622
|
-
accessList?: viem.AccessList | undefined;
|
623
|
-
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
624
|
-
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
625
|
-
kzg?: viem.Kzg | undefined;
|
626
|
-
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
627
|
-
type?: "eip4844" | undefined;
|
628
|
-
gasPrice?: undefined;
|
629
|
-
maxFeePerGas?: bigint | undefined;
|
630
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
631
|
-
maxFeePerBlobGas: bigint;
|
632
|
-
}, "from">) & {
|
633
|
-
kzg?: viem.Kzg | undefined;
|
634
|
-
} & {
|
635
|
-
account?: `0x${string}` | viem.Account | undefined;
|
636
|
-
}) & {
|
637
|
-
chain?: viem.Chain | null | undefined;
|
638
|
-
}) & {
|
639
|
-
kzg?: viem.Kzg | undefined;
|
640
|
-
} & permissionless_actions_smartAccount.Middleware<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) => Promise<viem.Hash>;
|
641
|
-
sendTransactionsWithSessionKey: <TTransport extends viem.Transport>(args: {
|
642
|
-
transactions: {
|
643
|
-
to: Address;
|
644
|
-
value: bigint;
|
645
|
-
data: viem.Hex;
|
646
|
-
}[];
|
647
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
648
|
-
middleware?: {
|
649
|
-
gasPrice?: () => Promise<{
|
650
|
-
maxFeePerGas: bigint;
|
651
|
-
maxPriorityFeePerGas: bigint;
|
652
|
-
}>;
|
653
|
-
sponsorUserOperation?: ((args: {
|
654
|
-
userOperation: {
|
655
|
-
sender: Address;
|
656
|
-
nonce: bigint;
|
657
|
-
factory?: Address;
|
658
|
-
factoryData?: viem.Hex;
|
659
|
-
callData: viem.Hex;
|
660
|
-
callGasLimit: bigint;
|
661
|
-
verificationGasLimit: bigint;
|
662
|
-
preVerificationGas: bigint;
|
663
|
-
maxFeePerGas: bigint;
|
664
|
-
maxPriorityFeePerGas: bigint;
|
665
|
-
paymaster?: Address;
|
666
|
-
paymasterVerificationGasLimit?: bigint;
|
667
|
-
paymasterPostOpGasLimit?: bigint;
|
668
|
-
paymasterData?: viem.Hex;
|
669
|
-
signature: viem.Hex;
|
670
|
-
initCode?: never;
|
671
|
-
paymasterAndData?: never;
|
672
|
-
};
|
673
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
674
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
675
|
-
} | ((args: {
|
676
|
-
userOperation: {
|
677
|
-
sender: Address;
|
678
|
-
nonce: bigint;
|
679
|
-
factory?: Address;
|
680
|
-
factoryData?: viem.Hex;
|
681
|
-
callData: viem.Hex;
|
682
|
-
callGasLimit: bigint;
|
683
|
-
verificationGasLimit: bigint;
|
684
|
-
preVerificationGas: bigint;
|
685
|
-
maxFeePerGas: bigint;
|
686
|
-
maxPriorityFeePerGas: bigint;
|
687
|
-
paymaster?: Address;
|
688
|
-
paymasterVerificationGasLimit?: bigint;
|
689
|
-
paymasterPostOpGasLimit?: bigint;
|
690
|
-
paymasterData?: viem.Hex;
|
691
|
-
signature: viem.Hex;
|
692
|
-
initCode?: never;
|
693
|
-
paymasterAndData?: never;
|
694
|
-
};
|
695
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
696
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
697
|
-
maxFeePerGas?: bigint;
|
698
|
-
maxPriorityFeePerGas?: bigint;
|
699
|
-
nonce?: bigint;
|
700
|
-
}) => Promise<viem.Hash>;
|
701
|
-
addOwner: (args: {
|
702
|
-
ownerToAdd: Address;
|
703
|
-
}) => Promise<viem.Hash>;
|
704
|
-
removeOwner: (args: {
|
705
|
-
ownerToRemove: Address;
|
706
|
-
}) => Promise<viem.Hash>;
|
707
|
-
getOwners: () => Promise<readonly Address[]>;
|
708
|
-
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
709
|
-
addSessionKey: (args: _cometh_connect_sdk_4337.AddSessionKeyParams) => Promise<viem.Hash>;
|
710
|
-
revokeSessionKey: (args: {
|
711
|
-
sessionKey: Address;
|
712
|
-
}) => Promise<viem.Hash>;
|
713
|
-
getSessionFromAddress: (args: {
|
714
|
-
sessionKey: Address;
|
715
|
-
}) => Promise<_cometh_connect_sdk_4337.Session>;
|
716
|
-
addWhitelistDestination: (args: {
|
717
|
-
sessionKey: Address;
|
718
|
-
destinations: Address[];
|
719
|
-
}) => Promise<viem.Hash>;
|
720
|
-
removeWhitelistDestination: (args: {
|
721
|
-
sessionKey: Address;
|
722
|
-
destination: Address;
|
723
|
-
}) => Promise<viem.Hash>;
|
724
|
-
isAddressWhitelistDestination: (args: {
|
725
|
-
sessionKey: Address;
|
726
|
-
targetAddress: Address;
|
727
|
-
}) => Promise<boolean>;
|
728
|
-
extend: <const client extends {
|
729
|
-
[x: string]: unknown;
|
730
|
-
account?: undefined;
|
731
|
-
batch?: undefined;
|
732
|
-
cacheTime?: undefined;
|
733
|
-
ccipRead?: undefined;
|
734
|
-
chain?: undefined;
|
735
|
-
key?: undefined;
|
736
|
-
name?: undefined;
|
737
|
-
pollingInterval?: undefined;
|
738
|
-
request?: undefined;
|
739
|
-
transport?: undefined;
|
740
|
-
type?: undefined;
|
741
|
-
uid?: undefined;
|
742
|
-
} & viem.ExactPartial<Pick<viem.PublicActions<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, permissionless__types_types_bundler.BundlerRpcSchema<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">, permissionless.SmartAccountActions<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>> & {
|
743
|
-
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
744
|
-
signer: _cometh_connect_sdk_4337.Signer;
|
745
|
-
middleware?: {
|
746
|
-
gasPrice?: () => Promise<{
|
747
|
-
maxFeePerGas: bigint;
|
748
|
-
maxPriorityFeePerGas: bigint;
|
749
|
-
}>;
|
750
|
-
sponsorUserOperation?: ((args: {
|
751
|
-
userOperation: {
|
752
|
-
sender: Address;
|
753
|
-
nonce: bigint;
|
754
|
-
factory?: Address;
|
755
|
-
factoryData?: viem.Hex;
|
756
|
-
callData: viem.Hex;
|
757
|
-
callGasLimit: bigint;
|
758
|
-
verificationGasLimit: bigint;
|
759
|
-
preVerificationGas: bigint;
|
760
|
-
maxFeePerGas: bigint;
|
761
|
-
maxPriorityFeePerGas: bigint;
|
762
|
-
paymaster?: Address;
|
763
|
-
paymasterVerificationGasLimit?: bigint;
|
764
|
-
paymasterPostOpGasLimit?: bigint;
|
765
|
-
paymasterData?: viem.Hex;
|
766
|
-
signature: viem.Hex;
|
767
|
-
initCode?: never;
|
768
|
-
paymasterAndData?: never;
|
769
|
-
};
|
770
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
771
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
772
|
-
} | ((args: {
|
773
|
-
userOperation: {
|
774
|
-
sender: Address;
|
775
|
-
nonce: bigint;
|
776
|
-
factory?: Address;
|
777
|
-
factoryData?: viem.Hex;
|
778
|
-
callData: viem.Hex;
|
779
|
-
callGasLimit: bigint;
|
780
|
-
verificationGasLimit: bigint;
|
781
|
-
preVerificationGas: bigint;
|
782
|
-
maxFeePerGas: bigint;
|
783
|
-
maxPriorityFeePerGas: bigint;
|
784
|
-
paymaster?: Address;
|
785
|
-
paymasterVerificationGasLimit?: bigint;
|
786
|
-
paymasterPostOpGasLimit?: bigint;
|
787
|
-
paymasterData?: viem.Hex;
|
788
|
-
signature: viem.Hex;
|
789
|
-
initCode?: never;
|
790
|
-
paymasterAndData?: never;
|
791
|
-
};
|
792
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
793
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
794
|
-
}) => Promise<viem.Hash>;
|
795
|
-
setUpRecoveryModule: <TTransport extends viem.Transport>(args: {
|
796
|
-
passKeyName?: string;
|
797
|
-
webAuthnOptions?: _cometh_connect_sdk_4337.webAuthnOptions;
|
798
|
-
rpcUrl?: string;
|
799
|
-
middleware?: {
|
800
|
-
gasPrice?: () => Promise<{
|
801
|
-
maxFeePerGas: bigint;
|
802
|
-
maxPriorityFeePerGas: bigint;
|
803
|
-
}>;
|
804
|
-
sponsorUserOperation?: ((args: {
|
805
|
-
userOperation: {
|
806
|
-
sender: Address;
|
807
|
-
nonce: bigint;
|
808
|
-
factory?: Address;
|
809
|
-
factoryData?: viem.Hex;
|
810
|
-
callData: viem.Hex;
|
811
|
-
callGasLimit: bigint;
|
812
|
-
verificationGasLimit: bigint;
|
813
|
-
preVerificationGas: bigint;
|
814
|
-
maxFeePerGas: bigint;
|
815
|
-
maxPriorityFeePerGas: bigint;
|
816
|
-
paymaster?: Address;
|
817
|
-
paymasterVerificationGasLimit?: bigint;
|
818
|
-
paymasterPostOpGasLimit?: bigint;
|
819
|
-
paymasterData?: viem.Hex;
|
820
|
-
signature: viem.Hex;
|
821
|
-
initCode?: never;
|
822
|
-
paymasterAndData?: never;
|
823
|
-
};
|
824
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
825
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
826
|
-
} | ((args: {
|
827
|
-
userOperation: {
|
828
|
-
sender: Address;
|
829
|
-
nonce: bigint;
|
830
|
-
factory?: Address;
|
831
|
-
factoryData?: viem.Hex;
|
832
|
-
callData: viem.Hex;
|
833
|
-
callGasLimit: bigint;
|
834
|
-
verificationGasLimit: bigint;
|
835
|
-
preVerificationGas: bigint;
|
836
|
-
maxFeePerGas: bigint;
|
837
|
-
maxPriorityFeePerGas: bigint;
|
838
|
-
paymaster?: Address;
|
839
|
-
paymasterVerificationGasLimit?: bigint;
|
840
|
-
paymasterPostOpGasLimit?: bigint;
|
841
|
-
paymasterData?: viem.Hex;
|
842
|
-
signature: viem.Hex;
|
843
|
-
initCode?: never;
|
844
|
-
paymasterAndData?: never;
|
845
|
-
};
|
846
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
847
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
848
|
-
}) => Promise<viem.Hash>;
|
849
|
-
isRecoveryActive: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.IsRecoveryActiveParams>) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>>[1]) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
850
|
-
getRecoveryRequest: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.GetRecoveryRequestParams>) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>>[1]) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
851
|
-
verifySignature: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args: permissionless__types_types.Prettify<{
|
852
|
-
message: string;
|
853
|
-
signature: viem.Hex;
|
854
|
-
}>) => Promise<boolean>>[1]) => Promise<boolean>;
|
855
|
-
sendTransactionWithSessionKey: <TTransport extends viem.Transport>(args: permissionless__types_types.Prettify<(((viem_chains.Omit<{
|
856
|
-
data?: viem.Hex | undefined;
|
857
|
-
from: Address;
|
858
|
-
gas?: bigint | undefined;
|
859
|
-
nonce?: number | undefined;
|
860
|
-
to?: Address | null | undefined;
|
861
|
-
value?: bigint | undefined;
|
862
|
-
accessList?: undefined;
|
863
|
-
blobs?: undefined;
|
864
|
-
type?: "legacy" | undefined;
|
865
|
-
gasPrice?: bigint | undefined;
|
866
|
-
maxFeePerBlobGas?: undefined;
|
867
|
-
maxFeePerGas?: undefined;
|
868
|
-
maxPriorityFeePerGas?: undefined;
|
869
|
-
blobVersionedHashes?: undefined;
|
870
|
-
kzg?: undefined;
|
871
|
-
sidecars?: undefined;
|
872
|
-
}, "from"> | viem_chains.Omit<{
|
873
|
-
data?: viem.Hex | undefined;
|
874
|
-
from: Address;
|
875
|
-
gas?: bigint | undefined;
|
876
|
-
nonce?: number | undefined;
|
877
|
-
to?: Address | null | undefined;
|
878
|
-
value?: bigint | undefined;
|
879
|
-
accessList?: viem.AccessList | undefined;
|
880
|
-
blobs?: undefined;
|
881
|
-
type?: "eip2930" | undefined;
|
882
|
-
gasPrice?: bigint | undefined;
|
883
|
-
maxFeePerBlobGas?: undefined;
|
884
|
-
maxFeePerGas?: undefined;
|
885
|
-
maxPriorityFeePerGas?: undefined;
|
886
|
-
blobVersionedHashes?: undefined;
|
887
|
-
kzg?: undefined;
|
888
|
-
sidecars?: undefined;
|
889
|
-
}, "from"> | viem_chains.Omit<{
|
890
|
-
data?: viem.Hex | undefined;
|
891
|
-
from: Address;
|
892
|
-
gas?: bigint | undefined;
|
893
|
-
nonce?: number | undefined;
|
894
|
-
to?: Address | null | undefined;
|
895
|
-
value?: bigint | undefined;
|
896
|
-
gasPrice?: undefined;
|
897
|
-
maxFeePerBlobGas?: undefined;
|
898
|
-
maxFeePerGas?: bigint | undefined;
|
899
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
900
|
-
accessList?: viem.AccessList | undefined;
|
901
|
-
blobs?: undefined;
|
902
|
-
type?: "eip1559" | undefined;
|
903
|
-
blobVersionedHashes?: undefined;
|
904
|
-
kzg?: undefined;
|
905
|
-
sidecars?: undefined;
|
906
|
-
}, "from"> | viem_chains.Omit<{
|
907
|
-
value?: bigint | undefined;
|
908
|
-
data?: viem.Hex | undefined;
|
909
|
-
from: Address;
|
910
|
-
gas?: bigint | undefined;
|
911
|
-
nonce?: number | undefined;
|
912
|
-
to: `0x${string}` | null;
|
913
|
-
accessList?: viem.AccessList | undefined;
|
914
|
-
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
915
|
-
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
916
|
-
kzg?: viem.Kzg | undefined;
|
917
|
-
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
918
|
-
type?: "eip4844" | undefined;
|
919
|
-
gasPrice?: undefined;
|
920
|
-
maxFeePerGas?: bigint | undefined;
|
921
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
922
|
-
maxFeePerBlobGas: bigint;
|
923
|
-
}, "from">) & {
|
924
|
-
kzg?: viem.Kzg | undefined;
|
925
|
-
} & {
|
926
|
-
account?: `0x${string}` | viem.Account | undefined;
|
927
|
-
}) & {
|
928
|
-
chain?: viem.Chain | null | undefined;
|
929
|
-
}) & {
|
930
|
-
kzg?: viem.Kzg | undefined;
|
931
|
-
} & permissionless_actions_smartAccount.Middleware<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) => Promise<viem.Hash>;
|
932
|
-
sendTransactionsWithSessionKey: <TTransport extends viem.Transport>(args: {
|
933
|
-
transactions: {
|
934
|
-
to: Address;
|
935
|
-
value: bigint;
|
936
|
-
data: viem.Hex;
|
937
|
-
}[];
|
938
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
939
|
-
middleware?: {
|
940
|
-
gasPrice?: () => Promise<{
|
941
|
-
maxFeePerGas: bigint;
|
942
|
-
maxPriorityFeePerGas: bigint;
|
943
|
-
}>;
|
944
|
-
sponsorUserOperation?: ((args: {
|
945
|
-
userOperation: {
|
946
|
-
sender: Address;
|
947
|
-
nonce: bigint;
|
948
|
-
factory?: Address;
|
949
|
-
factoryData?: viem.Hex;
|
950
|
-
callData: viem.Hex;
|
951
|
-
callGasLimit: bigint;
|
952
|
-
verificationGasLimit: bigint;
|
953
|
-
preVerificationGas: bigint;
|
954
|
-
maxFeePerGas: bigint;
|
955
|
-
maxPriorityFeePerGas: bigint;
|
956
|
-
paymaster?: Address;
|
957
|
-
paymasterVerificationGasLimit?: bigint;
|
958
|
-
paymasterPostOpGasLimit?: bigint;
|
959
|
-
paymasterData?: viem.Hex;
|
960
|
-
signature: viem.Hex;
|
961
|
-
initCode?: never;
|
962
|
-
paymasterAndData?: never;
|
963
|
-
};
|
964
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
965
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
966
|
-
} | ((args: {
|
967
|
-
userOperation: {
|
968
|
-
sender: Address;
|
969
|
-
nonce: bigint;
|
970
|
-
factory?: Address;
|
971
|
-
factoryData?: viem.Hex;
|
972
|
-
callData: viem.Hex;
|
973
|
-
callGasLimit: bigint;
|
974
|
-
verificationGasLimit: bigint;
|
975
|
-
preVerificationGas: bigint;
|
976
|
-
maxFeePerGas: bigint;
|
977
|
-
maxPriorityFeePerGas: bigint;
|
978
|
-
paymaster?: Address;
|
979
|
-
paymasterVerificationGasLimit?: bigint;
|
980
|
-
paymasterPostOpGasLimit?: bigint;
|
981
|
-
paymasterData?: viem.Hex;
|
982
|
-
signature: viem.Hex;
|
983
|
-
initCode?: never;
|
984
|
-
paymasterAndData?: never;
|
985
|
-
};
|
986
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
987
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
988
|
-
maxFeePerGas?: bigint;
|
989
|
-
maxPriorityFeePerGas?: bigint;
|
990
|
-
nonce?: bigint;
|
991
|
-
}) => Promise<viem.Hash>;
|
992
|
-
} & {
|
993
|
-
addOwner: (args: {
|
994
|
-
ownerToAdd: Address;
|
995
|
-
}) => Promise<viem.Hash>;
|
996
|
-
removeOwner: (args: {
|
997
|
-
ownerToRemove: Address;
|
998
|
-
}) => Promise<viem.Hash>;
|
999
|
-
getOwners: () => Promise<readonly Address[]>;
|
1000
|
-
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1001
|
-
} & {
|
1002
|
-
addSessionKey: (args: _cometh_connect_sdk_4337.AddSessionKeyParams) => Promise<viem.Hash>;
|
1003
|
-
revokeSessionKey: (args: {
|
1004
|
-
sessionKey: Address;
|
1005
|
-
}) => Promise<viem.Hash>;
|
1006
|
-
getSessionFromAddress: (args: {
|
1007
|
-
sessionKey: Address;
|
1008
|
-
}) => Promise<_cometh_connect_sdk_4337.Session>;
|
1009
|
-
addWhitelistDestination: (args: {
|
1010
|
-
sessionKey: Address;
|
1011
|
-
destinations: Address[];
|
1012
|
-
}) => Promise<viem.Hash>;
|
1013
|
-
removeWhitelistDestination: (args: {
|
1014
|
-
sessionKey: Address;
|
1015
|
-
destination: Address;
|
1016
|
-
}) => Promise<viem.Hash>;
|
1017
|
-
isAddressWhitelistDestination: (args: {
|
1018
|
-
sessionKey: Address;
|
1019
|
-
targetAddress: Address;
|
1020
|
-
}) => Promise<boolean>;
|
1021
|
-
}>) => client) => viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>, permissionless__types_types_bundler.BundlerRpcSchema<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">, viem_chains.Prettify<client> & (permissionless.SmartAccountActions<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>> & {
|
1022
|
-
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1023
|
-
signer: _cometh_connect_sdk_4337.Signer;
|
1024
|
-
middleware?: {
|
1025
|
-
gasPrice?: () => Promise<{
|
1026
|
-
maxFeePerGas: bigint;
|
1027
|
-
maxPriorityFeePerGas: bigint;
|
1028
|
-
}>;
|
1029
|
-
sponsorUserOperation?: ((args: {
|
1030
|
-
userOperation: {
|
1031
|
-
sender: Address;
|
1032
|
-
nonce: bigint;
|
1033
|
-
factory?: Address;
|
1034
|
-
factoryData?: viem.Hex;
|
1035
|
-
callData: viem.Hex;
|
1036
|
-
callGasLimit: bigint;
|
1037
|
-
verificationGasLimit: bigint;
|
1038
|
-
preVerificationGas: bigint;
|
1039
|
-
maxFeePerGas: bigint;
|
1040
|
-
maxPriorityFeePerGas: bigint;
|
1041
|
-
paymaster?: Address;
|
1042
|
-
paymasterVerificationGasLimit?: bigint;
|
1043
|
-
paymasterPostOpGasLimit?: bigint;
|
1044
|
-
paymasterData?: viem.Hex;
|
1045
|
-
signature: viem.Hex;
|
1046
|
-
initCode?: never;
|
1047
|
-
paymasterAndData?: never;
|
1048
|
-
};
|
1049
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1050
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1051
|
-
} | ((args: {
|
1052
|
-
userOperation: {
|
1053
|
-
sender: Address;
|
1054
|
-
nonce: bigint;
|
1055
|
-
factory?: Address;
|
1056
|
-
factoryData?: viem.Hex;
|
1057
|
-
callData: viem.Hex;
|
1058
|
-
callGasLimit: bigint;
|
1059
|
-
verificationGasLimit: bigint;
|
1060
|
-
preVerificationGas: bigint;
|
1061
|
-
maxFeePerGas: bigint;
|
1062
|
-
maxPriorityFeePerGas: bigint;
|
1063
|
-
paymaster?: Address;
|
1064
|
-
paymasterVerificationGasLimit?: bigint;
|
1065
|
-
paymasterPostOpGasLimit?: bigint;
|
1066
|
-
paymasterData?: viem.Hex;
|
1067
|
-
signature: viem.Hex;
|
1068
|
-
initCode?: never;
|
1069
|
-
paymasterAndData?: never;
|
1070
|
-
};
|
1071
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1072
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1073
|
-
}) => Promise<viem.Hash>;
|
1074
|
-
setUpRecoveryModule: <TTransport extends viem.Transport>(args: {
|
1075
|
-
passKeyName?: string;
|
1076
|
-
webAuthnOptions?: _cometh_connect_sdk_4337.webAuthnOptions;
|
1077
|
-
rpcUrl?: string;
|
1078
|
-
middleware?: {
|
1079
|
-
gasPrice?: () => Promise<{
|
1080
|
-
maxFeePerGas: bigint;
|
1081
|
-
maxPriorityFeePerGas: bigint;
|
1082
|
-
}>;
|
1083
|
-
sponsorUserOperation?: ((args: {
|
1084
|
-
userOperation: {
|
1085
|
-
sender: Address;
|
1086
|
-
nonce: bigint;
|
1087
|
-
factory?: Address;
|
1088
|
-
factoryData?: viem.Hex;
|
1089
|
-
callData: viem.Hex;
|
1090
|
-
callGasLimit: bigint;
|
1091
|
-
verificationGasLimit: bigint;
|
1092
|
-
preVerificationGas: bigint;
|
1093
|
-
maxFeePerGas: bigint;
|
1094
|
-
maxPriorityFeePerGas: bigint;
|
1095
|
-
paymaster?: Address;
|
1096
|
-
paymasterVerificationGasLimit?: bigint;
|
1097
|
-
paymasterPostOpGasLimit?: bigint;
|
1098
|
-
paymasterData?: viem.Hex;
|
1099
|
-
signature: viem.Hex;
|
1100
|
-
initCode?: never;
|
1101
|
-
paymasterAndData?: never;
|
1102
|
-
};
|
1103
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1104
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1105
|
-
} | ((args: {
|
1106
|
-
userOperation: {
|
1107
|
-
sender: Address;
|
1108
|
-
nonce: bigint;
|
1109
|
-
factory?: Address;
|
1110
|
-
factoryData?: viem.Hex;
|
1111
|
-
callData: viem.Hex;
|
1112
|
-
callGasLimit: bigint;
|
1113
|
-
verificationGasLimit: bigint;
|
1114
|
-
preVerificationGas: bigint;
|
1115
|
-
maxFeePerGas: bigint;
|
1116
|
-
maxPriorityFeePerGas: bigint;
|
1117
|
-
paymaster?: Address;
|
1118
|
-
paymasterVerificationGasLimit?: bigint;
|
1119
|
-
paymasterPostOpGasLimit?: bigint;
|
1120
|
-
paymasterData?: viem.Hex;
|
1121
|
-
signature: viem.Hex;
|
1122
|
-
initCode?: never;
|
1123
|
-
paymasterAndData?: never;
|
1124
|
-
};
|
1125
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1126
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1127
|
-
}) => Promise<viem.Hash>;
|
1128
|
-
isRecoveryActive: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.IsRecoveryActiveParams>) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>>[1]) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1129
|
-
getRecoveryRequest: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.GetRecoveryRequestParams>) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>>[1]) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1130
|
-
verifySignature: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args: permissionless__types_types.Prettify<{
|
1131
|
-
message: string;
|
1132
|
-
signature: viem.Hex;
|
1133
|
-
}>) => Promise<boolean>>[1]) => Promise<boolean>;
|
1134
|
-
sendTransactionWithSessionKey: <TTransport extends viem.Transport>(args: permissionless__types_types.Prettify<(((viem_chains.Omit<{
|
1135
|
-
data?: viem.Hex | undefined;
|
1136
|
-
from: Address;
|
1137
|
-
gas?: bigint | undefined;
|
1138
|
-
nonce?: number | undefined;
|
1139
|
-
to?: Address | null | undefined;
|
1140
|
-
value?: bigint | undefined;
|
1141
|
-
accessList?: undefined;
|
1142
|
-
blobs?: undefined;
|
1143
|
-
type?: "legacy" | undefined;
|
1144
|
-
gasPrice?: bigint | undefined;
|
1145
|
-
maxFeePerBlobGas?: undefined;
|
1146
|
-
maxFeePerGas?: undefined;
|
1147
|
-
maxPriorityFeePerGas?: undefined;
|
1148
|
-
blobVersionedHashes?: undefined;
|
1149
|
-
kzg?: undefined;
|
1150
|
-
sidecars?: undefined;
|
1151
|
-
}, "from"> | viem_chains.Omit<{
|
1152
|
-
data?: viem.Hex | undefined;
|
1153
|
-
from: Address;
|
1154
|
-
gas?: bigint | undefined;
|
1155
|
-
nonce?: number | undefined;
|
1156
|
-
to?: Address | null | undefined;
|
1157
|
-
value?: bigint | undefined;
|
1158
|
-
accessList?: viem.AccessList | undefined;
|
1159
|
-
blobs?: undefined;
|
1160
|
-
type?: "eip2930" | undefined;
|
1161
|
-
gasPrice?: bigint | undefined;
|
1162
|
-
maxFeePerBlobGas?: undefined;
|
1163
|
-
maxFeePerGas?: undefined;
|
1164
|
-
maxPriorityFeePerGas?: undefined;
|
1165
|
-
blobVersionedHashes?: undefined;
|
1166
|
-
kzg?: undefined;
|
1167
|
-
sidecars?: undefined;
|
1168
|
-
}, "from"> | viem_chains.Omit<{
|
1169
|
-
data?: viem.Hex | undefined;
|
1170
|
-
from: Address;
|
1171
|
-
gas?: bigint | undefined;
|
1172
|
-
nonce?: number | undefined;
|
1173
|
-
to?: Address | null | undefined;
|
1174
|
-
value?: bigint | undefined;
|
1175
|
-
gasPrice?: undefined;
|
1176
|
-
maxFeePerBlobGas?: undefined;
|
1177
|
-
maxFeePerGas?: bigint | undefined;
|
1178
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
1179
|
-
accessList?: viem.AccessList | undefined;
|
1180
|
-
blobs?: undefined;
|
1181
|
-
type?: "eip1559" | undefined;
|
1182
|
-
blobVersionedHashes?: undefined;
|
1183
|
-
kzg?: undefined;
|
1184
|
-
sidecars?: undefined;
|
1185
|
-
}, "from"> | viem_chains.Omit<{
|
1186
|
-
value?: bigint | undefined;
|
1187
|
-
data?: viem.Hex | undefined;
|
1188
|
-
from: Address;
|
1189
|
-
gas?: bigint | undefined;
|
1190
|
-
nonce?: number | undefined;
|
1191
|
-
to: `0x${string}` | null;
|
1192
|
-
accessList?: viem.AccessList | undefined;
|
1193
|
-
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
1194
|
-
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
1195
|
-
kzg?: viem.Kzg | undefined;
|
1196
|
-
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
1197
|
-
type?: "eip4844" | undefined;
|
1198
|
-
gasPrice?: undefined;
|
1199
|
-
maxFeePerGas?: bigint | undefined;
|
1200
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
1201
|
-
maxFeePerBlobGas: bigint;
|
1202
|
-
}, "from">) & {
|
1203
|
-
kzg?: viem.Kzg | undefined;
|
1204
|
-
} & {
|
1205
|
-
account?: `0x${string}` | viem.Account | undefined;
|
1206
|
-
}) & {
|
1207
|
-
chain?: viem.Chain | null | undefined;
|
1208
|
-
}) & {
|
1209
|
-
kzg?: viem.Kzg | undefined;
|
1210
|
-
} & permissionless_actions_smartAccount.Middleware<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) => Promise<viem.Hash>;
|
1211
|
-
sendTransactionsWithSessionKey: <TTransport extends viem.Transport>(args: {
|
1212
|
-
transactions: {
|
1213
|
-
to: Address;
|
1214
|
-
value: bigint;
|
1215
|
-
data: viem.Hex;
|
1216
|
-
}[];
|
1217
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
1218
|
-
middleware?: {
|
1219
|
-
gasPrice?: () => Promise<{
|
1220
|
-
maxFeePerGas: bigint;
|
1221
|
-
maxPriorityFeePerGas: bigint;
|
1222
|
-
}>;
|
1223
|
-
sponsorUserOperation?: ((args: {
|
1224
|
-
userOperation: {
|
1225
|
-
sender: Address;
|
1226
|
-
nonce: bigint;
|
1227
|
-
factory?: Address;
|
1228
|
-
factoryData?: viem.Hex;
|
1229
|
-
callData: viem.Hex;
|
1230
|
-
callGasLimit: bigint;
|
1231
|
-
verificationGasLimit: bigint;
|
1232
|
-
preVerificationGas: bigint;
|
1233
|
-
maxFeePerGas: bigint;
|
1234
|
-
maxPriorityFeePerGas: bigint;
|
1235
|
-
paymaster?: Address;
|
1236
|
-
paymasterVerificationGasLimit?: bigint;
|
1237
|
-
paymasterPostOpGasLimit?: bigint;
|
1238
|
-
paymasterData?: viem.Hex;
|
1239
|
-
signature: viem.Hex;
|
1240
|
-
initCode?: never;
|
1241
|
-
paymasterAndData?: never;
|
1242
|
-
};
|
1243
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1244
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1245
|
-
} | ((args: {
|
1246
|
-
userOperation: {
|
1247
|
-
sender: Address;
|
1248
|
-
nonce: bigint;
|
1249
|
-
factory?: Address;
|
1250
|
-
factoryData?: viem.Hex;
|
1251
|
-
callData: viem.Hex;
|
1252
|
-
callGasLimit: bigint;
|
1253
|
-
verificationGasLimit: bigint;
|
1254
|
-
preVerificationGas: bigint;
|
1255
|
-
maxFeePerGas: bigint;
|
1256
|
-
maxPriorityFeePerGas: bigint;
|
1257
|
-
paymaster?: Address;
|
1258
|
-
paymasterVerificationGasLimit?: bigint;
|
1259
|
-
paymasterPostOpGasLimit?: bigint;
|
1260
|
-
paymasterData?: viem.Hex;
|
1261
|
-
signature: viem.Hex;
|
1262
|
-
initCode?: never;
|
1263
|
-
paymasterAndData?: never;
|
1264
|
-
};
|
1265
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1266
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1267
|
-
maxFeePerGas?: bigint;
|
1268
|
-
maxPriorityFeePerGas?: bigint;
|
1269
|
-
nonce?: bigint;
|
1270
|
-
}) => Promise<viem.Hash>;
|
1271
|
-
} & {
|
1272
|
-
addOwner: (args: {
|
1273
|
-
ownerToAdd: Address;
|
1274
|
-
}) => Promise<viem.Hash>;
|
1275
|
-
removeOwner: (args: {
|
1276
|
-
ownerToRemove: Address;
|
1277
|
-
}) => Promise<viem.Hash>;
|
1278
|
-
getOwners: () => Promise<readonly Address[]>;
|
1279
|
-
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1280
|
-
} & {
|
1281
|
-
addSessionKey: (args: _cometh_connect_sdk_4337.AddSessionKeyParams) => Promise<viem.Hash>;
|
1282
|
-
revokeSessionKey: (args: {
|
1283
|
-
sessionKey: Address;
|
1284
|
-
}) => Promise<viem.Hash>;
|
1285
|
-
getSessionFromAddress: (args: {
|
1286
|
-
sessionKey: Address;
|
1287
|
-
}) => Promise<_cometh_connect_sdk_4337.Session>;
|
1288
|
-
addWhitelistDestination: (args: {
|
1289
|
-
sessionKey: Address;
|
1290
|
-
destinations: Address[];
|
1291
|
-
}) => Promise<viem.Hash>;
|
1292
|
-
removeWhitelistDestination: (args: {
|
1293
|
-
sessionKey: Address;
|
1294
|
-
destination: Address;
|
1295
|
-
}) => Promise<viem.Hash>;
|
1296
|
-
isAddressWhitelistDestination: (args: {
|
1297
|
-
sessionKey: Address;
|
1298
|
-
targetAddress: Address;
|
1299
|
-
}) => Promise<boolean>;
|
1300
|
-
} extends {
|
1301
|
-
[x: string]: unknown;
|
1302
|
-
account?: undefined;
|
1303
|
-
batch?: undefined;
|
1304
|
-
cacheTime?: undefined;
|
1305
|
-
ccipRead?: undefined;
|
1306
|
-
chain?: undefined;
|
1307
|
-
key?: undefined;
|
1308
|
-
name?: undefined;
|
1309
|
-
pollingInterval?: undefined;
|
1310
|
-
request?: undefined;
|
1311
|
-
transport?: undefined;
|
1312
|
-
type?: undefined;
|
1313
|
-
uid?: undefined;
|
1314
|
-
} ? permissionless.SmartAccountActions<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>> & {
|
1315
|
-
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1316
|
-
signer: _cometh_connect_sdk_4337.Signer;
|
1317
|
-
middleware?: {
|
1318
|
-
gasPrice?: () => Promise<{
|
1319
|
-
maxFeePerGas: bigint;
|
1320
|
-
maxPriorityFeePerGas: bigint;
|
1321
|
-
}>;
|
1322
|
-
sponsorUserOperation?: ((args: {
|
1323
|
-
userOperation: {
|
1324
|
-
sender: Address;
|
1325
|
-
nonce: bigint;
|
1326
|
-
factory?: Address;
|
1327
|
-
factoryData?: viem.Hex;
|
1328
|
-
callData: viem.Hex;
|
1329
|
-
callGasLimit: bigint;
|
1330
|
-
verificationGasLimit: bigint;
|
1331
|
-
preVerificationGas: bigint;
|
1332
|
-
maxFeePerGas: bigint;
|
1333
|
-
maxPriorityFeePerGas: bigint;
|
1334
|
-
paymaster?: Address;
|
1335
|
-
paymasterVerificationGasLimit?: bigint;
|
1336
|
-
paymasterPostOpGasLimit?: bigint;
|
1337
|
-
paymasterData?: viem.Hex;
|
1338
|
-
signature: viem.Hex;
|
1339
|
-
initCode?: never;
|
1340
|
-
paymasterAndData?: never;
|
1341
|
-
};
|
1342
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1343
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1344
|
-
} | ((args: {
|
1345
|
-
userOperation: {
|
1346
|
-
sender: Address;
|
1347
|
-
nonce: bigint;
|
1348
|
-
factory?: Address;
|
1349
|
-
factoryData?: viem.Hex;
|
1350
|
-
callData: viem.Hex;
|
1351
|
-
callGasLimit: bigint;
|
1352
|
-
verificationGasLimit: bigint;
|
1353
|
-
preVerificationGas: bigint;
|
1354
|
-
maxFeePerGas: bigint;
|
1355
|
-
maxPriorityFeePerGas: bigint;
|
1356
|
-
paymaster?: Address;
|
1357
|
-
paymasterVerificationGasLimit?: bigint;
|
1358
|
-
paymasterPostOpGasLimit?: bigint;
|
1359
|
-
paymasterData?: viem.Hex;
|
1360
|
-
signature: viem.Hex;
|
1361
|
-
initCode?: never;
|
1362
|
-
paymasterAndData?: never;
|
1363
|
-
};
|
1364
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1365
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1366
|
-
}) => Promise<viem.Hash>;
|
1367
|
-
setUpRecoveryModule: <TTransport extends viem.Transport>(args: {
|
1368
|
-
passKeyName?: string;
|
1369
|
-
webAuthnOptions?: _cometh_connect_sdk_4337.webAuthnOptions;
|
1370
|
-
rpcUrl?: string;
|
1371
|
-
middleware?: {
|
1372
|
-
gasPrice?: () => Promise<{
|
1373
|
-
maxFeePerGas: bigint;
|
1374
|
-
maxPriorityFeePerGas: bigint;
|
1375
|
-
}>;
|
1376
|
-
sponsorUserOperation?: ((args: {
|
1377
|
-
userOperation: {
|
1378
|
-
sender: Address;
|
1379
|
-
nonce: bigint;
|
1380
|
-
factory?: Address;
|
1381
|
-
factoryData?: viem.Hex;
|
1382
|
-
callData: viem.Hex;
|
1383
|
-
callGasLimit: bigint;
|
1384
|
-
verificationGasLimit: bigint;
|
1385
|
-
preVerificationGas: bigint;
|
1386
|
-
maxFeePerGas: bigint;
|
1387
|
-
maxPriorityFeePerGas: bigint;
|
1388
|
-
paymaster?: Address;
|
1389
|
-
paymasterVerificationGasLimit?: bigint;
|
1390
|
-
paymasterPostOpGasLimit?: bigint;
|
1391
|
-
paymasterData?: viem.Hex;
|
1392
|
-
signature: viem.Hex;
|
1393
|
-
initCode?: never;
|
1394
|
-
paymasterAndData?: never;
|
1395
|
-
};
|
1396
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1397
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1398
|
-
} | ((args: {
|
1399
|
-
userOperation: {
|
1400
|
-
sender: Address;
|
1401
|
-
nonce: bigint;
|
1402
|
-
factory?: Address;
|
1403
|
-
factoryData?: viem.Hex;
|
1404
|
-
callData: viem.Hex;
|
1405
|
-
callGasLimit: bigint;
|
1406
|
-
verificationGasLimit: bigint;
|
1407
|
-
preVerificationGas: bigint;
|
1408
|
-
maxFeePerGas: bigint;
|
1409
|
-
maxPriorityFeePerGas: bigint;
|
1410
|
-
paymaster?: Address;
|
1411
|
-
paymasterVerificationGasLimit?: bigint;
|
1412
|
-
paymasterPostOpGasLimit?: bigint;
|
1413
|
-
paymasterData?: viem.Hex;
|
1414
|
-
signature: viem.Hex;
|
1415
|
-
initCode?: never;
|
1416
|
-
paymasterAndData?: never;
|
1417
|
-
};
|
1418
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1419
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1420
|
-
}) => Promise<viem.Hash>;
|
1421
|
-
isRecoveryActive: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.IsRecoveryActiveParams>) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>>[1]) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1422
|
-
getRecoveryRequest: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args?: permissionless__types_types.Prettify<_cometh_connect_sdk_4337.GetRecoveryRequestParams>) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>>[1]) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1423
|
-
verifySignature: <TTransport extends viem.Transport>(args: Parameters<(client: viem.Client<TTransport, viem.Chain, _cometh_connect_sdk_4337.SafeSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", viem.Transport, viem.Chain>>, args: permissionless__types_types.Prettify<{
|
1424
|
-
message: string;
|
1425
|
-
signature: viem.Hex;
|
1426
|
-
}>) => Promise<boolean>>[1]) => Promise<boolean>;
|
1427
|
-
sendTransactionWithSessionKey: <TTransport extends viem.Transport>(args: permissionless__types_types.Prettify<(((viem_chains.Omit<{
|
1428
|
-
data?: viem.Hex | undefined;
|
1429
|
-
from: Address;
|
1430
|
-
gas?: bigint | undefined;
|
1431
|
-
nonce?: number | undefined;
|
1432
|
-
to?: Address | null | undefined;
|
1433
|
-
value?: bigint | undefined;
|
1434
|
-
accessList?: undefined;
|
1435
|
-
blobs?: undefined;
|
1436
|
-
type?: "legacy" | undefined;
|
1437
|
-
gasPrice?: bigint | undefined;
|
1438
|
-
maxFeePerBlobGas?: undefined;
|
1439
|
-
maxFeePerGas?: undefined;
|
1440
|
-
maxPriorityFeePerGas?: undefined;
|
1441
|
-
blobVersionedHashes?: undefined;
|
1442
|
-
kzg?: undefined;
|
1443
|
-
sidecars?: undefined;
|
1444
|
-
}, "from"> | viem_chains.Omit<{
|
1445
|
-
data?: viem.Hex | undefined;
|
1446
|
-
from: Address;
|
1447
|
-
gas?: bigint | undefined;
|
1448
|
-
nonce?: number | undefined;
|
1449
|
-
to?: Address | null | undefined;
|
1450
|
-
value?: bigint | undefined;
|
1451
|
-
accessList?: viem.AccessList | undefined;
|
1452
|
-
blobs?: undefined;
|
1453
|
-
type?: "eip2930" | undefined;
|
1454
|
-
gasPrice?: bigint | undefined;
|
1455
|
-
maxFeePerBlobGas?: undefined;
|
1456
|
-
maxFeePerGas?: undefined;
|
1457
|
-
maxPriorityFeePerGas?: undefined;
|
1458
|
-
blobVersionedHashes?: undefined;
|
1459
|
-
kzg?: undefined;
|
1460
|
-
sidecars?: undefined;
|
1461
|
-
}, "from"> | viem_chains.Omit<{
|
1462
|
-
data?: viem.Hex | undefined;
|
1463
|
-
from: Address;
|
1464
|
-
gas?: bigint | undefined;
|
1465
|
-
nonce?: number | undefined;
|
1466
|
-
to?: Address | null | undefined;
|
1467
|
-
value?: bigint | undefined;
|
1468
|
-
gasPrice?: undefined;
|
1469
|
-
maxFeePerBlobGas?: undefined;
|
1470
|
-
maxFeePerGas?: bigint | undefined;
|
1471
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
1472
|
-
accessList?: viem.AccessList | undefined;
|
1473
|
-
blobs?: undefined;
|
1474
|
-
type?: "eip1559" | undefined;
|
1475
|
-
blobVersionedHashes?: undefined;
|
1476
|
-
kzg?: undefined;
|
1477
|
-
sidecars?: undefined;
|
1478
|
-
}, "from"> | viem_chains.Omit<{
|
1479
|
-
value?: bigint | undefined;
|
1480
|
-
data?: viem.Hex | undefined;
|
1481
|
-
from: Address;
|
1482
|
-
gas?: bigint | undefined;
|
1483
|
-
nonce?: number | undefined;
|
1484
|
-
to: `0x${string}` | null;
|
1485
|
-
accessList?: viem.AccessList | undefined;
|
1486
|
-
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
1487
|
-
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
1488
|
-
kzg?: viem.Kzg | undefined;
|
1489
|
-
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
1490
|
-
type?: "eip4844" | undefined;
|
1491
|
-
gasPrice?: undefined;
|
1492
|
-
maxFeePerGas?: bigint | undefined;
|
1493
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
1494
|
-
maxFeePerBlobGas: bigint;
|
1495
|
-
}, "from">) & {
|
1496
|
-
kzg?: viem.Kzg | undefined;
|
1497
|
-
} & {
|
1498
|
-
account?: `0x${string}` | viem.Account | undefined;
|
1499
|
-
}) & {
|
1500
|
-
chain?: viem.Chain | null | undefined;
|
1501
|
-
}) & {
|
1502
|
-
kzg?: viem.Kzg | undefined;
|
1503
|
-
} & permissionless_actions_smartAccount.Middleware<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) => Promise<viem.Hash>;
|
1504
|
-
sendTransactionsWithSessionKey: <TTransport extends viem.Transport>(args: {
|
1505
|
-
transactions: {
|
1506
|
-
to: Address;
|
1507
|
-
value: bigint;
|
1508
|
-
data: viem.Hex;
|
1509
|
-
}[];
|
1510
|
-
account?: permissionless__types_accounts.SmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032"> | undefined;
|
1511
|
-
middleware?: {
|
1512
|
-
gasPrice?: () => Promise<{
|
1513
|
-
maxFeePerGas: bigint;
|
1514
|
-
maxPriorityFeePerGas: bigint;
|
1515
|
-
}>;
|
1516
|
-
sponsorUserOperation?: ((args: {
|
1517
|
-
userOperation: {
|
1518
|
-
sender: Address;
|
1519
|
-
nonce: bigint;
|
1520
|
-
factory?: Address;
|
1521
|
-
factoryData?: viem.Hex;
|
1522
|
-
callData: viem.Hex;
|
1523
|
-
callGasLimit: bigint;
|
1524
|
-
verificationGasLimit: bigint;
|
1525
|
-
preVerificationGas: bigint;
|
1526
|
-
maxFeePerGas: bigint;
|
1527
|
-
maxPriorityFeePerGas: bigint;
|
1528
|
-
paymaster?: Address;
|
1529
|
-
paymasterVerificationGasLimit?: bigint;
|
1530
|
-
paymasterPostOpGasLimit?: bigint;
|
1531
|
-
paymasterData?: viem.Hex;
|
1532
|
-
signature: viem.Hex;
|
1533
|
-
initCode?: never;
|
1534
|
-
paymasterAndData?: never;
|
1535
|
-
};
|
1536
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1537
|
-
}) => Promise<permissionless_actions_smartAccount.SponsorUserOperationReturnType<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>) | undefined;
|
1538
|
-
} | ((args: {
|
1539
|
-
userOperation: {
|
1540
|
-
sender: Address;
|
1541
|
-
nonce: bigint;
|
1542
|
-
factory?: Address;
|
1543
|
-
factoryData?: viem.Hex;
|
1544
|
-
callData: viem.Hex;
|
1545
|
-
callGasLimit: bigint;
|
1546
|
-
verificationGasLimit: bigint;
|
1547
|
-
preVerificationGas: bigint;
|
1548
|
-
maxFeePerGas: bigint;
|
1549
|
-
maxPriorityFeePerGas: bigint;
|
1550
|
-
paymaster?: Address;
|
1551
|
-
paymasterVerificationGasLimit?: bigint;
|
1552
|
-
paymasterPostOpGasLimit?: bigint;
|
1553
|
-
paymasterData?: viem.Hex;
|
1554
|
-
signature: viem.Hex;
|
1555
|
-
initCode?: never;
|
1556
|
-
paymasterAndData?: never;
|
1557
|
-
};
|
1558
|
-
entryPoint: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
1559
|
-
}) => Promise<permissionless.UserOperation<permissionless_types_entrypoint.GetEntryPointVersion<"0x0000000071727De22E5E9d8BAf0edAc6f37da032">>>) | undefined;
|
1560
|
-
maxFeePerGas?: bigint;
|
1561
|
-
maxPriorityFeePerGas?: bigint;
|
1562
|
-
nonce?: bigint;
|
1563
|
-
}) => Promise<viem.Hash>;
|
1564
|
-
} & {
|
1565
|
-
addOwner: (args: {
|
1566
|
-
ownerToAdd: Address;
|
1567
|
-
}) => Promise<viem.Hash>;
|
1568
|
-
removeOwner: (args: {
|
1569
|
-
ownerToRemove: Address;
|
1570
|
-
}) => Promise<viem.Hash>;
|
1571
|
-
getOwners: () => Promise<readonly Address[]>;
|
1572
|
-
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1573
|
-
} & {
|
1574
|
-
addSessionKey: (args: _cometh_connect_sdk_4337.AddSessionKeyParams) => Promise<viem.Hash>;
|
1575
|
-
revokeSessionKey: (args: {
|
1576
|
-
sessionKey: Address;
|
1577
|
-
}) => Promise<viem.Hash>;
|
1578
|
-
getSessionFromAddress: (args: {
|
1579
|
-
sessionKey: Address;
|
1580
|
-
}) => Promise<_cometh_connect_sdk_4337.Session>;
|
1581
|
-
addWhitelistDestination: (args: {
|
1582
|
-
sessionKey: Address;
|
1583
|
-
destinations: Address[];
|
1584
|
-
}) => Promise<viem.Hash>;
|
1585
|
-
removeWhitelistDestination: (args: {
|
1586
|
-
sessionKey: Address;
|
1587
|
-
destination: Address;
|
1588
|
-
}) => Promise<viem.Hash>;
|
1589
|
-
isAddressWhitelistDestination: (args: {
|
1590
|
-
sessionKey: Address;
|
1591
|
-
targetAddress: Address;
|
1592
|
-
}) => Promise<boolean>;
|
1593
|
-
} : unknown)>;
|
1594
|
-
} | null;
|
1595
|
-
isConnected: boolean;
|
1596
|
-
isDisconnected: boolean;
|
1597
|
-
status: AccountStatus;
|
11
|
+
type ConnectParameters = {
|
12
|
+
address?: Address;
|
13
|
+
passKeyName?: string;
|
14
|
+
};
|
15
|
+
declare const useConnect: () => {
|
16
|
+
connect: (params?: ConnectParameters) => void;
|
17
|
+
connectAsync: (params?: ConnectParameters) => Promise<void>;
|
18
|
+
isPending: boolean;
|
19
|
+
error: Error | null;
|
1598
20
|
};
|
1599
21
|
|
1600
22
|
interface UseBaseQueryOptions<TQueryFnData = unknown, TError = y, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends z = z> extends a3<TQueryFnData, TError, TData, TQueryData, TQueryKey> {
|
@@ -1619,9 +41,30 @@ type Override<TTargetA, TTargetB> = {
|
|
1619
41
|
|
1620
42
|
declare function useMutation<TData = unknown, TError = y, TVariables = void, TContext = unknown>(options: UseMutationOptions<TData, TError, TVariables, TContext>, queryClient?: b): UseMutationResult<TData, TError, TVariables, TContext>;
|
1621
43
|
|
44
|
+
type ConnectConfig = createSafeSmartAccountParameters<ENTRYPOINT_ADDRESS_V07_TYPE> & {
|
45
|
+
bundlerUrl: string;
|
46
|
+
paymasterUrl?: string;
|
47
|
+
};
|
48
|
+
type ContextComethSmartAccountClient = ComethSmartAccountClient<SafeSmartAccount<ENTRYPOINT_ADDRESS_V07_TYPE, Transport, Chain>, Transport, Chain, ENTRYPOINT_ADDRESS_V07_TYPE>;
|
49
|
+
declare const ConnectProvider: <TConfig extends ConnectConfig, TQueryClient extends b | undefined>({ children, config, queryClient, }: {
|
50
|
+
children: ReactNode;
|
51
|
+
config: TConfig;
|
52
|
+
queryClient: TQueryClient;
|
53
|
+
}) => React.JSX.Element;
|
54
|
+
|
55
|
+
type AccountStatus = "connected" | "disconnected";
|
56
|
+
interface UseAccountResult {
|
57
|
+
address: Address | undefined;
|
58
|
+
smartAccountClient: ContextComethSmartAccountClient | null;
|
59
|
+
isConnected: boolean;
|
60
|
+
isDisconnected: boolean;
|
61
|
+
status: AccountStatus;
|
62
|
+
}
|
63
|
+
declare const useAccount: () => UseAccountResult;
|
64
|
+
|
1622
65
|
type MutationOptionsWithoutMutationFn$1 = Omit<UseMutationOptions<any, any, any, any>, "mutationFn" | "mutationKey">;
|
1623
66
|
type Transaction = {
|
1624
|
-
to: Address
|
67
|
+
to: Address;
|
1625
68
|
value: bigint;
|
1626
69
|
data: Hex;
|
1627
70
|
};
|
@@ -1817,7 +260,7 @@ type UseWriteContractReturn = QueryResultType & {
|
|
1817
260
|
writeContract: WriteContractMutate;
|
1818
261
|
writeContractAsync: WriteContractMutateAsync;
|
1819
262
|
};
|
1820
|
-
type WriteContractParameters<abi extends Abi
|
263
|
+
type WriteContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, "nonpayable" | "payable"> = ContractFunctionName<abi, "nonpayable" | "payable">, args extends ContractFunctionArgs<abi, "nonpayable" | "payable", functionName> = ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = ContractFunctionParameters<abi, "nonpayable" | "payable", functionName, args> & GetChainParameter<chain, chainOverride> & Prettify<GetAccountParameter<account> & GetValue<abi, functionName, FormattedTransactionRequest<derivedChain>["value"]> & {
|
1821
264
|
/** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */
|
1822
265
|
dataSuffix?: Hex;
|
1823
266
|
}> & UnionEvaluate<UnionOmit<FormattedTransactionRequest<derivedChain>, "data" | "from" | "to" | "value">>;
|
@@ -1937,23 +380,12 @@ type UseWriteContractWithSessionKeyReturn = QueryResultType & {
|
|
1937
380
|
writeContractWithSessionKey: WriteContractWithSessionKeyMutate;
|
1938
381
|
writeContractWithSessionKeyAsync: WriteContractWithSessionKeyMutateAsync;
|
1939
382
|
};
|
1940
|
-
type WriteContractWithSessionKeyParameters<abi extends Abi
|
383
|
+
type WriteContractWithSessionKeyParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, "nonpayable" | "payable"> = ContractFunctionName<abi, "nonpayable" | "payable">, args extends ContractFunctionArgs<abi, "nonpayable" | "payable", functionName> = ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = ContractFunctionParameters<abi, "nonpayable" | "payable", functionName, args> & GetChainParameter<chain, chainOverride> & Prettify<GetAccountParameter<account> & GetValue<abi, functionName, FormattedTransactionRequest<derivedChain>["value"]> & {
|
1941
384
|
/** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */
|
1942
385
|
dataSuffix?: Hex;
|
1943
386
|
}> & UnionEvaluate<UnionOmit<FormattedTransactionRequest<derivedChain>, "data" | "from" | "to" | "value">>;
|
1944
387
|
declare const useWriteContractWithSessionKey: (mutationProps?: MutationOptionsWithoutMutationFn$1) => UseWriteContractWithSessionKeyReturn;
|
1945
388
|
|
1946
|
-
type ConnectParameters = {
|
1947
|
-
address?: Address$1;
|
1948
|
-
passKeyName?: string;
|
1949
|
-
};
|
1950
|
-
declare const useConnect: () => {
|
1951
|
-
connect: (params?: ConnectParameters) => void;
|
1952
|
-
connectAsync: (params?: ConnectParameters) => Promise<void>;
|
1953
|
-
isPending: boolean;
|
1954
|
-
error: Error | null;
|
1955
|
-
};
|
1956
|
-
|
1957
389
|
declare const useDisconnect: () => {
|
1958
390
|
disconnect: () => void;
|
1959
391
|
disconnectAsync: () => Promise<void>;
|
@@ -1962,10 +394,10 @@ declare const useDisconnect: () => {
|
|
1962
394
|
};
|
1963
395
|
|
1964
396
|
type AddOwnerParameters = {
|
1965
|
-
ownerToAdd: Address
|
397
|
+
ownerToAdd: Address;
|
1966
398
|
};
|
1967
399
|
type RemoveOwnerParameters = {
|
1968
|
-
ownerToRemove: Address
|
400
|
+
ownerToRemove: Address;
|
1969
401
|
};
|
1970
402
|
type UseAddOwnerReturn = QueryResultType & {
|
1971
403
|
addOwner: (params: AddOwnerParameters) => void;
|
@@ -1995,7 +427,7 @@ declare const useRemoveOwner: (mutationProps?: Omit<UseMutationOptions<Hash, Err
|
|
1995
427
|
* @returns An object containing the query result and related properties.
|
1996
428
|
* @throws {Error} If no smart account is found when trying to get owners.
|
1997
429
|
*/
|
1998
|
-
declare const useGetOwners: (queryProps?: Omit<UseQueryOptions<readonly Address
|
430
|
+
declare const useGetOwners: (queryProps?: Omit<UseQueryOptions<readonly Address[], Error>, "queryKey" | "queryFn">) => UseQueryResult<readonly `0x${string}`[], Error>;
|
1999
431
|
/**
|
2000
432
|
* A custom hook for retrieving detailed information about current owners of a smart account.
|
2001
433
|
* @param queryProps Optional query properties from @tanstack/react-query
|
@@ -2006,15 +438,15 @@ declare const useGetEnrichedOwners: (queryProps?: Omit<UseQueryOptions<EnrichedO
|
|
2006
438
|
|
2007
439
|
type AddSessionKeyParameters = AddSessionKeyParams;
|
2008
440
|
type RevokeSessionKeyParameters = {
|
2009
|
-
sessionKey: Address
|
441
|
+
sessionKey: Address;
|
2010
442
|
};
|
2011
443
|
type AddWhitelistDestinationParameters = {
|
2012
|
-
sessionKey: Address
|
2013
|
-
destinations: Address
|
444
|
+
sessionKey: Address;
|
445
|
+
destinations: Address[];
|
2014
446
|
};
|
2015
447
|
type RemoveWhitelistDestinationParameters = {
|
2016
|
-
sessionKey: Address
|
2017
|
-
destination: Address
|
448
|
+
sessionKey: Address;
|
449
|
+
destination: Address;
|
2018
450
|
};
|
2019
451
|
type UseAddSessionKeyReturn = QueryResultType & {
|
2020
452
|
addSessionKey: (params: AddSessionKeyParameters) => void;
|
@@ -2036,8 +468,8 @@ declare const useAddSessionKey: (mutationProps?: Omit<UseMutationOptions<Hash, E
|
|
2036
468
|
declare const useRevokeSessionKey: (mutationProps?: Omit<UseMutationOptions<Hash, Error, RevokeSessionKeyParameters>, "mutationFn">) => UseRevokeSessionKeyReturn;
|
2037
469
|
declare const useAddWhitelistDestination: (mutationProps?: Omit<UseMutationOptions<Hash, Error, AddWhitelistDestinationParameters>, "mutationFn">) => UseAddWhitelistDestinationReturn;
|
2038
470
|
declare const useRemoveWhitelistDestination: (mutationProps?: Omit<UseMutationOptions<Hash, Error, RemoveWhitelistDestinationParameters>, "mutationFn">) => UseRemoveWhitelistDestinationReturn;
|
2039
|
-
declare const useGetSessionFromAddress: (sessionKey: Address
|
2040
|
-
declare const useIsAddressWhitelistDestination: (sessionKey: Address
|
471
|
+
declare const useGetSessionFromAddress: (sessionKey: Address, queryProps?: Omit<UseQueryOptions<Session, Error>, "queryKey" | "queryFn">) => UseQueryResult<Session, Error>;
|
472
|
+
declare const useIsAddressWhitelistDestination: (sessionKey: Address, targetAddress: Address, queryProps?: Omit<UseQueryOptions<boolean, Error>, "queryKey" | "queryFn">) => UseQueryResult<boolean, Error>;
|
2041
473
|
|
2042
474
|
/**
|
2043
475
|
* Props for the useValidateAddDevice hook.
|
@@ -2195,7 +627,6 @@ type GenerateQRCodeUrlParameters = {
|
|
2195
627
|
* Hook for creating a new signer
|
2196
628
|
*
|
2197
629
|
* @param apiKey - The API key for authentication
|
2198
|
-
* @param baseUrl - Optional base URL for the API
|
2199
630
|
* @param mutationProps - Optional mutation properties from @tanstack/react-query
|
2200
631
|
*
|
2201
632
|
* @example
|
@@ -2203,12 +634,11 @@ type GenerateQRCodeUrlParameters = {
|
|
2203
634
|
* import { useCreateNewSigner } from './path-to-this-file';
|
2204
635
|
*
|
2205
636
|
* const MyComponent = () => {
|
2206
|
-
* const { createSigner, isLoading, error, data } = useCreateNewSigner('your-api-key'
|
637
|
+
* const { createSigner, isLoading, error, data } = useCreateNewSigner('your-api-key');
|
2207
638
|
*
|
2208
639
|
* const handleCreateSigner = async () => {
|
2209
640
|
* try {
|
2210
641
|
* const newSigner = await createSigner({
|
2211
|
-
* smartAccountAddress: '0x1234...', // Replace with actual address
|
2212
642
|
* passKeyName: 'MyNewPasskey'
|
2213
643
|
* });
|
2214
644
|
* console.log('New signer created:', newSigner);
|
@@ -2429,14 +859,72 @@ type UseGetRecoveryRequestReturn = {
|
|
2429
859
|
*/
|
2430
860
|
declare function useGetRecoveryRequest(props?: UseGetRecoveryRequestProps, queryOptions?: Omit<UseQueryOptions<RecoveryParamsResponse | undefined, Error>, "queryKey" | "queryFn">): UseGetRecoveryRequestReturn;
|
2431
861
|
|
2432
|
-
type
|
2433
|
-
|
2434
|
-
|
862
|
+
type UseCancelRecoveryRequestProps<entryPoint extends EntryPoint> = CancelRecoveryRequestParams<entryPoint>;
|
863
|
+
type CancelRecoveryRequestMutate = (variables: UseCancelRecoveryRequestProps<EntryPoint>) => void;
|
864
|
+
type CancelRecoveryRequestMutateAsync = (variables: UseCancelRecoveryRequestProps<EntryPoint>) => Promise<Hex>;
|
865
|
+
type UseCancelRecoveryRequestReturn = QueryResultType & {
|
866
|
+
cancelRecoveryRequest: CancelRecoveryRequestMutate;
|
867
|
+
cancelRecoveryRequestAsync: CancelRecoveryRequestMutateAsync;
|
2435
868
|
};
|
2436
|
-
|
2437
|
-
|
2438
|
-
|
2439
|
-
|
2440
|
-
|
869
|
+
/**
|
870
|
+
* A custom hook for canceling a recovery request for a smart account.
|
871
|
+
*
|
872
|
+
* This hook provides functionality to cancel an active recovery request
|
873
|
+
* for a smart account. It uses the smart account client to process and send
|
874
|
+
* the required transaction to cancel the recovery process.
|
875
|
+
*
|
876
|
+
* @template entryPoint - The type of EntryPoint used in the smart account.
|
877
|
+
*
|
878
|
+
* @example
|
879
|
+
* ```tsx
|
880
|
+
* import { useCancelRecoveryRequest } from "@/hooks/useCancelRecoveryRequest";
|
881
|
+
*
|
882
|
+
* export const CancelRecoveryButton = () => {
|
883
|
+
* const {
|
884
|
+
* cancelRecoveryRequest,
|
885
|
+
* cancelRecoveryRequestAsync,
|
886
|
+
* isLoading,
|
887
|
+
* isError,
|
888
|
+
* error,
|
889
|
+
* isSuccess,
|
890
|
+
* data
|
891
|
+
* } = useCancelRecoveryRequest();
|
892
|
+
*
|
893
|
+
* const handleCancel = async () => {
|
894
|
+
* try {
|
895
|
+
* const result = await cancelRecoveryRequestAsync({
|
896
|
+
* passKeyName: 'myPassKey',
|
897
|
+
* rpcUrl: 'https://my-rpc-url.com',
|
898
|
+
* // other necessary parameters
|
899
|
+
* });
|
900
|
+
* console.log('Recovery request canceled successfully:', result);
|
901
|
+
* } catch (error) {
|
902
|
+
* console.error('Error canceling recovery request:', error);
|
903
|
+
* }
|
904
|
+
* };
|
905
|
+
*
|
906
|
+
* return (
|
907
|
+
* <div>
|
908
|
+
* <button onClick={handleCancel} disabled={isLoading}>
|
909
|
+
* Cancel Recovery Request
|
910
|
+
* </button>
|
911
|
+
* {isLoading && <p>Canceling recovery request...</p>}
|
912
|
+
* {isError && <p>Error: {error?.message}</p>}
|
913
|
+
* {isSuccess && <p>Recovery request canceled successfully. Hash: {data}</p>}
|
914
|
+
* </div>
|
915
|
+
* );
|
916
|
+
* };
|
917
|
+
* ```
|
918
|
+
*
|
919
|
+
* @returns An object containing:
|
920
|
+
* - `cancelRecoveryRequest`: A function to trigger the cancellation without waiting for the result.
|
921
|
+
* - `cancelRecoveryRequestAsync`: A function to trigger the cancellation and wait for the result.
|
922
|
+
* - `isLoading`: A boolean indicating if the cancellation is in progress.
|
923
|
+
* - `isError`: A boolean indicating if an error occurred during cancellation.
|
924
|
+
* - `error`: The error object if an error occurred, null otherwise.
|
925
|
+
* - `isSuccess`: A boolean indicating if the cancellation was successful.
|
926
|
+
* - `data`: The transaction hash (Hex) returned after successful cancellation.
|
927
|
+
*/
|
928
|
+
declare function useCancelRecoveryRequest(): UseCancelRecoveryRequestReturn;
|
2441
929
|
|
2442
|
-
export { ConnectProvider, type SendTransactionMutate, type SendTransactionMutateAsync, type SendTransactionWithSessionKeyMutate, type SendTransactionWithSessionKeyMutateAsync, type UseAddOwnerReturn, type UseAddSessionKeyReturn, type UseAddWhitelistDestinationReturn, type UseRemoveOwnerReturn, type UseRemoveWhitelistDestinationReturn, type UseRetrieveAccountAddressFromPasskeyOptions, type UseRevokeSessionKeyReturn, type VerifyMessageMutate, type VerifyMessageMutateAsync, type WriteContractMutate, type WriteContractMutateAsync, type WriteContractWithSessionKeyMutate, type WriteContractWithSessionKeyMutateAsync, useAccount, useAddOwner, useAddSessionKey, useAddWhitelistDestination, useConnect, useCreateNewSigner, useDisconnect, useGenerateQRCodeUrl, useGetEnrichedOwners, useGetGasPrice, useGetOwners, useGetRecoveryRequest, useGetSessionFromAddress, useIsAddressWhitelistDestination, useIsRecoveryActive, useRemoveOwner, useRemoveWhitelistDestination, useRetrieveAccountAddressFromPasskeyId, useRetrieveAccountAddressFromPasskeys, useRevokeSessionKey, useSendTransaction, useSendTransactionWithSessionKey, useSerializeUrlWithSignerPayload, useSetUpRecovery, useSignMessage, useValidateAddDevice, useVerifyMessage, useWriteContract, useWriteContractWithSessionKey };
|
930
|
+
export { ConnectProvider, type SendTransactionMutate, type SendTransactionMutateAsync, type SendTransactionWithSessionKeyMutate, type SendTransactionWithSessionKeyMutateAsync, type UseAddOwnerReturn, type UseAddSessionKeyReturn, type UseAddWhitelistDestinationReturn, type UseRemoveOwnerReturn, type UseRemoveWhitelistDestinationReturn, type UseRetrieveAccountAddressFromPasskeyOptions, type UseRevokeSessionKeyReturn, type VerifyMessageMutate, type VerifyMessageMutateAsync, type WriteContractMutate, type WriteContractMutateAsync, type WriteContractWithSessionKeyMutate, type WriteContractWithSessionKeyMutateAsync, useAccount, useAddOwner, useAddSessionKey, useAddWhitelistDestination, useCancelRecoveryRequest, useConnect, useCreateNewSigner, useDisconnect, useGenerateQRCodeUrl, useGetEnrichedOwners, useGetGasPrice, useGetOwners, useGetRecoveryRequest, useGetSessionFromAddress, useIsAddressWhitelistDestination, useIsRecoveryActive, useRemoveOwner, useRemoveWhitelistDestination, useRetrieveAccountAddressFromPasskeyId, useRetrieveAccountAddressFromPasskeys, useRevokeSessionKey, useSendTransaction, useSendTransactionWithSessionKey, useSerializeUrlWithSignerPayload, useSetUpRecovery, useSignMessage, useValidateAddDevice, useVerifyMessage, useWriteContract, useWriteContractWithSessionKey };
|