@sig-net/midnight 0.24.0-rc.2 → 0.24.0-rc.4
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/README.md +26 -21
- package/dist/compact-descriptors.d.ts +23 -8
- package/dist/compact-descriptors.d.ts.map +1 -1
- package/dist/compact-descriptors.js +34 -31
- package/dist/compact-descriptors.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/ecdsa-attestation.d.ts +6 -6
- package/dist/ecdsa-attestation.d.ts.map +1 -1
- package/dist/ecdsa-attestation.js +7 -5
- package/dist/ecdsa-attestation.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +1580 -122
- package/dist/managed/compiler/contract-manifest.json +8 -8
- package/dist/managed/contract/index.d.ts +352 -0
- package/dist/managed/contract/index.js +1042 -208
- package/dist/managed/contract/index.js.map +1 -1
- package/dist/mpc-output-cache.js +2 -2
- package/dist/mpc-output-cache.js.map +1 -1
- package/dist/signature-requests-state-reader.js +3 -3
- package/dist/signature-requests-state-reader.js.map +1 -1
- package/dist/signet-contract-events.d.ts +5 -5
- package/dist/signet-contract-events.d.ts.map +1 -1
- package/dist/signet-evtype2tx-record-decoding.d.ts.map +1 -1
- package/dist/signet-evtype2tx-record-decoding.js +5 -4
- package/dist/signet-evtype2tx-record-decoding.js.map +1 -1
- package/dist/signet-evtype2tx-requests.d.ts +17 -12
- package/dist/signet-evtype2tx-requests.d.ts.map +1 -1
- package/dist/signet-evtype2tx-requests.js +92 -16
- package/dist/signet-evtype2tx-requests.js.map +1 -1
- package/dist/signet-request-id.d.ts +5 -3
- package/dist/signet-request-id.d.ts.map +1 -1
- package/dist/signet-request-id.js +20 -12
- package/dist/signet-request-id.js.map +1 -1
- package/dist/signet-requests.d.ts +30 -34
- package/dist/signet-requests.d.ts.map +1 -1
- package/dist/signet-requests.js +15 -23
- package/dist/signet-requests.js.map +1 -1
- package/package.json +2 -2
- package/src/Signet.compact +204 -92
- package/src/circuits.compact +61 -9
|
@@ -7,26 +7,26 @@
|
|
|
7
7
|
"type": "directory",
|
|
8
8
|
"contract-info.json": {
|
|
9
9
|
"type": "file",
|
|
10
|
-
"size":
|
|
11
|
-
"hash": "
|
|
10
|
+
"size": 61973,
|
|
11
|
+
"hash": "17381d259a35b37a1d2e9d536b989ba28446bf8c9560738fd727b6df37f36658"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"contract": {
|
|
15
15
|
"type": "directory",
|
|
16
16
|
"index.d.ts": {
|
|
17
17
|
"type": "file",
|
|
18
|
-
"size":
|
|
19
|
-
"hash": "
|
|
18
|
+
"size": 43956,
|
|
19
|
+
"hash": "a1bde21c42bbf69e7f7a84cb246127c33745b32c5f53a8e103cec1f72a5f993d"
|
|
20
20
|
},
|
|
21
21
|
"index.js": {
|
|
22
22
|
"type": "file",
|
|
23
|
-
"size":
|
|
24
|
-
"hash": "
|
|
23
|
+
"size": 131199,
|
|
24
|
+
"hash": "713e2ed7a76a1e6bc730d8317edef8f7dd5c5585a1b784eeafcc7e4255d33db2"
|
|
25
25
|
},
|
|
26
26
|
"index.js.map": {
|
|
27
27
|
"type": "file",
|
|
28
|
-
"size":
|
|
29
|
-
"hash": "
|
|
28
|
+
"size": 10171,
|
|
29
|
+
"hash": "80f58e04636e7f35d861cb7d4f915162b56859bffbdff5b071a3a691f88a4348"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type * as __compactRuntime from '@midnight-ntwrk/compact-runtime';
|
|
2
2
|
|
|
3
|
+
export enum HashDomain { requestId = 0,
|
|
4
|
+
attestationDigest = 1,
|
|
5
|
+
evmType2TxHeader = 2,
|
|
6
|
+
evmType2TxWord = 3,
|
|
7
|
+
evmType2TxAccessEntry = 4,
|
|
8
|
+
evmType2TxStorageKey = 5
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
export enum OutputKind { executed = 0, failed = 1, unviable = 2 }
|
|
4
12
|
|
|
5
13
|
export type Witnesses<PS> = {
|
|
@@ -12,6 +20,14 @@ export type ProvableCircuits<PS> = {
|
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
export type PureCircuits = {
|
|
23
|
+
calculateRequestIdV1(preimage_0: { keyVersion: bigint,
|
|
24
|
+
sender: { bytes: Uint8Array },
|
|
25
|
+
path: Uint8Array,
|
|
26
|
+
algo: number,
|
|
27
|
+
txParamType: number,
|
|
28
|
+
txParamsDigest: Uint8Array,
|
|
29
|
+
executionDest: Uint8Array
|
|
30
|
+
}): Uint8Array;
|
|
15
31
|
constructSignBidirectionalEventNotificationV1(callerAddress_0: { bytes: Uint8Array
|
|
16
32
|
},
|
|
17
33
|
requestsPathDepth_0: bigint,
|
|
@@ -44,6 +60,106 @@ export type PureCircuits = {
|
|
|
44
60
|
blockHeight_0: bigint,
|
|
45
61
|
outputKind_0: OutputKind,
|
|
46
62
|
serializedOutput_0: Uint8Array): Uint8Array;
|
|
63
|
+
calculateEvmType2TxParamsDigestV1_1_0_0(txParams_0: { chainId: bigint,
|
|
64
|
+
nonce: bigint,
|
|
65
|
+
maxPriorityFeePerGas: bigint,
|
|
66
|
+
maxFeePerGas: bigint,
|
|
67
|
+
gasLimit: bigint,
|
|
68
|
+
to: Uint8Array,
|
|
69
|
+
value: bigint,
|
|
70
|
+
calldata: { is_some: boolean,
|
|
71
|
+
value: { selector: Uint8Array,
|
|
72
|
+
noWords: bigint,
|
|
73
|
+
words: Uint8Array[]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
accessListEntryCount: bigint,
|
|
77
|
+
accessList: { address: Uint8Array,
|
|
78
|
+
storageKeyCount: bigint,
|
|
79
|
+
storageKeys: Uint8Array[]
|
|
80
|
+
}[]
|
|
81
|
+
}): Uint8Array;
|
|
82
|
+
calculateEvmType2TxParamsDigestV1_2_1_2(txParams_0: { chainId: bigint,
|
|
83
|
+
nonce: bigint,
|
|
84
|
+
maxPriorityFeePerGas: bigint,
|
|
85
|
+
maxFeePerGas: bigint,
|
|
86
|
+
gasLimit: bigint,
|
|
87
|
+
to: Uint8Array,
|
|
88
|
+
value: bigint,
|
|
89
|
+
calldata: { is_some: boolean,
|
|
90
|
+
value: { selector: Uint8Array,
|
|
91
|
+
noWords: bigint,
|
|
92
|
+
words: Uint8Array[]
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
accessListEntryCount: bigint,
|
|
96
|
+
accessList: { address: Uint8Array,
|
|
97
|
+
storageKeyCount: bigint,
|
|
98
|
+
storageKeys: Uint8Array[]
|
|
99
|
+
}[]
|
|
100
|
+
}): Uint8Array;
|
|
101
|
+
calculateEvmType2RequestIdV1_1_0_0_34_34(request_0: { keyVersion: bigint,
|
|
102
|
+
sender: { bytes: Uint8Array
|
|
103
|
+
},
|
|
104
|
+
path: Uint8Array,
|
|
105
|
+
algo: number,
|
|
106
|
+
txParamType: number,
|
|
107
|
+
txParams: { chainId: bigint,
|
|
108
|
+
nonce: bigint,
|
|
109
|
+
maxPriorityFeePerGas: bigint,
|
|
110
|
+
maxFeePerGas: bigint,
|
|
111
|
+
gasLimit: bigint,
|
|
112
|
+
to: Uint8Array,
|
|
113
|
+
value: bigint,
|
|
114
|
+
calldata: { is_some: boolean,
|
|
115
|
+
value: { selector: Uint8Array,
|
|
116
|
+
noWords: bigint,
|
|
117
|
+
words: Uint8Array[]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
accessListEntryCount: bigint,
|
|
121
|
+
accessList: { address: Uint8Array,
|
|
122
|
+
storageKeyCount: bigint,
|
|
123
|
+
storageKeys: Uint8Array[]
|
|
124
|
+
}[]
|
|
125
|
+
},
|
|
126
|
+
executionDest: Uint8Array,
|
|
127
|
+
signatureDest: number,
|
|
128
|
+
params: Uint8Array,
|
|
129
|
+
outputDeserializationSchema: Uint8Array,
|
|
130
|
+
respondSerializationSchema: Uint8Array
|
|
131
|
+
}): Uint8Array;
|
|
132
|
+
calculateEvmType2RequestIdV1_2_1_2_34_34(request_0: { keyVersion: bigint,
|
|
133
|
+
sender: { bytes: Uint8Array
|
|
134
|
+
},
|
|
135
|
+
path: Uint8Array,
|
|
136
|
+
algo: number,
|
|
137
|
+
txParamType: number,
|
|
138
|
+
txParams: { chainId: bigint,
|
|
139
|
+
nonce: bigint,
|
|
140
|
+
maxPriorityFeePerGas: bigint,
|
|
141
|
+
maxFeePerGas: bigint,
|
|
142
|
+
gasLimit: bigint,
|
|
143
|
+
to: Uint8Array,
|
|
144
|
+
value: bigint,
|
|
145
|
+
calldata: { is_some: boolean,
|
|
146
|
+
value: { selector: Uint8Array,
|
|
147
|
+
noWords: bigint,
|
|
148
|
+
words: Uint8Array[]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
accessListEntryCount: bigint,
|
|
152
|
+
accessList: { address: Uint8Array,
|
|
153
|
+
storageKeyCount: bigint,
|
|
154
|
+
storageKeys: Uint8Array[]
|
|
155
|
+
}[]
|
|
156
|
+
},
|
|
157
|
+
executionDest: Uint8Array,
|
|
158
|
+
signatureDest: number,
|
|
159
|
+
params: Uint8Array,
|
|
160
|
+
outputDeserializationSchema: Uint8Array,
|
|
161
|
+
respondSerializationSchema: Uint8Array
|
|
162
|
+
}): Uint8Array;
|
|
47
163
|
verifyRespondBidirectionalEvent0(serializedOutput_0: Uint8Array,
|
|
48
164
|
respondBidirectionalEvent_0: { requestId: Uint8Array,
|
|
49
165
|
blockHeight: bigint,
|
|
@@ -72,9 +188,79 @@ export type PureCircuits = {
|
|
|
72
188
|
}
|
|
73
189
|
},
|
|
74
190
|
mpcResponseKey_0: __compactRuntime.Secp256k1Point): boolean;
|
|
191
|
+
constructSignBidirectionalEventV1_1_0_0_34_34(request_0: { keyVersion: bigint,
|
|
192
|
+
sender: { bytes: Uint8Array
|
|
193
|
+
},
|
|
194
|
+
path: Uint8Array,
|
|
195
|
+
algo: number,
|
|
196
|
+
txParamType: number,
|
|
197
|
+
txParams: { chainId: bigint,
|
|
198
|
+
nonce: bigint,
|
|
199
|
+
maxPriorityFeePerGas: bigint,
|
|
200
|
+
maxFeePerGas: bigint,
|
|
201
|
+
gasLimit: bigint,
|
|
202
|
+
to: Uint8Array,
|
|
203
|
+
value: bigint,
|
|
204
|
+
calldata: { is_some: boolean,
|
|
205
|
+
value: { selector: Uint8Array,
|
|
206
|
+
noWords: bigint,
|
|
207
|
+
words: Uint8Array[]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
accessListEntryCount: bigint,
|
|
211
|
+
accessList: { address: Uint8Array,
|
|
212
|
+
storageKeyCount: bigint,
|
|
213
|
+
storageKeys: Uint8Array[]
|
|
214
|
+
}[]
|
|
215
|
+
},
|
|
216
|
+
executionDest: Uint8Array,
|
|
217
|
+
signatureDest: number,
|
|
218
|
+
params: Uint8Array,
|
|
219
|
+
outputDeserializationSchema: Uint8Array,
|
|
220
|
+
respondSerializationSchema: Uint8Array
|
|
221
|
+
}): { keyVersion: bigint,
|
|
222
|
+
sender: { bytes: Uint8Array
|
|
223
|
+
},
|
|
224
|
+
path: Uint8Array,
|
|
225
|
+
algo: number,
|
|
226
|
+
txParamType: number,
|
|
227
|
+
txParams: { chainId: bigint,
|
|
228
|
+
nonce: bigint,
|
|
229
|
+
maxPriorityFeePerGas: bigint,
|
|
230
|
+
maxFeePerGas: bigint,
|
|
231
|
+
gasLimit: bigint,
|
|
232
|
+
to: Uint8Array,
|
|
233
|
+
value: bigint,
|
|
234
|
+
calldata: { is_some: boolean,
|
|
235
|
+
value: { selector: Uint8Array,
|
|
236
|
+
noWords: bigint,
|
|
237
|
+
words: Uint8Array[]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
accessListEntryCount: bigint,
|
|
241
|
+
accessList: { address: Uint8Array,
|
|
242
|
+
storageKeyCount: bigint,
|
|
243
|
+
storageKeys: Uint8Array[]
|
|
244
|
+
}[]
|
|
245
|
+
},
|
|
246
|
+
executionDest: Uint8Array,
|
|
247
|
+
signatureDest: number,
|
|
248
|
+
params: Uint8Array,
|
|
249
|
+
outputDeserializationSchema: Uint8Array,
|
|
250
|
+
respondSerializationSchema: Uint8Array
|
|
251
|
+
};
|
|
75
252
|
}
|
|
76
253
|
|
|
77
254
|
export type Circuits<PS> = {
|
|
255
|
+
calculateRequestIdV1(context: __compactRuntime.CircuitContext<PS>,
|
|
256
|
+
preimage_0: { keyVersion: bigint,
|
|
257
|
+
sender: { bytes: Uint8Array },
|
|
258
|
+
path: Uint8Array,
|
|
259
|
+
algo: number,
|
|
260
|
+
txParamType: number,
|
|
261
|
+
txParamsDigest: Uint8Array,
|
|
262
|
+
executionDest: Uint8Array
|
|
263
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
78
264
|
constructSignBidirectionalEventNotificationV1(context: __compactRuntime.CircuitContext<PS>,
|
|
79
265
|
callerAddress_0: { bytes: Uint8Array
|
|
80
266
|
},
|
|
@@ -115,6 +301,110 @@ export type Circuits<PS> = {
|
|
|
115
301
|
blockHeight_0: bigint,
|
|
116
302
|
outputKind_0: OutputKind,
|
|
117
303
|
serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
304
|
+
calculateEvmType2TxParamsDigestV1_1_0_0(context: __compactRuntime.CircuitContext<PS>,
|
|
305
|
+
txParams_0: { chainId: bigint,
|
|
306
|
+
nonce: bigint,
|
|
307
|
+
maxPriorityFeePerGas: bigint,
|
|
308
|
+
maxFeePerGas: bigint,
|
|
309
|
+
gasLimit: bigint,
|
|
310
|
+
to: Uint8Array,
|
|
311
|
+
value: bigint,
|
|
312
|
+
calldata: { is_some: boolean,
|
|
313
|
+
value: { selector: Uint8Array,
|
|
314
|
+
noWords: bigint,
|
|
315
|
+
words: Uint8Array[]
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
accessListEntryCount: bigint,
|
|
319
|
+
accessList: { address: Uint8Array,
|
|
320
|
+
storageKeyCount: bigint,
|
|
321
|
+
storageKeys: Uint8Array[]
|
|
322
|
+
}[]
|
|
323
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
324
|
+
calculateEvmType2TxParamsDigestV1_2_1_2(context: __compactRuntime.CircuitContext<PS>,
|
|
325
|
+
txParams_0: { chainId: bigint,
|
|
326
|
+
nonce: bigint,
|
|
327
|
+
maxPriorityFeePerGas: bigint,
|
|
328
|
+
maxFeePerGas: bigint,
|
|
329
|
+
gasLimit: bigint,
|
|
330
|
+
to: Uint8Array,
|
|
331
|
+
value: bigint,
|
|
332
|
+
calldata: { is_some: boolean,
|
|
333
|
+
value: { selector: Uint8Array,
|
|
334
|
+
noWords: bigint,
|
|
335
|
+
words: Uint8Array[]
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
accessListEntryCount: bigint,
|
|
339
|
+
accessList: { address: Uint8Array,
|
|
340
|
+
storageKeyCount: bigint,
|
|
341
|
+
storageKeys: Uint8Array[]
|
|
342
|
+
}[]
|
|
343
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
344
|
+
calculateEvmType2RequestIdV1_1_0_0_34_34(context: __compactRuntime.CircuitContext<PS>,
|
|
345
|
+
request_0: { keyVersion: bigint,
|
|
346
|
+
sender: { bytes: Uint8Array
|
|
347
|
+
},
|
|
348
|
+
path: Uint8Array,
|
|
349
|
+
algo: number,
|
|
350
|
+
txParamType: number,
|
|
351
|
+
txParams: { chainId: bigint,
|
|
352
|
+
nonce: bigint,
|
|
353
|
+
maxPriorityFeePerGas: bigint,
|
|
354
|
+
maxFeePerGas: bigint,
|
|
355
|
+
gasLimit: bigint,
|
|
356
|
+
to: Uint8Array,
|
|
357
|
+
value: bigint,
|
|
358
|
+
calldata: { is_some: boolean,
|
|
359
|
+
value: { selector: Uint8Array,
|
|
360
|
+
noWords: bigint,
|
|
361
|
+
words: Uint8Array[]
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
accessListEntryCount: bigint,
|
|
365
|
+
accessList: { address: Uint8Array,
|
|
366
|
+
storageKeyCount: bigint,
|
|
367
|
+
storageKeys: Uint8Array[]
|
|
368
|
+
}[]
|
|
369
|
+
},
|
|
370
|
+
executionDest: Uint8Array,
|
|
371
|
+
signatureDest: number,
|
|
372
|
+
params: Uint8Array,
|
|
373
|
+
outputDeserializationSchema: Uint8Array,
|
|
374
|
+
respondSerializationSchema: Uint8Array
|
|
375
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
376
|
+
calculateEvmType2RequestIdV1_2_1_2_34_34(context: __compactRuntime.CircuitContext<PS>,
|
|
377
|
+
request_0: { keyVersion: bigint,
|
|
378
|
+
sender: { bytes: Uint8Array
|
|
379
|
+
},
|
|
380
|
+
path: Uint8Array,
|
|
381
|
+
algo: number,
|
|
382
|
+
txParamType: number,
|
|
383
|
+
txParams: { chainId: bigint,
|
|
384
|
+
nonce: bigint,
|
|
385
|
+
maxPriorityFeePerGas: bigint,
|
|
386
|
+
maxFeePerGas: bigint,
|
|
387
|
+
gasLimit: bigint,
|
|
388
|
+
to: Uint8Array,
|
|
389
|
+
value: bigint,
|
|
390
|
+
calldata: { is_some: boolean,
|
|
391
|
+
value: { selector: Uint8Array,
|
|
392
|
+
noWords: bigint,
|
|
393
|
+
words: Uint8Array[]
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
accessListEntryCount: bigint,
|
|
397
|
+
accessList: { address: Uint8Array,
|
|
398
|
+
storageKeyCount: bigint,
|
|
399
|
+
storageKeys: Uint8Array[]
|
|
400
|
+
}[]
|
|
401
|
+
},
|
|
402
|
+
executionDest: Uint8Array,
|
|
403
|
+
signatureDest: number,
|
|
404
|
+
params: Uint8Array,
|
|
405
|
+
outputDeserializationSchema: Uint8Array,
|
|
406
|
+
respondSerializationSchema: Uint8Array
|
|
407
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
118
408
|
verifyRespondBidirectionalEvent0(context: __compactRuntime.CircuitContext<PS>,
|
|
119
409
|
serializedOutput_0: Uint8Array,
|
|
120
410
|
respondBidirectionalEvent_0: { requestId: Uint8Array,
|
|
@@ -145,6 +435,68 @@ export type Circuits<PS> = {
|
|
|
145
435
|
}
|
|
146
436
|
},
|
|
147
437
|
mpcResponseKey_0: __compactRuntime.Secp256k1Point): Promise<__compactRuntime.CircuitResults<PS, boolean>>;
|
|
438
|
+
constructSignBidirectionalEventV1_1_0_0_34_34(context: __compactRuntime.CircuitContext<PS>,
|
|
439
|
+
request_0: { keyVersion: bigint,
|
|
440
|
+
sender: { bytes: Uint8Array
|
|
441
|
+
},
|
|
442
|
+
path: Uint8Array,
|
|
443
|
+
algo: number,
|
|
444
|
+
txParamType: number,
|
|
445
|
+
txParams: { chainId: bigint,
|
|
446
|
+
nonce: bigint,
|
|
447
|
+
maxPriorityFeePerGas: bigint,
|
|
448
|
+
maxFeePerGas: bigint,
|
|
449
|
+
gasLimit: bigint,
|
|
450
|
+
to: Uint8Array,
|
|
451
|
+
value: bigint,
|
|
452
|
+
calldata: { is_some: boolean,
|
|
453
|
+
value: { selector: Uint8Array,
|
|
454
|
+
noWords: bigint,
|
|
455
|
+
words: Uint8Array[]
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
accessListEntryCount: bigint,
|
|
459
|
+
accessList: { address: Uint8Array,
|
|
460
|
+
storageKeyCount: bigint,
|
|
461
|
+
storageKeys: Uint8Array[]
|
|
462
|
+
}[]
|
|
463
|
+
},
|
|
464
|
+
executionDest: Uint8Array,
|
|
465
|
+
signatureDest: number,
|
|
466
|
+
params: Uint8Array,
|
|
467
|
+
outputDeserializationSchema: Uint8Array,
|
|
468
|
+
respondSerializationSchema: Uint8Array
|
|
469
|
+
}): Promise<__compactRuntime.CircuitResults<PS, { keyVersion: bigint,
|
|
470
|
+
sender: { bytes: Uint8Array
|
|
471
|
+
},
|
|
472
|
+
path: Uint8Array,
|
|
473
|
+
algo: number,
|
|
474
|
+
txParamType: number,
|
|
475
|
+
txParams: { chainId: bigint,
|
|
476
|
+
nonce: bigint,
|
|
477
|
+
maxPriorityFeePerGas: bigint,
|
|
478
|
+
maxFeePerGas: bigint,
|
|
479
|
+
gasLimit: bigint,
|
|
480
|
+
to: Uint8Array,
|
|
481
|
+
value: bigint,
|
|
482
|
+
calldata: { is_some: boolean,
|
|
483
|
+
value: { selector: Uint8Array,
|
|
484
|
+
noWords: bigint,
|
|
485
|
+
words: Uint8Array[]
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
accessListEntryCount: bigint,
|
|
489
|
+
accessList: { address: Uint8Array,
|
|
490
|
+
storageKeyCount: bigint,
|
|
491
|
+
storageKeys: Uint8Array[]
|
|
492
|
+
}[]
|
|
493
|
+
},
|
|
494
|
+
executionDest: Uint8Array,
|
|
495
|
+
signatureDest: number,
|
|
496
|
+
params: Uint8Array,
|
|
497
|
+
outputDeserializationSchema: Uint8Array,
|
|
498
|
+
respondSerializationSchema: Uint8Array
|
|
499
|
+
}>>;
|
|
148
500
|
}
|
|
149
501
|
|
|
150
502
|
export type Ledger = {
|