@dodoex/wallet-web3 0.0.43-beta.2 → 0.0.43-beta.3

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.
Files changed (135) hide show
  1. package/dist/alchemy-provider-5870b6fa-233c80b6.js +1 -0
  2. package/dist/alchemy-websocket-provider-213da986-64068b80.js +1 -0
  3. package/dist/blocto-4c3b71f5.js +1 -0
  4. package/dist/ccip-da46c435.js +1 -0
  5. package/dist/cjs/alchemy-provider-5870b6fa-686578f0.cjs +1 -0
  6. package/dist/cjs/alchemy-websocket-provider-213da986-fff1f59d.cjs +1 -0
  7. package/dist/cjs/blocto-621f54a9.cjs +1 -0
  8. package/dist/cjs/ccip-4b1d6858.cjs +1 -0
  9. package/dist/cjs/{draggabilly-5c45132c.cjs → draggabilly-5b36eaf0.cjs} +1 -1
  10. package/dist/cjs/id-0b41bc31.cjs +1 -0
  11. package/dist/{index-9a0e5b83.js → cjs/index-1e729250.cjs} +2 -2
  12. package/dist/cjs/index-283b89ff.cjs +1 -0
  13. package/dist/cjs/index-2d5de895.cjs +1 -0
  14. package/dist/cjs/{index-eb09e54d.cjs → index-35edc6a0.cjs} +1 -1
  15. package/dist/cjs/{index-3f7251ad.cjs → index-44b7a45e.cjs} +3 -3
  16. package/dist/cjs/index-5560dc58.cjs +17 -0
  17. package/dist/cjs/index-73e4d7eb.cjs +6 -0
  18. package/dist/cjs/{index-df8e5839.cjs → index-9f2a69d5.cjs} +1 -1
  19. package/dist/cjs/index-a4478ddb.cjs +1 -0
  20. package/dist/cjs/index-d528b9d2.cjs +1 -0
  21. package/dist/cjs/index-d54b57b8.cjs +1 -0
  22. package/dist/cjs/index-db36b0fa.cjs +29 -0
  23. package/dist/cjs/index.cjs +1 -1
  24. package/dist/cjs/index.es-e3bf027a.cjs +9 -0
  25. package/dist/cjs/{interface-bc5624b1.cjs → interface-d076e79e.cjs} +1 -1
  26. package/dist/cjs/{lib-typedarrays-7f24496d.cjs → lib-typedarrays-68c72268.cjs} +1 -1
  27. package/dist/cjs/{portis-211bf6ad.cjs → portis-7f3437fb.cjs} +1 -1
  28. package/dist/cjs/provider-e53a855b.cjs +1 -0
  29. package/dist/cjs/providers/connector/alchemy/index.d.ts +913 -0
  30. package/dist/cjs/providers/connector/alchemy/provider.d.ts +914 -0
  31. package/dist/cjs/providers/connector/alchemy/signer.d.ts +23 -0
  32. package/dist/cjs/providers/connector/index.d.ts +951 -43
  33. package/dist/cjs/providers/connector/ledgerUSB/index.d.ts +43 -43
  34. package/dist/cjs/providers/connector/ledgerUSB/provider.d.ts +10 -10
  35. package/dist/cjs/providers/connector/types.d.ts +4 -0
  36. package/dist/cjs/providers/connector/uniPass/index.d.ts +43 -43
  37. package/dist/cjs/providers/connector/uniPass/provider.d.ts +10 -10
  38. package/dist/cjs/providers/wallets/index.d.ts +2 -1
  39. package/dist/cjs/providers/wallets/standalone.d.ts +1 -0
  40. package/dist/cjs/providers/wallets/types.d.ts +1 -0
  41. package/dist/cjs/rainbow-dc533bc9.cjs +1 -0
  42. package/dist/cjs/sha224-d1ef1120.cjs +1 -0
  43. package/dist/cjs/sha256-0f5b78af.cjs +1 -0
  44. package/dist/cjs/typed-data-248c37d5.cjs +1 -0
  45. package/dist/cjs/uAuth-d9d66e7c.cjs +1 -0
  46. package/dist/cjs/walletConnect-0d1d9c65.cjs +1 -0
  47. package/dist/cjs/walletLink-a6046616.cjs +3 -0
  48. package/dist/{draggabilly-fb1c9db3.js → draggabilly-ad95d562.js} +1 -1
  49. package/dist/id-d4f3e36f.js +1 -0
  50. package/dist/index-21179dd1.js +1 -0
  51. package/dist/index-2691f407.js +1 -0
  52. package/dist/index-4f86d0d9.js +1 -0
  53. package/dist/{index-0e53e209.js → index-52949a22.js} +2 -2
  54. package/dist/index-5526977f.js +17 -0
  55. package/dist/index-5a7908b7.js +1 -0
  56. package/dist/{index-0ee5ef8d.js → index-65d96278.js} +1 -1
  57. package/dist/index-7e9e2ba1.js +1 -0
  58. package/dist/{index-2068a4fe.js → index-7f74b1e8.js} +3 -3
  59. package/dist/index-af6c16a1.js +29 -0
  60. package/dist/{cjs/index-2a741fbb.cjs → index-cd1a9a88.js} +2 -2
  61. package/dist/{index-e0d3617a.js → index-f08d6a6b.js} +1 -1
  62. package/dist/index.es-bb0f01ae.js +9 -0
  63. package/dist/index.js +1 -1
  64. package/dist/{interface-cb5e1e98.js → interface-8030d5f3.js} +1 -1
  65. package/dist/{lib-typedarrays-f8420380.js → lib-typedarrays-a4c67579.js} +1 -1
  66. package/dist/{portis-0d9d874b.js → portis-e2bba602.js} +1 -1
  67. package/dist/provider-459277d5.js +1 -0
  68. package/dist/providers/connector/alchemy/index.d.ts +913 -0
  69. package/dist/providers/connector/alchemy/provider.d.ts +914 -0
  70. package/dist/providers/connector/alchemy/signer.d.ts +23 -0
  71. package/dist/providers/connector/index.d.ts +951 -43
  72. package/dist/providers/connector/ledgerUSB/index.d.ts +43 -43
  73. package/dist/providers/connector/ledgerUSB/provider.d.ts +10 -10
  74. package/dist/providers/connector/types.d.ts +4 -0
  75. package/dist/providers/connector/uniPass/index.d.ts +43 -43
  76. package/dist/providers/connector/uniPass/provider.d.ts +10 -10
  77. package/dist/providers/wallets/index.d.ts +2 -1
  78. package/dist/providers/wallets/standalone.d.ts +1 -0
  79. package/dist/providers/wallets/types.d.ts +1 -0
  80. package/dist/rainbow-a06575a1.js +1 -0
  81. package/dist/sha224-10712709.js +1 -0
  82. package/dist/sha256-656b18f4.js +1 -0
  83. package/dist/typed-data-b07573b9.js +1 -0
  84. package/dist/uAuth-7b727766.js +1 -0
  85. package/dist/walletConnect-9c01b144.js +1 -0
  86. package/dist/{walletLink-000fcb81.js → walletLink-1b8c2056.js} +2 -2
  87. package/package.json +11 -4
  88. package/dist/DefaultJsonRpcProvider-a5375519.js +0 -1
  89. package/dist/__node-resolve_empty-0ed2c058.js +0 -1
  90. package/dist/blocto-739837e0.js +0 -1
  91. package/dist/bn-dbf1b053.js +0 -1
  92. package/dist/browser-ponyfill-65b68016.js +0 -1
  93. package/dist/cjs/DefaultJsonRpcProvider-af04cc55.cjs +0 -1
  94. package/dist/cjs/__node-resolve_empty-e2dee16c.cjs +0 -1
  95. package/dist/cjs/blocto-e8847b99.cjs +0 -1
  96. package/dist/cjs/bn-87cba44d.cjs +0 -1
  97. package/dist/cjs/browser-ponyfill-de0a8ec9.cjs +0 -1
  98. package/dist/cjs/ethers-2b86e17d.cjs +0 -1
  99. package/dist/cjs/id-1eb25db0.cjs +0 -1
  100. package/dist/cjs/index-0740e7fe.cjs +0 -1
  101. package/dist/cjs/index-18446412.cjs +0 -1
  102. package/dist/cjs/index-1af4ac9a.cjs +0 -1
  103. package/dist/cjs/index-21b90e8c.cjs +0 -6
  104. package/dist/cjs/index-2587eef5.cjs +0 -1
  105. package/dist/cjs/index-38ed564c.cjs +0 -15
  106. package/dist/cjs/index-53583bbc.cjs +0 -1
  107. package/dist/cjs/index-aaf32aa5.cjs +0 -9
  108. package/dist/cjs/index-d22bf825.cjs +0 -1
  109. package/dist/cjs/index-e9e5106b.cjs +0 -1
  110. package/dist/cjs/index.es-3e845f07.cjs +0 -9
  111. package/dist/cjs/provider-0ddad67c.cjs +0 -1
  112. package/dist/cjs/rainbow-73e82c82.cjs +0 -1
  113. package/dist/cjs/sha224-8056f6e3.cjs +0 -1
  114. package/dist/cjs/sha256-43414cf6.cjs +0 -1
  115. package/dist/cjs/uAuth-5166de3a.cjs +0 -1
  116. package/dist/cjs/walletConnect-41dc68ec.cjs +0 -1
  117. package/dist/cjs/walletLink-689340b5.cjs +0 -3
  118. package/dist/ethers-b291db18.js +0 -1
  119. package/dist/id-4e950ad4.js +0 -1
  120. package/dist/index-05ecccce.js +0 -1
  121. package/dist/index-1aa609d8.js +0 -1
  122. package/dist/index-27d4b342.js +0 -1
  123. package/dist/index-54955d07.js +0 -1
  124. package/dist/index-8151dacc.js +0 -1
  125. package/dist/index-929dd85e.js +0 -15
  126. package/dist/index-948c094e.js +0 -9
  127. package/dist/index-d00482ad.js +0 -1
  128. package/dist/index-ede11a7b.js +0 -1
  129. package/dist/index.es-818610ea.js +0 -9
  130. package/dist/provider-0b6bd3ac.js +0 -1
  131. package/dist/rainbow-688b2e16.js +0 -1
  132. package/dist/sha224-3fa562e2.js +0 -1
  133. package/dist/sha256-39cd7493.js +0 -1
  134. package/dist/uAuth-4ba62d4b.js +0 -1
  135. package/dist/walletConnect-96c9baa7.js +0 -1
