@rhinestone/sdk 0.3.0 → 0.4.1

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 (103) hide show
  1. package/dist/{accounts → src/accounts}/index.d.ts +67 -67
  2. package/dist/{accounts → src/accounts}/index.d.ts.map +1 -1
  3. package/dist/{accounts → src/accounts}/index.js +44 -40
  4. package/dist/{accounts → src/accounts}/nexus.d.ts +93 -93
  5. package/dist/{accounts → src/accounts}/nexus.d.ts.map +1 -1
  6. package/dist/{accounts → src/accounts}/nexus.js +7 -7
  7. package/dist/src/accounts/safe.d.ts +15524 -0
  8. package/dist/src/accounts/safe.d.ts.map +1 -0
  9. package/dist/{accounts → src/accounts}/safe.js +84 -9
  10. package/dist/{accounts → src/accounts}/utils.d.ts +1 -1
  11. package/dist/src/accounts/utils.d.ts.map +1 -0
  12. package/dist/{execution → src/execution}/index.d.ts +1 -1
  13. package/dist/src/execution/index.d.ts.map +1 -0
  14. package/dist/{execution → src/execution}/index.js +7 -8
  15. package/dist/{execution → src/execution}/smart-session.d.ts +2 -3
  16. package/dist/src/execution/smart-session.d.ts.map +1 -0
  17. package/dist/{execution → src/execution}/smart-session.js +4 -6
  18. package/dist/{index.d.ts → src/index.d.ts} +10 -3
  19. package/dist/src/index.d.ts.map +1 -0
  20. package/dist/{index.js → src/index.js} +21 -1
  21. package/dist/src/modules/abi/smart-sessions.d.ts.map +1 -0
  22. package/dist/src/modules/common.d.ts.map +1 -0
  23. package/dist/{modules → src/modules}/index.d.ts +1 -1
  24. package/dist/src/modules/index.d.ts.map +1 -0
  25. package/dist/{modules → src/modules}/index.js +16 -2
  26. package/dist/src/modules/omni-account.d.ts.map +1 -0
  27. package/dist/src/modules/validators/core.d.ts +23 -0
  28. package/dist/src/modules/validators/core.d.ts.map +1 -0
  29. package/dist/src/modules/validators/core.js +112 -0
  30. package/dist/src/modules/validators/index.d.ts +4 -0
  31. package/dist/src/modules/validators/index.d.ts.map +1 -0
  32. package/dist/src/modules/validators/index.js +3 -0
  33. package/dist/{modules/validators.d.ts → src/modules/validators/smart-sessions.d.ts} +4 -6
  34. package/dist/src/modules/validators/smart-sessions.d.ts.map +1 -0
  35. package/dist/{modules/validators.js → src/modules/validators/smart-sessions.js} +11 -116
  36. package/dist/{orchestrator → src/orchestrator}/client.d.ts +2 -1
  37. package/dist/src/orchestrator/client.d.ts.map +1 -0
  38. package/dist/{orchestrator → src/orchestrator}/client.js +19 -2
  39. package/dist/src/orchestrator/consts.d.ts.map +1 -0
  40. package/dist/src/orchestrator/error.d.ts.map +1 -0
  41. package/dist/src/orchestrator/index.d.ts +11 -0
  42. package/dist/src/orchestrator/index.d.ts.map +1 -0
  43. package/dist/src/orchestrator/index.js +10 -0
  44. package/dist/src/orchestrator/registry.d.ts.map +1 -0
  45. package/dist/{orchestrator → src/orchestrator}/registry.js +1 -1
  46. package/dist/{orchestrator → src/orchestrator}/types.d.ts +50 -2
  47. package/dist/src/orchestrator/types.d.ts.map +1 -0
  48. package/dist/{orchestrator → src/orchestrator}/utils.d.ts +6 -2
  49. package/dist/src/orchestrator/utils.d.ts.map +1 -0
  50. package/dist/{orchestrator → src/orchestrator}/utils.js +76 -2
  51. package/dist/{types.d.ts → src/types.d.ts} +7 -6
  52. package/dist/src/types.d.ts.map +1 -0
  53. package/dist/test/modules/validators/smart-sessions.test.d.ts +2 -0
  54. package/dist/test/modules/validators/smart-sessions.test.d.ts.map +1 -0
  55. package/dist/test/modules/validators/smart-sessions.test.js +20 -0
  56. package/package.json +2 -2
  57. package/dist/accounts/safe.d.ts +0 -15
  58. package/dist/accounts/safe.d.ts.map +0 -1
  59. package/dist/accounts/utils.d.ts.map +0 -1
  60. package/dist/examples/abi/weth.d.ts +0 -214
  61. package/dist/examples/abi/weth.d.ts.map +0 -1
  62. package/dist/examples/abi/weth.js +0 -279
  63. package/dist/examples/cross-chain-ss.d.ts +0 -1
  64. package/dist/examples/cross-chain-ss.d.ts.map +0 -1
  65. package/dist/examples/cross-chain-ss.js +0 -171
  66. package/dist/examples/omni-account.d.ts +0 -1
  67. package/dist/examples/omni-account.d.ts.map +0 -1
  68. package/dist/examples/omni-account.js +0 -169
  69. package/dist/examples/smart-sessions.d.ts +0 -1
  70. package/dist/examples/smart-sessions.d.ts.map +0 -1
  71. package/dist/examples/smart-sessions.js +0 -216
  72. package/dist/execution/index.d.ts.map +0 -1
  73. package/dist/execution/smart-session.d.ts.map +0 -1
  74. package/dist/index.d.ts.map +0 -1
  75. package/dist/modules/abi/smart-sessions.d.ts.map +0 -1
  76. package/dist/modules/common.d.ts.map +0 -1
  77. package/dist/modules/index.d.ts.map +0 -1
  78. package/dist/modules/omni-account.d.ts.map +0 -1
  79. package/dist/modules/validators.d.ts.map +0 -1
  80. package/dist/orchestrator/client.d.ts.map +0 -1
  81. package/dist/orchestrator/consts.d.ts.map +0 -1
  82. package/dist/orchestrator/error.d.ts.map +0 -1
  83. package/dist/orchestrator/index.d.ts +0 -9
  84. package/dist/orchestrator/index.d.ts.map +0 -1
  85. package/dist/orchestrator/index.js +0 -10
  86. package/dist/orchestrator/registry.d.ts.map +0 -1
  87. package/dist/orchestrator/types.d.ts.map +0 -1
  88. package/dist/orchestrator/utils.d.ts.map +0 -1
  89. package/dist/types.d.ts.map +0 -1
  90. package/dist/{accounts → src/accounts}/utils.js +1 -1
  91. /package/dist/{modules → src/modules}/abi/smart-sessions.d.ts +0 -0
  92. /package/dist/{modules → src/modules}/abi/smart-sessions.js +0 -0
  93. /package/dist/{modules → src/modules}/common.d.ts +0 -0
  94. /package/dist/{modules → src/modules}/common.js +0 -0
  95. /package/dist/{modules → src/modules}/omni-account.d.ts +0 -0
  96. /package/dist/{modules → src/modules}/omni-account.js +0 -0
  97. /package/dist/{orchestrator → src/orchestrator}/consts.d.ts +0 -0
  98. /package/dist/{orchestrator → src/orchestrator}/consts.js +0 -0
  99. /package/dist/{orchestrator → src/orchestrator}/error.d.ts +0 -0
  100. /package/dist/{orchestrator → src/orchestrator}/error.js +0 -0
  101. /package/dist/{orchestrator → src/orchestrator}/registry.d.ts +0 -0
  102. /package/dist/{orchestrator → src/orchestrator}/types.js +0 -0
  103. /package/dist/{types.js → src/types.js} +0 -0
