@aztec/noir-protocol-circuits-types 0.77.0-testnet-ignition.27 → 0.77.0-testnet-ignition.29
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/dest/artifacts/client/bundle.d.ts +11 -0
- package/dest/artifacts/client/bundle.d.ts.map +1 -0
- package/dest/artifacts/client/lazy.d.ts +9 -0
- package/dest/artifacts/client/lazy.d.ts.map +1 -0
- package/dest/artifacts/server.d.ts +5 -0
- package/dest/artifacts/server.d.ts.map +1 -0
- package/dest/artifacts/types.d.ts +12 -0
- package/dest/artifacts/types.d.ts.map +1 -0
- package/dest/artifacts/vks/client.d.ts +4 -0
- package/dest/artifacts/vks/client.d.ts.map +1 -0
- package/dest/artifacts/vks/server.d.ts +6 -0
- package/dest/artifacts/vks/server.d.ts.map +1 -0
- package/dest/artifacts/vks/tree.d.ts +8 -0
- package/dest/artifacts/vks/tree.d.ts.map +1 -0
- package/dest/client_artifacts_helper.d.ts +7 -0
- package/dest/client_artifacts_helper.d.ts.map +1 -0
- package/dest/conversion/client.d.ts +84 -0
- package/dest/conversion/client.d.ts.map +1 -0
- package/dest/conversion/common.d.ts +283 -0
- package/dest/conversion/common.d.ts.map +1 -0
- package/dest/conversion/server.d.ts +213 -0
- package/dest/conversion/server.d.ts.map +1 -0
- package/dest/entrypoint/client/bundle.d.ts +2 -0
- package/dest/entrypoint/client/bundle.d.ts.map +1 -0
- package/dest/entrypoint/client/common.d.ts +6 -0
- package/dest/entrypoint/client/common.d.ts.map +1 -0
- package/dest/entrypoint/client/lazy.d.ts +2 -0
- package/dest/entrypoint/client/lazy.d.ts.map +1 -0
- package/dest/entrypoint/server/artifacts.d.ts +5 -0
- package/dest/entrypoint/server/artifacts.d.ts.map +1 -0
- package/dest/entrypoint/server/vks.d.ts +6 -0
- package/dest/entrypoint/server/vks.d.ts.map +1 -0
- package/dest/entrypoint/vk-tree.d.ts +2 -0
- package/dest/entrypoint/vk-tree.d.ts.map +1 -0
- package/dest/execution/client.d.ts +64 -0
- package/dest/execution/client.d.ts.map +1 -0
- package/dest/execution/server.d.ts +132 -0
- package/dest/execution/server.d.ts.map +1 -0
- package/dest/private_kernel_reset_data.d.ts +5 -0
- package/dest/private_kernel_reset_data.d.ts.map +1 -0
- package/dest/private_kernel_reset_types.d.ts +49 -0
- package/dest/private_kernel_reset_types.d.ts.map +1 -0
- package/dest/private_kernel_reset_vks.d.ts +5 -0
- package/dest/private_kernel_reset_vks.d.ts.map +1 -0
- package/dest/types/index.d.ts +759 -0
- package/dest/types/index.d.ts.map +1 -0
- package/dest/utils/client/foreign_call_handler.d.ts +3 -0
- package/dest/utils/client/foreign_call_handler.d.ts.map +1 -0
- package/dest/utils/decoded_inputs.d.ts +14 -0
- package/dest/utils/decoded_inputs.d.ts.map +1 -0
- package/dest/utils/private_kernel_reset.d.ts +10 -0
- package/dest/utils/private_kernel_reset.d.ts.map +1 -0
- package/dest/utils/server/foreign_call_handler.d.ts +3 -0
- package/dest/utils/server/foreign_call_handler.d.ts.map +1 -0
- package/dest/utils/vk_json.d.ts +9 -0
- package/dest/utils/vk_json.d.ts.map +1 -0
- package/dest/vk_tree.d.ts +3 -0
- package/dest/vk_tree.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
import { type CompiledCircuit, type ForeignCallHandler } from "@noir-lang/noir_js";
|
|
2
|
+
export { type ForeignCallHandler } from "@noir-lang/noir_js";
|
|
3
|
+
export type FixedLengthArray<T, L extends number> = L extends 0 ? never[] : T[] & {
|
|
4
|
+
length: L;
|
|
5
|
+
};
|
|
6
|
+
export type Field = string;
|
|
7
|
+
export type u32 = string;
|
|
8
|
+
export type u64 = string;
|
|
9
|
+
export type u8 = string;
|
|
10
|
+
export type u128 = string;
|
|
11
|
+
export type BaseParityInputs = {
|
|
12
|
+
msgs: FixedLengthArray<Field, 4>;
|
|
13
|
+
vk_tree_root: Field;
|
|
14
|
+
};
|
|
15
|
+
export type ParityPublicInputs = {
|
|
16
|
+
sha_root: Field;
|
|
17
|
+
converted_root: Field;
|
|
18
|
+
vk_tree_root: Field;
|
|
19
|
+
};
|
|
20
|
+
export type RootParityInputs = {
|
|
21
|
+
children: FixedLengthArray<RootParityInput, 4>;
|
|
22
|
+
};
|
|
23
|
+
export type RootParityInput = {
|
|
24
|
+
proof: RecursiveProof;
|
|
25
|
+
verification_key: VerificationKey<128>;
|
|
26
|
+
vk_path: FixedLengthArray<Field, 6>;
|
|
27
|
+
public_inputs: ParityPublicInputs;
|
|
28
|
+
};
|
|
29
|
+
export type RecursiveProof = {
|
|
30
|
+
fields: FixedLengthArray<Field, 459>;
|
|
31
|
+
};
|
|
32
|
+
export type VerificationKey<A extends number> = {
|
|
33
|
+
key: FixedLengthArray<Field, A>;
|
|
34
|
+
hash: Field;
|
|
35
|
+
};
|
|
36
|
+
export type TxRequest = {
|
|
37
|
+
origin: AztecAddress;
|
|
38
|
+
args_hash: Field;
|
|
39
|
+
tx_context: TxContext;
|
|
40
|
+
function_data: FunctionData;
|
|
41
|
+
};
|
|
42
|
+
export type AztecAddress = {
|
|
43
|
+
inner: Field;
|
|
44
|
+
};
|
|
45
|
+
export type TxContext = {
|
|
46
|
+
chain_id: Field;
|
|
47
|
+
version: Field;
|
|
48
|
+
gas_settings: GasSettings;
|
|
49
|
+
};
|
|
50
|
+
export type FunctionData = {
|
|
51
|
+
selector: FunctionSelector;
|
|
52
|
+
is_private: boolean;
|
|
53
|
+
};
|
|
54
|
+
export type GasSettings = {
|
|
55
|
+
gas_limits: Gas;
|
|
56
|
+
teardown_gas_limits: Gas;
|
|
57
|
+
max_fees_per_gas: GasFees;
|
|
58
|
+
max_priority_fees_per_gas: GasFees;
|
|
59
|
+
};
|
|
60
|
+
export type FunctionSelector = {
|
|
61
|
+
inner: u32;
|
|
62
|
+
};
|
|
63
|
+
export type Gas = {
|
|
64
|
+
da_gas: u32;
|
|
65
|
+
l2_gas: u32;
|
|
66
|
+
};
|
|
67
|
+
export type GasFees = {
|
|
68
|
+
fee_per_da_gas: Field;
|
|
69
|
+
fee_per_l2_gas: Field;
|
|
70
|
+
};
|
|
71
|
+
export type PrivateCallDataWithoutPublicInputs = {
|
|
72
|
+
vk: VerificationKey<143>;
|
|
73
|
+
verification_key_hints: PrivateVerificationKeyHints;
|
|
74
|
+
};
|
|
75
|
+
export type PrivateVerificationKeyHints = {
|
|
76
|
+
salted_initialization_hash: SaltedInitializationHash;
|
|
77
|
+
public_keys: PublicKeys;
|
|
78
|
+
contract_class_artifact_hash: Field;
|
|
79
|
+
contract_class_public_bytecode_commitment: Field;
|
|
80
|
+
function_leaf_membership_witness: MembershipWitness<5>;
|
|
81
|
+
protocol_contract_membership_witness: MembershipWitness<3>;
|
|
82
|
+
protocol_contract_leaf: ProtocolContractLeafPreimage;
|
|
83
|
+
acir_hash: Field;
|
|
84
|
+
updated_class_id_witness: MembershipWitness<40>;
|
|
85
|
+
updated_class_id_leaf: PublicDataTreeLeafPreimage;
|
|
86
|
+
updated_class_id_shared_mutable_values: FixedLengthArray<Field, 3>;
|
|
87
|
+
};
|
|
88
|
+
export type SaltedInitializationHash = {
|
|
89
|
+
inner: Field;
|
|
90
|
+
};
|
|
91
|
+
export type PublicKeys = {
|
|
92
|
+
npk_m: NpkM;
|
|
93
|
+
ivpk_m: IvpkM;
|
|
94
|
+
ovpk_m: OvpkM;
|
|
95
|
+
tpk_m: TpkM;
|
|
96
|
+
};
|
|
97
|
+
export type MembershipWitness<A extends number> = {
|
|
98
|
+
leaf_index: Field;
|
|
99
|
+
sibling_path: FixedLengthArray<Field, A>;
|
|
100
|
+
};
|
|
101
|
+
export type ProtocolContractLeafPreimage = {
|
|
102
|
+
address: Field;
|
|
103
|
+
next_address: Field;
|
|
104
|
+
};
|
|
105
|
+
export type PublicDataTreeLeafPreimage = {
|
|
106
|
+
slot: Field;
|
|
107
|
+
value: Field;
|
|
108
|
+
next_slot: Field;
|
|
109
|
+
next_index: u32;
|
|
110
|
+
};
|
|
111
|
+
export type NpkM = {
|
|
112
|
+
inner: EmbeddedCurvePoint;
|
|
113
|
+
};
|
|
114
|
+
export type IvpkM = {
|
|
115
|
+
inner: EmbeddedCurvePoint;
|
|
116
|
+
};
|
|
117
|
+
export type OvpkM = {
|
|
118
|
+
inner: EmbeddedCurvePoint;
|
|
119
|
+
};
|
|
120
|
+
export type TpkM = {
|
|
121
|
+
inner: EmbeddedCurvePoint;
|
|
122
|
+
};
|
|
123
|
+
export type EmbeddedCurvePoint = {
|
|
124
|
+
x: Field;
|
|
125
|
+
y: Field;
|
|
126
|
+
is_infinite: boolean;
|
|
127
|
+
};
|
|
128
|
+
export type PrivateCircuitPublicInputs = {
|
|
129
|
+
call_context: CallContext;
|
|
130
|
+
args_hash: Field;
|
|
131
|
+
returns_hash: Field;
|
|
132
|
+
min_revertible_side_effect_counter: u32;
|
|
133
|
+
is_fee_payer: boolean;
|
|
134
|
+
max_block_number: MaxBlockNumber;
|
|
135
|
+
note_hash_read_requests: FixedLengthArray<ReadRequest, 16>;
|
|
136
|
+
nullifier_read_requests: FixedLengthArray<ReadRequest, 16>;
|
|
137
|
+
key_validation_requests_and_generators: FixedLengthArray<KeyValidationRequestAndGenerator, 16>;
|
|
138
|
+
note_hashes: FixedLengthArray<NoteHash, 16>;
|
|
139
|
+
nullifiers: FixedLengthArray<Nullifier, 16>;
|
|
140
|
+
private_call_requests: FixedLengthArray<PrivateCallRequest, 5>;
|
|
141
|
+
public_call_requests: FixedLengthArray<Counted, 16>;
|
|
142
|
+
public_teardown_call_request: PublicCallRequest;
|
|
143
|
+
l2_to_l1_msgs: FixedLengthArray<L2ToL1Message, 2>;
|
|
144
|
+
private_logs: FixedLengthArray<PrivateLogData, 16>;
|
|
145
|
+
contract_class_logs_hashes: FixedLengthArray<LogHash, 1>;
|
|
146
|
+
start_side_effect_counter: u32;
|
|
147
|
+
end_side_effect_counter: u32;
|
|
148
|
+
historical_header: BlockHeader;
|
|
149
|
+
tx_context: TxContext;
|
|
150
|
+
};
|
|
151
|
+
export type CallContext = {
|
|
152
|
+
msg_sender: AztecAddress;
|
|
153
|
+
contract_address: AztecAddress;
|
|
154
|
+
function_selector: FunctionSelector;
|
|
155
|
+
is_static_call: boolean;
|
|
156
|
+
};
|
|
157
|
+
export type MaxBlockNumber = {
|
|
158
|
+
_opt: Option;
|
|
159
|
+
};
|
|
160
|
+
export type ReadRequest = {
|
|
161
|
+
value: Field;
|
|
162
|
+
counter: u32;
|
|
163
|
+
};
|
|
164
|
+
export type KeyValidationRequestAndGenerator = {
|
|
165
|
+
request: KeyValidationRequest;
|
|
166
|
+
sk_app_generator: Field;
|
|
167
|
+
};
|
|
168
|
+
export type NoteHash = {
|
|
169
|
+
value: Field;
|
|
170
|
+
counter: u32;
|
|
171
|
+
};
|
|
172
|
+
export type Nullifier = {
|
|
173
|
+
value: Field;
|
|
174
|
+
counter: u32;
|
|
175
|
+
note_hash: Field;
|
|
176
|
+
};
|
|
177
|
+
export type PrivateCallRequest = {
|
|
178
|
+
call_context: CallContext;
|
|
179
|
+
args_hash: Field;
|
|
180
|
+
returns_hash: Field;
|
|
181
|
+
start_side_effect_counter: u32;
|
|
182
|
+
end_side_effect_counter: u32;
|
|
183
|
+
};
|
|
184
|
+
export type Counted = {
|
|
185
|
+
inner: PublicCallRequest;
|
|
186
|
+
counter: u32;
|
|
187
|
+
};
|
|
188
|
+
export type PublicCallRequest = {
|
|
189
|
+
msg_sender: AztecAddress;
|
|
190
|
+
contract_address: AztecAddress;
|
|
191
|
+
function_selector: FunctionSelector;
|
|
192
|
+
is_static_call: boolean;
|
|
193
|
+
args_hash: Field;
|
|
194
|
+
};
|
|
195
|
+
export type L2ToL1Message = {
|
|
196
|
+
recipient: EthAddress;
|
|
197
|
+
content: Field;
|
|
198
|
+
counter: u32;
|
|
199
|
+
};
|
|
200
|
+
export type PrivateLogData = {
|
|
201
|
+
log: Log<18>;
|
|
202
|
+
note_hash_counter: u32;
|
|
203
|
+
counter: u32;
|
|
204
|
+
};
|
|
205
|
+
export type LogHash = {
|
|
206
|
+
value: Field;
|
|
207
|
+
counter: u32;
|
|
208
|
+
length: u32;
|
|
209
|
+
};
|
|
210
|
+
export type BlockHeader = {
|
|
211
|
+
last_archive: AppendOnlyTreeSnapshot;
|
|
212
|
+
content_commitment: ContentCommitment;
|
|
213
|
+
state: StateReference;
|
|
214
|
+
global_variables: GlobalVariables;
|
|
215
|
+
total_fees: Field;
|
|
216
|
+
total_mana_used: Field;
|
|
217
|
+
};
|
|
218
|
+
export type Option = {
|
|
219
|
+
_is_some: boolean;
|
|
220
|
+
_value: u32;
|
|
221
|
+
};
|
|
222
|
+
export type KeyValidationRequest = {
|
|
223
|
+
pk_m: EmbeddedCurvePoint;
|
|
224
|
+
sk_app: Field;
|
|
225
|
+
};
|
|
226
|
+
export type EthAddress = {
|
|
227
|
+
inner: Field;
|
|
228
|
+
};
|
|
229
|
+
export type Log<A extends number> = {
|
|
230
|
+
fields: FixedLengthArray<Field, A>;
|
|
231
|
+
};
|
|
232
|
+
export type AppendOnlyTreeSnapshot = {
|
|
233
|
+
root: Field;
|
|
234
|
+
next_available_leaf_index: u32;
|
|
235
|
+
};
|
|
236
|
+
export type ContentCommitment = {
|
|
237
|
+
num_txs: Field;
|
|
238
|
+
blobs_hash: Field;
|
|
239
|
+
in_hash: Field;
|
|
240
|
+
out_hash: Field;
|
|
241
|
+
};
|
|
242
|
+
export type StateReference = {
|
|
243
|
+
l1_to_l2_message_tree: AppendOnlyTreeSnapshot;
|
|
244
|
+
partial: PartialStateReference;
|
|
245
|
+
};
|
|
246
|
+
export type GlobalVariables = {
|
|
247
|
+
chain_id: Field;
|
|
248
|
+
version: Field;
|
|
249
|
+
block_number: Field;
|
|
250
|
+
slot_number: Field;
|
|
251
|
+
timestamp: u64;
|
|
252
|
+
coinbase: EthAddress;
|
|
253
|
+
fee_recipient: AztecAddress;
|
|
254
|
+
gas_fees: GasFees;
|
|
255
|
+
};
|
|
256
|
+
export type PartialStateReference = {
|
|
257
|
+
note_hash_tree: AppendOnlyTreeSnapshot;
|
|
258
|
+
nullifier_tree: AppendOnlyTreeSnapshot;
|
|
259
|
+
public_data_tree: AppendOnlyTreeSnapshot;
|
|
260
|
+
};
|
|
261
|
+
export type PrivateKernelCircuitPublicInputs = {
|
|
262
|
+
constants: TxConstantData;
|
|
263
|
+
min_revertible_side_effect_counter: u32;
|
|
264
|
+
validation_requests: PrivateValidationRequests;
|
|
265
|
+
end: PrivateAccumulatedData;
|
|
266
|
+
public_teardown_call_request: PublicCallRequest;
|
|
267
|
+
fee_payer: AztecAddress;
|
|
268
|
+
is_private_only: boolean;
|
|
269
|
+
claimed_first_nullifier: Field;
|
|
270
|
+
};
|
|
271
|
+
export type TxConstantData = {
|
|
272
|
+
historical_header: BlockHeader;
|
|
273
|
+
tx_context: TxContext;
|
|
274
|
+
vk_tree_root: Field;
|
|
275
|
+
protocol_contract_tree_root: Field;
|
|
276
|
+
};
|
|
277
|
+
export type PrivateValidationRequests = {
|
|
278
|
+
for_rollup: RollupValidationRequests;
|
|
279
|
+
note_hash_read_requests: FixedLengthArray<ScopedReadRequest, 64>;
|
|
280
|
+
nullifier_read_requests: FixedLengthArray<ScopedReadRequest, 64>;
|
|
281
|
+
scoped_key_validation_requests_and_generators: FixedLengthArray<ScopedKeyValidationRequestAndGenerator, 64>;
|
|
282
|
+
split_counter: Option;
|
|
283
|
+
};
|
|
284
|
+
export type PrivateAccumulatedData = {
|
|
285
|
+
note_hashes: FixedLengthArray<ScopedNoteHash, 64>;
|
|
286
|
+
nullifiers: FixedLengthArray<ScopedNullifier, 64>;
|
|
287
|
+
l2_to_l1_msgs: FixedLengthArray<ScopedL2ToL1Message, 8>;
|
|
288
|
+
private_logs: FixedLengthArray<Scoped, 32>;
|
|
289
|
+
contract_class_logs_hashes: FixedLengthArray<ScopedLogHash, 1>;
|
|
290
|
+
public_call_requests: FixedLengthArray<Counted, 32>;
|
|
291
|
+
private_call_stack: FixedLengthArray<PrivateCallRequest, 8>;
|
|
292
|
+
};
|
|
293
|
+
export type RollupValidationRequests = {
|
|
294
|
+
max_block_number: MaxBlockNumber;
|
|
295
|
+
};
|
|
296
|
+
export type ScopedReadRequest = {
|
|
297
|
+
read_request: ReadRequest;
|
|
298
|
+
contract_address: AztecAddress;
|
|
299
|
+
};
|
|
300
|
+
export type ScopedKeyValidationRequestAndGenerator = {
|
|
301
|
+
request: KeyValidationRequestAndGenerator;
|
|
302
|
+
contract_address: AztecAddress;
|
|
303
|
+
};
|
|
304
|
+
export type ScopedNoteHash = {
|
|
305
|
+
note_hash: NoteHash;
|
|
306
|
+
contract_address: AztecAddress;
|
|
307
|
+
};
|
|
308
|
+
export type ScopedNullifier = {
|
|
309
|
+
nullifier: Nullifier;
|
|
310
|
+
contract_address: AztecAddress;
|
|
311
|
+
};
|
|
312
|
+
export type ScopedL2ToL1Message = {
|
|
313
|
+
message: L2ToL1Message;
|
|
314
|
+
contract_address: AztecAddress;
|
|
315
|
+
};
|
|
316
|
+
export type Scoped = {
|
|
317
|
+
inner: PrivateLogData;
|
|
318
|
+
contract_address: AztecAddress;
|
|
319
|
+
};
|
|
320
|
+
export type ScopedLogHash = {
|
|
321
|
+
log_hash: LogHash;
|
|
322
|
+
contract_address: AztecAddress;
|
|
323
|
+
};
|
|
324
|
+
export type PrivateKernelDataWithoutPublicInputs = {
|
|
325
|
+
vk: VerificationKey<143>;
|
|
326
|
+
vk_index: u32;
|
|
327
|
+
vk_path: FixedLengthArray<Field, 6>;
|
|
328
|
+
};
|
|
329
|
+
export type PrivateKernelResetHints<A extends number, B extends number, C extends number, D extends number, E extends number, F extends number> = {
|
|
330
|
+
note_hash_read_request_hints: NoteHashReadRequestHints<A, B>;
|
|
331
|
+
nullifier_read_request_hints: NullifierReadRequestHints<C, D>;
|
|
332
|
+
key_validation_hints: FixedLengthArray<KeyValidationHint, E>;
|
|
333
|
+
transient_data_index_hints: FixedLengthArray<TransientDataIndexHint, F>;
|
|
334
|
+
validation_requests_split_counter: u32;
|
|
335
|
+
};
|
|
336
|
+
export type NoteHashReadRequestHints<A extends number, B extends number> = {
|
|
337
|
+
read_request_statuses: FixedLengthArray<ReadRequestStatus, 64>;
|
|
338
|
+
pending_read_hints: FixedLengthArray<PendingReadHint, A>;
|
|
339
|
+
settled_read_hints: FixedLengthArray<NoteHashSettledReadHint, B>;
|
|
340
|
+
};
|
|
341
|
+
export type NullifierReadRequestHints<A extends number, B extends number> = {
|
|
342
|
+
read_request_statuses: FixedLengthArray<ReadRequestStatus, 64>;
|
|
343
|
+
pending_read_hints: FixedLengthArray<PendingReadHint, A>;
|
|
344
|
+
settled_read_hints: FixedLengthArray<NullifierSettledReadHint, B>;
|
|
345
|
+
};
|
|
346
|
+
export type KeyValidationHint = {
|
|
347
|
+
sk_m: EmbeddedCurveScalar;
|
|
348
|
+
request_index: u32;
|
|
349
|
+
};
|
|
350
|
+
export type TransientDataIndexHint = {
|
|
351
|
+
nullifier_index: u32;
|
|
352
|
+
note_hash_index: u32;
|
|
353
|
+
};
|
|
354
|
+
export type ReadRequestStatus = {
|
|
355
|
+
state: u8;
|
|
356
|
+
hint_index: u32;
|
|
357
|
+
};
|
|
358
|
+
export type PendingReadHint = {
|
|
359
|
+
read_request_index: u32;
|
|
360
|
+
pending_value_index: u32;
|
|
361
|
+
};
|
|
362
|
+
export type NoteHashSettledReadHint = {
|
|
363
|
+
read_request_index: u32;
|
|
364
|
+
membership_witness: MembershipWitness<40>;
|
|
365
|
+
leaf_preimage: NoteHashLeafPreimage;
|
|
366
|
+
};
|
|
367
|
+
export type NullifierSettledReadHint = {
|
|
368
|
+
read_request_index: u32;
|
|
369
|
+
membership_witness: MembershipWitness<40>;
|
|
370
|
+
leaf_preimage: NullifierLeafPreimage;
|
|
371
|
+
};
|
|
372
|
+
export type EmbeddedCurveScalar = {
|
|
373
|
+
lo: Field;
|
|
374
|
+
hi: Field;
|
|
375
|
+
};
|
|
376
|
+
export type NoteHashLeafPreimage = {
|
|
377
|
+
value: Field;
|
|
378
|
+
};
|
|
379
|
+
export type NullifierLeafPreimage = {
|
|
380
|
+
nullifier: Field;
|
|
381
|
+
next_nullifier: Field;
|
|
382
|
+
next_index: u32;
|
|
383
|
+
};
|
|
384
|
+
export type PrivateToRollupKernelCircuitPublicInputs = {
|
|
385
|
+
constants: TxConstantData;
|
|
386
|
+
rollup_validation_requests: RollupValidationRequests;
|
|
387
|
+
end: PrivateToRollupAccumulatedData;
|
|
388
|
+
gas_used: Gas;
|
|
389
|
+
fee_payer: AztecAddress;
|
|
390
|
+
};
|
|
391
|
+
export type PrivateToRollupAccumulatedData = {
|
|
392
|
+
note_hashes: FixedLengthArray<Field, 64>;
|
|
393
|
+
nullifiers: FixedLengthArray<Field, 64>;
|
|
394
|
+
l2_to_l1_msgs: FixedLengthArray<ScopedL2ToL1Message, 8>;
|
|
395
|
+
private_logs: FixedLengthArray<Log<18>, 32>;
|
|
396
|
+
contract_class_logs_hashes: FixedLengthArray<ScopedLogHash, 1>;
|
|
397
|
+
};
|
|
398
|
+
export type PrivateToPublicKernelCircuitPublicInputs = {
|
|
399
|
+
constants: TxConstantData;
|
|
400
|
+
rollup_validation_requests: RollupValidationRequests;
|
|
401
|
+
non_revertible_accumulated_data: PrivateToPublicAccumulatedData;
|
|
402
|
+
revertible_accumulated_data: PrivateToPublicAccumulatedData;
|
|
403
|
+
public_teardown_call_request: PublicCallRequest;
|
|
404
|
+
gas_used: Gas;
|
|
405
|
+
fee_payer: AztecAddress;
|
|
406
|
+
};
|
|
407
|
+
export type PrivateToPublicAccumulatedData = {
|
|
408
|
+
note_hashes: FixedLengthArray<Field, 64>;
|
|
409
|
+
nullifiers: FixedLengthArray<Field, 64>;
|
|
410
|
+
l2_to_l1_msgs: FixedLengthArray<ScopedL2ToL1Message, 8>;
|
|
411
|
+
private_logs: FixedLengthArray<Log<18>, 32>;
|
|
412
|
+
contract_class_logs_hashes: FixedLengthArray<ScopedLogHash, 1>;
|
|
413
|
+
public_call_requests: FixedLengthArray<PublicCallRequest, 32>;
|
|
414
|
+
};
|
|
415
|
+
export type PrivateBaseRollupInputs = {
|
|
416
|
+
tube_data: PrivateTubeData;
|
|
417
|
+
start: PartialStateReference;
|
|
418
|
+
start_sponge_blob: SpongeBlob;
|
|
419
|
+
state_diff_hints: PrivateBaseStateDiffHints;
|
|
420
|
+
fee_payer_fee_juice_balance_read_hint: PublicDataHint;
|
|
421
|
+
archive_root_membership_witness: MembershipWitness<29>;
|
|
422
|
+
contract_class_logs_preimages: FixedLengthArray<ContractClassLog, 1>;
|
|
423
|
+
constants: ConstantRollupData;
|
|
424
|
+
};
|
|
425
|
+
export type PrivateTubeData = {
|
|
426
|
+
public_inputs: PrivateToRollupKernelCircuitPublicInputs;
|
|
427
|
+
proof: TubeProof;
|
|
428
|
+
vk_data: VkData<139>;
|
|
429
|
+
};
|
|
430
|
+
export type SpongeBlob = {
|
|
431
|
+
sponge: Poseidon2Sponge;
|
|
432
|
+
fields: u32;
|
|
433
|
+
expected_fields: u32;
|
|
434
|
+
};
|
|
435
|
+
export type PrivateBaseStateDiffHints = {
|
|
436
|
+
nullifier_predecessor_preimages: FixedLengthArray<NullifierLeafPreimage, 64>;
|
|
437
|
+
nullifier_predecessor_membership_witnesses: FixedLengthArray<MembershipWitness<40>, 64>;
|
|
438
|
+
sorted_nullifiers: FixedLengthArray<Field, 64>;
|
|
439
|
+
sorted_nullifier_indexes: FixedLengthArray<u32, 64>;
|
|
440
|
+
note_hash_subtree_sibling_path: FixedLengthArray<Field, 34>;
|
|
441
|
+
nullifier_subtree_sibling_path: FixedLengthArray<Field, 34>;
|
|
442
|
+
fee_write_low_leaf_preimage: PublicDataTreeLeafPreimage;
|
|
443
|
+
fee_write_low_leaf_membership_witness: MembershipWitness<40>;
|
|
444
|
+
fee_write_sibling_path: FixedLengthArray<Field, 40>;
|
|
445
|
+
};
|
|
446
|
+
export type PublicDataHint = {
|
|
447
|
+
leaf_slot: Field;
|
|
448
|
+
value: Field;
|
|
449
|
+
membership_witness: MembershipWitness<40>;
|
|
450
|
+
leaf_preimage: PublicDataTreeLeafPreimage;
|
|
451
|
+
};
|
|
452
|
+
export type ContractClassLog = {
|
|
453
|
+
log: Log<3019>;
|
|
454
|
+
contract_address: AztecAddress;
|
|
455
|
+
};
|
|
456
|
+
export type ConstantRollupData = {
|
|
457
|
+
last_archive: AppendOnlyTreeSnapshot;
|
|
458
|
+
vk_tree_root: Field;
|
|
459
|
+
protocol_contract_tree_root: Field;
|
|
460
|
+
global_variables: GlobalVariables;
|
|
461
|
+
};
|
|
462
|
+
export type TubeProof = {
|
|
463
|
+
fields: FixedLengthArray<Field, 538>;
|
|
464
|
+
};
|
|
465
|
+
export type VkData<A extends number> = {
|
|
466
|
+
vk: VerificationKey<A>;
|
|
467
|
+
vk_index: u32;
|
|
468
|
+
vk_path: FixedLengthArray<Field, 6>;
|
|
469
|
+
};
|
|
470
|
+
export type Poseidon2Sponge = {
|
|
471
|
+
cache: FixedLengthArray<Field, 3>;
|
|
472
|
+
state: FixedLengthArray<Field, 4>;
|
|
473
|
+
cache_size: u32;
|
|
474
|
+
squeeze_mode: boolean;
|
|
475
|
+
};
|
|
476
|
+
export type BaseOrMergeRollupPublicInputs = {
|
|
477
|
+
rollup_type: u32;
|
|
478
|
+
num_txs: u32;
|
|
479
|
+
constants: ConstantRollupData;
|
|
480
|
+
start: PartialStateReference;
|
|
481
|
+
end: PartialStateReference;
|
|
482
|
+
start_sponge_blob: SpongeBlob;
|
|
483
|
+
end_sponge_blob: SpongeBlob;
|
|
484
|
+
out_hash: Field;
|
|
485
|
+
accumulated_fees: Field;
|
|
486
|
+
accumulated_mana_used: Field;
|
|
487
|
+
};
|
|
488
|
+
export type PublicBaseRollupInputs = {
|
|
489
|
+
tube_data: PublicTubeData;
|
|
490
|
+
avm_proof_data: AvmProofData;
|
|
491
|
+
start_sponge_blob: SpongeBlob;
|
|
492
|
+
archive_root_membership_witness: MembershipWitness<29>;
|
|
493
|
+
contract_class_logs_preimages: FixedLengthArray<ContractClassLog, 1>;
|
|
494
|
+
constants: ConstantRollupData;
|
|
495
|
+
};
|
|
496
|
+
export type PublicTubeData = {
|
|
497
|
+
public_inputs: PrivateToPublicKernelCircuitPublicInputs;
|
|
498
|
+
proof: TubeProof;
|
|
499
|
+
vk_data: VkData<139>;
|
|
500
|
+
};
|
|
501
|
+
export type AvmProofData = {
|
|
502
|
+
public_inputs: AvmCircuitPublicInputs;
|
|
503
|
+
proof: AvmProof;
|
|
504
|
+
vk_data: VkData<86>;
|
|
505
|
+
};
|
|
506
|
+
export type AvmCircuitPublicInputs = {
|
|
507
|
+
global_variables: GlobalVariables;
|
|
508
|
+
start_tree_snapshots: TreeSnapshots;
|
|
509
|
+
start_gas_used: Gas;
|
|
510
|
+
gas_settings: GasSettings;
|
|
511
|
+
fee_payer: AztecAddress;
|
|
512
|
+
public_setup_call_requests: FixedLengthArray<PublicCallRequest, 32>;
|
|
513
|
+
public_app_logic_call_requests: FixedLengthArray<PublicCallRequest, 32>;
|
|
514
|
+
public_teardown_call_request: PublicCallRequest;
|
|
515
|
+
previous_non_revertible_accumulated_data_array_lengths: PrivateToAvmAccumulatedDataArrayLengths;
|
|
516
|
+
previous_revertible_accumulated_data_array_lengths: PrivateToAvmAccumulatedDataArrayLengths;
|
|
517
|
+
previous_non_revertible_accumulated_data: PrivateToAvmAccumulatedData;
|
|
518
|
+
previous_revertible_accumulated_data: PrivateToAvmAccumulatedData;
|
|
519
|
+
end_tree_snapshots: TreeSnapshots;
|
|
520
|
+
end_gas_used: Gas;
|
|
521
|
+
accumulated_data: AvmAccumulatedData;
|
|
522
|
+
transaction_fee: Field;
|
|
523
|
+
reverted: boolean;
|
|
524
|
+
};
|
|
525
|
+
export type AvmProof = {
|
|
526
|
+
fields: FixedLengthArray<Field, 4154>;
|
|
527
|
+
};
|
|
528
|
+
export type TreeSnapshots = {
|
|
529
|
+
l1_to_l2_message_tree: AppendOnlyTreeSnapshot;
|
|
530
|
+
note_hash_tree: AppendOnlyTreeSnapshot;
|
|
531
|
+
nullifier_tree: AppendOnlyTreeSnapshot;
|
|
532
|
+
public_data_tree: AppendOnlyTreeSnapshot;
|
|
533
|
+
};
|
|
534
|
+
export type PrivateToAvmAccumulatedDataArrayLengths = {
|
|
535
|
+
note_hashes: u32;
|
|
536
|
+
nullifiers: u32;
|
|
537
|
+
l2_to_l1_msgs: u32;
|
|
538
|
+
};
|
|
539
|
+
export type PrivateToAvmAccumulatedData = {
|
|
540
|
+
note_hashes: FixedLengthArray<Field, 64>;
|
|
541
|
+
nullifiers: FixedLengthArray<Field, 64>;
|
|
542
|
+
l2_to_l1_msgs: FixedLengthArray<ScopedL2ToL1Message, 8>;
|
|
543
|
+
};
|
|
544
|
+
export type AvmAccumulatedData = {
|
|
545
|
+
note_hashes: FixedLengthArray<Field, 64>;
|
|
546
|
+
nullifiers: FixedLengthArray<Field, 64>;
|
|
547
|
+
l2_to_l1_msgs: FixedLengthArray<ScopedL2ToL1Message, 8>;
|
|
548
|
+
public_logs: FixedLengthArray<PublicLog, 8>;
|
|
549
|
+
public_data_writes: FixedLengthArray<PublicDataWrite, 64>;
|
|
550
|
+
};
|
|
551
|
+
export type PublicLog = {
|
|
552
|
+
log: Log<13>;
|
|
553
|
+
contract_address: AztecAddress;
|
|
554
|
+
};
|
|
555
|
+
export type PublicDataWrite = {
|
|
556
|
+
leaf_slot: Field;
|
|
557
|
+
value: Field;
|
|
558
|
+
};
|
|
559
|
+
export type MergeRollupInputs = {
|
|
560
|
+
previous_rollup_data: FixedLengthArray<PreviousRollupData, 2>;
|
|
561
|
+
};
|
|
562
|
+
export type PreviousRollupData = {
|
|
563
|
+
base_or_merge_rollup_public_inputs: BaseOrMergeRollupPublicInputs;
|
|
564
|
+
proof: NestedRecursiveProof<538>;
|
|
565
|
+
vk: VerificationKey<139>;
|
|
566
|
+
vk_witness: MembershipWitness<6>;
|
|
567
|
+
};
|
|
568
|
+
export type NestedRecursiveProof<A extends number> = {
|
|
569
|
+
fields: FixedLengthArray<Field, A>;
|
|
570
|
+
};
|
|
571
|
+
export type BlockRootRollupInputs = {
|
|
572
|
+
previous_rollup_data: FixedLengthArray<PreviousRollupData, 2>;
|
|
573
|
+
data: BlockRootRollupData;
|
|
574
|
+
blob_data: BlockRootRollupBlobData;
|
|
575
|
+
};
|
|
576
|
+
export type BlockRootRollupData = {
|
|
577
|
+
l1_to_l2_roots: RootRollupParityInput;
|
|
578
|
+
l1_to_l2_message_subtree_sibling_path: FixedLengthArray<Field, 35>;
|
|
579
|
+
new_archive_sibling_path: FixedLengthArray<Field, 29>;
|
|
580
|
+
previous_block_header: BlockHeader;
|
|
581
|
+
prover_id: Field;
|
|
582
|
+
};
|
|
583
|
+
export type BlockRootRollupBlobData = {
|
|
584
|
+
blobs_fields: FixedLengthArray<Field, 12288>;
|
|
585
|
+
blob_commitments: FixedLengthArray<BlobCommitment, 3>;
|
|
586
|
+
blobs_hash: Field;
|
|
587
|
+
};
|
|
588
|
+
export type RootRollupParityInput = {
|
|
589
|
+
proof: NestedRecursiveProof<459>;
|
|
590
|
+
verification_key: VerificationKey<128>;
|
|
591
|
+
vk_path: FixedLengthArray<Field, 6>;
|
|
592
|
+
public_inputs: ParityPublicInputs;
|
|
593
|
+
};
|
|
594
|
+
export type BlobCommitment = {
|
|
595
|
+
inner: FixedLengthArray<Field, 2>;
|
|
596
|
+
};
|
|
597
|
+
export type BlockRootOrBlockMergePublicInputs = {
|
|
598
|
+
previous_archive: AppendOnlyTreeSnapshot;
|
|
599
|
+
new_archive: AppendOnlyTreeSnapshot;
|
|
600
|
+
previous_block_hash: Field;
|
|
601
|
+
end_block_hash: Field;
|
|
602
|
+
start_global_variables: GlobalVariables;
|
|
603
|
+
end_global_variables: GlobalVariables;
|
|
604
|
+
out_hash: Field;
|
|
605
|
+
fees: FixedLengthArray<FeeRecipient, 48>;
|
|
606
|
+
vk_tree_root: Field;
|
|
607
|
+
protocol_contract_tree_root: Field;
|
|
608
|
+
prover_id: Field;
|
|
609
|
+
blob_public_inputs: FixedLengthArray<BlockBlobPublicInputs, 48>;
|
|
610
|
+
};
|
|
611
|
+
export type FeeRecipient = {
|
|
612
|
+
recipient: EthAddress;
|
|
613
|
+
value: Field;
|
|
614
|
+
};
|
|
615
|
+
export type BlockBlobPublicInputs = {
|
|
616
|
+
inner: FixedLengthArray<BlobPublicInputs, 3>;
|
|
617
|
+
};
|
|
618
|
+
export type BlobPublicInputs = {
|
|
619
|
+
z: Field;
|
|
620
|
+
y: BigNum;
|
|
621
|
+
kzg_commitment: BlobCommitment;
|
|
622
|
+
};
|
|
623
|
+
export type BigNum = {
|
|
624
|
+
limbs: FixedLengthArray<u128, 3>;
|
|
625
|
+
};
|
|
626
|
+
export type SingleTxBlockRootRollupInputs = {
|
|
627
|
+
previous_rollup_data: FixedLengthArray<PreviousRollupData, 1>;
|
|
628
|
+
data: BlockRootRollupData;
|
|
629
|
+
blob_data: BlockRootRollupBlobData;
|
|
630
|
+
};
|
|
631
|
+
export type BlockMergeRollupInputs = {
|
|
632
|
+
previous_rollup_data: FixedLengthArray<PreviousRollupBlockData, 2>;
|
|
633
|
+
};
|
|
634
|
+
export type PreviousRollupBlockData = {
|
|
635
|
+
block_root_or_block_merge_public_inputs: BlockRootOrBlockMergePublicInputs;
|
|
636
|
+
proof: NestedRecursiveProof<538>;
|
|
637
|
+
vk: VerificationKey<139>;
|
|
638
|
+
vk_witness: MembershipWitness<6>;
|
|
639
|
+
};
|
|
640
|
+
export type EmptyBlockRootRollupInputs = {
|
|
641
|
+
data: BlockRootRollupData;
|
|
642
|
+
constants: ConstantRollupData;
|
|
643
|
+
is_padding: boolean;
|
|
644
|
+
};
|
|
645
|
+
export type RootRollupInputs = {
|
|
646
|
+
previous_rollup_data: FixedLengthArray<PreviousRollupBlockData, 2>;
|
|
647
|
+
prover_id: Field;
|
|
648
|
+
};
|
|
649
|
+
export type RootRollupPublicInputs = {
|
|
650
|
+
previous_archive: AppendOnlyTreeSnapshot;
|
|
651
|
+
end_archive: AppendOnlyTreeSnapshot;
|
|
652
|
+
previous_block_hash: Field;
|
|
653
|
+
end_block_hash: Field;
|
|
654
|
+
end_timestamp: u64;
|
|
655
|
+
end_block_number: Field;
|
|
656
|
+
out_hash: Field;
|
|
657
|
+
fees: FixedLengthArray<FeeRecipient, 48>;
|
|
658
|
+
vk_tree_root: Field;
|
|
659
|
+
protocol_contract_tree_root: Field;
|
|
660
|
+
prover_id: Field;
|
|
661
|
+
blob_public_inputs: FixedLengthArray<BlockBlobPublicInputs, 48>;
|
|
662
|
+
};
|
|
663
|
+
export type ParityBaseInputType = {
|
|
664
|
+
inputs: BaseParityInputs;
|
|
665
|
+
};
|
|
666
|
+
export type ParityBaseReturnType = ParityPublicInputs;
|
|
667
|
+
export declare function ParityBase(inputs: BaseParityInputs, ParityBase_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<ParityPublicInputs>;
|
|
668
|
+
export type ParityRootInputType = {
|
|
669
|
+
inputs: RootParityInputs;
|
|
670
|
+
};
|
|
671
|
+
export type ParityRootReturnType = ParityPublicInputs;
|
|
672
|
+
export declare function ParityRoot(inputs: RootParityInputs, ParityRoot_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<ParityPublicInputs>;
|
|
673
|
+
export type PrivateKernelInitInputType = {
|
|
674
|
+
tx_request: TxRequest;
|
|
675
|
+
vk_tree_root: Field;
|
|
676
|
+
protocol_contract_tree_root: Field;
|
|
677
|
+
private_call: PrivateCallDataWithoutPublicInputs;
|
|
678
|
+
is_private_only: boolean;
|
|
679
|
+
first_nullifier_hint: Field;
|
|
680
|
+
app_public_inputs: PrivateCircuitPublicInputs;
|
|
681
|
+
};
|
|
682
|
+
export type PrivateKernelInitReturnType = PrivateKernelCircuitPublicInputs;
|
|
683
|
+
export declare function PrivateKernelInit(tx_request: TxRequest, vk_tree_root: Field, protocol_contract_tree_root: Field, private_call: PrivateCallDataWithoutPublicInputs, is_private_only: boolean, first_nullifier_hint: Field, app_public_inputs: PrivateCircuitPublicInputs, PrivateKernelInit_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateKernelCircuitPublicInputs>;
|
|
684
|
+
export type PrivateKernelInnerInputType = {
|
|
685
|
+
previous_kernel: PrivateKernelDataWithoutPublicInputs;
|
|
686
|
+
previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs;
|
|
687
|
+
private_call: PrivateCallDataWithoutPublicInputs;
|
|
688
|
+
app_public_inputs: PrivateCircuitPublicInputs;
|
|
689
|
+
};
|
|
690
|
+
export type PrivateKernelInnerReturnType = PrivateKernelCircuitPublicInputs;
|
|
691
|
+
export declare function PrivateKernelInner(previous_kernel: PrivateKernelDataWithoutPublicInputs, previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs, private_call: PrivateCallDataWithoutPublicInputs, app_public_inputs: PrivateCircuitPublicInputs, PrivateKernelInner_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateKernelCircuitPublicInputs>;
|
|
692
|
+
export type PrivateKernelResetInputType = {
|
|
693
|
+
previous_kernel: PrivateKernelDataWithoutPublicInputs;
|
|
694
|
+
previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs;
|
|
695
|
+
hints: PrivateKernelResetHints<64, 64, 64, 64, 64, 64>;
|
|
696
|
+
};
|
|
697
|
+
export type PrivateKernelResetReturnType = PrivateKernelCircuitPublicInputs;
|
|
698
|
+
export declare function PrivateKernelReset(previous_kernel: PrivateKernelDataWithoutPublicInputs, previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs, hints: PrivateKernelResetHints<64, 64, 64, 64, 64, 64>, PrivateKernelReset_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateKernelCircuitPublicInputs>;
|
|
699
|
+
export type PrivateKernelTailInputType = {
|
|
700
|
+
previous_kernel: PrivateKernelDataWithoutPublicInputs;
|
|
701
|
+
previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs;
|
|
702
|
+
};
|
|
703
|
+
export type PrivateKernelTailReturnType = PrivateToRollupKernelCircuitPublicInputs;
|
|
704
|
+
export declare function PrivateKernelTail(previous_kernel: PrivateKernelDataWithoutPublicInputs, previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs, PrivateKernelTail_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateToRollupKernelCircuitPublicInputs>;
|
|
705
|
+
export type PrivateKernelTailToPublicInputType = {
|
|
706
|
+
previous_kernel: PrivateKernelDataWithoutPublicInputs;
|
|
707
|
+
previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs;
|
|
708
|
+
};
|
|
709
|
+
export type PrivateKernelTailToPublicReturnType = PrivateToPublicKernelCircuitPublicInputs;
|
|
710
|
+
export declare function PrivateKernelTailToPublic(previous_kernel: PrivateKernelDataWithoutPublicInputs, previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs, PrivateKernelTailToPublic_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateToPublicKernelCircuitPublicInputs>;
|
|
711
|
+
export type RollupBasePrivateInputType = {
|
|
712
|
+
inputs: PrivateBaseRollupInputs;
|
|
713
|
+
};
|
|
714
|
+
export type RollupBasePrivateReturnType = BaseOrMergeRollupPublicInputs;
|
|
715
|
+
export declare function RollupBasePrivate(inputs: PrivateBaseRollupInputs, RollupBasePrivate_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BaseOrMergeRollupPublicInputs>;
|
|
716
|
+
export type RollupBasePublicInputType = {
|
|
717
|
+
inputs: PublicBaseRollupInputs;
|
|
718
|
+
};
|
|
719
|
+
export type RollupBasePublicReturnType = BaseOrMergeRollupPublicInputs;
|
|
720
|
+
export declare function RollupBasePublic(inputs: PublicBaseRollupInputs, RollupBasePublic_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BaseOrMergeRollupPublicInputs>;
|
|
721
|
+
export type RollupMergeInputType = {
|
|
722
|
+
inputs: MergeRollupInputs;
|
|
723
|
+
};
|
|
724
|
+
export type RollupMergeReturnType = BaseOrMergeRollupPublicInputs;
|
|
725
|
+
export declare function RollupMerge(inputs: MergeRollupInputs, RollupMerge_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BaseOrMergeRollupPublicInputs>;
|
|
726
|
+
export type RollupBlockRootInputType = {
|
|
727
|
+
inputs: BlockRootRollupInputs;
|
|
728
|
+
};
|
|
729
|
+
export type RollupBlockRootReturnType = BlockRootOrBlockMergePublicInputs;
|
|
730
|
+
export declare function RollupBlockRoot(inputs: BlockRootRollupInputs, RollupBlockRoot_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BlockRootOrBlockMergePublicInputs>;
|
|
731
|
+
export type RollupBlockRootSingleTxInputType = {
|
|
732
|
+
inputs: SingleTxBlockRootRollupInputs;
|
|
733
|
+
};
|
|
734
|
+
export type RollupBlockRootSingleTxReturnType = BlockRootOrBlockMergePublicInputs;
|
|
735
|
+
export declare function RollupBlockRootSingleTx(inputs: SingleTxBlockRootRollupInputs, RollupBlockRootSingleTx_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BlockRootOrBlockMergePublicInputs>;
|
|
736
|
+
export type RollupBlockMergeInputType = {
|
|
737
|
+
inputs: BlockMergeRollupInputs;
|
|
738
|
+
};
|
|
739
|
+
export type RollupBlockMergeReturnType = BlockRootOrBlockMergePublicInputs;
|
|
740
|
+
export declare function RollupBlockMerge(inputs: BlockMergeRollupInputs, RollupBlockMerge_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BlockRootOrBlockMergePublicInputs>;
|
|
741
|
+
export type RollupBlockRootEmptyInputType = {
|
|
742
|
+
inputs: EmptyBlockRootRollupInputs;
|
|
743
|
+
};
|
|
744
|
+
export type RollupBlockRootEmptyReturnType = BlockRootOrBlockMergePublicInputs;
|
|
745
|
+
export declare function RollupBlockRootEmpty(inputs: EmptyBlockRootRollupInputs, RollupBlockRootEmpty_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<BlockRootOrBlockMergePublicInputs>;
|
|
746
|
+
export type RollupRootInputType = {
|
|
747
|
+
inputs: RootRollupInputs;
|
|
748
|
+
};
|
|
749
|
+
export type RollupRootReturnType = RootRollupPublicInputs;
|
|
750
|
+
export declare function RollupRoot(inputs: RootRollupInputs, RollupRoot_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<RootRollupPublicInputs>;
|
|
751
|
+
export type PrivateKernelReset_32_4_32_4_4_4_4_4_4InputType = {
|
|
752
|
+
previous_kernel: PrivateKernelDataWithoutPublicInputs;
|
|
753
|
+
previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs;
|
|
754
|
+
hints: PrivateKernelResetHints<32, 4, 32, 4, 4, 4>;
|
|
755
|
+
};
|
|
756
|
+
export type PrivateKernelReset_32_4_32_4_4_4_4_4_4ReturnType = PrivateKernelCircuitPublicInputs;
|
|
757
|
+
export declare function PrivateKernelReset_32_4_32_4_4_4_4_4_4(previous_kernel: PrivateKernelDataWithoutPublicInputs, previous_kernel_public_inputs: PrivateKernelCircuitPublicInputs, hints: PrivateKernelResetHints<32, 4, 32, 4, 4, 4>, PrivateKernelReset_32_4_32_4_4_4_4_4_4_circuit: CompiledCircuit, foreignCallHandler?: ForeignCallHandler): Promise<PrivateKernelCircuitPublicInputs>;
|
|
758
|
+
export * from '../artifacts/types.js';
|
|
759
|
+
//# sourceMappingURL=index.d.ts.map
|