@@ -0,0 +1,913 @@
1
+ /// <reference types="node" />
2
+ import { ConnectEvents } from '../../wallets/types';
3
+ import { ConnectorParams } from '../types';
4
+ export { getAlchemySigner } from './provider';
5
+ export default function connector(params: ConnectorParams, events: ConnectEvents): Promise<{
6
+ rpcUrl?: string | undefined;
7
+ readonly smartAccountClient: {
8
+ account: import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>;
9
+ batch?: {
10
+ multicall?: boolean | {
11
+ batchSize?: number | undefined;
12
+ wait?: number | undefined;
13
+ } | undefined;
14
+ } | undefined;
15
+ cacheTime: number;
16
+ chain: import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined;
17
+ key: string;
18
+ name: string;
19
+ pollingInterval: number;
20
+ request: import("viem").EIP1193RequestFn<[{
21
+ Method: "eth_sendUserOperation";
22
+ Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`];
23
+ ReturnType: `0x${string}`;
24
+ }, {
25
+ Method: "eth_estimateUserOperationGas";
26
+ Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`, (import("viem").StateOverride | undefined)?];
27
+ ReturnType: import("@alchemy/aa-core").UserOperationEstimateGasResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
28
+ }, {
29
+ Method: "eth_getUserOperationReceipt";
30
+ Parameters: [`0x${string}`];
31
+ ReturnType: import("@alchemy/aa-core").UserOperationReceipt | null;
32
+ }, {
33
+ Method: "eth_getUserOperationByHash";
34
+ Parameters: [`0x${string}`];
35
+ ReturnType: import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null;
36
+ }, {
37
+ Method: "eth_supportedEntryPoints";
38
+ Parameters: [];
39
+ ReturnType: `0x${string}`[];
40
+ }, {
41
+ Method: "web3_clientVersion";
42
+ Parameters?: undefined;
43
+ ReturnType: string;
44
+ }, {
45
+ Method: "web3_sha3";
46
+ Parameters: [data: `0x${string}`];
47
+ ReturnType: string;
48
+ }, {
49
+ Method: "net_listening";
50
+ Parameters?: undefined;
51
+ ReturnType: boolean;
52
+ }, {
53
+ Method: "net_peerCount";
54
+ Parameters?: undefined;
55
+ ReturnType: `0x${string}`;
56
+ }, {
57
+ Method: "net_version";
58
+ Parameters?: undefined;
59
+ ReturnType: `0x${string}`;
60
+ }, {
61
+ Method: "eth_blobBaseFee";
62
+ Parameters?: undefined;
63
+ ReturnType: `0x${string}`;
64
+ }, {
65
+ Method: "eth_blockNumber";
66
+ Parameters?: undefined;
67
+ ReturnType: `0x${string}`;
68
+ }, {
69
+ Method: "eth_call";
70
+ Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
71
+ ReturnType: `0x${string}`;
72
+ }, {
73
+ Method: "eth_chainId";
74
+ Parameters?: undefined;
75
+ ReturnType: `0x${string}`;
76
+ }, {
77
+ Method: "eth_coinbase";
78
+ Parameters?: undefined;
79
+ ReturnType: `0x${string}`;
80
+ }, {
81
+ Method: "eth_estimateGas";
82
+ Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
83
+ ReturnType: `0x${string}`;
84
+ }, {
85
+ Method: "eth_feeHistory";
86
+ Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
87
+ ReturnType: import("viem").RpcFeeHistory;
88
+ }, {
89
+ Method: "eth_gasPrice";
90
+ Parameters?: undefined;
91
+ ReturnType: `0x${string}`;
92
+ }, {
93
+ Method: "eth_getBalance";
94
+ Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
95
+ ReturnType: `0x${string}`;
96
+ }, {
97
+ Method: "eth_getBlockByHash";
98
+ Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
99
+ ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
100
+ }, {
101
+ Method: "eth_getBlockByNumber";
102
+ Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
103
+ ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
104
+ }, {
105
+ Method: "eth_getBlockTransactionCountByHash";
106
+ Parameters: [hash: `0x${string}`];
107
+ ReturnType: `0x${string}`;
108
+ }, {
109
+ Method: "eth_getBlockTransactionCountByNumber";
110
+ Parameters: [block: `0x${string}` | import("viem").BlockTag];
111
+ ReturnType: `0x${string}`;
112
+ }, {
113
+ Method: "eth_getCode";
114
+ Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
115
+ ReturnType: `0x${string}`;
116
+ }, {
117
+ Method: "eth_getFilterChanges";
118
+ Parameters: [filterId: `0x${string}`];
119
+ ReturnType: `0x${string}`[] | import("viem").RpcLog[];
120
+ }, {
121
+ Method: "eth_getFilterLogs";
122
+ Parameters: [filterId: `0x${string}`];
123
+ ReturnType: import("viem").RpcLog[];
124
+ }, {
125
+ Method: "eth_getLogs";
126
+ Parameters: [{
127
+ address?: `0x${string}` | `0x${string}`[] | undefined;
128
+ topics?: import("viem").LogTopic[] | undefined;
129
+ } & ({
130
+ fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
131
+ toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
132
+ blockHash?: undefined;
133
+ } | {
134
+ fromBlock?: undefined;
135
+ toBlock?: undefined;
136
+ blockHash?: `0x${string}` | undefined;
137
+ })];
138
+ ReturnType: import("viem").RpcLog[];
139
+ }, {
140
+ Method: "eth_getProof";
141
+ Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
142
+ ReturnType: import("viem").RpcProof;
143
+ }, {
144
+ Method: "eth_getStorageAt";
145
+ Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
146
+ ReturnType: `0x${string}`;
147
+ }, {
148
+ Method: "eth_getTransactionByBlockHashAndIndex";
149
+ Parameters: [hash: `0x${string}`, index: `0x${string}`];
150
+ ReturnType: import("viem").RpcTransaction<boolean> | null;
151
+ }, {
152
+ Method: "eth_getTransactionByBlockNumberAndIndex";
153
+ Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
154
+ ReturnType: import("viem").RpcTransaction<boolean> | null;
155
+ }, {
156
+ Method: "eth_getTransactionByHash";
157
+ Parameters: [hash: `0x${string}`];
158
+ ReturnType: import("viem").RpcTransaction<boolean> | null;
159
+ }, {
160
+ Method: "eth_getTransactionCount";
161
+ Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
162
+ ReturnType: `0x${string}`;
163
+ }, {
164
+ Method: "eth_getTransactionReceipt";
165
+ Parameters: [hash: `0x${string}`];
166
+ ReturnType: import("viem").RpcTransactionReceipt | null;
167
+ }, {
168
+ Method: "eth_getUncleByBlockHashAndIndex";
169
+ Parameters: [hash: `0x${string}`, index: `0x${string}`];
170
+ ReturnType: import("viem").RpcUncle | null;
171
+ }, {
172
+ Method: "eth_getUncleByBlockNumberAndIndex";
173
+ Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
174
+ ReturnType: import("viem").RpcUncle | null;
175
+ }, {
176
+ Method: "eth_getUncleCountByBlockHash";
177
+ Parameters: [hash: `0x${string}`];
178
+ ReturnType: `0x${string}`;
179
+ }, {
180
+ Method: "eth_getUncleCountByBlockNumber";
181
+ Parameters: [block: `0x${string}` | import("viem").BlockTag];
182
+ ReturnType: `0x${string}`;
183
+ }, {
184
+ Method: "eth_maxPriorityFeePerGas";
185
+ Parameters?: undefined;
186
+ ReturnType: `0x${string}`;
187
+ }, {
188
+ Method: "eth_newBlockFilter";
189
+ Parameters?: undefined;
190
+ ReturnType: `0x${string}`;
191
+ }, {
192
+ Method: "eth_newFilter";
193
+ Parameters: [filter: {
194
+ fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
195
+ toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
196
+ address?: `0x${string}` | `0x${string}`[] | undefined;
197
+ topics?: import("viem").LogTopic[] | undefined;
198
+ }];
199
+ ReturnType: `0x${string}`;
200
+ }, {
201
+ Method: "eth_newPendingTransactionFilter";
202
+ Parameters?: undefined;
203
+ ReturnType: `0x${string}`;
204
+ }, {
205
+ Method: "eth_protocolVersion";
206
+ Parameters?: undefined;
207
+ ReturnType: string;
208
+ }, {
209
+ Method: "eth_sendRawTransaction";
210
+ Parameters: [signedTransaction: `0x${string}`];
211
+ ReturnType: `0x${string}`;
212
+ }, {
213
+ Method: "eth_uninstallFilter";
214
+ Parameters: [filterId: `0x${string}`];
215
+ ReturnType: boolean;
216
+ }, {
217
+ Method: "alchemy_requestPaymasterAndData";
218
+ Parameters: [{
219
+ policyId: string;
220
+ entryPoint: `0x${string}`;
221
+ userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
222
+ }];
223
+ ReturnType: {
224
+ paymasterAndData: `0x${string}`;
225
+ } | Pick<import("@alchemy/aa-core").UserOperationRequest_v7, "paymaster" | "paymasterData">;
226
+ }, {
227
+ Method: "alchemy_requestGasAndPaymasterAndData";
228
+ Parameters: [{
229
+ policyId: string;
230
+ entryPoint: `0x${string}`;
231
+ userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
232
+ dummySignature: `0x${string}`;
233
+ overrides?: Partial<{}> | undefined;
234
+ }];
235
+ ReturnType: import("@alchemy/aa-alchemy").RequestGasAndPaymasterAndDataResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
236
+ }, {
237
+ Method: "alchemy_simulateUserOperationAssetChanges";
238
+ Parameters: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesRequest;
239
+ ReturnType: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse;
240
+ }, {
241
+ Method: "rundler_maxPriorityFeePerGas";
242
+ Parameters: [];
243
+ ReturnType: `0x${string}`;
244
+ }]>;
245
+ transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn<undefined>>;
246
+ type: string;
247
+ uid: string;
248
+ updateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
249
+ readonly stateMutability: "nonpayable";
250
+ readonly type: "function";
251
+ readonly inputs: readonly [{
252
+ readonly name: "ownersToAdd";
253
+ readonly internalType: "address[]";
254
+ readonly type: "address[]";
255
+ }, {
256
+ readonly name: "ownersToRemove";
257
+ readonly internalType: "address[]";
258
+ readonly type: "address[]";
259
+ }];
260
+ readonly name: "updateOwners";
261
+ readonly outputs: readonly [];
262
+ }, {
263
+ readonly stateMutability: "view";
264
+ readonly type: "function";
265
+ readonly inputs: readonly [];
266
+ readonly name: "eip712Domain";
267
+ readonly outputs: readonly [{
268
+ readonly name: "fields";
269
+ readonly internalType: "bytes1";
270
+ readonly type: "bytes1";
271
+ }, {
272
+ readonly name: "name";
273
+ readonly internalType: "string";
274
+ readonly type: "string";
275
+ }, {
276
+ readonly name: "version";
277
+ readonly internalType: "string";
278
+ readonly type: "string";
279
+ }, {
280
+ readonly name: "chainId";
281
+ readonly internalType: "uint256";
282
+ readonly type: "uint256";
283
+ }, {
284
+ readonly name: "verifyingContract";
285
+ readonly internalType: "address";
286
+ readonly type: "address";
287
+ }, {
288
+ readonly name: "salt";
289
+ readonly internalType: "bytes32";
290
+ readonly type: "bytes32";
291
+ }, {
292
+ readonly name: "extensions";
293
+ readonly internalType: "uint256[]";
294
+ readonly type: "uint256[]";
295
+ }];
296
+ }, {
297
+ readonly stateMutability: "view";
298
+ readonly type: "function";
299
+ readonly inputs: readonly [{
300
+ readonly name: "digest";
301
+ readonly internalType: "bytes32";
302
+ readonly type: "bytes32";
303
+ }, {
304
+ readonly name: "signature";
305
+ readonly internalType: "bytes";
306
+ readonly type: "bytes";
307
+ }];
308
+ readonly name: "isValidSignature";
309
+ readonly outputs: readonly [{
310
+ readonly name: "";
311
+ readonly internalType: "bytes4";
312
+ readonly type: "bytes4";
313
+ }];
314
+ }], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
315
+ overrides?: Partial<{
316
+ callGasLimit: number | bigint | `0x${string}` | {
317
+ multiplier: number;
318
+ } | undefined;
319
+ maxFeePerGas: number | bigint | `0x${string}` | {
320
+ multiplier: number;
321
+ } | undefined;
322
+ maxPriorityFeePerGas: number | bigint | `0x${string}` | {
323
+ multiplier: number;
324
+ } | undefined;
325
+ preVerificationGas: number | bigint | `0x${string}` | {
326
+ multiplier: number;
327
+ } | undefined;
328
+ verificationGasLimit: number | bigint | `0x${string}` | {
329
+ multiplier: number;
330
+ } | undefined;
331
+ nonceKey: bigint;
332
+ stateOverride: import("viem").StateOverride;
333
+ } & ({
334
+ paymasterAndData: "0x";
335
+ } | {
336
+ paymasterData: "0x";
337
+ paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
338
+ multiplier: number;
339
+ };
340
+ paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
341
+ multiplier: number;
342
+ };
343
+ })> | undefined;
344
+ } & {
345
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
346
+ } & {
347
+ context?: undefined;
348
+ }) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
349
+ installMultiOwnerPlugin: (args: {
350
+ overrides?: Partial<{
351
+ callGasLimit: number | bigint | `0x${string}` | {
352
+ multiplier: number;
353
+ } | undefined;
354
+ maxFeePerGas: number | bigint | `0x${string}` | {
355
+ multiplier: number;
356
+ } | undefined;
357
+ maxPriorityFeePerGas: number | bigint | `0x${string}` | {
358
+ multiplier: number;
359
+ } | undefined;
360
+ preVerificationGas: number | bigint | `0x${string}` | {
361
+ multiplier: number;
362
+ } | undefined;
363
+ verificationGasLimit: number | bigint | `0x${string}` | {
364
+ multiplier: number;
365
+ } | undefined;
366
+ nonceKey: bigint;
367
+ stateOverride: import("viem").StateOverride;
368
+ } & ({
369
+ paymasterAndData: "0x";
370
+ } | {
371
+ paymasterData: "0x";
372
+ paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
373
+ multiplier: number;
374
+ };
375
+ paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
376
+ multiplier: number;
377
+ };
378
+ })> | undefined;
379
+ } & import("@alchemy/aa-accounts/dist/types/src/msca/plugins/multi-owner/plugin").InstallMultiOwnerPluginParams & {
380
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
381
+ } & {
382
+ context?: undefined;
383
+ }) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
384
+ encodeUpdateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
385
+ readonly stateMutability: "nonpayable";
386
+ readonly type: "function";
387
+ readonly inputs: readonly [{
388
+ readonly name: "ownersToAdd";
389
+ readonly internalType: "address[]";
390
+ readonly type: "address[]";
391
+ }, {
392
+ readonly name: "ownersToRemove";
393
+ readonly internalType: "address[]";
394
+ readonly type: "address[]";
395
+ }];
396
+ readonly name: "updateOwners";
397
+ readonly outputs: readonly [];
398
+ }, {
399
+ readonly stateMutability: "view";
400
+ readonly type: "function";
401
+ readonly inputs: readonly [];
402
+ readonly name: "eip712Domain";
403
+ readonly outputs: readonly [{
404
+ readonly name: "fields";
405
+ readonly internalType: "bytes1";
406
+ readonly type: "bytes1";
407
+ }, {
408
+ readonly name: "name";
409
+ readonly internalType: "string";
410
+ readonly type: "string";
411
+ }, {
412
+ readonly name: "version";
413
+ readonly internalType: "string";
414
+ readonly type: "string";
415
+ }, {
416
+ readonly name: "chainId";
417
+ readonly internalType: "uint256";
418
+ readonly type: "uint256";
419
+ }, {
420
+ readonly name: "verifyingContract";
421
+ readonly internalType: "address";
422
+ readonly type: "address";
423
+ }, {
424
+ readonly name: "salt";
425
+ readonly internalType: "bytes32";
426
+ readonly type: "bytes32";
427
+ }, {
428
+ readonly name: "extensions";
429
+ readonly internalType: "uint256[]";
430
+ readonly type: "uint256[]";
431
+ }];
432
+ }, {
433
+ readonly stateMutability: "view";
434
+ readonly type: "function";
435
+ readonly inputs: readonly [{
436
+ readonly name: "digest";
437
+ readonly internalType: "bytes32";
438
+ readonly type: "bytes32";
439
+ }, {
440
+ readonly name: "signature";
441
+ readonly internalType: "bytes";
442
+ readonly type: "bytes";
443
+ }];
444
+ readonly name: "isValidSignature";
445
+ readonly outputs: readonly [{
446
+ readonly name: "";
447
+ readonly internalType: "bytes4";
448
+ readonly type: "bytes4";
449
+ }];
450
+ }], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
451
+ encodeEip712Domain: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
452
+ readonly stateMutability: "nonpayable";
453
+ readonly type: "function";
454
+ readonly inputs: readonly [{
455
+ readonly name: "ownersToAdd";
456
+ readonly internalType: "address[]";
457
+ readonly type: "address[]";
458
+ }, {
459
+ readonly name: "ownersToRemove";
460
+ readonly internalType: "address[]";
461
+ readonly type: "address[]";
462
+ }];
463
+ readonly name: "updateOwners";
464
+ readonly outputs: readonly [];
465
+ }, {
466
+ readonly stateMutability: "view";
467
+ readonly type: "function";
468
+ readonly inputs: readonly [];
469
+ readonly name: "eip712Domain";
470
+ readonly outputs: readonly [{
471
+ readonly name: "fields";
472
+ readonly internalType: "bytes1";
473
+ readonly type: "bytes1";
474
+ }, {
475
+ readonly name: "name";
476
+ readonly internalType: "string";
477
+ readonly type: "string";
478
+ }, {
479
+ readonly name: "version";
480
+ readonly internalType: "string";
481
+ readonly type: "string";
482
+ }, {
483
+ readonly name: "chainId";
484
+ readonly internalType: "uint256";
485
+ readonly type: "uint256";
486
+ }, {
487
+ readonly name: "verifyingContract";
488
+ readonly internalType: "address";
489
+ readonly type: "address";
490
+ }, {
491
+ readonly name: "salt";
492
+ readonly internalType: "bytes32";
493
+ readonly type: "bytes32";
494
+ }, {
495
+ readonly name: "extensions";
496
+ readonly internalType: "uint256[]";
497
+ readonly type: "uint256[]";
498
+ }];
499
+ }, {
500
+ readonly stateMutability: "view";
501
+ readonly type: "function";
502
+ readonly inputs: readonly [{
503
+ readonly name: "digest";
504
+ readonly internalType: "bytes32";
505
+ readonly type: "bytes32";
506
+ }, {
507
+ readonly name: "signature";
508
+ readonly internalType: "bytes";
509
+ readonly type: "bytes";
510
+ }];
511
+ readonly name: "isValidSignature";
512
+ readonly outputs: readonly [{
513
+ readonly name: "";
514
+ readonly internalType: "bytes4";
515
+ readonly type: "bytes4";
516
+ }];
517
+ }], "eip712Domain", true, readonly [], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
518
+ readEip712Domain: (args: {
519
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
520
+ }) => Promise<readonly [`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, readonly bigint[]]>;
521
+ encodeIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
522
+ readonly stateMutability: "nonpayable";
523
+ readonly type: "function";
524
+ readonly inputs: readonly [{
525
+ readonly name: "ownersToAdd";
526
+ readonly internalType: "address[]";
527
+ readonly type: "address[]";
528
+ }, {
529
+ readonly name: "ownersToRemove";
530
+ readonly internalType: "address[]";
531
+ readonly type: "address[]";
532
+ }];
533
+ readonly name: "updateOwners";
534
+ readonly outputs: readonly [];
535
+ }, {
536
+ readonly stateMutability: "view";
537
+ readonly type: "function";
538
+ readonly inputs: readonly [];
539
+ readonly name: "eip712Domain";
540
+ readonly outputs: readonly [{
541
+ readonly name: "fields";
542
+ readonly internalType: "bytes1";
543
+ readonly type: "bytes1";
544
+ }, {
545
+ readonly name: "name";
546
+ readonly internalType: "string";
547
+ readonly type: "string";
548
+ }, {
549
+ readonly name: "version";
550
+ readonly internalType: "string";
551
+ readonly type: "string";
552
+ }, {
553
+ readonly name: "chainId";
554
+ readonly internalType: "uint256";
555
+ readonly type: "uint256";
556
+ }, {
557
+ readonly name: "verifyingContract";
558
+ readonly internalType: "address";
559
+ readonly type: "address";
560
+ }, {
561
+ readonly name: "salt";
562
+ readonly internalType: "bytes32";
563
+ readonly type: "bytes32";
564
+ }, {
565
+ readonly name: "extensions";
566
+ readonly internalType: "uint256[]";
567
+ readonly type: "uint256[]";
568
+ }];
569
+ }, {
570
+ readonly stateMutability: "view";
571
+ readonly type: "function";
572
+ readonly inputs: readonly [{
573
+ readonly name: "digest";
574
+ readonly internalType: "bytes32";
575
+ readonly type: "bytes32";
576
+ }, {
577
+ readonly name: "signature";
578
+ readonly internalType: "bytes";
579
+ readonly type: "bytes";
580
+ }];
581
+ readonly name: "isValidSignature";
582
+ readonly outputs: readonly [{
583
+ readonly name: "";
584
+ readonly internalType: "bytes4";
585
+ readonly type: "bytes4";
586
+ }];
587
+ }], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
588
+ readIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
589
+ readonly stateMutability: "nonpayable";
590
+ readonly type: "function";
591
+ readonly inputs: readonly [{
592
+ readonly name: "ownersToAdd";
593
+ readonly internalType: "address[]";
594
+ readonly type: "address[]";
595
+ }, {
596
+ readonly name: "ownersToRemove";
597
+ readonly internalType: "address[]";
598
+ readonly type: "address[]";
599
+ }];
600
+ readonly name: "updateOwners";
601
+ readonly outputs: readonly [];
602
+ }, {
603
+ readonly stateMutability: "view";
604
+ readonly type: "function";
605
+ readonly inputs: readonly [];
606
+ readonly name: "eip712Domain";
607
+ readonly outputs: readonly [{
608
+ readonly name: "fields";
609
+ readonly internalType: "bytes1";
610
+ readonly type: "bytes1";
611
+ }, {
612
+ readonly name: "name";
613
+ readonly internalType: "string";
614
+ readonly type: "string";
615
+ }, {
616
+ readonly name: "version";
617
+ readonly internalType: "string";
618
+ readonly type: "string";
619
+ }, {
620
+ readonly name: "chainId";
621
+ readonly internalType: "uint256";
622
+ readonly type: "uint256";
623
+ }, {
624
+ readonly name: "verifyingContract";
625
+ readonly internalType: "address";
626
+ readonly type: "address";
627
+ }, {
628
+ readonly name: "salt";
629
+ readonly internalType: "bytes32";
630
+ readonly type: "bytes32";
631
+ }, {
632
+ readonly name: "extensions";
633
+ readonly internalType: "uint256[]";
634
+ readonly type: "uint256[]";
635
+ }];
636
+ }, {
637
+ readonly stateMutability: "view";
638
+ readonly type: "function";
639
+ readonly inputs: readonly [{
640
+ readonly name: "digest";
641
+ readonly internalType: "bytes32";
642
+ readonly type: "bytes32";
643
+ }, {
644
+ readonly name: "signature";
645
+ readonly internalType: "bytes";
646
+ readonly type: "bytes";
647
+ }];
648
+ readonly name: "isValidSignature";
649
+ readonly outputs: readonly [{
650
+ readonly name: "";
651
+ readonly internalType: "bytes4";
652
+ readonly type: "bytes4";
653
+ }];
654
+ }], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
655
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
656
+ }) => Promise<`0x${string}`>;
657
+ readOwners: ((params: import("@alchemy/aa-accounts").GetPluginAddressParameter & {
658
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
659
+ }) => Promise<readonly `0x${string}`[]>) & ((params?: (import("@alchemy/aa-accounts").GetPluginAddressParameter & {
660
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
661
+ }) | undefined) => Promise<readonly `0x${string}`[]>);
662
+ isOwnerOf: (params: {
663
+ address: `0x${string}`;
664
+ } & import("@alchemy/aa-accounts").GetPluginAddressParameter & {
665
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
666
+ }) => Promise<boolean>;
667
+ installPlugin: (params: import("@alchemy/aa-accounts").InstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, Record<string, unknown> | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
668
+ uninstallPlugin: (params: import("@alchemy/aa-accounts").UninstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
669
+ getExecutionFunctionConfig: (args: {
670
+ selector: `0x${string}`;
671
+ } & {
672
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
673
+ }) => Promise<import("@alchemy/aa-accounts").ExecutionFunctionConfig>;
674
+ getExecutionHooks: (args: {
675
+ selector: `0x${string}`;
676
+ } & {
677
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
678
+ }) => Promise<readonly import("@alchemy/aa-accounts").ExecutionHooks[]>;
679
+ getPreValidationHooks: (args: {
680
+ selector: `0x${string}`;
681
+ } & {
682
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
683
+ }) => Promise<readonly [readonly `0x${string}`[], readonly `0x${string}`[]]>;
684
+ getInstalledPlugins: (args: {
685
+ account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
686
+ }) => Promise<readonly `0x${string}`[]>;
687
+ buildUserOperation: (args: import("@alchemy/aa-core").BuildUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
688
+ buildUserOperationFromTx: (args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>>, overrides?: Partial<{
689
+ callGasLimit: number | bigint | `0x${string}` | {
690
+ multiplier: number;
691
+ } | undefined;
692
+ maxFeePerGas: number | bigint | `0x${string}` | {
693
+ multiplier: number;
694
+ } | undefined;
695
+ maxPriorityFeePerGas: number | bigint | `0x${string}` | {
696
+ multiplier: number;
697
+ } | undefined;
698
+ preVerificationGas: number | bigint | `0x${string}` | {
699
+ multiplier: number;
700
+ } | undefined;
701
+ verificationGasLimit: number | bigint | `0x${string}` | {
702
+ multiplier: number;
703
+ } | undefined;
704
+ nonceKey: bigint;
705
+ stateOverride: import("viem").StateOverride;
706
+ } & ({
707
+ paymasterAndData: "0x";
708
+ } | {
709
+ paymasterData: "0x";
710
+ paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
711
+ multiplier: number;
712
+ };
713
+ paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
714
+ multiplier: number;
715
+ };
716
+ })> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
717
+ buildUserOperationFromTxs: (args: import("@alchemy/aa-core").BuildTransactionParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").BuildUserOperationFromTransactionsResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
718
+ checkGasSponsorshipEligibility: <TContext extends import("@alchemy/aa-core").UserOperationContext | undefined = import("@alchemy/aa-core").UserOperationContext | undefined>(args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, TContext, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<boolean>;
719
+ signUserOperation: (args: import("@alchemy/aa-core").SignUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>, import("@alchemy/aa-core").UserOperationContext | undefined>) => Promise<import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7>;
720
+ dropAndReplaceUserOperation: (args: import("@alchemy/aa-core").DropAndReplaceUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
721
+ sendTransaction: <TChainOverride extends import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, TChainOverride, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride, import("viem").DeriveChain<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride>>>, overrides?: Partial<{
722
+ callGasLimit: number | bigint | `0x${string}` | {
723
+ multiplier: number;
724
+ } | undefined;
725
+ maxFeePerGas: number | bigint | `0x${string}` | {
726
+ multiplier: number;
727
+ } | undefined;
728
+ maxPriorityFeePerGas: number | bigint | `0x${string}` | {
729
+ multiplier: number;
730
+ } | undefined;
731
+ preVerificationGas: number | bigint | `0x${string}` | {
732
+ multiplier: number;
733
+ } | undefined;
734
+ verificationGasLimit: number | bigint | `0x${string}` | {
735
+ multiplier: number;
736
+ } | undefined;
737
+ nonceKey: bigint;
738
+ stateOverride: import("viem").StateOverride;
739
+ } & ({
740
+ paymasterAndData: "0x";
741
+ } | {
742
+ paymasterData: "0x";
743
+ paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
744
+ multiplier: number;
745
+ };
746
+ paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
747
+ multiplier: number;
748
+ };
749
+ })> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<`0x${string}`>;
750
+ sendTransactions: (args: import("@alchemy/aa-core").SendTransactionsParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
751
+ sendUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
752
+ waitForUserOperationTransaction: (args: import("@alchemy/aa-core").WaitForUserOperationTxParameters) => Promise<`0x${string}`>;
753
+ upgradeAccount: (args: import("@alchemy/aa-core").UpgradeAccountParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
754
+ signMessage: (args: import("@alchemy/aa-core/dist/types/actions/smartAccount/signMessage").SignMessageParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>>) => Promise<`0x${string}`>;
755
+ signTypedData: () => const;
756
+ estimateUserOperationGas: <TEntryPointVersion extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion>, entryPoint: `0x${string}`, stateOverride?: import("viem").StateOverride | undefined) => Promise<import("@alchemy/aa-core").UserOperationEstimateGasResponse<TEntryPointVersion>>;
757
+ sendRawUserOperation: <TEntryPointVersion_1 extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion_1>, entryPoint: `0x${string}`) => Promise<`0x${string}`>;
758
+ getUserOperationByHash: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null>;
759
+ getUserOperationReceipt: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationReceipt | null>;
760
+ getSupportedEntryPoints: () => Promise<`0x${string}`[]>;
761
+ call: (parameters: import("viem").CallParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>) => Promise<import("viem").CallReturnType>;
762
+ createBlockFilter: () => Promise<{
763
+ id: `0x${string}`;
764
+ request: import("viem").EIP1193RequestFn<readonly [{
765
+ Method: "eth_getFilterChanges";
766
+ Parameters: [filterId: `0x${string}`];
767
+ ReturnType: `0x${string}`[] | import("viem").RpcLog[];
768
+ }, {
769
+ Method: "eth_getFilterLogs";
770
+ Parameters: [filterId: `0x${string}`];
771
+ ReturnType: import("viem").RpcLog[];
772
+ }, {
773
+ Method: "eth_uninstallFilter";
774
+ Parameters: [filterId: `0x${string}`];
775
+ ReturnType: boolean;
776
+ }]>;
777
+ type: "block";
778
+ }>;
779
+ createContractEventFilter: () => const;
780
+ simulateUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<import("@alchemy/aa-alchemy").AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse>;
781
+ extend: () => const;
782
+ };
783
+ getSigner(): import("@ethersproject/providers").JsonRpcSigner;
784
+ disconnect(): Promise<void>;
785
+ listAccounts(): Promise<`0x${string}`[]>;
786
+ getAddress(): Promise<string>;
787
+ readonly connection: import("@ethersproject/web").ConnectionInfo;
788
+ _pendingFilter: Promise<number>;
789
+ _nextId: number;
790
+ _eventLoopCache: Record<string, Promise<any>>;
791
+ readonly _cache: Record<string, Promise<any>>;
792
+ detectNetwork(): Promise<import("@ethersproject/networks").Network>;
793
+ _uncachedDetectNetwork(): Promise<import("@ethersproject/networks").Network>;
794
+ getUncheckedSigner(addressOrIndex?: string | number | undefined): {
795
+ sendTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").TransactionResponse>;
796
+ readonly provider: import("@ethersproject/providers").JsonRpcProvider;
797
+ _index: number;
798
+ _address: string;
799
+ connect(provider: import("@ethersproject/abstract-provider").Provider): import("@ethersproject/providers").JsonRpcSigner;
800
+ connectUnchecked(): import("@ethersproject/providers").JsonRpcSigner;
801
+ getAddress(): Promise<string>;
802
+ sendUncheckedTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<string>;
803
+ signTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<string>;
804
+ signMessage(message: string | import("ethers").Bytes): Promise<string>;
805
+ _legacySignMessage(message: string | import("ethers").Bytes): Promise<string>;
806
+ _signTypedData(domain: import("ethers").TypedDataDomain, types: Record<string, import("ethers").TypedDataField[]>, value: Record<string, any>): Promise<string>;
807
+ unlock(password: string): Promise<boolean>;
808
+ readonly _isSigner: boolean;
809
+ getBalance(blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<import("alchemy-sdk").BigNumber>;
810
+ getTransactionCount(blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<number>;
811
+ estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
812
+ call(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>, blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<string>;
813
+ getChainId(): Promise<number>;
814
+ getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
815
+ getFeeData(): Promise<import("alchemy-sdk").FeeData>;
816
+ resolveName(name: string): Promise<string>;
817
+ checkTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>;
818
+ populateTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").TransactionRequest>;
819
+ _checkProvider(operation?: string | undefined): void;
820
+ };
821
+ send(method: string, params: any[]): Promise<any>;
822
+ prepareRequest(method: string, params: any): [string, any[]];
823
+ perform(method: string, params: any): Promise<any>;
824
+ _startEvent(event: import("@ethersproject/providers/lib/base-provider").Event): void;
825
+ _startPending(): void;
826
+ _stopEvent(event: import("@ethersproject/providers/lib/base-provider").Event): void;
827
+ _networkPromise: Promise<import("@ethersproject/networks").Network>;
828
+ _network: import("@ethersproject/networks").Network;
829
+ _events: import("@ethersproject/providers/lib/base-provider").Event[];
830
+ formatter: import("@ethersproject/providers").Formatter;
831
+ _emitted: {
832
+ [eventName: string]: number | "pending";
833
+ };
834
+ _pollingInterval: number;
835
+ _poller: NodeJS.Timer;
836
+ _bootstrapPoll: NodeJS.Timer;
837
+ _lastBlockNumber: number;
838
+ _maxFilterBlockRange: number;
839
+ _fastBlockNumber: number;
840
+ _fastBlockNumberPromise: Promise<number>;
841
+ _fastQueryDate: number;
842
+ _maxInternalBlockNumber: number;
843
+ _internalBlockNumber: Promise<{
844
+ blockNumber: number;
845
+ reqTime: number;
846
+ respTime: number;
847
+ }>;
848
+ readonly anyNetwork: boolean;
849
+ disableCcipRead: boolean;
850
+ _ready(): Promise<import("@ethersproject/networks").Network>;
851
+ readonly ready: Promise<import("@ethersproject/networks").Network>;
852
+ ccipReadFetch(tx: import("ethers").Transaction, calldata: string, urls: string[]): Promise<string | null>;
853
+ _getInternalBlockNumber(maxAge: number): Promise<number>;
854
+ poll(): Promise<void>;
855
+ resetEventsBlock(blockNumber: number): void;
856
+ readonly network: import("@ethersproject/networks").Network;
857
+ getNetwork(): Promise<import("@ethersproject/networks").Network>;
858
+ readonly blockNumber: number;
859
+ polling: boolean;
860
+ pollingInterval: number;
861
+ _getFastBlockNumber(): Promise<number>;
862
+ _setFastBlockNumber(blockNumber: number): void;
863
+ waitForTransaction(transactionHash: string, confirmations?: number | undefined, timeout?: number | undefined): Promise<import("alchemy-sdk").TransactionReceipt>;
864
+ _waitForTransaction(transactionHash: string, confirmations: number, timeout: number, replaceable: {
865
+ data: string;
866
+ from: string;
867
+ nonce: number;
868
+ to: string;
869
+ value: import("alchemy-sdk").BigNumber;
870
+ startBlock: number;
871
+ }): Promise<import("alchemy-sdk").TransactionReceipt>;
872
+ getBlockNumber(): Promise<number>;
873
+ getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
874
+ getBalance(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<import("alchemy-sdk").BigNumber>;
875
+ getTransactionCount(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<number>;
876
+ getCode(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
877
+ getStorageAt(addressOrName: string | Promise<string>, position: import("alchemy-sdk").BigNumberish | Promise<import("alchemy-sdk").BigNumberish>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
878
+ _wrapTransaction(tx: import("ethers").Transaction, hash?: string | undefined, startBlock?: number | undefined): import("alchemy-sdk").TransactionResponse;
879
+ sendTransaction(signedTransaction: string | Promise<string>): Promise<import("alchemy-sdk").TransactionResponse>;
880
+ _getTransactionRequest(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("ethers").Transaction>;
881
+ _getFilter(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>;
882
+ _call(transaction: import("alchemy-sdk").TransactionRequest, blockTag: import("alchemy-sdk").BlockTag, attempt: number): Promise<string>;
883
+ call(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
884
+ estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
885
+ _getAddress(addressOrName: string | Promise<string>): Promise<string>;
886
+ _getBlock(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>, includeTransactions?: boolean | undefined): Promise<import("alchemy-sdk").Block | import("alchemy-sdk").BlockWithTransactions>;
887
+ getBlock(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").Block>;
888
+ getBlockWithTransactions(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").BlockWithTransactions>;
889
+ getTransaction(transactionHash: string | Promise<string>): Promise<import("alchemy-sdk").TransactionResponse>;
890
+ getTransactionReceipt(transactionHash: string | Promise<string>): Promise<import("alchemy-sdk").TransactionReceipt>;
891
+ getLogs(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("alchemy-sdk").Log[]>;
892
+ getEtherPrice(): Promise<number>;
893
+ _getBlockTag(blockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").BlockTag>;
894
+ getResolver(name: string): Promise<import("@ethersproject/providers").Resolver | null>;
895
+ _getResolver(name: string, operation?: string | undefined): Promise<string>;
896
+ resolveName(name: string | Promise<string>): Promise<string | null>;
897
+ lookupAddress(address: string | Promise<string>): Promise<string | null>;
898
+ getAvatar(nameOrAddress: string): Promise<string | null>;
899
+ _addEventListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener, once: boolean): any;
900
+ on(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
901
+ once(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
902
+ emit(eventName: import("alchemy-sdk").EventType, ...args: any[]): boolean;
903
+ listenerCount(eventName?: import("alchemy-sdk").EventType | undefined): number;
904
+ listeners(eventName?: import("alchemy-sdk").EventType | undefined): import("@ethersproject/abstract-provider").Listener[];
905
+ off(eventName: import("alchemy-sdk").EventType, listener?: import("@ethersproject/abstract-provider").Listener | undefined): any;
906
+ removeAllListeners(eventName?: import("alchemy-sdk").EventType | undefined): any;
907
+ getFeeData(): Promise<import("alchemy-sdk").FeeData>;
908
+ addListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
909
+ removeListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
910
+ readonly _isProvider: boolean;
911
+ }>;
912
+ export declare function disconnect(): any;
913
+ export declare function signTypedData(data: any): any;