@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.
- package/dist/{accounts → src/accounts}/index.d.ts +67 -67
- package/dist/{accounts → src/accounts}/index.d.ts.map +1 -1
- package/dist/{accounts → src/accounts}/index.js +44 -40
- package/dist/{accounts → src/accounts}/nexus.d.ts +93 -93
- package/dist/{accounts → src/accounts}/nexus.d.ts.map +1 -1
- package/dist/{accounts → src/accounts}/nexus.js +7 -7
- package/dist/src/accounts/safe.d.ts +15524 -0
- package/dist/src/accounts/safe.d.ts.map +1 -0
- package/dist/{accounts → src/accounts}/safe.js +84 -9
- package/dist/{accounts → src/accounts}/utils.d.ts +1 -1
- package/dist/src/accounts/utils.d.ts.map +1 -0
- package/dist/{execution → src/execution}/index.d.ts +1 -1
- package/dist/src/execution/index.d.ts.map +1 -0
- package/dist/{execution → src/execution}/index.js +7 -8
- package/dist/{execution → src/execution}/smart-session.d.ts +2 -3
- package/dist/src/execution/smart-session.d.ts.map +1 -0
- package/dist/{execution → src/execution}/smart-session.js +4 -6
- package/dist/{index.d.ts → src/index.d.ts} +10 -3
- package/dist/src/index.d.ts.map +1 -0
- package/dist/{index.js → src/index.js} +21 -1
- package/dist/src/modules/abi/smart-sessions.d.ts.map +1 -0
- package/dist/src/modules/common.d.ts.map +1 -0
- package/dist/{modules → src/modules}/index.d.ts +1 -1
- package/dist/src/modules/index.d.ts.map +1 -0
- package/dist/{modules → src/modules}/index.js +16 -2
- package/dist/src/modules/omni-account.d.ts.map +1 -0
- package/dist/src/modules/validators/core.d.ts +23 -0
- package/dist/src/modules/validators/core.d.ts.map +1 -0
- package/dist/src/modules/validators/core.js +112 -0
- package/dist/src/modules/validators/index.d.ts +4 -0
- package/dist/src/modules/validators/index.d.ts.map +1 -0
- package/dist/src/modules/validators/index.js +3 -0
- package/dist/{modules/validators.d.ts → src/modules/validators/smart-sessions.d.ts} +4 -6
- package/dist/src/modules/validators/smart-sessions.d.ts.map +1 -0
- package/dist/{modules/validators.js → src/modules/validators/smart-sessions.js} +11 -116
- package/dist/{orchestrator → src/orchestrator}/client.d.ts +2 -1
- package/dist/src/orchestrator/client.d.ts.map +1 -0
- package/dist/{orchestrator → src/orchestrator}/client.js +19 -2
- package/dist/src/orchestrator/consts.d.ts.map +1 -0
- package/dist/src/orchestrator/error.d.ts.map +1 -0
- package/dist/src/orchestrator/index.d.ts +11 -0
- package/dist/src/orchestrator/index.d.ts.map +1 -0
- package/dist/src/orchestrator/index.js +10 -0
- package/dist/src/orchestrator/registry.d.ts.map +1 -0
- package/dist/{orchestrator → src/orchestrator}/registry.js +1 -1
- package/dist/{orchestrator → src/orchestrator}/types.d.ts +50 -2
- package/dist/src/orchestrator/types.d.ts.map +1 -0
- package/dist/{orchestrator → src/orchestrator}/utils.d.ts +6 -2
- package/dist/src/orchestrator/utils.d.ts.map +1 -0
- package/dist/{orchestrator → src/orchestrator}/utils.js +76 -2
- package/dist/{types.d.ts → src/types.d.ts} +7 -6
- package/dist/src/types.d.ts.map +1 -0
- package/dist/test/modules/validators/smart-sessions.test.d.ts +2 -0
- package/dist/test/modules/validators/smart-sessions.test.d.ts.map +1 -0
- package/dist/test/modules/validators/smart-sessions.test.js +20 -0
- package/package.json +2 -2
- package/dist/accounts/safe.d.ts +0 -15
- package/dist/accounts/safe.d.ts.map +0 -1
- package/dist/accounts/utils.d.ts.map +0 -1
- package/dist/examples/abi/weth.d.ts +0 -214
- package/dist/examples/abi/weth.d.ts.map +0 -1
- package/dist/examples/abi/weth.js +0 -279
- package/dist/examples/cross-chain-ss.d.ts +0 -1
- package/dist/examples/cross-chain-ss.d.ts.map +0 -1
- package/dist/examples/cross-chain-ss.js +0 -171
- package/dist/examples/omni-account.d.ts +0 -1
- package/dist/examples/omni-account.d.ts.map +0 -1
- package/dist/examples/omni-account.js +0 -169
- package/dist/examples/smart-sessions.d.ts +0 -1
- package/dist/examples/smart-sessions.d.ts.map +0 -1
- package/dist/examples/smart-sessions.js +0 -216
- package/dist/execution/index.d.ts.map +0 -1
- package/dist/execution/smart-session.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/modules/abi/smart-sessions.d.ts.map +0 -1
- package/dist/modules/common.d.ts.map +0 -1
- package/dist/modules/index.d.ts.map +0 -1
- package/dist/modules/omni-account.d.ts.map +0 -1
- package/dist/modules/validators.d.ts.map +0 -1
- package/dist/orchestrator/client.d.ts.map +0 -1
- package/dist/orchestrator/consts.d.ts.map +0 -1
- package/dist/orchestrator/error.d.ts.map +0 -1
- package/dist/orchestrator/index.d.ts +0 -9
- package/dist/orchestrator/index.d.ts.map +0 -1
- package/dist/orchestrator/index.js +0 -10
- package/dist/orchestrator/registry.d.ts.map +0 -1
- package/dist/orchestrator/types.d.ts.map +0 -1
- package/dist/orchestrator/utils.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/{accounts → src/accounts}/utils.js +1 -1
- /package/dist/{modules → src/modules}/abi/smart-sessions.d.ts +0 -0
- /package/dist/{modules → src/modules}/abi/smart-sessions.js +0 -0
- /package/dist/{modules → src/modules}/common.d.ts +0 -0
- /package/dist/{modules → src/modules}/common.js +0 -0
- /package/dist/{modules → src/modules}/omni-account.d.ts +0 -0
- /package/dist/{modules → src/modules}/omni-account.js +0 -0
- /package/dist/{orchestrator → src/orchestrator}/consts.d.ts +0 -0
- /package/dist/{orchestrator → src/orchestrator}/consts.js +0 -0
- /package/dist/{orchestrator → src/orchestrator}/error.d.ts +0 -0
- /package/dist/{orchestrator → src/orchestrator}/error.js +0 -0
- /package/dist/{orchestrator → src/orchestrator}/registry.d.ts +0 -0
- /package/dist/{orchestrator → src/orchestrator}/types.js +0 -0
- /package/dist/{types.js → src/types.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Account, Chain,
|
|
1
|
+
import { Account, Chain, Hex, PublicClient } from 'viem';
|
|
2
2
|
import { OwnerSet, RhinestoneAccountConfig, Session } from '../types';
|
|
3
|
-
declare function getDeployArgs(config: RhinestoneAccountConfig):
|
|
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
|
-
initializationCallData:
|
|
9
|
+
initializationCallData: `0x${string}`;
|
|
10
10
|
} | {
|
|
11
11
|
factory: `0x${string}`;
|
|
12
12
|
factoryData: `0x${string}`;
|
|
13
13
|
salt: `0x${string}`;
|
|
14
14
|
hashedInitcode: `0x${string}`;
|
|
15
15
|
implementation: `0x${string}`;
|
|
16
|
-
initializationCallData:
|
|
17
|
-
}
|
|
18
|
-
declare function getAddress(config: RhinestoneAccountConfig):
|
|
16
|
+
initializationCallData: null;
|
|
17
|
+
};
|
|
18
|
+
declare function getAddress(config: RhinestoneAccountConfig): `0x${string}`;
|
|
19
19
|
declare function isDeployed(chain: Chain, config: RhinestoneAccountConfig): Promise<boolean>;
|
|
20
20
|
declare function deploySource(chain: Chain, config: RhinestoneAccountConfig): Promise<void>;
|
|
21
21
|
declare function deployTarget(chain: Chain, config: RhinestoneAccountConfig): Promise<void>;
|
|
22
|
-
declare function getBundleInitCode(config: RhinestoneAccountConfig):
|
|
22
|
+
declare function getBundleInitCode(config: RhinestoneAccountConfig): `0x${string}` | undefined;
|
|
23
23
|
declare function getSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain): Promise<{
|
|
24
24
|
client: {
|
|
25
25
|
account: undefined;
|
|
@@ -83,6 +83,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
83
83
|
maxFeePerGas?: undefined | undefined;
|
|
84
84
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
85
85
|
nonce: number;
|
|
86
|
+
chainId?: number | undefined;
|
|
87
|
+
value: bigint;
|
|
86
88
|
yParity?: undefined | undefined;
|
|
87
89
|
from: import("abitype").Address;
|
|
88
90
|
gas: bigint;
|
|
@@ -93,11 +95,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
93
95
|
to: import("abitype").Address | null;
|
|
94
96
|
typeHex: Hex | null;
|
|
95
97
|
v: bigint;
|
|
96
|
-
value: bigint;
|
|
97
98
|
accessList?: undefined | undefined;
|
|
98
99
|
authorizationList?: undefined | undefined;
|
|
99
100
|
blobVersionedHashes?: undefined | undefined;
|
|
100
|
-
chainId?: number | undefined;
|
|
101
101
|
gasPrice: bigint;
|
|
102
102
|
maxFeePerBlobGas?: undefined | undefined;
|
|
103
103
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -108,6 +108,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
108
108
|
maxFeePerGas?: undefined | undefined;
|
|
109
109
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
110
110
|
nonce: number;
|
|
111
|
+
chainId: number;
|
|
112
|
+
value: bigint;
|
|
111
113
|
yParity: number;
|
|
112
114
|
from: import("abitype").Address;
|
|
113
115
|
gas: bigint;
|
|
@@ -118,11 +120,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
118
120
|
to: import("abitype").Address | null;
|
|
119
121
|
typeHex: Hex | null;
|
|
120
122
|
v: bigint;
|
|
121
|
-
value: bigint;
|
|
122
123
|
accessList: import("viem").AccessList;
|
|
123
124
|
authorizationList?: undefined | undefined;
|
|
124
125
|
blobVersionedHashes?: undefined | undefined;
|
|
125
|
-
chainId: number;
|
|
126
126
|
gasPrice: bigint;
|
|
127
127
|
maxFeePerBlobGas?: undefined | undefined;
|
|
128
128
|
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;
|
|
@@ -133,6 +133,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
133
133
|
maxFeePerGas: bigint;
|
|
134
134
|
maxPriorityFeePerGas: bigint;
|
|
135
135
|
nonce: number;
|
|
136
|
+
chainId: number;
|
|
137
|
+
value: bigint;
|
|
136
138
|
yParity: number;
|
|
137
139
|
from: import("abitype").Address;
|
|
138
140
|
gas: bigint;
|
|
@@ -143,11 +145,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
143
145
|
to: import("abitype").Address | null;
|
|
144
146
|
typeHex: Hex | null;
|
|
145
147
|
v: bigint;
|
|
146
|
-
value: bigint;
|
|
147
148
|
accessList: import("viem").AccessList;
|
|
148
149
|
authorizationList?: undefined | undefined;
|
|
149
150
|
blobVersionedHashes?: undefined | undefined;
|
|
150
|
-
chainId: number;
|
|
151
151
|
gasPrice?: undefined | undefined;
|
|
152
152
|
maxFeePerBlobGas?: undefined | undefined;
|
|
153
153
|
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;
|
|
@@ -158,6 +158,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
158
158
|
maxFeePerGas: bigint;
|
|
159
159
|
maxPriorityFeePerGas: bigint;
|
|
160
160
|
nonce: number;
|
|
161
|
+
chainId: number;
|
|
162
|
+
value: bigint;
|
|
161
163
|
yParity: number;
|
|
162
164
|
from: import("abitype").Address;
|
|
163
165
|
gas: bigint;
|
|
@@ -168,11 +170,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
168
170
|
to: import("abitype").Address | null;
|
|
169
171
|
typeHex: Hex | null;
|
|
170
172
|
v: bigint;
|
|
171
|
-
value: bigint;
|
|
172
173
|
accessList: import("viem").AccessList;
|
|
173
174
|
authorizationList?: undefined | undefined;
|
|
174
175
|
blobVersionedHashes: readonly Hex[];
|
|
175
|
-
chainId: number;
|
|
176
176
|
gasPrice?: undefined | undefined;
|
|
177
177
|
maxFeePerBlobGas: bigint;
|
|
178
178
|
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;
|
|
@@ -183,6 +183,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
183
183
|
maxFeePerGas: bigint;
|
|
184
184
|
maxPriorityFeePerGas: bigint;
|
|
185
185
|
nonce: number;
|
|
186
|
+
chainId: number;
|
|
187
|
+
value: bigint;
|
|
186
188
|
yParity: number;
|
|
187
189
|
from: import("abitype").Address;
|
|
188
190
|
gas: bigint;
|
|
@@ -193,11 +195,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
193
195
|
to: import("abitype").Address | null;
|
|
194
196
|
typeHex: Hex | null;
|
|
195
197
|
v: bigint;
|
|
196
|
-
value: bigint;
|
|
197
198
|
accessList: import("viem").AccessList;
|
|
198
199
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
199
200
|
blobVersionedHashes?: undefined | undefined;
|
|
200
|
-
chainId: number;
|
|
201
201
|
gasPrice?: undefined | undefined;
|
|
202
202
|
maxFeePerBlobGas?: undefined | undefined;
|
|
203
203
|
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;
|
|
@@ -233,6 +233,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
233
233
|
maxFeePerGas?: undefined | undefined;
|
|
234
234
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
235
235
|
nonce: number;
|
|
236
|
+
chainId?: number | undefined;
|
|
237
|
+
value: bigint;
|
|
236
238
|
yParity?: undefined | undefined;
|
|
237
239
|
from: import("abitype").Address;
|
|
238
240
|
gas: bigint;
|
|
@@ -243,11 +245,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
243
245
|
to: import("abitype").Address | null;
|
|
244
246
|
typeHex: Hex | null;
|
|
245
247
|
v: bigint;
|
|
246
|
-
value: bigint;
|
|
247
248
|
accessList?: undefined | undefined;
|
|
248
249
|
authorizationList?: undefined | undefined;
|
|
249
250
|
blobVersionedHashes?: undefined | undefined;
|
|
250
|
-
chainId?: number | undefined;
|
|
251
251
|
gasPrice: bigint;
|
|
252
252
|
maxFeePerBlobGas?: undefined | undefined;
|
|
253
253
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -258,6 +258,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
258
258
|
maxFeePerGas?: undefined | undefined;
|
|
259
259
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
260
260
|
nonce: number;
|
|
261
|
+
chainId: number;
|
|
262
|
+
value: bigint;
|
|
261
263
|
yParity: number;
|
|
262
264
|
from: import("abitype").Address;
|
|
263
265
|
gas: bigint;
|
|
@@ -268,11 +270,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
268
270
|
to: import("abitype").Address | null;
|
|
269
271
|
typeHex: Hex | null;
|
|
270
272
|
v: bigint;
|
|
271
|
-
value: bigint;
|
|
272
273
|
accessList: import("viem").AccessList;
|
|
273
274
|
authorizationList?: undefined | undefined;
|
|
274
275
|
blobVersionedHashes?: undefined | undefined;
|
|
275
|
-
chainId: number;
|
|
276
276
|
gasPrice: bigint;
|
|
277
277
|
maxFeePerBlobGas?: undefined | undefined;
|
|
278
278
|
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;
|
|
@@ -283,6 +283,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
283
283
|
maxFeePerGas: bigint;
|
|
284
284
|
maxPriorityFeePerGas: bigint;
|
|
285
285
|
nonce: number;
|
|
286
|
+
chainId: number;
|
|
287
|
+
value: bigint;
|
|
286
288
|
yParity: number;
|
|
287
289
|
from: import("abitype").Address;
|
|
288
290
|
gas: bigint;
|
|
@@ -293,11 +295,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
293
295
|
to: import("abitype").Address | null;
|
|
294
296
|
typeHex: Hex | null;
|
|
295
297
|
v: bigint;
|
|
296
|
-
value: bigint;
|
|
297
298
|
accessList: import("viem").AccessList;
|
|
298
299
|
authorizationList?: undefined | undefined;
|
|
299
300
|
blobVersionedHashes?: undefined | undefined;
|
|
300
|
-
chainId: number;
|
|
301
301
|
gasPrice?: undefined | undefined;
|
|
302
302
|
maxFeePerBlobGas?: undefined | undefined;
|
|
303
303
|
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;
|
|
@@ -308,6 +308,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
308
308
|
maxFeePerGas: bigint;
|
|
309
309
|
maxPriorityFeePerGas: bigint;
|
|
310
310
|
nonce: number;
|
|
311
|
+
chainId: number;
|
|
312
|
+
value: bigint;
|
|
311
313
|
yParity: number;
|
|
312
314
|
from: import("abitype").Address;
|
|
313
315
|
gas: bigint;
|
|
@@ -318,11 +320,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
318
320
|
to: import("abitype").Address | null;
|
|
319
321
|
typeHex: Hex | null;
|
|
320
322
|
v: bigint;
|
|
321
|
-
value: bigint;
|
|
322
323
|
accessList: import("viem").AccessList;
|
|
323
324
|
authorizationList?: undefined | undefined;
|
|
324
325
|
blobVersionedHashes: readonly Hex[];
|
|
325
|
-
chainId: number;
|
|
326
326
|
gasPrice?: undefined | undefined;
|
|
327
327
|
maxFeePerBlobGas: bigint;
|
|
328
328
|
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;
|
|
@@ -333,6 +333,8 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
333
333
|
maxFeePerGas: bigint;
|
|
334
334
|
maxPriorityFeePerGas: bigint;
|
|
335
335
|
nonce: number;
|
|
336
|
+
chainId: number;
|
|
337
|
+
value: bigint;
|
|
336
338
|
yParity: number;
|
|
337
339
|
from: import("abitype").Address;
|
|
338
340
|
gas: bigint;
|
|
@@ -343,11 +345,9 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
343
345
|
to: import("abitype").Address | null;
|
|
344
346
|
typeHex: Hex | null;
|
|
345
347
|
v: bigint;
|
|
346
|
-
value: bigint;
|
|
347
348
|
accessList: import("viem").AccessList;
|
|
348
349
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
349
350
|
blobVersionedHashes?: undefined | undefined;
|
|
350
|
-
chainId: number;
|
|
351
351
|
gasPrice?: undefined | undefined;
|
|
352
352
|
maxFeePerBlobGas?: undefined | undefined;
|
|
353
353
|
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;
|
|
@@ -3610,7 +3610,7 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
3610
3610
|
authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
|
|
3611
3611
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
3612
3612
|
chainId?: number | undefined;
|
|
3613
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "
|
|
3613
|
+
}, (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<Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<Chain | undefined, chainOverride> ? T_1 extends Chain ? {
|
|
3614
3614
|
chain: T_1;
|
|
3615
3615
|
} : {
|
|
3616
3616
|
chain?: undefined;
|
|
@@ -6862,7 +6862,7 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
6862
6862
|
authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
|
|
6863
6863
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
6864
6864
|
chainId?: number | undefined;
|
|
6865
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "
|
|
6865
|
+
}, (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>;
|
|
6866
6866
|
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>>;
|
|
6867
6867
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<import("viem").SendRawTransactionReturnType>;
|
|
6868
6868
|
simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
|
|
@@ -7567,19 +7567,18 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
7567
7567
|
[x: `string[${string}]`]: undefined;
|
|
7568
7568
|
[x: `function[${string}]`]: undefined;
|
|
7569
7569
|
[x: `address[${string}]`]: undefined;
|
|
7570
|
-
[x: `bytes[${string}]`]: undefined;
|
|
7571
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
7572
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
7573
7570
|
[x: `bool[${string}]`]: undefined;
|
|
7571
|
+
[x: `bytes[${string}]`]: undefined;
|
|
7574
7572
|
[x: `bytes1[${string}]`]: undefined;
|
|
7575
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
7576
7573
|
[x: `bytes2[${string}]`]: undefined;
|
|
7577
7574
|
[x: `bytes3[${string}]`]: undefined;
|
|
7575
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
7578
7576
|
[x: `bytes5[${string}]`]: undefined;
|
|
7579
7577
|
[x: `bytes6[${string}]`]: undefined;
|
|
7580
7578
|
[x: `bytes7[${string}]`]: undefined;
|
|
7581
7579
|
[x: `bytes8[${string}]`]: undefined;
|
|
7582
7580
|
[x: `bytes9[${string}]`]: undefined;
|
|
7581
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
7583
7582
|
[x: `bytes11[${string}]`]: undefined;
|
|
7584
7583
|
[x: `bytes12[${string}]`]: undefined;
|
|
7585
7584
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -7601,6 +7600,7 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
7601
7600
|
[x: `bytes29[${string}]`]: undefined;
|
|
7602
7601
|
[x: `bytes30[${string}]`]: undefined;
|
|
7603
7602
|
[x: `bytes31[${string}]`]: undefined;
|
|
7603
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
7604
7604
|
[x: `int[${string}]`]: undefined;
|
|
7605
7605
|
[x: `int8[${string}]`]: undefined;
|
|
7606
7606
|
[x: `int16[${string}]`]: undefined;
|
|
@@ -7669,19 +7669,18 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
7669
7669
|
[x: `uint256[${string}]`]: undefined;
|
|
7670
7670
|
string?: undefined;
|
|
7671
7671
|
address?: undefined;
|
|
7672
|
-
bytes?: undefined;
|
|
7673
|
-
bytes32?: undefined;
|
|
7674
|
-
bytes4?: undefined;
|
|
7675
7672
|
bool?: undefined;
|
|
7673
|
+
bytes?: undefined;
|
|
7676
7674
|
bytes1?: undefined;
|
|
7677
|
-
bytes10?: undefined;
|
|
7678
7675
|
bytes2?: undefined;
|
|
7679
7676
|
bytes3?: undefined;
|
|
7677
|
+
bytes4?: undefined;
|
|
7680
7678
|
bytes5?: undefined;
|
|
7681
7679
|
bytes6?: undefined;
|
|
7682
7680
|
bytes7?: undefined;
|
|
7683
7681
|
bytes8?: undefined;
|
|
7684
7682
|
bytes9?: undefined;
|
|
7683
|
+
bytes10?: undefined;
|
|
7685
7684
|
bytes11?: undefined;
|
|
7686
7685
|
bytes12?: undefined;
|
|
7687
7686
|
bytes13?: undefined;
|
|
@@ -7703,6 +7702,7 @@ declare function getSmartAccount(config: RhinestoneAccountConfig, client: Public
|
|
|
7703
7702
|
bytes29?: undefined;
|
|
7704
7703
|
bytes30?: undefined;
|
|
7705
7704
|
bytes31?: undefined;
|
|
7705
|
+
bytes32?: undefined;
|
|
7706
7706
|
int8?: undefined;
|
|
7707
7707
|
int16?: undefined;
|
|
7708
7708
|
int24?: undefined;
|
|
@@ -7838,6 +7838,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7838
7838
|
maxFeePerGas?: undefined | undefined;
|
|
7839
7839
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
7840
7840
|
nonce: number;
|
|
7841
|
+
chainId?: number | undefined;
|
|
7842
|
+
value: bigint;
|
|
7841
7843
|
yParity?: undefined | undefined;
|
|
7842
7844
|
from: import("abitype").Address;
|
|
7843
7845
|
gas: bigint;
|
|
@@ -7848,11 +7850,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7848
7850
|
to: import("abitype").Address | null;
|
|
7849
7851
|
typeHex: Hex | null;
|
|
7850
7852
|
v: bigint;
|
|
7851
|
-
value: bigint;
|
|
7852
7853
|
accessList?: undefined | undefined;
|
|
7853
7854
|
authorizationList?: undefined | undefined;
|
|
7854
7855
|
blobVersionedHashes?: undefined | undefined;
|
|
7855
|
-
chainId?: number | undefined;
|
|
7856
7856
|
gasPrice: bigint;
|
|
7857
7857
|
maxFeePerBlobGas?: undefined | undefined;
|
|
7858
7858
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -7863,6 +7863,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7863
7863
|
maxFeePerGas?: undefined | undefined;
|
|
7864
7864
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
7865
7865
|
nonce: number;
|
|
7866
|
+
chainId: number;
|
|
7867
|
+
value: bigint;
|
|
7866
7868
|
yParity: number;
|
|
7867
7869
|
from: import("abitype").Address;
|
|
7868
7870
|
gas: bigint;
|
|
@@ -7873,11 +7875,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7873
7875
|
to: import("abitype").Address | null;
|
|
7874
7876
|
typeHex: Hex | null;
|
|
7875
7877
|
v: bigint;
|
|
7876
|
-
value: bigint;
|
|
7877
7878
|
accessList: import("viem").AccessList;
|
|
7878
7879
|
authorizationList?: undefined | undefined;
|
|
7879
7880
|
blobVersionedHashes?: undefined | undefined;
|
|
7880
|
-
chainId: number;
|
|
7881
7881
|
gasPrice: bigint;
|
|
7882
7882
|
maxFeePerBlobGas?: undefined | undefined;
|
|
7883
7883
|
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;
|
|
@@ -7888,6 +7888,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7888
7888
|
maxFeePerGas: bigint;
|
|
7889
7889
|
maxPriorityFeePerGas: bigint;
|
|
7890
7890
|
nonce: number;
|
|
7891
|
+
chainId: number;
|
|
7892
|
+
value: bigint;
|
|
7891
7893
|
yParity: number;
|
|
7892
7894
|
from: import("abitype").Address;
|
|
7893
7895
|
gas: bigint;
|
|
@@ -7898,11 +7900,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7898
7900
|
to: import("abitype").Address | null;
|
|
7899
7901
|
typeHex: Hex | null;
|
|
7900
7902
|
v: bigint;
|
|
7901
|
-
value: bigint;
|
|
7902
7903
|
accessList: import("viem").AccessList;
|
|
7903
7904
|
authorizationList?: undefined | undefined;
|
|
7904
7905
|
blobVersionedHashes?: undefined | undefined;
|
|
7905
|
-
chainId: number;
|
|
7906
7906
|
gasPrice?: undefined | undefined;
|
|
7907
7907
|
maxFeePerBlobGas?: undefined | undefined;
|
|
7908
7908
|
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;
|
|
@@ -7913,6 +7913,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7913
7913
|
maxFeePerGas: bigint;
|
|
7914
7914
|
maxPriorityFeePerGas: bigint;
|
|
7915
7915
|
nonce: number;
|
|
7916
|
+
chainId: number;
|
|
7917
|
+
value: bigint;
|
|
7916
7918
|
yParity: number;
|
|
7917
7919
|
from: import("abitype").Address;
|
|
7918
7920
|
gas: bigint;
|
|
@@ -7923,11 +7925,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7923
7925
|
to: import("abitype").Address | null;
|
|
7924
7926
|
typeHex: Hex | null;
|
|
7925
7927
|
v: bigint;
|
|
7926
|
-
value: bigint;
|
|
7927
7928
|
accessList: import("viem").AccessList;
|
|
7928
7929
|
authorizationList?: undefined | undefined;
|
|
7929
7930
|
blobVersionedHashes: readonly Hex[];
|
|
7930
|
-
chainId: number;
|
|
7931
7931
|
gasPrice?: undefined | undefined;
|
|
7932
7932
|
maxFeePerBlobGas: bigint;
|
|
7933
7933
|
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;
|
|
@@ -7938,6 +7938,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7938
7938
|
maxFeePerGas: bigint;
|
|
7939
7939
|
maxPriorityFeePerGas: bigint;
|
|
7940
7940
|
nonce: number;
|
|
7941
|
+
chainId: number;
|
|
7942
|
+
value: bigint;
|
|
7941
7943
|
yParity: number;
|
|
7942
7944
|
from: import("abitype").Address;
|
|
7943
7945
|
gas: bigint;
|
|
@@ -7948,11 +7950,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7948
7950
|
to: import("abitype").Address | null;
|
|
7949
7951
|
typeHex: Hex | null;
|
|
7950
7952
|
v: bigint;
|
|
7951
|
-
value: bigint;
|
|
7952
7953
|
accessList: import("viem").AccessList;
|
|
7953
7954
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
7954
7955
|
blobVersionedHashes?: undefined | undefined;
|
|
7955
|
-
chainId: number;
|
|
7956
7956
|
gasPrice?: undefined | undefined;
|
|
7957
7957
|
maxFeePerBlobGas?: undefined | undefined;
|
|
7958
7958
|
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;
|
|
@@ -7988,6 +7988,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7988
7988
|
maxFeePerGas?: undefined | undefined;
|
|
7989
7989
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
7990
7990
|
nonce: number;
|
|
7991
|
+
chainId?: number | undefined;
|
|
7992
|
+
value: bigint;
|
|
7991
7993
|
yParity?: undefined | undefined;
|
|
7992
7994
|
from: import("abitype").Address;
|
|
7993
7995
|
gas: bigint;
|
|
@@ -7998,11 +8000,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
7998
8000
|
to: import("abitype").Address | null;
|
|
7999
8001
|
typeHex: Hex | null;
|
|
8000
8002
|
v: bigint;
|
|
8001
|
-
value: bigint;
|
|
8002
8003
|
accessList?: undefined | undefined;
|
|
8003
8004
|
authorizationList?: undefined | undefined;
|
|
8004
8005
|
blobVersionedHashes?: undefined | undefined;
|
|
8005
|
-
chainId?: number | undefined;
|
|
8006
8006
|
gasPrice: bigint;
|
|
8007
8007
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8008
8008
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -8013,6 +8013,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8013
8013
|
maxFeePerGas?: undefined | undefined;
|
|
8014
8014
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
8015
8015
|
nonce: number;
|
|
8016
|
+
chainId: number;
|
|
8017
|
+
value: bigint;
|
|
8016
8018
|
yParity: number;
|
|
8017
8019
|
from: import("abitype").Address;
|
|
8018
8020
|
gas: bigint;
|
|
@@ -8023,11 +8025,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8023
8025
|
to: import("abitype").Address | null;
|
|
8024
8026
|
typeHex: Hex | null;
|
|
8025
8027
|
v: bigint;
|
|
8026
|
-
value: bigint;
|
|
8027
8028
|
accessList: import("viem").AccessList;
|
|
8028
8029
|
authorizationList?: undefined | undefined;
|
|
8029
8030
|
blobVersionedHashes?: undefined | undefined;
|
|
8030
|
-
chainId: number;
|
|
8031
8031
|
gasPrice: bigint;
|
|
8032
8032
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8033
8033
|
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;
|
|
@@ -8038,6 +8038,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8038
8038
|
maxFeePerGas: bigint;
|
|
8039
8039
|
maxPriorityFeePerGas: bigint;
|
|
8040
8040
|
nonce: number;
|
|
8041
|
+
chainId: number;
|
|
8042
|
+
value: bigint;
|
|
8041
8043
|
yParity: number;
|
|
8042
8044
|
from: import("abitype").Address;
|
|
8043
8045
|
gas: bigint;
|
|
@@ -8048,11 +8050,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8048
8050
|
to: import("abitype").Address | null;
|
|
8049
8051
|
typeHex: Hex | null;
|
|
8050
8052
|
v: bigint;
|
|
8051
|
-
value: bigint;
|
|
8052
8053
|
accessList: import("viem").AccessList;
|
|
8053
8054
|
authorizationList?: undefined | undefined;
|
|
8054
8055
|
blobVersionedHashes?: undefined | undefined;
|
|
8055
|
-
chainId: number;
|
|
8056
8056
|
gasPrice?: undefined | undefined;
|
|
8057
8057
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8058
8058
|
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;
|
|
@@ -8063,6 +8063,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8063
8063
|
maxFeePerGas: bigint;
|
|
8064
8064
|
maxPriorityFeePerGas: bigint;
|
|
8065
8065
|
nonce: number;
|
|
8066
|
+
chainId: number;
|
|
8067
|
+
value: bigint;
|
|
8066
8068
|
yParity: number;
|
|
8067
8069
|
from: import("abitype").Address;
|
|
8068
8070
|
gas: bigint;
|
|
@@ -8073,11 +8075,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8073
8075
|
to: import("abitype").Address | null;
|
|
8074
8076
|
typeHex: Hex | null;
|
|
8075
8077
|
v: bigint;
|
|
8076
|
-
value: bigint;
|
|
8077
8078
|
accessList: import("viem").AccessList;
|
|
8078
8079
|
authorizationList?: undefined | undefined;
|
|
8079
8080
|
blobVersionedHashes: readonly Hex[];
|
|
8080
|
-
chainId: number;
|
|
8081
8081
|
gasPrice?: undefined | undefined;
|
|
8082
8082
|
maxFeePerBlobGas: bigint;
|
|
8083
8083
|
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;
|
|
@@ -8088,6 +8088,8 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8088
8088
|
maxFeePerGas: bigint;
|
|
8089
8089
|
maxPriorityFeePerGas: bigint;
|
|
8090
8090
|
nonce: number;
|
|
8091
|
+
chainId: number;
|
|
8092
|
+
value: bigint;
|
|
8091
8093
|
yParity: number;
|
|
8092
8094
|
from: import("abitype").Address;
|
|
8093
8095
|
gas: bigint;
|
|
@@ -8098,11 +8100,9 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
8098
8100
|
to: import("abitype").Address | null;
|
|
8099
8101
|
typeHex: Hex | null;
|
|
8100
8102
|
v: bigint;
|
|
8101
|
-
value: bigint;
|
|
8102
8103
|
accessList: import("viem").AccessList;
|
|
8103
8104
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
8104
8105
|
blobVersionedHashes?: undefined | undefined;
|
|
8105
|
-
chainId: number;
|
|
8106
8106
|
gasPrice?: undefined | undefined;
|
|
8107
8107
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8108
8108
|
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;
|
|
@@ -11365,7 +11365,7 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
11365
11365
|
authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
|
|
11366
11366
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_25 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
11367
11367
|
chainId?: number | undefined;
|
|
11368
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "
|
|
11368
|
+
}, (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<Chain | undefined, chainOverride>, "transactionRequest", import("viem").TransactionRequest>, "from"> & (import("viem").DeriveChain<Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends import("viem").DeriveChain<Chain | undefined, chainOverride> ? T_1 extends Chain ? {
|
|
11369
11369
|
chain: T_1;
|
|
11370
11370
|
} : {
|
|
11371
11371
|
chain?: undefined;
|
|
@@ -14617,7 +14617,7 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
14617
14617
|
authorizationList: import("viem").TransactionSerializableEIP7702["authorizationList"];
|
|
14618
14618
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? import("viem").TransactionRequestEIP7702 : never : never : never)>> & {
|
|
14619
14619
|
chainId?: number | undefined;
|
|
14620
|
-
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "
|
|
14620
|
+
}, (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>;
|
|
14621
14621
|
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>>;
|
|
14622
14622
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<import("viem").SendRawTransactionReturnType>;
|
|
14623
14623
|
simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
|
|
@@ -15322,19 +15322,18 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
15322
15322
|
[x: `string[${string}]`]: undefined;
|
|
15323
15323
|
[x: `function[${string}]`]: undefined;
|
|
15324
15324
|
[x: `address[${string}]`]: undefined;
|
|
15325
|
-
[x: `bytes[${string}]`]: undefined;
|
|
15326
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
15327
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
15328
15325
|
[x: `bool[${string}]`]: undefined;
|
|
15326
|
+
[x: `bytes[${string}]`]: undefined;
|
|
15329
15327
|
[x: `bytes1[${string}]`]: undefined;
|
|
15330
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
15331
15328
|
[x: `bytes2[${string}]`]: undefined;
|
|
15332
15329
|
[x: `bytes3[${string}]`]: undefined;
|
|
15330
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
15333
15331
|
[x: `bytes5[${string}]`]: undefined;
|
|
15334
15332
|
[x: `bytes6[${string}]`]: undefined;
|
|
15335
15333
|
[x: `bytes7[${string}]`]: undefined;
|
|
15336
15334
|
[x: `bytes8[${string}]`]: undefined;
|
|
15337
15335
|
[x: `bytes9[${string}]`]: undefined;
|
|
15336
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
15338
15337
|
[x: `bytes11[${string}]`]: undefined;
|
|
15339
15338
|
[x: `bytes12[${string}]`]: undefined;
|
|
15340
15339
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -15356,6 +15355,7 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
15356
15355
|
[x: `bytes29[${string}]`]: undefined;
|
|
15357
15356
|
[x: `bytes30[${string}]`]: undefined;
|
|
15358
15357
|
[x: `bytes31[${string}]`]: undefined;
|
|
15358
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
15359
15359
|
[x: `int[${string}]`]: undefined;
|
|
15360
15360
|
[x: `int8[${string}]`]: undefined;
|
|
15361
15361
|
[x: `int16[${string}]`]: undefined;
|
|
@@ -15424,19 +15424,18 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
15424
15424
|
[x: `uint256[${string}]`]: undefined;
|
|
15425
15425
|
string?: undefined;
|
|
15426
15426
|
address?: undefined;
|
|
15427
|
-
bytes?: undefined;
|
|
15428
|
-
bytes32?: undefined;
|
|
15429
|
-
bytes4?: undefined;
|
|
15430
15427
|
bool?: undefined;
|
|
15428
|
+
bytes?: undefined;
|
|
15431
15429
|
bytes1?: undefined;
|
|
15432
|
-
bytes10?: undefined;
|
|
15433
15430
|
bytes2?: undefined;
|
|
15434
15431
|
bytes3?: undefined;
|
|
15432
|
+
bytes4?: undefined;
|
|
15435
15433
|
bytes5?: undefined;
|
|
15436
15434
|
bytes6?: undefined;
|
|
15437
15435
|
bytes7?: undefined;
|
|
15438
15436
|
bytes8?: undefined;
|
|
15439
15437
|
bytes9?: undefined;
|
|
15438
|
+
bytes10?: undefined;
|
|
15440
15439
|
bytes11?: undefined;
|
|
15441
15440
|
bytes12?: undefined;
|
|
15442
15441
|
bytes13?: undefined;
|
|
@@ -15458,6 +15457,7 @@ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, cl
|
|
|
15458
15457
|
bytes29?: undefined;
|
|
15459
15458
|
bytes30?: undefined;
|
|
15460
15459
|
bytes31?: undefined;
|
|
15460
|
+
bytes32?: undefined;
|
|
15461
15461
|
int8?: undefined;
|
|
15462
15462
|
int16?: undefined;
|
|
15463
15463
|
int24?: undefined;
|