@aztec/stdlib 3.0.0-nightly.20251214 → 3.0.0-nightly.20251217
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/abi/abi.d.ts +602 -4
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +7 -7
- package/dest/abi/function_selector.d.ts +2 -1
- package/dest/abi/function_selector.d.ts.map +1 -1
- package/dest/abi/function_selector.js +7 -0
- package/dest/avm/avm.js +1 -1
- package/dest/block/checkpointed_l2_block.d.ts +267 -0
- package/dest/block/checkpointed_l2_block.d.ts.map +1 -0
- package/dest/block/{published_l2_block.js → checkpointed_l2_block.js} +40 -4
- package/dest/block/index.d.ts +2 -2
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -1
- package/dest/block/l2_block_source.d.ts +62 -45
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_stream/interfaces.d.ts +2 -2
- package/dest/block/l2_block_stream/interfaces.d.ts.map +1 -1
- package/dest/block/l2_block_stream/l2_block_stream.d.ts +6 -1
- package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_stream/l2_block_stream.js +9 -1
- package/dest/block/test/l2_tips_store_test_suite.d.ts +1 -1
- package/dest/block/test/l2_tips_store_test_suite.d.ts.map +1 -1
- package/dest/block/test/l2_tips_store_test_suite.js +2 -5
- package/dest/checkpoint/checkpoint.d.ts +3 -2
- package/dest/checkpoint/checkpoint.d.ts.map +1 -1
- package/dest/checkpoint/checkpoint.js +16 -4
- package/dest/checkpoint/published_checkpoint.d.ts +14 -8
- package/dest/checkpoint/published_checkpoint.d.ts.map +1 -1
- package/dest/checkpoint/published_checkpoint.js +11 -1
- package/dest/contract/interfaces/contract_class.d.ts +11 -13
- package/dest/contract/interfaces/contract_class.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_class.js +18 -18
- package/dest/contract/interfaces/contract_instance.d.ts +12 -13
- package/dest/contract/interfaces/contract_instance.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance.js +5 -5
- package/dest/contract/interfaces/contract_instance_update.d.ts +6 -7
- package/dest/contract/interfaces/contract_instance_update.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance_update.js +5 -5
- package/dest/epoch-helpers/index.d.ts +1 -1
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +3 -3
- package/dest/interfaces/allowed_element.d.ts +7 -8
- package/dest/interfaces/allowed_element.d.ts.map +1 -1
- package/dest/interfaces/allowed_element.js +3 -3
- package/dest/interfaces/archiver.d.ts +1 -1
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +2 -2
- package/dest/interfaces/aztec-node-admin.d.ts +7 -1
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.d.ts +1 -1
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +1 -1
- package/dest/interfaces/configs.d.ts +13 -11
- package/dest/interfaces/configs.d.ts.map +1 -1
- package/dest/interfaces/configs.js +4 -3
- package/dest/interfaces/get_logs_response.d.ts +19 -4
- package/dest/interfaces/get_logs_response.d.ts.map +1 -1
- package/dest/interfaces/get_logs_response.js +5 -4
- package/dest/interfaces/prover-client.d.ts +5 -3
- package/dest/interfaces/prover-client.d.ts.map +1 -1
- package/dest/interfaces/prover-client.js +5 -4
- package/dest/interfaces/slasher.d.ts +1 -1
- package/dest/interfaces/slasher.d.ts.map +1 -1
- package/dest/interfaces/slasher.js +3 -3
- package/dest/interfaces/validator.d.ts +7 -8
- package/dest/interfaces/validator.d.ts.map +1 -1
- package/dest/interfaces/validator.js +5 -5
- package/dest/kernel/hints/find_private_kernel_reset_dimensions.d.ts +1 -1
- package/dest/kernel/hints/find_private_kernel_reset_dimensions.d.ts.map +1 -1
- package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +1 -3
- package/dest/logs/extended_public_log.d.ts +7 -1
- package/dest/logs/extended_public_log.d.ts.map +1 -1
- package/dest/logs/log_id.d.ts +9 -1
- package/dest/logs/log_id.d.ts.map +1 -1
- package/dest/logs/log_id.js +15 -8
- package/dest/logs/tx_scoped_l2_log.d.ts +8 -2
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +13 -6
- package/dest/schemas/schemas.d.ts +2 -2
- package/dest/schemas/schemas.d.ts.map +1 -1
- package/dest/schemas/schemas.js +1 -1
- package/dest/slashing/types.d.ts +4 -5
- package/dest/slashing/types.d.ts.map +1 -1
- package/dest/slashing/types.js +5 -5
- package/dest/snapshots/types.d.ts +1 -1
- package/dest/snapshots/types.d.ts.map +1 -1
- package/dest/snapshots/types.js +5 -5
- package/dest/tests/mocks.d.ts +5 -4
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +18 -5
- package/dest/tx/private_execution_result.d.ts +1 -1
- package/dest/tx/private_execution_result.js +1 -1
- package/dest/tx/simulated_tx.d.ts +1031 -7
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/validator/tx_validator.d.ts +1 -4
- package/dest/tx/validator/tx_validator.d.ts.map +1 -1
- package/dest/tx/validator/tx_validator.js +4 -4
- package/dest/validators/schemas.d.ts +1 -1
- package/dest/validators/schemas.d.ts.map +1 -1
- package/dest/validators/schemas.js +13 -13
- package/package.json +8 -8
- package/src/abi/abi.ts +39 -33
- package/src/abi/function_selector.ts +8 -0
- package/src/avm/avm.ts +1 -1
- package/src/block/{published_l2_block.ts → checkpointed_l2_block.ts} +58 -3
- package/src/block/index.ts +1 -1
- package/src/block/l2_block_source.ts +70 -50
- package/src/block/l2_block_stream/interfaces.ts +1 -1
- package/src/block/l2_block_stream/l2_block_stream.ts +9 -0
- package/src/block/test/l2_tips_store_test_suite.ts +2 -1
- package/src/checkpoint/checkpoint.ts +19 -4
- package/src/checkpoint/published_checkpoint.ts +19 -5
- package/src/contract/interfaces/contract_class.ts +59 -46
- package/src/contract/interfaces/contract_instance.ts +15 -13
- package/src/contract/interfaces/contract_instance_update.ts +11 -9
- package/src/epoch-helpers/index.ts +11 -9
- package/src/interfaces/allowed_element.ts +9 -7
- package/src/interfaces/archiver.ts +2 -2
- package/src/interfaces/aztec-node.ts +1 -1
- package/src/interfaces/configs.ts +30 -27
- package/src/interfaces/get_logs_response.ts +13 -9
- package/src/interfaces/prover-client.ts +13 -10
- package/src/interfaces/slasher.ts +24 -22
- package/src/interfaces/validator.ts +22 -18
- package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +2 -4
- package/src/logs/log_id.ts +16 -6
- package/src/logs/tx_scoped_l2_log.ts +14 -6
- package/src/schemas/schemas.ts +1 -0
- package/src/slashing/types.ts +24 -20
- package/src/snapshots/types.ts +33 -29
- package/src/tests/mocks.ts +15 -3
- package/src/tx/private_execution_result.ts +1 -1
- package/src/tx/validator/tx_validator.ts +8 -6
- package/src/validators/schemas.ts +54 -48
- package/dest/block/published_l2_block.d.ts +0 -130
- package/dest/block/published_l2_block.d.ts.map +0 -1
|
@@ -74,7 +74,606 @@ export declare class SimulationOverrides {
|
|
|
74
74
|
}, {
|
|
75
75
|
address?: any;
|
|
76
76
|
}>>;
|
|
77
|
-
artifact:
|
|
77
|
+
artifact: z.ZodObject<{
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
functions: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
80
|
+
name: z.ZodString;
|
|
81
|
+
functionType: z.ZodNativeEnum<typeof import("../abi/abi.js").FunctionType>;
|
|
82
|
+
isOnlySelf: z.ZodBoolean;
|
|
83
|
+
isStatic: z.ZodBoolean;
|
|
84
|
+
isInitializer: z.ZodBoolean;
|
|
85
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
type: z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>;
|
|
88
|
+
visibility: z.ZodEnum<["public", "private", "databus"]>;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
name: string;
|
|
91
|
+
type: import("../abi/abi.js").AbiType;
|
|
92
|
+
visibility: "databus" | "private" | "public";
|
|
93
|
+
}, {
|
|
94
|
+
name: string;
|
|
95
|
+
type: import("../abi/abi.js").AbiType;
|
|
96
|
+
visibility: "databus" | "private" | "public";
|
|
97
|
+
}>, "many">;
|
|
98
|
+
returnTypes: z.ZodArray<z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>, "many">;
|
|
99
|
+
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
100
|
+
error_kind: z.ZodLiteral<"string">;
|
|
101
|
+
string: z.ZodString;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
error_kind: "string";
|
|
104
|
+
string: string;
|
|
105
|
+
}, {
|
|
106
|
+
error_kind: "string";
|
|
107
|
+
string: string;
|
|
108
|
+
}>, z.ZodObject<{
|
|
109
|
+
error_kind: z.ZodLiteral<"fmtstring">;
|
|
110
|
+
length: z.ZodNumber;
|
|
111
|
+
item_types: z.ZodArray<z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>, "many">;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
error_kind: "fmtstring";
|
|
114
|
+
length: number;
|
|
115
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
116
|
+
}, {
|
|
117
|
+
error_kind: "fmtstring";
|
|
118
|
+
length: number;
|
|
119
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
120
|
+
}>, z.ZodIntersection<z.ZodObject<{
|
|
121
|
+
error_kind: z.ZodLiteral<"custom">;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
error_kind: "custom";
|
|
124
|
+
}, {
|
|
125
|
+
error_kind: "custom";
|
|
126
|
+
}>, z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>>]>>>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
name: string;
|
|
129
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
130
|
+
isOnlySelf: boolean;
|
|
131
|
+
isStatic: boolean;
|
|
132
|
+
isInitializer: boolean;
|
|
133
|
+
parameters: {
|
|
134
|
+
name: string;
|
|
135
|
+
type: import("../abi/abi.js").AbiType;
|
|
136
|
+
visibility: "databus" | "private" | "public";
|
|
137
|
+
}[];
|
|
138
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
139
|
+
errorTypes: Record<string, {
|
|
140
|
+
error_kind: "string";
|
|
141
|
+
string: string;
|
|
142
|
+
} | {
|
|
143
|
+
error_kind: "fmtstring";
|
|
144
|
+
length: number;
|
|
145
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
146
|
+
} | ({
|
|
147
|
+
error_kind: "custom";
|
|
148
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
149
|
+
}, {
|
|
150
|
+
name: string;
|
|
151
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
152
|
+
isOnlySelf: boolean;
|
|
153
|
+
isStatic: boolean;
|
|
154
|
+
isInitializer: boolean;
|
|
155
|
+
parameters: {
|
|
156
|
+
name: string;
|
|
157
|
+
type: import("../abi/abi.js").AbiType;
|
|
158
|
+
visibility: "databus" | "private" | "public";
|
|
159
|
+
}[];
|
|
160
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
161
|
+
errorTypes: Record<string, {
|
|
162
|
+
error_kind: "string";
|
|
163
|
+
string: string;
|
|
164
|
+
} | {
|
|
165
|
+
error_kind: "fmtstring";
|
|
166
|
+
length: number;
|
|
167
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
168
|
+
} | ({
|
|
169
|
+
error_kind: "custom";
|
|
170
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
171
|
+
}>, z.ZodObject<{
|
|
172
|
+
bytecode: ZodFor<Buffer<ArrayBufferLike>>;
|
|
173
|
+
verificationKey: z.ZodOptional<z.ZodString>;
|
|
174
|
+
debugSymbols: z.ZodString;
|
|
175
|
+
debug: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
debugSymbols: z.ZodObject<{
|
|
177
|
+
location_tree: z.ZodObject<{
|
|
178
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
179
|
+
parent: z.ZodNullable<z.ZodNumber>;
|
|
180
|
+
value: z.ZodObject<{
|
|
181
|
+
span: z.ZodObject<{
|
|
182
|
+
start: z.ZodNumber;
|
|
183
|
+
end: z.ZodNumber;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
start: number;
|
|
186
|
+
end: number;
|
|
187
|
+
}, {
|
|
188
|
+
start: number;
|
|
189
|
+
end: number;
|
|
190
|
+
}>;
|
|
191
|
+
file: z.ZodNumber;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
span: {
|
|
194
|
+
start: number;
|
|
195
|
+
end: number;
|
|
196
|
+
};
|
|
197
|
+
file: number;
|
|
198
|
+
}, {
|
|
199
|
+
span: {
|
|
200
|
+
start: number;
|
|
201
|
+
end: number;
|
|
202
|
+
};
|
|
203
|
+
file: number;
|
|
204
|
+
}>;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
parent: number | null;
|
|
207
|
+
value: {
|
|
208
|
+
span: {
|
|
209
|
+
start: number;
|
|
210
|
+
end: number;
|
|
211
|
+
};
|
|
212
|
+
file: number;
|
|
213
|
+
};
|
|
214
|
+
}, {
|
|
215
|
+
parent: number | null;
|
|
216
|
+
value: {
|
|
217
|
+
span: {
|
|
218
|
+
start: number;
|
|
219
|
+
end: number;
|
|
220
|
+
};
|
|
221
|
+
file: number;
|
|
222
|
+
};
|
|
223
|
+
}>, "many">;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
locations: {
|
|
226
|
+
parent: number | null;
|
|
227
|
+
value: {
|
|
228
|
+
span: {
|
|
229
|
+
start: number;
|
|
230
|
+
end: number;
|
|
231
|
+
};
|
|
232
|
+
file: number;
|
|
233
|
+
};
|
|
234
|
+
}[];
|
|
235
|
+
}, {
|
|
236
|
+
locations: {
|
|
237
|
+
parent: number | null;
|
|
238
|
+
value: {
|
|
239
|
+
span: {
|
|
240
|
+
start: number;
|
|
241
|
+
end: number;
|
|
242
|
+
};
|
|
243
|
+
file: number;
|
|
244
|
+
};
|
|
245
|
+
}[];
|
|
246
|
+
}>;
|
|
247
|
+
acir_locations: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
248
|
+
brillig_locations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
location_tree: {
|
|
251
|
+
locations: {
|
|
252
|
+
parent: number | null;
|
|
253
|
+
value: {
|
|
254
|
+
span: {
|
|
255
|
+
start: number;
|
|
256
|
+
end: number;
|
|
257
|
+
};
|
|
258
|
+
file: number;
|
|
259
|
+
};
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
262
|
+
acir_locations: Record<string, number>;
|
|
263
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
264
|
+
}, {
|
|
265
|
+
location_tree: {
|
|
266
|
+
locations: {
|
|
267
|
+
parent: number | null;
|
|
268
|
+
value: {
|
|
269
|
+
span: {
|
|
270
|
+
start: number;
|
|
271
|
+
end: number;
|
|
272
|
+
};
|
|
273
|
+
file: number;
|
|
274
|
+
};
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
acir_locations: Record<string, number>;
|
|
278
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
279
|
+
}>;
|
|
280
|
+
files: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
281
|
+
source: z.ZodString;
|
|
282
|
+
path: z.ZodString;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
source: string;
|
|
285
|
+
path: string;
|
|
286
|
+
}, {
|
|
287
|
+
source: string;
|
|
288
|
+
path: string;
|
|
289
|
+
}>>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
debugSymbols: {
|
|
292
|
+
location_tree: {
|
|
293
|
+
locations: {
|
|
294
|
+
parent: number | null;
|
|
295
|
+
value: {
|
|
296
|
+
span: {
|
|
297
|
+
start: number;
|
|
298
|
+
end: number;
|
|
299
|
+
};
|
|
300
|
+
file: number;
|
|
301
|
+
};
|
|
302
|
+
}[];
|
|
303
|
+
};
|
|
304
|
+
acir_locations: Record<string, number>;
|
|
305
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
306
|
+
};
|
|
307
|
+
files: Record<string, {
|
|
308
|
+
source: string;
|
|
309
|
+
path: string;
|
|
310
|
+
}>;
|
|
311
|
+
}, {
|
|
312
|
+
debugSymbols: {
|
|
313
|
+
location_tree: {
|
|
314
|
+
locations: {
|
|
315
|
+
parent: number | null;
|
|
316
|
+
value: {
|
|
317
|
+
span: {
|
|
318
|
+
start: number;
|
|
319
|
+
end: number;
|
|
320
|
+
};
|
|
321
|
+
file: number;
|
|
322
|
+
};
|
|
323
|
+
}[];
|
|
324
|
+
};
|
|
325
|
+
acir_locations: Record<string, number>;
|
|
326
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
327
|
+
};
|
|
328
|
+
files: Record<string, {
|
|
329
|
+
source: string;
|
|
330
|
+
path: string;
|
|
331
|
+
}>;
|
|
332
|
+
}>>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
bytecode: Buffer<ArrayBufferLike>;
|
|
335
|
+
verificationKey?: string | undefined;
|
|
336
|
+
debugSymbols: string;
|
|
337
|
+
debug?: {
|
|
338
|
+
debugSymbols: {
|
|
339
|
+
location_tree: {
|
|
340
|
+
locations: {
|
|
341
|
+
parent: number | null;
|
|
342
|
+
value: {
|
|
343
|
+
span: {
|
|
344
|
+
start: number;
|
|
345
|
+
end: number;
|
|
346
|
+
};
|
|
347
|
+
file: number;
|
|
348
|
+
};
|
|
349
|
+
}[];
|
|
350
|
+
};
|
|
351
|
+
acir_locations: Record<string, number>;
|
|
352
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
353
|
+
};
|
|
354
|
+
files: Record<string, {
|
|
355
|
+
source: string;
|
|
356
|
+
path: string;
|
|
357
|
+
}>;
|
|
358
|
+
} | undefined;
|
|
359
|
+
}, {
|
|
360
|
+
bytecode?: any;
|
|
361
|
+
verificationKey?: string | undefined;
|
|
362
|
+
debugSymbols: string;
|
|
363
|
+
debug?: {
|
|
364
|
+
debugSymbols: {
|
|
365
|
+
location_tree: {
|
|
366
|
+
locations: {
|
|
367
|
+
parent: number | null;
|
|
368
|
+
value: {
|
|
369
|
+
span: {
|
|
370
|
+
start: number;
|
|
371
|
+
end: number;
|
|
372
|
+
};
|
|
373
|
+
file: number;
|
|
374
|
+
};
|
|
375
|
+
}[];
|
|
376
|
+
};
|
|
377
|
+
acir_locations: Record<string, number>;
|
|
378
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
379
|
+
};
|
|
380
|
+
files: Record<string, {
|
|
381
|
+
source: string;
|
|
382
|
+
path: string;
|
|
383
|
+
}>;
|
|
384
|
+
} | undefined;
|
|
385
|
+
}>>, "many">;
|
|
386
|
+
nonDispatchPublicFunctions: z.ZodArray<z.ZodObject<{
|
|
387
|
+
name: z.ZodString;
|
|
388
|
+
functionType: z.ZodNativeEnum<typeof import("../abi/abi.js").FunctionType>;
|
|
389
|
+
isOnlySelf: z.ZodBoolean;
|
|
390
|
+
isStatic: z.ZodBoolean;
|
|
391
|
+
isInitializer: z.ZodBoolean;
|
|
392
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
393
|
+
name: z.ZodString;
|
|
394
|
+
type: z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>;
|
|
395
|
+
visibility: z.ZodEnum<["public", "private", "databus"]>;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
name: string;
|
|
398
|
+
type: import("../abi/abi.js").AbiType;
|
|
399
|
+
visibility: "databus" | "private" | "public";
|
|
400
|
+
}, {
|
|
401
|
+
name: string;
|
|
402
|
+
type: import("../abi/abi.js").AbiType;
|
|
403
|
+
visibility: "databus" | "private" | "public";
|
|
404
|
+
}>, "many">;
|
|
405
|
+
returnTypes: z.ZodArray<z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>, "many">;
|
|
406
|
+
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
407
|
+
error_kind: z.ZodLiteral<"string">;
|
|
408
|
+
string: z.ZodString;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
error_kind: "string";
|
|
411
|
+
string: string;
|
|
412
|
+
}, {
|
|
413
|
+
error_kind: "string";
|
|
414
|
+
string: string;
|
|
415
|
+
}>, z.ZodObject<{
|
|
416
|
+
error_kind: z.ZodLiteral<"fmtstring">;
|
|
417
|
+
length: z.ZodNumber;
|
|
418
|
+
item_types: z.ZodArray<z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>, "many">;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
error_kind: "fmtstring";
|
|
421
|
+
length: number;
|
|
422
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
423
|
+
}, {
|
|
424
|
+
error_kind: "fmtstring";
|
|
425
|
+
length: number;
|
|
426
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
427
|
+
}>, z.ZodIntersection<z.ZodObject<{
|
|
428
|
+
error_kind: z.ZodLiteral<"custom">;
|
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
error_kind: "custom";
|
|
431
|
+
}, {
|
|
432
|
+
error_kind: "custom";
|
|
433
|
+
}>, z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>>]>>>;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
name: string;
|
|
436
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
437
|
+
isOnlySelf: boolean;
|
|
438
|
+
isStatic: boolean;
|
|
439
|
+
isInitializer: boolean;
|
|
440
|
+
parameters: {
|
|
441
|
+
name: string;
|
|
442
|
+
type: import("../abi/abi.js").AbiType;
|
|
443
|
+
visibility: "databus" | "private" | "public";
|
|
444
|
+
}[];
|
|
445
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
446
|
+
errorTypes: Record<string, {
|
|
447
|
+
error_kind: "string";
|
|
448
|
+
string: string;
|
|
449
|
+
} | {
|
|
450
|
+
error_kind: "fmtstring";
|
|
451
|
+
length: number;
|
|
452
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
453
|
+
} | ({
|
|
454
|
+
error_kind: "custom";
|
|
455
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
456
|
+
}, {
|
|
457
|
+
name: string;
|
|
458
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
459
|
+
isOnlySelf: boolean;
|
|
460
|
+
isStatic: boolean;
|
|
461
|
+
isInitializer: boolean;
|
|
462
|
+
parameters: {
|
|
463
|
+
name: string;
|
|
464
|
+
type: import("../abi/abi.js").AbiType;
|
|
465
|
+
visibility: "databus" | "private" | "public";
|
|
466
|
+
}[];
|
|
467
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
468
|
+
errorTypes: Record<string, {
|
|
469
|
+
error_kind: "string";
|
|
470
|
+
string: string;
|
|
471
|
+
} | {
|
|
472
|
+
error_kind: "fmtstring";
|
|
473
|
+
length: number;
|
|
474
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
475
|
+
} | ({
|
|
476
|
+
error_kind: "custom";
|
|
477
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
478
|
+
}>, "many">;
|
|
479
|
+
outputs: z.ZodObject<{
|
|
480
|
+
structs: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("../abi/abi.js").AbiType, z.ZodTypeDef, import("../abi/abi.js").AbiType>, "many">>, Record<string, import("../abi/abi.js").AbiType[]>, Record<string, import("../abi/abi.js").AbiType[]>>;
|
|
481
|
+
globals: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("../abi/abi.js").AbiValue, z.ZodTypeDef, import("../abi/abi.js").AbiValue>, "many">>;
|
|
482
|
+
}, "strip", z.ZodTypeAny, {
|
|
483
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
484
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
485
|
+
}, {
|
|
486
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
487
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
488
|
+
}>;
|
|
489
|
+
storageLayout: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
490
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
493
|
+
}, {
|
|
494
|
+
slot: string;
|
|
495
|
+
}>>;
|
|
496
|
+
fileMap: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
497
|
+
source: z.ZodString;
|
|
498
|
+
path: z.ZodString;
|
|
499
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
|
+
source: string;
|
|
501
|
+
path: string;
|
|
502
|
+
}, {
|
|
503
|
+
source: string;
|
|
504
|
+
path: string;
|
|
505
|
+
}>>;
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
name: string;
|
|
508
|
+
functions: ({
|
|
509
|
+
name: string;
|
|
510
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
511
|
+
isOnlySelf: boolean;
|
|
512
|
+
isStatic: boolean;
|
|
513
|
+
isInitializer: boolean;
|
|
514
|
+
parameters: {
|
|
515
|
+
name: string;
|
|
516
|
+
type: import("../abi/abi.js").AbiType;
|
|
517
|
+
visibility: "databus" | "private" | "public";
|
|
518
|
+
}[];
|
|
519
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
520
|
+
errorTypes: Record<string, {
|
|
521
|
+
error_kind: "string";
|
|
522
|
+
string: string;
|
|
523
|
+
} | {
|
|
524
|
+
error_kind: "fmtstring";
|
|
525
|
+
length: number;
|
|
526
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
527
|
+
} | ({
|
|
528
|
+
error_kind: "custom";
|
|
529
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
530
|
+
} & {
|
|
531
|
+
bytecode: Buffer<ArrayBufferLike>;
|
|
532
|
+
verificationKey?: string | undefined;
|
|
533
|
+
debugSymbols: string;
|
|
534
|
+
debug?: {
|
|
535
|
+
debugSymbols: {
|
|
536
|
+
location_tree: {
|
|
537
|
+
locations: {
|
|
538
|
+
parent: number | null;
|
|
539
|
+
value: {
|
|
540
|
+
span: {
|
|
541
|
+
start: number;
|
|
542
|
+
end: number;
|
|
543
|
+
};
|
|
544
|
+
file: number;
|
|
545
|
+
};
|
|
546
|
+
}[];
|
|
547
|
+
};
|
|
548
|
+
acir_locations: Record<string, number>;
|
|
549
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
550
|
+
};
|
|
551
|
+
files: Record<string, {
|
|
552
|
+
source: string;
|
|
553
|
+
path: string;
|
|
554
|
+
}>;
|
|
555
|
+
} | undefined;
|
|
556
|
+
})[];
|
|
557
|
+
nonDispatchPublicFunctions: {
|
|
558
|
+
name: string;
|
|
559
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
560
|
+
isOnlySelf: boolean;
|
|
561
|
+
isStatic: boolean;
|
|
562
|
+
isInitializer: boolean;
|
|
563
|
+
parameters: {
|
|
564
|
+
name: string;
|
|
565
|
+
type: import("../abi/abi.js").AbiType;
|
|
566
|
+
visibility: "databus" | "private" | "public";
|
|
567
|
+
}[];
|
|
568
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
569
|
+
errorTypes: Record<string, {
|
|
570
|
+
error_kind: "string";
|
|
571
|
+
string: string;
|
|
572
|
+
} | {
|
|
573
|
+
error_kind: "fmtstring";
|
|
574
|
+
length: number;
|
|
575
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
576
|
+
} | ({
|
|
577
|
+
error_kind: "custom";
|
|
578
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
579
|
+
}[];
|
|
580
|
+
outputs: {
|
|
581
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
582
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
583
|
+
};
|
|
584
|
+
storageLayout: Record<string, {
|
|
585
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
586
|
+
}>;
|
|
587
|
+
fileMap: Record<number, {
|
|
588
|
+
source: string;
|
|
589
|
+
path: string;
|
|
590
|
+
}>;
|
|
591
|
+
}, {
|
|
592
|
+
name: string;
|
|
593
|
+
functions: ({
|
|
594
|
+
name: string;
|
|
595
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
596
|
+
isOnlySelf: boolean;
|
|
597
|
+
isStatic: boolean;
|
|
598
|
+
isInitializer: boolean;
|
|
599
|
+
parameters: {
|
|
600
|
+
name: string;
|
|
601
|
+
type: import("../abi/abi.js").AbiType;
|
|
602
|
+
visibility: "databus" | "private" | "public";
|
|
603
|
+
}[];
|
|
604
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
605
|
+
errorTypes: Record<string, {
|
|
606
|
+
error_kind: "string";
|
|
607
|
+
string: string;
|
|
608
|
+
} | {
|
|
609
|
+
error_kind: "fmtstring";
|
|
610
|
+
length: number;
|
|
611
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
612
|
+
} | ({
|
|
613
|
+
error_kind: "custom";
|
|
614
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
615
|
+
} & {
|
|
616
|
+
bytecode?: any;
|
|
617
|
+
verificationKey?: string | undefined;
|
|
618
|
+
debugSymbols: string;
|
|
619
|
+
debug?: {
|
|
620
|
+
debugSymbols: {
|
|
621
|
+
location_tree: {
|
|
622
|
+
locations: {
|
|
623
|
+
parent: number | null;
|
|
624
|
+
value: {
|
|
625
|
+
span: {
|
|
626
|
+
start: number;
|
|
627
|
+
end: number;
|
|
628
|
+
};
|
|
629
|
+
file: number;
|
|
630
|
+
};
|
|
631
|
+
}[];
|
|
632
|
+
};
|
|
633
|
+
acir_locations: Record<string, number>;
|
|
634
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
635
|
+
};
|
|
636
|
+
files: Record<string, {
|
|
637
|
+
source: string;
|
|
638
|
+
path: string;
|
|
639
|
+
}>;
|
|
640
|
+
} | undefined;
|
|
641
|
+
})[];
|
|
642
|
+
nonDispatchPublicFunctions: {
|
|
643
|
+
name: string;
|
|
644
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
645
|
+
isOnlySelf: boolean;
|
|
646
|
+
isStatic: boolean;
|
|
647
|
+
isInitializer: boolean;
|
|
648
|
+
parameters: {
|
|
649
|
+
name: string;
|
|
650
|
+
type: import("../abi/abi.js").AbiType;
|
|
651
|
+
visibility: "databus" | "private" | "public";
|
|
652
|
+
}[];
|
|
653
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
654
|
+
errorTypes: Record<string, {
|
|
655
|
+
error_kind: "string";
|
|
656
|
+
string: string;
|
|
657
|
+
} | {
|
|
658
|
+
error_kind: "fmtstring";
|
|
659
|
+
length: number;
|
|
660
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
661
|
+
} | ({
|
|
662
|
+
error_kind: "custom";
|
|
663
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
664
|
+
}[];
|
|
665
|
+
outputs: {
|
|
666
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
667
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
668
|
+
};
|
|
669
|
+
storageLayout: Record<string, {
|
|
670
|
+
slot: string;
|
|
671
|
+
}>;
|
|
672
|
+
fileMap: Record<number, {
|
|
673
|
+
source: string;
|
|
674
|
+
path: string;
|
|
675
|
+
}>;
|
|
676
|
+
}>;
|
|
78
677
|
}, "strip", z.ZodTypeAny, {
|
|
79
678
|
instance: {
|
|
80
679
|
version: 1;
|
|
@@ -87,7 +686,92 @@ export declare class SimulationOverrides {
|
|
|
87
686
|
} & {
|
|
88
687
|
address: import("../aztec-address/index.js").AztecAddress;
|
|
89
688
|
};
|
|
90
|
-
artifact:
|
|
689
|
+
artifact: {
|
|
690
|
+
name: string;
|
|
691
|
+
functions: ({
|
|
692
|
+
name: string;
|
|
693
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
694
|
+
isOnlySelf: boolean;
|
|
695
|
+
isStatic: boolean;
|
|
696
|
+
isInitializer: boolean;
|
|
697
|
+
parameters: {
|
|
698
|
+
name: string;
|
|
699
|
+
type: import("../abi/abi.js").AbiType;
|
|
700
|
+
visibility: "databus" | "private" | "public";
|
|
701
|
+
}[];
|
|
702
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
703
|
+
errorTypes: Record<string, {
|
|
704
|
+
error_kind: "string";
|
|
705
|
+
string: string;
|
|
706
|
+
} | {
|
|
707
|
+
error_kind: "fmtstring";
|
|
708
|
+
length: number;
|
|
709
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
710
|
+
} | ({
|
|
711
|
+
error_kind: "custom";
|
|
712
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
713
|
+
} & {
|
|
714
|
+
bytecode: Buffer<ArrayBufferLike>;
|
|
715
|
+
verificationKey?: string | undefined;
|
|
716
|
+
debugSymbols: string;
|
|
717
|
+
debug?: {
|
|
718
|
+
debugSymbols: {
|
|
719
|
+
location_tree: {
|
|
720
|
+
locations: {
|
|
721
|
+
parent: number | null;
|
|
722
|
+
value: {
|
|
723
|
+
span: {
|
|
724
|
+
start: number;
|
|
725
|
+
end: number;
|
|
726
|
+
};
|
|
727
|
+
file: number;
|
|
728
|
+
};
|
|
729
|
+
}[];
|
|
730
|
+
};
|
|
731
|
+
acir_locations: Record<string, number>;
|
|
732
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
733
|
+
};
|
|
734
|
+
files: Record<string, {
|
|
735
|
+
source: string;
|
|
736
|
+
path: string;
|
|
737
|
+
}>;
|
|
738
|
+
} | undefined;
|
|
739
|
+
})[];
|
|
740
|
+
nonDispatchPublicFunctions: {
|
|
741
|
+
name: string;
|
|
742
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
743
|
+
isOnlySelf: boolean;
|
|
744
|
+
isStatic: boolean;
|
|
745
|
+
isInitializer: boolean;
|
|
746
|
+
parameters: {
|
|
747
|
+
name: string;
|
|
748
|
+
type: import("../abi/abi.js").AbiType;
|
|
749
|
+
visibility: "databus" | "private" | "public";
|
|
750
|
+
}[];
|
|
751
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
752
|
+
errorTypes: Record<string, {
|
|
753
|
+
error_kind: "string";
|
|
754
|
+
string: string;
|
|
755
|
+
} | {
|
|
756
|
+
error_kind: "fmtstring";
|
|
757
|
+
length: number;
|
|
758
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
759
|
+
} | ({
|
|
760
|
+
error_kind: "custom";
|
|
761
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
762
|
+
}[];
|
|
763
|
+
outputs: {
|
|
764
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
765
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
766
|
+
};
|
|
767
|
+
storageLayout: Record<string, {
|
|
768
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
769
|
+
}>;
|
|
770
|
+
fileMap: Record<number, {
|
|
771
|
+
source: string;
|
|
772
|
+
path: string;
|
|
773
|
+
}>;
|
|
774
|
+
};
|
|
91
775
|
}, {
|
|
92
776
|
instance: {
|
|
93
777
|
version: 1;
|
|
@@ -105,7 +789,92 @@ export declare class SimulationOverrides {
|
|
|
105
789
|
} & {
|
|
106
790
|
address?: any;
|
|
107
791
|
};
|
|
108
|
-
artifact
|
|
792
|
+
artifact: {
|
|
793
|
+
name: string;
|
|
794
|
+
functions: ({
|
|
795
|
+
name: string;
|
|
796
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
797
|
+
isOnlySelf: boolean;
|
|
798
|
+
isStatic: boolean;
|
|
799
|
+
isInitializer: boolean;
|
|
800
|
+
parameters: {
|
|
801
|
+
name: string;
|
|
802
|
+
type: import("../abi/abi.js").AbiType;
|
|
803
|
+
visibility: "databus" | "private" | "public";
|
|
804
|
+
}[];
|
|
805
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
806
|
+
errorTypes: Record<string, {
|
|
807
|
+
error_kind: "string";
|
|
808
|
+
string: string;
|
|
809
|
+
} | {
|
|
810
|
+
error_kind: "fmtstring";
|
|
811
|
+
length: number;
|
|
812
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
813
|
+
} | ({
|
|
814
|
+
error_kind: "custom";
|
|
815
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
816
|
+
} & {
|
|
817
|
+
bytecode?: any;
|
|
818
|
+
verificationKey?: string | undefined;
|
|
819
|
+
debugSymbols: string;
|
|
820
|
+
debug?: {
|
|
821
|
+
debugSymbols: {
|
|
822
|
+
location_tree: {
|
|
823
|
+
locations: {
|
|
824
|
+
parent: number | null;
|
|
825
|
+
value: {
|
|
826
|
+
span: {
|
|
827
|
+
start: number;
|
|
828
|
+
end: number;
|
|
829
|
+
};
|
|
830
|
+
file: number;
|
|
831
|
+
};
|
|
832
|
+
}[];
|
|
833
|
+
};
|
|
834
|
+
acir_locations: Record<string, number>;
|
|
835
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
836
|
+
};
|
|
837
|
+
files: Record<string, {
|
|
838
|
+
source: string;
|
|
839
|
+
path: string;
|
|
840
|
+
}>;
|
|
841
|
+
} | undefined;
|
|
842
|
+
})[];
|
|
843
|
+
nonDispatchPublicFunctions: {
|
|
844
|
+
name: string;
|
|
845
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
846
|
+
isOnlySelf: boolean;
|
|
847
|
+
isStatic: boolean;
|
|
848
|
+
isInitializer: boolean;
|
|
849
|
+
parameters: {
|
|
850
|
+
name: string;
|
|
851
|
+
type: import("../abi/abi.js").AbiType;
|
|
852
|
+
visibility: "databus" | "private" | "public";
|
|
853
|
+
}[];
|
|
854
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
855
|
+
errorTypes: Record<string, {
|
|
856
|
+
error_kind: "string";
|
|
857
|
+
string: string;
|
|
858
|
+
} | {
|
|
859
|
+
error_kind: "fmtstring";
|
|
860
|
+
length: number;
|
|
861
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
862
|
+
} | ({
|
|
863
|
+
error_kind: "custom";
|
|
864
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
865
|
+
}[];
|
|
866
|
+
outputs: {
|
|
867
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
868
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
869
|
+
};
|
|
870
|
+
storageLayout: Record<string, {
|
|
871
|
+
slot: string;
|
|
872
|
+
}>;
|
|
873
|
+
fileMap: Record<number, {
|
|
874
|
+
source: string;
|
|
875
|
+
path: string;
|
|
876
|
+
}>;
|
|
877
|
+
};
|
|
109
878
|
}>>>;
|
|
110
879
|
}, "strip", z.ZodTypeAny, {
|
|
111
880
|
contracts?: Record<string, {
|
|
@@ -120,7 +889,92 @@ export declare class SimulationOverrides {
|
|
|
120
889
|
} & {
|
|
121
890
|
address: import("../aztec-address/index.js").AztecAddress;
|
|
122
891
|
};
|
|
123
|
-
artifact:
|
|
892
|
+
artifact: {
|
|
893
|
+
name: string;
|
|
894
|
+
functions: ({
|
|
895
|
+
name: string;
|
|
896
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
897
|
+
isOnlySelf: boolean;
|
|
898
|
+
isStatic: boolean;
|
|
899
|
+
isInitializer: boolean;
|
|
900
|
+
parameters: {
|
|
901
|
+
name: string;
|
|
902
|
+
type: import("../abi/abi.js").AbiType;
|
|
903
|
+
visibility: "databus" | "private" | "public";
|
|
904
|
+
}[];
|
|
905
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
906
|
+
errorTypes: Record<string, {
|
|
907
|
+
error_kind: "string";
|
|
908
|
+
string: string;
|
|
909
|
+
} | {
|
|
910
|
+
error_kind: "fmtstring";
|
|
911
|
+
length: number;
|
|
912
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
913
|
+
} | ({
|
|
914
|
+
error_kind: "custom";
|
|
915
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
916
|
+
} & {
|
|
917
|
+
bytecode: Buffer<ArrayBufferLike>;
|
|
918
|
+
verificationKey?: string | undefined;
|
|
919
|
+
debugSymbols: string;
|
|
920
|
+
debug?: {
|
|
921
|
+
debugSymbols: {
|
|
922
|
+
location_tree: {
|
|
923
|
+
locations: {
|
|
924
|
+
parent: number | null;
|
|
925
|
+
value: {
|
|
926
|
+
span: {
|
|
927
|
+
start: number;
|
|
928
|
+
end: number;
|
|
929
|
+
};
|
|
930
|
+
file: number;
|
|
931
|
+
};
|
|
932
|
+
}[];
|
|
933
|
+
};
|
|
934
|
+
acir_locations: Record<string, number>;
|
|
935
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
936
|
+
};
|
|
937
|
+
files: Record<string, {
|
|
938
|
+
source: string;
|
|
939
|
+
path: string;
|
|
940
|
+
}>;
|
|
941
|
+
} | undefined;
|
|
942
|
+
})[];
|
|
943
|
+
nonDispatchPublicFunctions: {
|
|
944
|
+
name: string;
|
|
945
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
946
|
+
isOnlySelf: boolean;
|
|
947
|
+
isStatic: boolean;
|
|
948
|
+
isInitializer: boolean;
|
|
949
|
+
parameters: {
|
|
950
|
+
name: string;
|
|
951
|
+
type: import("../abi/abi.js").AbiType;
|
|
952
|
+
visibility: "databus" | "private" | "public";
|
|
953
|
+
}[];
|
|
954
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
955
|
+
errorTypes: Record<string, {
|
|
956
|
+
error_kind: "string";
|
|
957
|
+
string: string;
|
|
958
|
+
} | {
|
|
959
|
+
error_kind: "fmtstring";
|
|
960
|
+
length: number;
|
|
961
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
962
|
+
} | ({
|
|
963
|
+
error_kind: "custom";
|
|
964
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
965
|
+
}[];
|
|
966
|
+
outputs: {
|
|
967
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
968
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
969
|
+
};
|
|
970
|
+
storageLayout: Record<string, {
|
|
971
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
972
|
+
}>;
|
|
973
|
+
fileMap: Record<number, {
|
|
974
|
+
source: string;
|
|
975
|
+
path: string;
|
|
976
|
+
}>;
|
|
977
|
+
};
|
|
124
978
|
}> | undefined;
|
|
125
979
|
}, {
|
|
126
980
|
contracts?: Record<string, {
|
|
@@ -140,7 +994,92 @@ export declare class SimulationOverrides {
|
|
|
140
994
|
} & {
|
|
141
995
|
address?: any;
|
|
142
996
|
};
|
|
143
|
-
artifact
|
|
997
|
+
artifact: {
|
|
998
|
+
name: string;
|
|
999
|
+
functions: ({
|
|
1000
|
+
name: string;
|
|
1001
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
1002
|
+
isOnlySelf: boolean;
|
|
1003
|
+
isStatic: boolean;
|
|
1004
|
+
isInitializer: boolean;
|
|
1005
|
+
parameters: {
|
|
1006
|
+
name: string;
|
|
1007
|
+
type: import("../abi/abi.js").AbiType;
|
|
1008
|
+
visibility: "databus" | "private" | "public";
|
|
1009
|
+
}[];
|
|
1010
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
1011
|
+
errorTypes: Record<string, {
|
|
1012
|
+
error_kind: "string";
|
|
1013
|
+
string: string;
|
|
1014
|
+
} | {
|
|
1015
|
+
error_kind: "fmtstring";
|
|
1016
|
+
length: number;
|
|
1017
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
1018
|
+
} | ({
|
|
1019
|
+
error_kind: "custom";
|
|
1020
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
1021
|
+
} & {
|
|
1022
|
+
bytecode?: any;
|
|
1023
|
+
verificationKey?: string | undefined;
|
|
1024
|
+
debugSymbols: string;
|
|
1025
|
+
debug?: {
|
|
1026
|
+
debugSymbols: {
|
|
1027
|
+
location_tree: {
|
|
1028
|
+
locations: {
|
|
1029
|
+
parent: number | null;
|
|
1030
|
+
value: {
|
|
1031
|
+
span: {
|
|
1032
|
+
start: number;
|
|
1033
|
+
end: number;
|
|
1034
|
+
};
|
|
1035
|
+
file: number;
|
|
1036
|
+
};
|
|
1037
|
+
}[];
|
|
1038
|
+
};
|
|
1039
|
+
acir_locations: Record<string, number>;
|
|
1040
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
1041
|
+
};
|
|
1042
|
+
files: Record<string, {
|
|
1043
|
+
source: string;
|
|
1044
|
+
path: string;
|
|
1045
|
+
}>;
|
|
1046
|
+
} | undefined;
|
|
1047
|
+
})[];
|
|
1048
|
+
nonDispatchPublicFunctions: {
|
|
1049
|
+
name: string;
|
|
1050
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
1051
|
+
isOnlySelf: boolean;
|
|
1052
|
+
isStatic: boolean;
|
|
1053
|
+
isInitializer: boolean;
|
|
1054
|
+
parameters: {
|
|
1055
|
+
name: string;
|
|
1056
|
+
type: import("../abi/abi.js").AbiType;
|
|
1057
|
+
visibility: "databus" | "private" | "public";
|
|
1058
|
+
}[];
|
|
1059
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
1060
|
+
errorTypes: Record<string, {
|
|
1061
|
+
error_kind: "string";
|
|
1062
|
+
string: string;
|
|
1063
|
+
} | {
|
|
1064
|
+
error_kind: "fmtstring";
|
|
1065
|
+
length: number;
|
|
1066
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
1067
|
+
} | ({
|
|
1068
|
+
error_kind: "custom";
|
|
1069
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
1070
|
+
}[];
|
|
1071
|
+
outputs: {
|
|
1072
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
1073
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
1074
|
+
};
|
|
1075
|
+
storageLayout: Record<string, {
|
|
1076
|
+
slot: string;
|
|
1077
|
+
}>;
|
|
1078
|
+
fileMap: Record<number, {
|
|
1079
|
+
source: string;
|
|
1080
|
+
path: string;
|
|
1081
|
+
}>;
|
|
1082
|
+
};
|
|
144
1083
|
}> | undefined;
|
|
145
1084
|
}>, SimulationOverrides, {
|
|
146
1085
|
contracts?: Record<string, {
|
|
@@ -160,7 +1099,92 @@ export declare class SimulationOverrides {
|
|
|
160
1099
|
} & {
|
|
161
1100
|
address?: any;
|
|
162
1101
|
};
|
|
163
|
-
artifact
|
|
1102
|
+
artifact: {
|
|
1103
|
+
name: string;
|
|
1104
|
+
functions: ({
|
|
1105
|
+
name: string;
|
|
1106
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
1107
|
+
isOnlySelf: boolean;
|
|
1108
|
+
isStatic: boolean;
|
|
1109
|
+
isInitializer: boolean;
|
|
1110
|
+
parameters: {
|
|
1111
|
+
name: string;
|
|
1112
|
+
type: import("../abi/abi.js").AbiType;
|
|
1113
|
+
visibility: "databus" | "private" | "public";
|
|
1114
|
+
}[];
|
|
1115
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
1116
|
+
errorTypes: Record<string, {
|
|
1117
|
+
error_kind: "string";
|
|
1118
|
+
string: string;
|
|
1119
|
+
} | {
|
|
1120
|
+
error_kind: "fmtstring";
|
|
1121
|
+
length: number;
|
|
1122
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
1123
|
+
} | ({
|
|
1124
|
+
error_kind: "custom";
|
|
1125
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
1126
|
+
} & {
|
|
1127
|
+
bytecode?: any;
|
|
1128
|
+
verificationKey?: string | undefined;
|
|
1129
|
+
debugSymbols: string;
|
|
1130
|
+
debug?: {
|
|
1131
|
+
debugSymbols: {
|
|
1132
|
+
location_tree: {
|
|
1133
|
+
locations: {
|
|
1134
|
+
parent: number | null;
|
|
1135
|
+
value: {
|
|
1136
|
+
span: {
|
|
1137
|
+
start: number;
|
|
1138
|
+
end: number;
|
|
1139
|
+
};
|
|
1140
|
+
file: number;
|
|
1141
|
+
};
|
|
1142
|
+
}[];
|
|
1143
|
+
};
|
|
1144
|
+
acir_locations: Record<string, number>;
|
|
1145
|
+
brillig_locations: Record<string, Record<string, number>>;
|
|
1146
|
+
};
|
|
1147
|
+
files: Record<string, {
|
|
1148
|
+
source: string;
|
|
1149
|
+
path: string;
|
|
1150
|
+
}>;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
})[];
|
|
1153
|
+
nonDispatchPublicFunctions: {
|
|
1154
|
+
name: string;
|
|
1155
|
+
functionType: import("../abi/abi.js").FunctionType;
|
|
1156
|
+
isOnlySelf: boolean;
|
|
1157
|
+
isStatic: boolean;
|
|
1158
|
+
isInitializer: boolean;
|
|
1159
|
+
parameters: {
|
|
1160
|
+
name: string;
|
|
1161
|
+
type: import("../abi/abi.js").AbiType;
|
|
1162
|
+
visibility: "databus" | "private" | "public";
|
|
1163
|
+
}[];
|
|
1164
|
+
returnTypes: import("../abi/abi.js").AbiType[];
|
|
1165
|
+
errorTypes: Record<string, {
|
|
1166
|
+
error_kind: "string";
|
|
1167
|
+
string: string;
|
|
1168
|
+
} | {
|
|
1169
|
+
error_kind: "fmtstring";
|
|
1170
|
+
length: number;
|
|
1171
|
+
item_types: import("../abi/abi.js").AbiType[];
|
|
1172
|
+
} | ({
|
|
1173
|
+
error_kind: "custom";
|
|
1174
|
+
} & import("../abi/abi.js").AbiType) | undefined>;
|
|
1175
|
+
}[];
|
|
1176
|
+
outputs: {
|
|
1177
|
+
structs: Record<string, import("../abi/abi.js").AbiType[]>;
|
|
1178
|
+
globals: Record<string, import("../abi/abi.js").AbiValue[]>;
|
|
1179
|
+
};
|
|
1180
|
+
storageLayout: Record<string, {
|
|
1181
|
+
slot: string;
|
|
1182
|
+
}>;
|
|
1183
|
+
fileMap: Record<number, {
|
|
1184
|
+
source: string;
|
|
1185
|
+
path: string;
|
|
1186
|
+
}>;
|
|
1187
|
+
};
|
|
164
1188
|
}> | undefined;
|
|
165
1189
|
}>;
|
|
166
1190
|
}
|
|
@@ -193,4 +1217,4 @@ export declare class TxSimulationResult {
|
|
|
193
1217
|
* @returns
|
|
194
1218
|
*/
|
|
195
1219
|
export declare function accumulatePrivateReturnValues(executionResult: PrivateExecutionResult): NestedProcessReturnValues;
|
|
196
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1220
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltdWxhdGVkX3R4LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHgvc2ltdWxhdGVkX3R4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxLQUFLLE1BQU0sRUFBWSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRXhELE9BQU8sRUFBRSxDQUFDLEVBQUUsTUFBTSxLQUFLLENBQUM7QUFFeEIsT0FBTyxFQUFFLEtBQUssZ0JBQWd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