You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/engine/src/client/types.gen.ts
+32-5Lines changed: 32 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,28 @@ export type AaZksyncExecutionOptions = {
92
92
chainId: string;
93
93
};
94
94
95
+
/**
96
+
* Uses EOA for execution. Only supported for signing currently.
97
+
*/
98
+
exporttypeEoaExecutionOptions={
99
+
type: "eoa";
100
+
101
+
/**
102
+
* The EOA address
103
+
*/
104
+
address: string;
105
+
106
+
/**
107
+
* The chain id of the transaction
108
+
*/
109
+
chainId: string;
110
+
111
+
/**
112
+
* The idempotency key of the transaction. Transaction requests sent with the same idempotency key will be de-duplicated. If not provided, a randomUUID will be generated. This is also used as the ID of a queued/stored transaction.
113
+
*/
114
+
idempotencyKey?: string;
115
+
};
116
+
95
117
exporttypeListAccountsData={
96
118
body?: never;
97
119
path?: never;
@@ -164,7 +186,8 @@ export type WriteContractData = {
164
186
executionOptions:
165
187
|AutoExecutionOptions
166
188
|AaExecutionOptions
167
-
|AaZksyncExecutionOptions;
189
+
|AaZksyncExecutionOptions
190
+
|EoaExecutionOptions;
168
191
params: Array<{
169
192
/**
170
193
* The function to call on the contract
@@ -303,7 +326,8 @@ export type SendTransactionData = {
303
326
executionOptions:
304
327
|AutoExecutionOptions
305
328
|AaExecutionOptions
306
-
|AaZksyncExecutionOptions;
329
+
|AaZksyncExecutionOptions
330
+
|EoaExecutionOptions;
307
331
params: Array<{
308
332
/**
309
333
* The address of the contract to send the transaction to
@@ -434,7 +458,8 @@ export type SignTransactionData = {
434
458
executionOptions:
435
459
|AutoExecutionOptions
436
460
|AaExecutionOptions
437
-
|AaZksyncExecutionOptions;
461
+
|AaZksyncExecutionOptions
462
+
|EoaExecutionOptions;
438
463
params: Array<{
439
464
/**
440
465
* The recipient address
@@ -585,7 +610,8 @@ export type SignMessageData = {
585
610
executionOptions:
586
611
|AutoExecutionOptions
587
612
|AaExecutionOptions
588
-
|AaZksyncExecutionOptions;
613
+
|AaZksyncExecutionOptions
614
+
|EoaExecutionOptions;
589
615
params: Array<{
590
616
/**
591
617
* The message to sign
@@ -661,7 +687,8 @@ export type SignTypedDataData = {
0 commit comments