@@ -1,13 +1,13 @@
1
- import { type Address, type Account, type PublicClient, type Hex } from 'viem';
1
+ import type { Account, Address, Hex, PublicClient } from 'viem';
2
2
  import { OwnerSet, RhinestoneAccountConfig, Session } from '../types';
3
- declare function getDeployArgs(config: RhinestoneAccountConfig): Promise<{
3
+ declare function getDeployArgs(config: RhinestoneAccountConfig): {
4
4
  factory: `0x${string}`;
5
5
  factoryData: `0x${string}`;
6
6
  salt: `0x${string}`;
7
7
  hashedInitcode: `0x${string}`;
8
8
  implementation: `0x${string}`;
9
9
  initializationCallData: `0x${string}`;
10
- }>;
10
+ };
11
11
  declare function getSmartAccount(client: PublicClient, address: Address, owners: OwnerSet, validatorAddress: Address, sign: (hash: Hex) => Promise<Hex>): Promise<{
12
12
  client: {
13
13
  account: undefined;
@@ -71,6 +71,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
71
71
  maxFeePerGas?: undefined | undefined;
72
72
  maxPriorityFeePerGas?: undefined | undefined;
73
73
  nonce: number;
74
+ chainId?: number | undefined;
75
+ value: bigint;
74
76
  yParity?: undefined | undefined;
75
77
  from: Address;
76
78
  gas: bigint;
@@ -81,11 +83,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
81
83
  to: Address | null;
82
84
  typeHex: Hex | null;
83
85
  v: bigint;
84
- value: bigint;
85
86
  accessList?: undefined | undefined;
86
87
  authorizationList?: undefined | undefined;
87
88
  blobVersionedHashes?: undefined | undefined;
88
- chainId?: number | undefined;
89
89
  gasPrice: bigint;
90
90
  maxFeePerBlobGas?: undefined | undefined;
91
91
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -96,6 +96,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
96
96
  maxFeePerGas?: undefined | undefined;
97
97
  maxPriorityFeePerGas?: undefined | undefined;
98
98
  nonce: number;
99
+ chainId: number;
100
+ value: bigint;
99
101
  yParity: number;
100
102
  from: Address;
101
103
  gas: bigint;
@@ -106,11 +108,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
106
108
  to: Address | null;
107
109
  typeHex: Hex | null;
108
110
  v: bigint;
109
- value: bigint;
110
111
  accessList: import("viem").AccessList;
111
112
  authorizationList?: undefined | undefined;
112
113
  blobVersionedHashes?: undefined | undefined;
113
- chainId: number;
114
114
  gasPrice: bigint;
115
115
  maxFeePerBlobGas?: undefined | undefined;
116
116
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -121,6 +121,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
121
121
  maxFeePerGas: bigint;
122
122
  maxPriorityFeePerGas: bigint;
123
123
  nonce: number;
124
+ chainId: number;
125
+ value: bigint;
124
126
  yParity: number;
125
127
  from: Address;
126
128
  gas: bigint;
@@ -131,11 +133,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
131
133
  to: Address | null;
132
134
  typeHex: Hex | null;
133
135
  v: bigint;
134
- value: bigint;
135
136
  accessList: import("viem").AccessList;
136
137
  authorizationList?: undefined | undefined;
137
138
  blobVersionedHashes?: undefined | undefined;
138
- chainId: number;
139
139
  gasPrice?: undefined | undefined;
140
140
  maxFeePerBlobGas?: undefined | undefined;
141
141
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -146,6 +146,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
146
146
  maxFeePerGas: bigint;
147
147
  maxPriorityFeePerGas: bigint;
148
148
  nonce: number;
149
+ chainId: number;
150
+ value: bigint;
149
151
  yParity: number;
150
152
  from: Address;
151
153
  gas: bigint;
@@ -156,11 +158,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
156
158
  to: Address | null;
157
159
  typeHex: Hex | null;
158
160
  v: bigint;
159
- value: bigint;
160
161
  accessList: import("viem").AccessList;
161
162
  authorizationList?: undefined | undefined;
162
163
  blobVersionedHashes: readonly Hex[];
163
- chainId: number;
164
164
  gasPrice?: undefined | undefined;
165
165
  maxFeePerBlobGas: bigint;
166
166
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -171,6 +171,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
171
171
  maxFeePerGas: bigint;
172
172
  maxPriorityFeePerGas: bigint;
173
173
  nonce: number;
174
+ chainId: number;
175
+ value: bigint;
174
176
  yParity: number;
175
177
  from: Address;
176
178
  gas: bigint;
@@ -181,11 +183,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
181
183
  to: Address | null;
182
184
  typeHex: Hex | null;
183
185
  v: bigint;
184
- value: bigint;
185
186
  accessList: import("viem").AccessList;
186
187
  authorizationList: import("viem").SignedAuthorizationList;
187
188
  blobVersionedHashes?: undefined | undefined;
188
- chainId: number;
189
189
  gasPrice?: undefined | undefined;
190
190
  maxFeePerBlobGas?: undefined | undefined;
191
191
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -221,6 +221,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
221
221
  maxFeePerGas?: undefined | undefined;
222
222
  maxPriorityFeePerGas?: undefined | undefined;
223
223
  nonce: number;
224
+ chainId?: number | undefined;
225
+ value: bigint;
224
226
  yParity?: undefined | undefined;
225
227
  from: Address;
226
228
  gas: bigint;
@@ -231,11 +233,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
231
233
  to: Address | null;
232
234
  typeHex: Hex | null;
233
235
  v: bigint;
234
- value: bigint;
235
236
  accessList?: undefined | undefined;
236
237
  authorizationList?: undefined | undefined;
237
238
  blobVersionedHashes?: undefined | undefined;
238
- chainId?: number | undefined;
239
239
  gasPrice: bigint;
240
240
  maxFeePerBlobGas?: undefined | undefined;
241
241
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -246,6 +246,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
246
246
  maxFeePerGas?: undefined | undefined;
247
247
  maxPriorityFeePerGas?: undefined | undefined;
248
248
  nonce: number;
249
+ chainId: number;
250
+ value: bigint;
249
251
  yParity: number;
250
252
  from: Address;
251
253
  gas: bigint;
@@ -256,11 +258,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
256
258
  to: Address | null;
257
259
  typeHex: Hex | null;
258
260
  v: bigint;
259
- value: bigint;
260
261
  accessList: import("viem").AccessList;
261
262
  authorizationList?: undefined | undefined;
262
263
  blobVersionedHashes?: undefined | undefined;
263
- chainId: number;
264
264
  gasPrice: bigint;
265
265
  maxFeePerBlobGas?: undefined | undefined;
266
266
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -271,6 +271,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
271
271
  maxFeePerGas: bigint;
272
272
  maxPriorityFeePerGas: bigint;
273
273
  nonce: number;
274
+ chainId: number;
275
+ value: bigint;
274
276
  yParity: number;
275
277
  from: Address;
276
278
  gas: bigint;
@@ -281,11 +283,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
281
283
  to: Address | null;
282
284
  typeHex: Hex | null;
283
285
  v: bigint;
284
- value: bigint;
285
286
  accessList: import("viem").AccessList;
286
287
  authorizationList?: undefined | undefined;
287
288
  blobVersionedHashes?: undefined | undefined;
288
- chainId: number;
289
289
  gasPrice?: undefined | undefined;
290
290
  maxFeePerBlobGas?: undefined | undefined;
291
291
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -296,6 +296,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
296
296
  maxFeePerGas: bigint;
297
297
  maxPriorityFeePerGas: bigint;
298
298
  nonce: number;
299
+ chainId: number;
300
+ value: bigint;
299
301
  yParity: number;
300
302
  from: Address;
301
303
  gas: bigint;
@@ -306,11 +308,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
306
308
  to: Address | null;
307
309
  typeHex: Hex | null;
308
310
  v: bigint;
309
- value: bigint;
310
311
  accessList: import("viem").AccessList;
311
312
  authorizationList?: undefined | undefined;
312
313
  blobVersionedHashes: readonly Hex[];
313
- chainId: number;
314
314
  gasPrice?: undefined | undefined;
315
315
  maxFeePerBlobGas: bigint;
316
316
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -321,6 +321,8 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
321
321
  maxFeePerGas: bigint;
322
322
  maxPriorityFeePerGas: bigint;
323
323
  nonce: number;
324
+ chainId: number;
325
+ value: bigint;
324
326
  yParity: number;
325
327
  from: Address;
326
328
  gas: bigint;
@@ -331,11 +333,9 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
331
333
  to: Address | null;
332
334
  typeHex: Hex | null;
333
335
  v: bigint;
334
- value: bigint;
335
336
  accessList: import("viem").AccessList;
336
337
  authorizationList: import("viem").SignedAuthorizationList;
337
338
  blobVersionedHashes?: undefined | undefined;
338
- chainId: number;
339
339
  gasPrice?: undefined | undefined;
340
340
  maxFeePerBlobGas?: undefined | undefined;
341
341
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -3598,7 +3598,7 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
3598
3598
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
3599
3599
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
3600
3600
  chainId?: number | undefined;
3601
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
3601
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
3602
3602
  chain: T_1;
3603
3603
  } : {
3604
3604
  chain?: undefined;
@@ -6850,7 +6850,7 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
6850
6850
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
6851
6851
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
6852
6852
  chainId?: number | undefined;
6853
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
6853
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
6854
6854
  readContract: <const abi extends import("abitype").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi, "pure" | "view">, const args extends import("viem").ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: import("viem").ReadContractParameters<abi, functionName, args>) => Promise<import("viem").ReadContractReturnType<abi, functionName, args>>;
6855
6855
  sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<import("viem").SendRawTransactionReturnType>;
6856
6856
  simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
@@ -7555,19 +7555,18 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
7555
7555
  [x: `string[${string}]`]: undefined;
7556
7556
  [x: `function[${string}]`]: undefined;
7557
7557
  [x: `address[${string}]`]: undefined;
7558
- [x: `bytes[${string}]`]: undefined;
7559
- [x: `bytes32[${string}]`]: undefined;
7560
- [x: `bytes4[${string}]`]: undefined;
7561
7558
  [x: `bool[${string}]`]: undefined;
7559
+ [x: `bytes[${string}]`]: undefined;
7562
7560
  [x: `bytes1[${string}]`]: undefined;
7563
- [x: `bytes10[${string}]`]: undefined;
7564
7561
  [x: `bytes2[${string}]`]: undefined;
7565
7562
  [x: `bytes3[${string}]`]: undefined;
7563
+ [x: `bytes4[${string}]`]: undefined;
7566
7564
  [x: `bytes5[${string}]`]: undefined;
7567
7565
  [x: `bytes6[${string}]`]: undefined;
7568
7566
  [x: `bytes7[${string}]`]: undefined;
7569
7567
  [x: `bytes8[${string}]`]: undefined;
7570
7568
  [x: `bytes9[${string}]`]: undefined;
7569
+ [x: `bytes10[${string}]`]: undefined;
7571
7570
  [x: `bytes11[${string}]`]: undefined;
7572
7571
  [x: `bytes12[${string}]`]: undefined;
7573
7572
  [x: `bytes13[${string}]`]: undefined;
@@ -7589,6 +7588,7 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
7589
7588
  [x: `bytes29[${string}]`]: undefined;
7590
7589
  [x: `bytes30[${string}]`]: undefined;
7591
7590
  [x: `bytes31[${string}]`]: undefined;
7591
+ [x: `bytes32[${string}]`]: undefined;
7592
7592
  [x: `int[${string}]`]: undefined;
7593
7593
  [x: `int8[${string}]`]: undefined;
7594
7594
  [x: `int16[${string}]`]: undefined;
@@ -7657,19 +7657,18 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
7657
7657
  [x: `uint256[${string}]`]: undefined;
7658
7658
  string?: undefined;
7659
7659
  address?: undefined;
7660
- bytes?: undefined;
7661
- bytes32?: undefined;
7662
- bytes4?: undefined;
7663
7660
  bool?: undefined;
7661
+ bytes?: undefined;
7664
7662
  bytes1?: undefined;
7665
- bytes10?: undefined;
7666
7663
  bytes2?: undefined;
7667
7664
  bytes3?: undefined;
7665
+ bytes4?: undefined;
7668
7666
  bytes5?: undefined;
7669
7667
  bytes6?: undefined;
7670
7668
  bytes7?: undefined;
7671
7669
  bytes8?: undefined;
7672
7670
  bytes9?: undefined;
7671
+ bytes10?: undefined;
7673
7672
  bytes11?: undefined;
7674
7673
  bytes12?: undefined;
7675
7674
  bytes13?: undefined;
@@ -7691,6 +7690,7 @@ declare function getSmartAccount(client: PublicClient, address: Address, owners:
7691
7690
  bytes29?: undefined;
7692
7691
  bytes30?: undefined;
7693
7692
  bytes31?: undefined;
7693
+ bytes32?: undefined;
7694
7694
  int8?: undefined;
7695
7695
  int16?: undefined;
7696
7696
  int24?: undefined;
@@ -7826,6 +7826,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7826
7826
  maxFeePerGas?: undefined | undefined;
7827
7827
  maxPriorityFeePerGas?: undefined | undefined;
7828
7828
  nonce: number;
7829
+ chainId?: number | undefined;
7830
+ value: bigint;
7829
7831
  yParity?: undefined | undefined;
7830
7832
  from: Address;
7831
7833
  gas: bigint;
@@ -7836,11 +7838,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7836
7838
  to: Address | null;
7837
7839
  typeHex: Hex | null;
7838
7840
  v: bigint;
7839
- value: bigint;
7840
7841
  accessList?: undefined | undefined;
7841
7842
  authorizationList?: undefined | undefined;
7842
7843
  blobVersionedHashes?: undefined | undefined;
7843
- chainId?: number | undefined;
7844
7844
  gasPrice: bigint;
7845
7845
  maxFeePerBlobGas?: undefined | undefined;
7846
7846
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -7851,6 +7851,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7851
7851
  maxFeePerGas?: undefined | undefined;
7852
7852
  maxPriorityFeePerGas?: undefined | undefined;
7853
7853
  nonce: number;
7854
+ chainId: number;
7855
+ value: bigint;
7854
7856
  yParity: number;
7855
7857
  from: Address;
7856
7858
  gas: bigint;
@@ -7861,11 +7863,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7861
7863
  to: Address | null;
7862
7864
  typeHex: Hex | null;
7863
7865
  v: bigint;
7864
- value: bigint;
7865
7866
  accessList: import("viem").AccessList;
7866
7867
  authorizationList?: undefined | undefined;
7867
7868
  blobVersionedHashes?: undefined | undefined;
7868
- chainId: number;
7869
7869
  gasPrice: bigint;
7870
7870
  maxFeePerBlobGas?: undefined | undefined;
7871
7871
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -7876,6 +7876,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7876
7876
  maxFeePerGas: bigint;
7877
7877
  maxPriorityFeePerGas: bigint;
7878
7878
  nonce: number;
7879
+ chainId: number;
7880
+ value: bigint;
7879
7881
  yParity: number;
7880
7882
  from: Address;
7881
7883
  gas: bigint;
@@ -7886,11 +7888,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7886
7888
  to: Address | null;
7887
7889
  typeHex: Hex | null;
7888
7890
  v: bigint;
7889
- value: bigint;
7890
7891
  accessList: import("viem").AccessList;
7891
7892
  authorizationList?: undefined | undefined;
7892
7893
  blobVersionedHashes?: undefined | undefined;
7893
- chainId: number;
7894
7894
  gasPrice?: undefined | undefined;
7895
7895
  maxFeePerBlobGas?: undefined | undefined;
7896
7896
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -7901,6 +7901,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7901
7901
  maxFeePerGas: bigint;
7902
7902
  maxPriorityFeePerGas: bigint;
7903
7903
  nonce: number;
7904
+ chainId: number;
7905
+ value: bigint;
7904
7906
  yParity: number;
7905
7907
  from: Address;
7906
7908
  gas: bigint;
@@ -7911,11 +7913,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7911
7913
  to: Address | null;
7912
7914
  typeHex: Hex | null;
7913
7915
  v: bigint;
7914
- value: bigint;
7915
7916
  accessList: import("viem").AccessList;
7916
7917
  authorizationList?: undefined | undefined;
7917
7918
  blobVersionedHashes: readonly Hex[];
7918
- chainId: number;
7919
7919
  gasPrice?: undefined | undefined;
7920
7920
  maxFeePerBlobGas: bigint;
7921
7921
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -7926,6 +7926,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7926
7926
  maxFeePerGas: bigint;
7927
7927
  maxPriorityFeePerGas: bigint;
7928
7928
  nonce: number;
7929
+ chainId: number;
7930
+ value: bigint;
7929
7931
  yParity: number;
7930
7932
  from: Address;
7931
7933
  gas: bigint;
@@ -7936,11 +7938,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7936
7938
  to: Address | null;
7937
7939
  typeHex: Hex | null;
7938
7940
  v: bigint;
7939
- value: bigint;
7940
7941
  accessList: import("viem").AccessList;
7941
7942
  authorizationList: import("viem").SignedAuthorizationList;
7942
7943
  blobVersionedHashes?: undefined | undefined;
7943
- chainId: number;
7944
7944
  gasPrice?: undefined | undefined;
7945
7945
  maxFeePerBlobGas?: undefined | undefined;
7946
7946
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -7976,6 +7976,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7976
7976
  maxFeePerGas?: undefined | undefined;
7977
7977
  maxPriorityFeePerGas?: undefined | undefined;
7978
7978
  nonce: number;
7979
+ chainId?: number | undefined;
7980
+ value: bigint;
7979
7981
  yParity?: undefined | undefined;
7980
7982
  from: Address;
7981
7983
  gas: bigint;
@@ -7986,11 +7988,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
7986
7988
  to: Address | null;
7987
7989
  typeHex: Hex | null;
7988
7990
  v: bigint;
7989
- value: bigint;
7990
7991
  accessList?: undefined | undefined;
7991
7992
  authorizationList?: undefined | undefined;
7992
7993
  blobVersionedHashes?: undefined | undefined;
7993
- chainId?: number | undefined;
7994
7994
  gasPrice: bigint;
7995
7995
  maxFeePerBlobGas?: undefined | undefined;
7996
7996
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -8001,6 +8001,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8001
8001
  maxFeePerGas?: undefined | undefined;
8002
8002
  maxPriorityFeePerGas?: undefined | undefined;
8003
8003
  nonce: number;
8004
+ chainId: number;
8005
+ value: bigint;
8004
8006
  yParity: number;
8005
8007
  from: Address;
8006
8008
  gas: bigint;
@@ -8011,11 +8013,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8011
8013
  to: Address | null;
8012
8014
  typeHex: Hex | null;
8013
8015
  v: bigint;
8014
- value: bigint;
8015
8016
  accessList: import("viem").AccessList;
8016
8017
  authorizationList?: undefined | undefined;
8017
8018
  blobVersionedHashes?: undefined | undefined;
8018
- chainId: number;
8019
8019
  gasPrice: bigint;
8020
8020
  maxFeePerBlobGas?: undefined | undefined;
8021
8021
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -8026,6 +8026,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8026
8026
  maxFeePerGas: bigint;
8027
8027
  maxPriorityFeePerGas: bigint;
8028
8028
  nonce: number;
8029
+ chainId: number;
8030
+ value: bigint;
8029
8031
  yParity: number;
8030
8032
  from: Address;
8031
8033
  gas: bigint;
@@ -8036,11 +8038,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8036
8038
  to: Address | null;
8037
8039
  typeHex: Hex | null;
8038
8040
  v: bigint;
8039
- value: bigint;
8040
8041
  accessList: import("viem").AccessList;
8041
8042
  authorizationList?: undefined | undefined;
8042
8043
  blobVersionedHashes?: undefined | undefined;
8043
- chainId: number;
8044
8044
  gasPrice?: undefined | undefined;
8045
8045
  maxFeePerBlobGas?: undefined | undefined;
8046
8046
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -8051,6 +8051,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8051
8051
  maxFeePerGas: bigint;
8052
8052
  maxPriorityFeePerGas: bigint;
8053
8053
  nonce: number;
8054
+ chainId: number;
8055
+ value: bigint;
8054
8056
  yParity: number;
8055
8057
  from: Address;
8056
8058
  gas: bigint;
@@ -8061,11 +8063,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8061
8063
  to: Address | null;
8062
8064
  typeHex: Hex | null;
8063
8065
  v: bigint;
8064
- value: bigint;
8065
8066
  accessList: import("viem").AccessList;
8066
8067
  authorizationList?: undefined | undefined;
8067
8068
  blobVersionedHashes: readonly Hex[];
8068
- chainId: number;
8069
8069
  gasPrice?: undefined | undefined;
8070
8070
  maxFeePerBlobGas: bigint;
8071
8071
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -8076,6 +8076,8 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8076
8076
  maxFeePerGas: bigint;
8077
8077
  maxPriorityFeePerGas: bigint;
8078
8078
  nonce: number;
8079
+ chainId: number;
8080
+ value: bigint;
8079
8081
  yParity: number;
8080
8082
  from: Address;
8081
8083
  gas: bigint;
@@ -8086,11 +8088,9 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
8086
8088
  to: Address | null;
8087
8089
  typeHex: Hex | null;
8088
8090
  v: bigint;
8089
- value: bigint;
8090
8091
  accessList: import("viem").AccessList;
8091
8092
  authorizationList: import("viem").SignedAuthorizationList;
8092
8093
  blobVersionedHashes?: undefined | undefined;
8093
- chainId: number;
8094
8094
  gasPrice?: undefined | undefined;
8095
8095
  maxFeePerBlobGas?: undefined | undefined;
8096
8096
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -11353,7 +11353,7 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
11353
11353
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
11354
11354
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
11355
11355
  chainId?: number | undefined;
11356
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
11356
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
11357
11357
  chain: T_1;
11358
11358
  } : {
11359
11359
  chain?: undefined;
@@ -14605,7 +14605,7 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
14605
14605
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
14606
14606
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
14607
14607
  chainId?: number | undefined;
14608
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
14608
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
14609
14609
  readContract: <const abi extends import("abitype").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi, "pure" | "view">, const args extends import("viem").ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: import("viem").ReadContractParameters<abi, functionName, args>) => Promise<import("viem").ReadContractReturnType<abi, functionName, args>>;
14610
14610
  sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<import("viem").SendRawTransactionReturnType>;
14611
14611
  simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
@@ -15310,19 +15310,18 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
15310
15310
  [x: `string[${string}]`]: undefined;
15311
15311
  [x: `function[${string}]`]: undefined;
15312
15312
  [x: `address[${string}]`]: undefined;
15313
- [x: `bytes[${string}]`]: undefined;
15314
- [x: `bytes32[${string}]`]: undefined;
15315
- [x: `bytes4[${string}]`]: undefined;
15316
15313
  [x: `bool[${string}]`]: undefined;
15314
+ [x: `bytes[${string}]`]: undefined;
15317
15315
  [x: `bytes1[${string}]`]: undefined;
15318
- [x: `bytes10[${string}]`]: undefined;
15319
15316
  [x: `bytes2[${string}]`]: undefined;
15320
15317
  [x: `bytes3[${string}]`]: undefined;
15318
+ [x: `bytes4[${string}]`]: undefined;
15321
15319
  [x: `bytes5[${string}]`]: undefined;
15322
15320
  [x: `bytes6[${string}]`]: undefined;
15323
15321
  [x: `bytes7[${string}]`]: undefined;
15324
15322
  [x: `bytes8[${string}]`]: undefined;
15325
15323
  [x: `bytes9[${string}]`]: undefined;
15324
+ [x: `bytes10[${string}]`]: undefined;
15326
15325
  [x: `bytes11[${string}]`]: undefined;
15327
15326
  [x: `bytes12[${string}]`]: undefined;
15328
15327
  [x: `bytes13[${string}]`]: undefined;
@@ -15344,6 +15343,7 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
15344
15343
  [x: `bytes29[${string}]`]: undefined;
15345
15344
  [x: `bytes30[${string}]`]: undefined;
15346
15345
  [x: `bytes31[${string}]`]: undefined;
15346
+ [x: `bytes32[${string}]`]: undefined;
15347
15347
  [x: `int[${string}]`]: undefined;
15348
15348
  [x: `int8[${string}]`]: undefined;
15349
15349
  [x: `int16[${string}]`]: undefined;
@@ -15412,19 +15412,18 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
15412
15412
  [x: `uint256[${string}]`]: undefined;
15413
15413
  string?: undefined;
15414
15414
  address?: undefined;
15415
- bytes?: undefined;
15416
- bytes32?: undefined;
15417
- bytes4?: undefined;
15418
15415
  bool?: undefined;
15416
+ bytes?: undefined;
15419
15417
  bytes1?: undefined;
15420
- bytes10?: undefined;
15421
15418
  bytes2?: undefined;
15422
15419
  bytes3?: undefined;
15420
+ bytes4?: undefined;
15423
15421
  bytes5?: undefined;
15424
15422
  bytes6?: undefined;
15425
15423
  bytes7?: undefined;
15426
15424
  bytes8?: undefined;
15427
15425
  bytes9?: undefined;
15426
+ bytes10?: undefined;
15428
15427
  bytes11?: undefined;
15429
15428
  bytes12?: undefined;
15430
15429
  bytes13?: undefined;
@@ -15446,6 +15445,7 @@ declare function getSessionSmartAccount(client: PublicClient, address: Address,
15446
15445
  bytes29?: undefined;
15447
15446
  bytes30?: undefined;
15448
15447
  bytes31?: undefined;
15448
+ bytes32?: undefined;
15449
15449
  int8?: undefined;
15450
15450
  int16?: undefined;
15451
15451
  int24?: undefined;
@@ -15581,6 +15581,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15581
15581
  maxFeePerGas?: undefined | undefined;
15582
15582
  maxPriorityFeePerGas?: undefined | undefined;
15583
15583
  nonce: number;
15584
+ chainId?: number | undefined;
15585
+ value: bigint;
15584
15586
  yParity?: undefined | undefined;
15585
15587
  from: Address;
15586
15588
  gas: bigint;
@@ -15591,11 +15593,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15591
15593
  to: Address | null;
15592
15594
  typeHex: Hex | null;
15593
15595
  v: bigint;
15594
- value: bigint;
15595
15596
  accessList?: undefined | undefined;
15596
15597
  authorizationList?: undefined | undefined;
15597
15598
  blobVersionedHashes?: undefined | undefined;
15598
- chainId?: number | undefined;
15599
15599
  gasPrice: bigint;
15600
15600
  maxFeePerBlobGas?: undefined | undefined;
15601
15601
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -15606,6 +15606,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15606
15606
  maxFeePerGas?: undefined | undefined;
15607
15607
  maxPriorityFeePerGas?: undefined | undefined;
15608
15608
  nonce: number;
15609
+ chainId: number;
15610
+ value: bigint;
15609
15611
  yParity: number;
15610
15612
  from: Address;
15611
15613
  gas: bigint;
@@ -15616,11 +15618,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15616
15618
  to: Address | null;
15617
15619
  typeHex: Hex | null;
15618
15620
  v: bigint;
15619
- value: bigint;
15620
15621
  accessList: import("viem").AccessList;
15621
15622
  authorizationList?: undefined | undefined;
15622
15623
  blobVersionedHashes?: undefined | undefined;
15623
- chainId: number;
15624
15624
  gasPrice: bigint;
15625
15625
  maxFeePerBlobGas?: undefined | undefined;
15626
15626
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -15631,6 +15631,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15631
15631
  maxFeePerGas: bigint;
15632
15632
  maxPriorityFeePerGas: bigint;
15633
15633
  nonce: number;
15634
+ chainId: number;
15635
+ value: bigint;
15634
15636
  yParity: number;
15635
15637
  from: Address;
15636
15638
  gas: bigint;
@@ -15641,11 +15643,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15641
15643
  to: Address | null;
15642
15644
  typeHex: Hex | null;
15643
15645
  v: bigint;
15644
- value: bigint;
15645
15646
  accessList: import("viem").AccessList;
15646
15647
  authorizationList?: undefined | undefined;
15647
15648
  blobVersionedHashes?: undefined | undefined;
15648
- chainId: number;
15649
15649
  gasPrice?: undefined | undefined;
15650
15650
  maxFeePerBlobGas?: undefined | undefined;
15651
15651
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -15656,6 +15656,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15656
15656
  maxFeePerGas: bigint;
15657
15657
  maxPriorityFeePerGas: bigint;
15658
15658
  nonce: number;
15659
+ chainId: number;
15660
+ value: bigint;
15659
15661
  yParity: number;
15660
15662
  from: Address;
15661
15663
  gas: bigint;
@@ -15666,11 +15668,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15666
15668
  to: Address | null;
15667
15669
  typeHex: Hex | null;
15668
15670
  v: bigint;
15669
- value: bigint;
15670
15671
  accessList: import("viem").AccessList;
15671
15672
  authorizationList?: undefined | undefined;
15672
15673
  blobVersionedHashes: readonly Hex[];
15673
- chainId: number;
15674
15674
  gasPrice?: undefined | undefined;
15675
15675
  maxFeePerBlobGas: bigint;
15676
15676
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -15681,6 +15681,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15681
15681
  maxFeePerGas: bigint;
15682
15682
  maxPriorityFeePerGas: bigint;
15683
15683
  nonce: number;
15684
+ chainId: number;
15685
+ value: bigint;
15684
15686
  yParity: number;
15685
15687
  from: Address;
15686
15688
  gas: bigint;
@@ -15691,11 +15693,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15691
15693
  to: Address | null;
15692
15694
  typeHex: Hex | null;
15693
15695
  v: bigint;
15694
- value: bigint;
15695
15696
  accessList: import("viem").AccessList;
15696
15697
  authorizationList: import("viem").SignedAuthorizationList;
15697
15698
  blobVersionedHashes?: undefined | undefined;
15698
- chainId: number;
15699
15699
  gasPrice?: undefined | undefined;
15700
15700
  maxFeePerBlobGas?: undefined | undefined;
15701
15701
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -15731,6 +15731,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15731
15731
  maxFeePerGas?: undefined | undefined;
15732
15732
  maxPriorityFeePerGas?: undefined | undefined;
15733
15733
  nonce: number;
15734
+ chainId?: number | undefined;
15735
+ value: bigint;
15734
15736
  yParity?: undefined | undefined;
15735
15737
  from: Address;
15736
15738
  gas: bigint;
@@ -15741,11 +15743,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15741
15743
  to: Address | null;
15742
15744
  typeHex: Hex | null;
15743
15745
  v: bigint;
15744
- value: bigint;
15745
15746
  accessList?: undefined | undefined;
15746
15747
  authorizationList?: undefined | undefined;
15747
15748
  blobVersionedHashes?: undefined | undefined;
15748
- chainId?: number | undefined;
15749
15749
  gasPrice: bigint;
15750
15750
  maxFeePerBlobGas?: undefined | undefined;
15751
15751
  blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
@@ -15756,6 +15756,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15756
15756
  maxFeePerGas?: undefined | undefined;
15757
15757
  maxPriorityFeePerGas?: undefined | undefined;
15758
15758
  nonce: number;
15759
+ chainId: number;
15760
+ value: bigint;
15759
15761
  yParity: number;
15760
15762
  from: Address;
15761
15763
  gas: bigint;
@@ -15766,11 +15768,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15766
15768
  to: Address | null;
15767
15769
  typeHex: Hex | null;
15768
15770
  v: bigint;
15769
- value: bigint;
15770
15771
  accessList: import("viem").AccessList;
15771
15772
  authorizationList?: undefined | undefined;
15772
15773
  blobVersionedHashes?: undefined | undefined;
15773
- chainId: number;
15774
15774
  gasPrice: bigint;
15775
15775
  maxFeePerBlobGas?: undefined | undefined;
15776
15776
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
@@ -15781,6 +15781,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15781
15781
  maxFeePerGas: bigint;
15782
15782
  maxPriorityFeePerGas: bigint;
15783
15783
  nonce: number;
15784
+ chainId: number;
15785
+ value: bigint;
15784
15786
  yParity: number;
15785
15787
  from: Address;
15786
15788
  gas: bigint;
@@ -15791,11 +15793,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15791
15793
  to: Address | null;
15792
15794
  typeHex: Hex | null;
15793
15795
  v: bigint;
15794
- value: bigint;
15795
15796
  accessList: import("viem").AccessList;
15796
15797
  authorizationList?: undefined | undefined;
15797
15798
  blobVersionedHashes?: undefined | undefined;
15798
- chainId: number;
15799
15799
  gasPrice?: undefined | undefined;
15800
15800
  maxFeePerBlobGas?: undefined | undefined;
15801
15801
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
@@ -15806,6 +15806,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15806
15806
  maxFeePerGas: bigint;
15807
15807
  maxPriorityFeePerGas: bigint;
15808
15808
  nonce: number;
15809
+ chainId: number;
15810
+ value: bigint;
15809
15811
  yParity: number;
15810
15812
  from: Address;
15811
15813
  gas: bigint;
@@ -15816,11 +15818,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15816
15818
  to: Address | null;
15817
15819
  typeHex: Hex | null;
15818
15820
  v: bigint;
15819
- value: bigint;
15820
15821
  accessList: import("viem").AccessList;
15821
15822
  authorizationList?: undefined | undefined;
15822
15823
  blobVersionedHashes: readonly Hex[];
15823
- chainId: number;
15824
15824
  gasPrice?: undefined | undefined;
15825
15825
  maxFeePerBlobGas: bigint;
15826
15826
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
@@ -15831,6 +15831,8 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15831
15831
  maxFeePerGas: bigint;
15832
15832
  maxPriorityFeePerGas: bigint;
15833
15833
  nonce: number;
15834
+ chainId: number;
15835
+ value: bigint;
15834
15836
  yParity: number;
15835
15837
  from: Address;
15836
15838
  gas: bigint;
@@ -15841,11 +15843,9 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
15841
15843
  to: Address | null;
15842
15844
  typeHex: Hex | null;
15843
15845
  v: bigint;
15844
- value: bigint;
15845
15846
  accessList: import("viem").AccessList;
15846
15847
  authorizationList: import("viem").SignedAuthorizationList;
15847
15848
  blobVersionedHashes?: undefined | undefined;
15848
- chainId: number;
15849
15849
  gasPrice?: undefined | undefined;
15850
15850
  maxFeePerBlobGas?: undefined | undefined;
15851
15851
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
@@ -19108,7 +19108,7 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
19108
19108
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
19109
19109
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
19110
19110
  chainId?: number | undefined;
19111
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
19111
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_26 ? T_26 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_26 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_26 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (import("viem").UnionRequiredBy<Extract<import("viem").UnionOmit<import("viem").ExtractChainFormatterParameters<import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<import("viem").Chain | undefined, chainOverride> ? T_1 extends import("viem").Chain ? {
19112
19112
  chain: T_1;
19113
19113
  } : {
19114
19114
  chain?: undefined;
@@ -22360,7 +22360,7 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
22360
22360
  authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
22361
22361
  } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
22362
22362
  chainId?: number | undefined;
22363
- }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "chainId") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
22363
+ }, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "fees" | "gas" | "blobVersionedHashes") ? T_13 extends "fees" ? "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
22364
22364
  readContract: <const abi extends import("abitype").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi, "pure" | "view">, const args extends import("viem").ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: import("viem").ReadContractParameters<abi, functionName, args>) => Promise<import("viem").ReadContractReturnType<abi, functionName, args>>;
22365
22365
  sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<import("viem").SendRawTransactionReturnType>;
22366
22366
  simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
@@ -23065,19 +23065,18 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
23065
23065
  [x: `string[${string}]`]: undefined;
23066
23066
  [x: `function[${string}]`]: undefined;
23067
23067
  [x: `address[${string}]`]: undefined;
23068
- [x: `bytes[${string}]`]: undefined;
23069
- [x: `bytes32[${string}]`]: undefined;
23070
- [x: `bytes4[${string}]`]: undefined;
23071
23068
  [x: `bool[${string}]`]: undefined;
23069
+ [x: `bytes[${string}]`]: undefined;
23072
23070
  [x: `bytes1[${string}]`]: undefined;
23073
- [x: `bytes10[${string}]`]: undefined;
23074
23071
  [x: `bytes2[${string}]`]: undefined;
23075
23072
  [x: `bytes3[${string}]`]: undefined;
23073
+ [x: `bytes4[${string}]`]: undefined;
23076
23074
  [x: `bytes5[${string}]`]: undefined;
23077
23075
  [x: `bytes6[${string}]`]: undefined;
23078
23076
  [x: `bytes7[${string}]`]: undefined;
23079
23077
  [x: `bytes8[${string}]`]: undefined;
23080
23078
  [x: `bytes9[${string}]`]: undefined;
23079
+ [x: `bytes10[${string}]`]: undefined;
23081
23080
  [x: `bytes11[${string}]`]: undefined;
23082
23081
  [x: `bytes12[${string}]`]: undefined;
23083
23082
  [x: `bytes13[${string}]`]: undefined;
@@ -23099,6 +23098,7 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
23099
23098
  [x: `bytes29[${string}]`]: undefined;
23100
23099
  [x: `bytes30[${string}]`]: undefined;
23101
23100
  [x: `bytes31[${string}]`]: undefined;
23101
+ [x: `bytes32[${string}]`]: undefined;
23102
23102
  [x: `int[${string}]`]: undefined;
23103
23103
  [x: `int8[${string}]`]: undefined;
23104
23104
  [x: `int16[${string}]`]: undefined;
@@ -23167,19 +23167,18 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
23167
23167
  [x: `uint256[${string}]`]: undefined;
23168
23168
  string?: undefined;
23169
23169
  address?: undefined;
23170
- bytes?: undefined;
23171
- bytes32?: undefined;
23172
- bytes4?: undefined;
23173
23170
  bool?: undefined;
23171
+ bytes?: undefined;
23174
23172
  bytes1?: undefined;
23175
- bytes10?: undefined;
23176
23173
  bytes2?: undefined;
23177
23174
  bytes3?: undefined;
23175
+ bytes4?: undefined;
23178
23176
  bytes5?: undefined;
23179
23177
  bytes6?: undefined;
23180
23178
  bytes7?: undefined;
23181
23179
  bytes8?: undefined;
23182
23180
  bytes9?: undefined;
23181
+ bytes10?: undefined;
23183
23182
  bytes11?: undefined;
23184
23183
  bytes12?: undefined;
23185
23184
  bytes13?: undefined;
@@ -23201,6 +23200,7 @@ declare function get7702SmartAccount(account: Account, client: PublicClient): Pr
23201
23200
  bytes29?: undefined;
23202
23201
  bytes30?: undefined;
23203
23202
  bytes31?: undefined;
23203
+ bytes32?: undefined;
23204
23204
  int8?: undefined;
23205
23205
  int16?: undefined;
23206
23206
  int24?: undefined;