@aztec/stdlib 3.0.0-nightly.20251112 → 3.0.0-nightly.20251114
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 +8 -8
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +2 -2
- package/dest/abi/contract_artifact.js +3 -3
- package/dest/avm/avm.d.ts +539 -769
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +196 -2
- package/dest/avm/avm_accumulated_data.d.ts +22 -6
- package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
- package/dest/avm/avm_accumulated_data.js +18 -0
- package/dest/avm/avm_circuit_public_inputs.d.ts +35 -27
- package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
- package/dest/avm/avm_circuit_public_inputs.js +9 -0
- package/dest/avm/avm_proving_request.d.ts +134 -290
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/public_data_write.d.ts +10 -2
- package/dest/avm/public_data_write.d.ts.map +1 -1
- package/dest/avm/public_data_write.js +9 -0
- package/dest/avm/revert_code.d.ts +8 -0
- package/dest/avm/revert_code.d.ts.map +1 -1
- package/dest/avm/revert_code.js +16 -0
- package/dest/aztec-address/index.d.ts +9 -0
- package/dest/aztec-address/index.d.ts.map +1 -1
- package/dest/aztec-address/index.js +16 -0
- package/dest/block/l2_block.d.ts +1 -1
- package/dest/block/l2_block_info.d.ts +3 -3
- package/dest/block/proposal/attestations_and_signers.d.ts +1 -1
- package/dest/block/proposal/committee_attestation.d.ts +1 -1
- package/dest/block/published_l2_block.d.ts +2 -2
- package/dest/block/validate_block_result.d.ts +12 -12
- package/dest/contract/contract_deployment_data.d.ts +10 -2
- package/dest/contract/contract_deployment_data.d.ts.map +1 -1
- package/dest/contract/contract_deployment_data.js +12 -0
- package/dest/contract/interfaces/contract_class.d.ts +19 -19
- package/dest/contract/interfaces/contract_instance.d.ts +32 -200
- package/dest/contract/interfaces/contract_instance.d.ts.map +1 -1
- package/dest/database-version/version_manager.d.ts +1 -1
- package/dest/gas/gas.d.ts +8 -0
- package/dest/gas/gas.d.ts.map +1 -1
- package/dest/gas/gas.js +12 -0
- package/dest/gas/gas_fees.d.ts +8 -0
- package/dest/gas/gas_fees.d.ts.map +1 -1
- package/dest/gas/gas_fees.js +12 -0
- package/dest/gas/gas_settings.d.ts +8 -0
- package/dest/gas/gas_settings.d.ts.map +1 -1
- package/dest/gas/gas_settings.js +12 -0
- package/dest/gas/gas_used.d.ts +12 -1
- package/dest/gas/gas_used.d.ts.map +1 -1
- package/dest/gas/gas_used.js +19 -1
- package/dest/interfaces/aztec-node-admin.d.ts +8 -5
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/configs.d.ts +5 -0
- package/dest/interfaces/configs.d.ts.map +1 -1
- package/dest/interfaces/configs.js +1 -0
- package/dest/interfaces/proving-job.d.ts +162 -318
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/slasher.d.ts +3 -3
- package/dest/interfaces/validator.d.ts +12 -4
- package/dest/interfaces/validator.d.ts.map +1 -1
- package/dest/interfaces/validator.js +2 -1
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +20 -4
- package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.js +18 -0
- package/dest/kernel/public_call_request.d.ts +17 -1
- package/dest/kernel/public_call_request.d.ts.map +1 -1
- package/dest/kernel/public_call_request.js +18 -0
- package/dest/keys/public_keys.d.ts +20 -84
- package/dest/keys/public_keys.d.ts.map +1 -1
- package/dest/keys/public_keys.js +12 -0
- package/dest/logs/contract_class_log.d.ts +18 -2
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +24 -0
- package/dest/logs/debug_log.d.ts +9 -1
- package/dest/logs/debug_log.d.ts.map +1 -1
- package/dest/logs/debug_log.js +13 -0
- package/dest/logs/directional_app_tagging_secret.d.ts +1 -1
- package/dest/logs/pre_tag.d.ts +1 -1
- package/dest/logs/private_log.d.ts +9 -1
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +12 -0
- package/dest/logs/public_log.d.ts +8 -0
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +9 -0
- package/dest/logs/tx_scoped_l2_log.d.ts +1 -1
- package/dest/messaging/l2_to_l1_message.d.ts +24 -8
- package/dest/messaging/l2_to_l1_message.d.ts.map +1 -1
- package/dest/messaging/l2_to_l1_message.js +18 -0
- package/dest/noir/index.d.ts +1 -1
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/noir/index.js +1 -2
- package/dest/p2p/consensus_payload.d.ts +5 -5
- package/dest/snapshots/types.d.ts +2 -2
- package/dest/trees/append_only_tree_snapshot.d.ts +9 -1
- package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
- package/dest/trees/append_only_tree_snapshot.js +9 -0
- package/dest/trees/nullifier_leaf.d.ts +20 -4
- package/dest/trees/nullifier_leaf.d.ts.map +1 -1
- package/dest/trees/nullifier_leaf.js +24 -0
- package/dest/trees/nullifier_membership_witness.d.ts +2 -2
- package/dest/trees/public_data_leaf.d.ts +23 -7
- package/dest/trees/public_data_leaf.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.js +24 -0
- package/dest/trees/public_data_witness.d.ts +3 -3
- package/dest/tx/content_commitment.d.ts +3 -3
- package/dest/tx/execution_payload.d.ts +45 -0
- package/dest/tx/execution_payload.d.ts.map +1 -0
- package/dest/tx/execution_payload.js +40 -0
- package/dest/tx/global_variables.d.ts +8 -0
- package/dest/tx/global_variables.d.ts.map +1 -1
- package/dest/tx/global_variables.js +9 -0
- package/dest/tx/index.d.ts +1 -0
- package/dest/tx/index.d.ts.map +1 -1
- package/dest/tx/index.js +1 -0
- package/dest/tx/partial_state_reference.d.ts +3 -3
- package/dest/tx/profiling.d.ts +3 -3
- package/dest/tx/profiling.d.ts.map +1 -1
- package/dest/tx/profiling.js +5 -4
- package/dest/tx/protocol_contracts.d.ts +8 -0
- package/dest/tx/protocol_contracts.d.ts.map +1 -1
- package/dest/tx/protocol_contracts.js +9 -0
- package/dest/tx/public_call_request_with_calldata.d.ts +8 -0
- package/dest/tx/public_call_request_with_calldata.d.ts.map +1 -1
- package/dest/tx/public_call_request_with_calldata.js +12 -0
- package/dest/tx/simulated_tx.d.ts +28 -148
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/state_reference.d.ts +4 -4
- package/dest/tx/tree_snapshots.d.ts +12 -4
- package/dest/tx/tree_snapshots.d.ts.map +1 -1
- package/dest/tx/tree_snapshots.js +9 -0
- package/dest/tx/tx_context.d.ts +2 -2
- package/dest/validators/schemas.d.ts +3 -3
- package/package.json +8 -8
- package/src/abi/abi.ts +4 -4
- package/src/abi/contract_artifact.ts +3 -3
- package/src/avm/avm.ts +350 -3
- package/src/avm/avm_accumulated_data.ts +40 -0
- package/src/avm/avm_circuit_public_inputs.ts +40 -0
- package/src/avm/public_data_write.ts +11 -0
- package/src/avm/revert_code.ts +18 -0
- package/src/aztec-address/index.ts +18 -0
- package/src/contract/contract_deployment_data.ts +17 -0
- package/src/gas/gas.ts +14 -0
- package/src/gas/gas_fees.ts +14 -0
- package/src/gas/gas_settings.ts +19 -0
- package/src/gas/gas_used.ts +22 -1
- package/src/interfaces/configs.ts +3 -0
- package/src/interfaces/validator.ts +4 -0
- package/src/kernel/private_to_avm_accumulated_data.ts +35 -0
- package/src/kernel/public_call_request.ts +27 -0
- package/src/keys/public_keys.ts +19 -0
- package/src/logs/contract_class_log.ts +32 -0
- package/src/logs/debug_log.ts +20 -1
- package/src/logs/private_log.ts +17 -0
- package/src/logs/public_log.ts +14 -0
- package/src/messaging/l2_to_l1_message.ts +25 -0
- package/src/noir/index.ts +1 -2
- package/src/trees/append_only_tree_snapshot.ts +11 -0
- package/src/trees/nullifier_leaf.ts +32 -0
- package/src/trees/public_data_leaf.ts +32 -0
- package/src/tx/execution_payload.ts +60 -0
- package/src/tx/global_variables.ts +20 -0
- package/src/tx/index.ts +1 -0
- package/src/tx/profiling.ts +4 -6
- package/src/tx/protocol_contracts.ts +16 -0
- package/src/tx/public_call_request_with_calldata.ts +17 -0
- package/src/tx/tree_snapshots.ts +16 -0
package/dest/avm/avm.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ import { SimulationError } from '../errors/simulation_error.js';
|
|
|
6
6
|
import { Gas } from '../gas/gas.js';
|
|
7
7
|
import { GasFees } from '../gas/gas_fees.js';
|
|
8
8
|
import { GasSettings } from '../gas/gas_settings.js';
|
|
9
|
-
import
|
|
9
|
+
import { GasUsed } from '../gas/gas_used.js';
|
|
10
10
|
import { PublicKeys } from '../keys/public_keys.js';
|
|
11
11
|
import { DebugLog } from '../logs/debug_log.js';
|
|
12
12
|
import { ScopedL2ToL1Message } from '../messaging/l2_to_l1_message.js';
|
|
13
13
|
import { type ZodFor } from '../schemas/schemas.js';
|
|
14
14
|
import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
|
|
15
15
|
import { MerkleTreeId } from '../trees/merkle_tree_id.js';
|
|
16
|
-
import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
17
|
-
import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
|
|
16
|
+
import { NullifierLeaf, NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
17
|
+
import { PublicDataTreeLeaf, PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
|
|
18
18
|
import { GlobalVariables, NestedProcessReturnValues, ProtocolContracts, PublicCallRequestWithCalldata, TreeSnapshots, type Tx, TxExecutionPhase } from '../tx/index.js';
|
|
19
19
|
import { WorldStateRevision } from '../world-state/world_state_revision.js';
|
|
20
20
|
import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
|
|
@@ -51,6 +51,14 @@ export declare class AvmContractClassHint {
|
|
|
51
51
|
privateFunctionsRoot?: any;
|
|
52
52
|
classId?: any;
|
|
53
53
|
}>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates an AvmContractClassHint from a plain object without Zod validation.
|
|
56
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
57
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
58
|
+
* @param obj - Plain object containing AvmContractClassHint fields
|
|
59
|
+
* @returns An AvmContractClassHint instance
|
|
60
|
+
*/
|
|
61
|
+
static fromPlainObject(obj: any): AvmContractClassHint;
|
|
54
62
|
}
|
|
55
63
|
export declare class AvmBytecodeCommitmentHint {
|
|
56
64
|
readonly hintKey: number;
|
|
@@ -74,6 +82,14 @@ export declare class AvmBytecodeCommitmentHint {
|
|
|
74
82
|
classId?: any;
|
|
75
83
|
commitment?: any;
|
|
76
84
|
}>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates an AvmBytecodeCommitmentHint from a plain object without Zod validation.
|
|
87
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
88
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
89
|
+
* @param obj - Plain object containing AvmBytecodeCommitmentHint fields
|
|
90
|
+
* @returns An AvmBytecodeCommitmentHint instance
|
|
91
|
+
*/
|
|
92
|
+
static fromPlainObject(obj: any): AvmBytecodeCommitmentHint;
|
|
77
93
|
}
|
|
78
94
|
export declare class AvmContractInstanceHint {
|
|
79
95
|
readonly hintKey: number;
|
|
@@ -94,97 +110,25 @@ export declare class AvmContractInstanceHint {
|
|
|
94
110
|
originalContractClassId: ZodFor<Fr>;
|
|
95
111
|
initializationHash: ZodFor<Fr>;
|
|
96
112
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
97
|
-
masterNullifierPublicKey: z.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
x: Fr;
|
|
102
|
-
y: Fr;
|
|
103
|
-
}, {
|
|
104
|
-
x: string;
|
|
105
|
-
y: string;
|
|
106
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
107
|
-
x: string;
|
|
108
|
-
y: string;
|
|
109
|
-
}>]>;
|
|
110
|
-
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
111
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
112
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
x: Fr;
|
|
115
|
-
y: Fr;
|
|
116
|
-
}, {
|
|
117
|
-
x: string;
|
|
118
|
-
y: string;
|
|
119
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
120
|
-
x: string;
|
|
121
|
-
y: string;
|
|
122
|
-
}>]>;
|
|
123
|
-
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
124
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
125
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
x: Fr;
|
|
128
|
-
y: Fr;
|
|
129
|
-
}, {
|
|
130
|
-
x: string;
|
|
131
|
-
y: string;
|
|
132
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
133
|
-
x: string;
|
|
134
|
-
y: string;
|
|
135
|
-
}>]>;
|
|
136
|
-
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
137
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
138
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
139
|
-
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
x: Fr;
|
|
141
|
-
y: Fr;
|
|
142
|
-
}, {
|
|
143
|
-
x: string;
|
|
144
|
-
y: string;
|
|
145
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
146
|
-
x: string;
|
|
147
|
-
y: string;
|
|
148
|
-
}>]>;
|
|
113
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
114
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
115
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
116
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
149
117
|
}, "strip", z.ZodTypeAny, {
|
|
150
118
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
151
119
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
152
120
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
153
121
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
154
122
|
}, {
|
|
155
|
-
masterNullifierPublicKey: string
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
masterIncomingViewingPublicKey: string | {
|
|
160
|
-
x: string;
|
|
161
|
-
y: string;
|
|
162
|
-
};
|
|
163
|
-
masterOutgoingViewingPublicKey: string | {
|
|
164
|
-
x: string;
|
|
165
|
-
y: string;
|
|
166
|
-
};
|
|
167
|
-
masterTaggingPublicKey: string | {
|
|
168
|
-
x: string;
|
|
169
|
-
y: string;
|
|
170
|
-
};
|
|
123
|
+
masterNullifierPublicKey: string;
|
|
124
|
+
masterIncomingViewingPublicKey: string;
|
|
125
|
+
masterOutgoingViewingPublicKey: string;
|
|
126
|
+
masterTaggingPublicKey: string;
|
|
171
127
|
}>, PublicKeys, {
|
|
172
|
-
masterNullifierPublicKey: string
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
masterIncomingViewingPublicKey: string | {
|
|
177
|
-
x: string;
|
|
178
|
-
y: string;
|
|
179
|
-
};
|
|
180
|
-
masterOutgoingViewingPublicKey: string | {
|
|
181
|
-
x: string;
|
|
182
|
-
y: string;
|
|
183
|
-
};
|
|
184
|
-
masterTaggingPublicKey: string | {
|
|
185
|
-
x: string;
|
|
186
|
-
y: string;
|
|
187
|
-
};
|
|
128
|
+
masterNullifierPublicKey: string;
|
|
129
|
+
masterIncomingViewingPublicKey: string;
|
|
130
|
+
masterOutgoingViewingPublicKey: string;
|
|
131
|
+
masterTaggingPublicKey: string;
|
|
188
132
|
}>;
|
|
189
133
|
}, "strip", z.ZodTypeAny, {
|
|
190
134
|
salt: Fr;
|
|
@@ -197,22 +141,10 @@ export declare class AvmContractInstanceHint {
|
|
|
197
141
|
hintKey: number;
|
|
198
142
|
}, {
|
|
199
143
|
publicKeys: {
|
|
200
|
-
masterNullifierPublicKey: string
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
masterIncomingViewingPublicKey: string | {
|
|
205
|
-
x: string;
|
|
206
|
-
y: string;
|
|
207
|
-
};
|
|
208
|
-
masterOutgoingViewingPublicKey: string | {
|
|
209
|
-
x: string;
|
|
210
|
-
y: string;
|
|
211
|
-
};
|
|
212
|
-
masterTaggingPublicKey: string | {
|
|
213
|
-
x: string;
|
|
214
|
-
y: string;
|
|
215
|
-
};
|
|
144
|
+
masterNullifierPublicKey: string;
|
|
145
|
+
masterIncomingViewingPublicKey: string;
|
|
146
|
+
masterOutgoingViewingPublicKey: string;
|
|
147
|
+
masterTaggingPublicKey: string;
|
|
216
148
|
};
|
|
217
149
|
hintKey: number;
|
|
218
150
|
salt?: any;
|
|
@@ -223,22 +155,10 @@ export declare class AvmContractInstanceHint {
|
|
|
223
155
|
address?: any;
|
|
224
156
|
}>, AvmContractInstanceHint, {
|
|
225
157
|
publicKeys: {
|
|
226
|
-
masterNullifierPublicKey: string
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
masterIncomingViewingPublicKey: string | {
|
|
231
|
-
x: string;
|
|
232
|
-
y: string;
|
|
233
|
-
};
|
|
234
|
-
masterOutgoingViewingPublicKey: string | {
|
|
235
|
-
x: string;
|
|
236
|
-
y: string;
|
|
237
|
-
};
|
|
238
|
-
masterTaggingPublicKey: string | {
|
|
239
|
-
x: string;
|
|
240
|
-
y: string;
|
|
241
|
-
};
|
|
158
|
+
masterNullifierPublicKey: string;
|
|
159
|
+
masterIncomingViewingPublicKey: string;
|
|
160
|
+
masterOutgoingViewingPublicKey: string;
|
|
161
|
+
masterTaggingPublicKey: string;
|
|
242
162
|
};
|
|
243
163
|
hintKey: number;
|
|
244
164
|
salt?: any;
|
|
@@ -248,6 +168,14 @@ export declare class AvmContractInstanceHint {
|
|
|
248
168
|
initializationHash?: any;
|
|
249
169
|
address?: any;
|
|
250
170
|
}>;
|
|
171
|
+
/**
|
|
172
|
+
* Creates an AvmContractInstanceHint from a plain object without Zod validation.
|
|
173
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
174
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
175
|
+
* @param obj - Plain object containing AvmContractInstanceHint fields
|
|
176
|
+
* @returns An AvmContractInstanceHint instance
|
|
177
|
+
*/
|
|
178
|
+
static fromPlainObject(obj: any): AvmContractInstanceHint;
|
|
251
179
|
}
|
|
252
180
|
export declare class AvmDebugFunctionNameHint {
|
|
253
181
|
readonly address: AztecAddress;
|
|
@@ -271,6 +199,14 @@ export declare class AvmDebugFunctionNameHint {
|
|
|
271
199
|
selector?: any;
|
|
272
200
|
address?: any;
|
|
273
201
|
}>;
|
|
202
|
+
/**
|
|
203
|
+
* Creates an AvmDebugFunctionNameHint from a plain object without Zod validation.
|
|
204
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
205
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
206
|
+
* @param obj - Plain object containing AvmDebugFunctionNameHint fields
|
|
207
|
+
* @returns An AvmDebugFunctionNameHint instance
|
|
208
|
+
*/
|
|
209
|
+
static fromPlainObject(obj: any): AvmDebugFunctionNameHint;
|
|
274
210
|
}
|
|
275
211
|
export declare class AvmGetSiblingPathHint {
|
|
276
212
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -280,7 +216,7 @@ export declare class AvmGetSiblingPathHint {
|
|
|
280
216
|
constructor(hintKey: AppendOnlyTreeSnapshot, treeId: MerkleTreeId, index: bigint, path: Fr[]);
|
|
281
217
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
282
218
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
283
|
-
root: z.
|
|
219
|
+
root: z.ZodType<Fr, any, string>;
|
|
284
220
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
285
221
|
}, "strip", z.ZodTypeAny, {
|
|
286
222
|
root: Fr;
|
|
@@ -317,6 +253,14 @@ export declare class AvmGetSiblingPathHint {
|
|
|
317
253
|
};
|
|
318
254
|
treeId: number;
|
|
319
255
|
}>;
|
|
256
|
+
/**
|
|
257
|
+
* Creates an AvmGetSiblingPathHint from a plain object without Zod validation.
|
|
258
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
259
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
260
|
+
* @param obj - Plain object containing AvmGetSiblingPathHint fields
|
|
261
|
+
* @returns An AvmGetSiblingPathHint instance
|
|
262
|
+
*/
|
|
263
|
+
static fromPlainObject(obj: any): AvmGetSiblingPathHint;
|
|
320
264
|
}
|
|
321
265
|
export declare class AvmGetPreviousValueIndexHint {
|
|
322
266
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -327,7 +271,7 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
327
271
|
constructor(hintKey: AppendOnlyTreeSnapshot, treeId: MerkleTreeId, value: Fr, index: bigint, alreadyPresent: boolean);
|
|
328
272
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
329
273
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
330
|
-
root: z.
|
|
274
|
+
root: z.ZodType<Fr, any, string>;
|
|
331
275
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
332
276
|
}, "strip", z.ZodTypeAny, {
|
|
333
277
|
root: Fr;
|
|
@@ -368,6 +312,14 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
368
312
|
treeId: number;
|
|
369
313
|
value?: any;
|
|
370
314
|
}>;
|
|
315
|
+
/**
|
|
316
|
+
* Creates an AvmGetPreviousValueIndexHint from a plain object without Zod validation.
|
|
317
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
318
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
319
|
+
* @param obj - Plain object containing AvmGetPreviousValueIndexHint fields
|
|
320
|
+
* @returns An AvmGetPreviousValueIndexHint instance
|
|
321
|
+
*/
|
|
322
|
+
static fromPlainObject(obj: any): AvmGetPreviousValueIndexHint;
|
|
371
323
|
}
|
|
372
324
|
type IndexedTreeLeafPreimages = NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
373
325
|
type IndexedTreeLeafPreimagesClasses = typeof NullifierLeafPreimage | typeof PublicDataTreeLeafPreimage;
|
|
@@ -379,7 +331,7 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
|
|
|
379
331
|
};
|
|
380
332
|
readonly schema: z.ZodEffects<z.ZodObject<{
|
|
381
333
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
382
|
-
root: z.
|
|
334
|
+
root: z.ZodType<Fr, any, string>;
|
|
383
335
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
384
336
|
}, "strip", z.ZodTypeAny, {
|
|
385
337
|
root: Fr;
|
|
@@ -394,18 +346,18 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
|
|
|
394
346
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
395
347
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
396
348
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
397
|
-
nullifier: z.
|
|
349
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
398
350
|
}, "strip", z.ZodTypeAny, {
|
|
399
351
|
nullifier: Fr;
|
|
400
352
|
}, {
|
|
401
353
|
nullifier: string;
|
|
402
|
-
}>,
|
|
354
|
+
}>, NullifierLeaf, {
|
|
403
355
|
nullifier: string;
|
|
404
356
|
}>;
|
|
405
|
-
nextKey: z.
|
|
357
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
406
358
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
407
359
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
leaf:
|
|
360
|
+
leaf: NullifierLeaf;
|
|
409
361
|
nextKey: Fr;
|
|
410
362
|
nextIndex: bigint;
|
|
411
363
|
}, {
|
|
@@ -422,22 +374,22 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
|
|
|
422
374
|
nextIndex: string | number | bigint;
|
|
423
375
|
}> | z.ZodEffects<z.ZodObject<{
|
|
424
376
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
425
|
-
slot: z.
|
|
426
|
-
value: z.
|
|
377
|
+
slot: z.ZodType<Fr, any, string>;
|
|
378
|
+
value: z.ZodType<Fr, any, string>;
|
|
427
379
|
}, "strip", z.ZodTypeAny, {
|
|
428
380
|
value: Fr;
|
|
429
381
|
slot: Fr;
|
|
430
382
|
}, {
|
|
431
383
|
value: string;
|
|
432
384
|
slot: string;
|
|
433
|
-
}>,
|
|
385
|
+
}>, PublicDataTreeLeaf, {
|
|
434
386
|
value: string;
|
|
435
387
|
slot: string;
|
|
436
388
|
}>;
|
|
437
|
-
nextKey: z.
|
|
389
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
438
390
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
439
391
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
-
leaf:
|
|
392
|
+
leaf: PublicDataTreeLeaf;
|
|
441
393
|
nextKey: Fr;
|
|
442
394
|
nextIndex: bigint;
|
|
443
395
|
}, {
|
|
@@ -504,6 +456,14 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
|
|
|
504
456
|
nextAvailableLeafIndex: string | number | bigint;
|
|
505
457
|
};
|
|
506
458
|
}>;
|
|
459
|
+
/**
|
|
460
|
+
* Creates an instance from a plain object without Zod validation.
|
|
461
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
462
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
463
|
+
* @param obj - Plain object containing hint fields
|
|
464
|
+
* @returns An instance
|
|
465
|
+
*/
|
|
466
|
+
fromPlainObject(obj: any): any;
|
|
507
467
|
};
|
|
508
468
|
export declare class AvmGetLeafPreimageHintPublicDataTree extends AvmGetLeafPreimageHintPublicDataTree_base {
|
|
509
469
|
}
|
|
@@ -515,7 +475,7 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
|
|
|
515
475
|
};
|
|
516
476
|
readonly schema: z.ZodEffects<z.ZodObject<{
|
|
517
477
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
518
|
-
root: z.
|
|
478
|
+
root: z.ZodType<Fr, any, string>;
|
|
519
479
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
520
480
|
}, "strip", z.ZodTypeAny, {
|
|
521
481
|
root: Fr;
|
|
@@ -530,18 +490,18 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
|
|
|
530
490
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
531
491
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
532
492
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
533
|
-
nullifier: z.
|
|
493
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
534
494
|
}, "strip", z.ZodTypeAny, {
|
|
535
495
|
nullifier: Fr;
|
|
536
496
|
}, {
|
|
537
497
|
nullifier: string;
|
|
538
|
-
}>,
|
|
498
|
+
}>, NullifierLeaf, {
|
|
539
499
|
nullifier: string;
|
|
540
500
|
}>;
|
|
541
|
-
nextKey: z.
|
|
501
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
542
502
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
543
503
|
}, "strip", z.ZodTypeAny, {
|
|
544
|
-
leaf:
|
|
504
|
+
leaf: NullifierLeaf;
|
|
545
505
|
nextKey: Fr;
|
|
546
506
|
nextIndex: bigint;
|
|
547
507
|
}, {
|
|
@@ -558,22 +518,22 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
|
|
|
558
518
|
nextIndex: string | number | bigint;
|
|
559
519
|
}> | z.ZodEffects<z.ZodObject<{
|
|
560
520
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
561
|
-
slot: z.
|
|
562
|
-
value: z.
|
|
521
|
+
slot: z.ZodType<Fr, any, string>;
|
|
522
|
+
value: z.ZodType<Fr, any, string>;
|
|
563
523
|
}, "strip", z.ZodTypeAny, {
|
|
564
524
|
value: Fr;
|
|
565
525
|
slot: Fr;
|
|
566
526
|
}, {
|
|
567
527
|
value: string;
|
|
568
528
|
slot: string;
|
|
569
|
-
}>,
|
|
529
|
+
}>, PublicDataTreeLeaf, {
|
|
570
530
|
value: string;
|
|
571
531
|
slot: string;
|
|
572
532
|
}>;
|
|
573
|
-
nextKey: z.
|
|
533
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
574
534
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
575
535
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
leaf:
|
|
536
|
+
leaf: PublicDataTreeLeaf;
|
|
577
537
|
nextKey: Fr;
|
|
578
538
|
nextIndex: bigint;
|
|
579
539
|
}, {
|
|
@@ -640,6 +600,14 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
|
|
|
640
600
|
nextAvailableLeafIndex: string | number | bigint;
|
|
641
601
|
};
|
|
642
602
|
}>;
|
|
603
|
+
/**
|
|
604
|
+
* Creates an instance from a plain object without Zod validation.
|
|
605
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
606
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
607
|
+
* @param obj - Plain object containing hint fields
|
|
608
|
+
* @returns An instance
|
|
609
|
+
*/
|
|
610
|
+
fromPlainObject(obj: any): any;
|
|
643
611
|
};
|
|
644
612
|
export declare class AvmGetLeafPreimageHintNullifierTree extends AvmGetLeafPreimageHintNullifierTree_base {
|
|
645
613
|
}
|
|
@@ -651,7 +619,7 @@ export declare class AvmGetLeafValueHint {
|
|
|
651
619
|
constructor(hintKey: AppendOnlyTreeSnapshot, treeId: MerkleTreeId, index: bigint, value: Fr);
|
|
652
620
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
653
621
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
654
|
-
root: z.
|
|
622
|
+
root: z.ZodType<Fr, any, string>;
|
|
655
623
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
656
624
|
}, "strip", z.ZodTypeAny, {
|
|
657
625
|
root: Fr;
|
|
@@ -688,6 +656,14 @@ export declare class AvmGetLeafValueHint {
|
|
|
688
656
|
treeId: number;
|
|
689
657
|
value?: any;
|
|
690
658
|
}>;
|
|
659
|
+
/**
|
|
660
|
+
* Creates an AvmGetLeafValueHint from a plain object without Zod validation.
|
|
661
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
662
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
663
|
+
* @param obj - Plain object containing AvmGetLeafValueHint fields
|
|
664
|
+
* @returns An AvmGetLeafValueHint instance
|
|
665
|
+
*/
|
|
666
|
+
static fromPlainObject(obj: any): AvmGetLeafValueHint;
|
|
691
667
|
}
|
|
692
668
|
declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
693
669
|
new (hintKey: AppendOnlyTreeSnapshot, stateAfter: AppendOnlyTreeSnapshot, treeId: MerkleTreeId, leaf: InstanceType<IndexedTreeLeafPreimagesClasses>["leaf"], lowLeavesWitnessData: {
|
|
@@ -716,7 +692,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
716
692
|
};
|
|
717
693
|
readonly schema: z.ZodEffects<z.ZodObject<{
|
|
718
694
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
719
|
-
root: z.
|
|
695
|
+
root: z.ZodType<Fr, any, string>;
|
|
720
696
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
721
697
|
}, "strip", z.ZodTypeAny, {
|
|
722
698
|
root: Fr;
|
|
@@ -729,7 +705,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
729
705
|
nextAvailableLeafIndex: string | number | bigint;
|
|
730
706
|
}>;
|
|
731
707
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
732
|
-
root: z.
|
|
708
|
+
root: z.ZodType<Fr, any, string>;
|
|
733
709
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
734
710
|
}, "strip", z.ZodTypeAny, {
|
|
735
711
|
root: Fr;
|
|
@@ -743,41 +719,41 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
743
719
|
}>;
|
|
744
720
|
treeId: z.ZodNumber;
|
|
745
721
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
746
|
-
nullifier: z.
|
|
722
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
747
723
|
}, "strip", z.ZodTypeAny, {
|
|
748
724
|
nullifier: Fr;
|
|
749
725
|
}, {
|
|
750
726
|
nullifier: string;
|
|
751
|
-
}>,
|
|
727
|
+
}>, NullifierLeaf, {
|
|
752
728
|
nullifier: string;
|
|
753
729
|
}> | z.ZodEffects<z.ZodObject<{
|
|
754
|
-
slot: z.
|
|
755
|
-
value: z.
|
|
730
|
+
slot: z.ZodType<Fr, any, string>;
|
|
731
|
+
value: z.ZodType<Fr, any, string>;
|
|
756
732
|
}, "strip", z.ZodTypeAny, {
|
|
757
733
|
value: Fr;
|
|
758
734
|
slot: Fr;
|
|
759
735
|
}, {
|
|
760
736
|
value: string;
|
|
761
737
|
slot: string;
|
|
762
|
-
}>,
|
|
738
|
+
}>, PublicDataTreeLeaf, {
|
|
763
739
|
value: string;
|
|
764
740
|
slot: string;
|
|
765
741
|
}>;
|
|
766
742
|
lowLeavesWitnessData: z.ZodObject<{
|
|
767
743
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
768
744
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
769
|
-
nullifier: z.
|
|
745
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
770
746
|
}, "strip", z.ZodTypeAny, {
|
|
771
747
|
nullifier: Fr;
|
|
772
748
|
}, {
|
|
773
749
|
nullifier: string;
|
|
774
|
-
}>,
|
|
750
|
+
}>, NullifierLeaf, {
|
|
775
751
|
nullifier: string;
|
|
776
752
|
}>;
|
|
777
|
-
nextKey: z.
|
|
753
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
778
754
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
779
755
|
}, "strip", z.ZodTypeAny, {
|
|
780
|
-
leaf:
|
|
756
|
+
leaf: NullifierLeaf;
|
|
781
757
|
nextKey: Fr;
|
|
782
758
|
nextIndex: bigint;
|
|
783
759
|
}, {
|
|
@@ -794,22 +770,22 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
794
770
|
nextIndex: string | number | bigint;
|
|
795
771
|
}> | z.ZodEffects<z.ZodObject<{
|
|
796
772
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
797
|
-
slot: z.
|
|
798
|
-
value: z.
|
|
773
|
+
slot: z.ZodType<Fr, any, string>;
|
|
774
|
+
value: z.ZodType<Fr, any, string>;
|
|
799
775
|
}, "strip", z.ZodTypeAny, {
|
|
800
776
|
value: Fr;
|
|
801
777
|
slot: Fr;
|
|
802
778
|
}, {
|
|
803
779
|
value: string;
|
|
804
780
|
slot: string;
|
|
805
|
-
}>,
|
|
781
|
+
}>, PublicDataTreeLeaf, {
|
|
806
782
|
value: string;
|
|
807
783
|
slot: string;
|
|
808
784
|
}>;
|
|
809
|
-
nextKey: z.
|
|
785
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
810
786
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
811
787
|
}, "strip", z.ZodTypeAny, {
|
|
812
|
-
leaf:
|
|
788
|
+
leaf: PublicDataTreeLeaf;
|
|
813
789
|
nextKey: Fr;
|
|
814
790
|
nextIndex: bigint;
|
|
815
791
|
}, {
|
|
@@ -854,18 +830,18 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
854
830
|
insertionWitnessData: z.ZodObject<{
|
|
855
831
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
856
832
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
857
|
-
nullifier: z.
|
|
833
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
858
834
|
}, "strip", z.ZodTypeAny, {
|
|
859
835
|
nullifier: Fr;
|
|
860
836
|
}, {
|
|
861
837
|
nullifier: string;
|
|
862
|
-
}>,
|
|
838
|
+
}>, NullifierLeaf, {
|
|
863
839
|
nullifier: string;
|
|
864
840
|
}>;
|
|
865
|
-
nextKey: z.
|
|
841
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
866
842
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
867
843
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
leaf:
|
|
844
|
+
leaf: NullifierLeaf;
|
|
869
845
|
nextKey: Fr;
|
|
870
846
|
nextIndex: bigint;
|
|
871
847
|
}, {
|
|
@@ -882,22 +858,22 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
882
858
|
nextIndex: string | number | bigint;
|
|
883
859
|
}> | z.ZodEffects<z.ZodObject<{
|
|
884
860
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
885
|
-
slot: z.
|
|
886
|
-
value: z.
|
|
861
|
+
slot: z.ZodType<Fr, any, string>;
|
|
862
|
+
value: z.ZodType<Fr, any, string>;
|
|
887
863
|
}, "strip", z.ZodTypeAny, {
|
|
888
864
|
value: Fr;
|
|
889
865
|
slot: Fr;
|
|
890
866
|
}, {
|
|
891
867
|
value: string;
|
|
892
868
|
slot: string;
|
|
893
|
-
}>,
|
|
869
|
+
}>, PublicDataTreeLeaf, {
|
|
894
870
|
value: string;
|
|
895
871
|
slot: string;
|
|
896
872
|
}>;
|
|
897
|
-
nextKey: z.
|
|
873
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
898
874
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
899
875
|
}, "strip", z.ZodTypeAny, {
|
|
900
|
-
leaf:
|
|
876
|
+
leaf: PublicDataTreeLeaf;
|
|
901
877
|
nextKey: Fr;
|
|
902
878
|
nextIndex: bigint;
|
|
903
879
|
}, {
|
|
@@ -940,7 +916,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
940
916
|
};
|
|
941
917
|
}>;
|
|
942
918
|
}, "strip", z.ZodTypeAny, {
|
|
943
|
-
leaf:
|
|
919
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
944
920
|
hintKey: AppendOnlyTreeSnapshot;
|
|
945
921
|
treeId: number;
|
|
946
922
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -1074,6 +1050,14 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
1074
1050
|
};
|
|
1075
1051
|
};
|
|
1076
1052
|
}>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Creates an instance from a plain object without Zod validation.
|
|
1055
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1056
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1057
|
+
* @param obj - Plain object containing hint fields
|
|
1058
|
+
* @returns An instance
|
|
1059
|
+
*/
|
|
1060
|
+
fromPlainObject(obj: any): any;
|
|
1077
1061
|
};
|
|
1078
1062
|
export declare class AvmSequentialInsertHintPublicDataTree extends AvmSequentialInsertHintPublicDataTree_base {
|
|
1079
1063
|
}
|
|
@@ -1104,7 +1088,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1104
1088
|
};
|
|
1105
1089
|
readonly schema: z.ZodEffects<z.ZodObject<{
|
|
1106
1090
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
1107
|
-
root: z.
|
|
1091
|
+
root: z.ZodType<Fr, any, string>;
|
|
1108
1092
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1109
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1094
|
root: Fr;
|
|
@@ -1117,7 +1101,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1117
1101
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1118
1102
|
}>;
|
|
1119
1103
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1120
|
-
root: z.
|
|
1104
|
+
root: z.ZodType<Fr, any, string>;
|
|
1121
1105
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1122
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1123
1107
|
root: Fr;
|
|
@@ -1131,41 +1115,41 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1131
1115
|
}>;
|
|
1132
1116
|
treeId: z.ZodNumber;
|
|
1133
1117
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1134
|
-
nullifier: z.
|
|
1118
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
1135
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1136
1120
|
nullifier: Fr;
|
|
1137
1121
|
}, {
|
|
1138
1122
|
nullifier: string;
|
|
1139
|
-
}>,
|
|
1123
|
+
}>, NullifierLeaf, {
|
|
1140
1124
|
nullifier: string;
|
|
1141
1125
|
}> | z.ZodEffects<z.ZodObject<{
|
|
1142
|
-
slot: z.
|
|
1143
|
-
value: z.
|
|
1126
|
+
slot: z.ZodType<Fr, any, string>;
|
|
1127
|
+
value: z.ZodType<Fr, any, string>;
|
|
1144
1128
|
}, "strip", z.ZodTypeAny, {
|
|
1145
1129
|
value: Fr;
|
|
1146
1130
|
slot: Fr;
|
|
1147
1131
|
}, {
|
|
1148
1132
|
value: string;
|
|
1149
1133
|
slot: string;
|
|
1150
|
-
}>,
|
|
1134
|
+
}>, PublicDataTreeLeaf, {
|
|
1151
1135
|
value: string;
|
|
1152
1136
|
slot: string;
|
|
1153
1137
|
}>;
|
|
1154
1138
|
lowLeavesWitnessData: z.ZodObject<{
|
|
1155
1139
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1156
1140
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1157
|
-
nullifier: z.
|
|
1141
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
1158
1142
|
}, "strip", z.ZodTypeAny, {
|
|
1159
1143
|
nullifier: Fr;
|
|
1160
1144
|
}, {
|
|
1161
1145
|
nullifier: string;
|
|
1162
|
-
}>,
|
|
1146
|
+
}>, NullifierLeaf, {
|
|
1163
1147
|
nullifier: string;
|
|
1164
1148
|
}>;
|
|
1165
|
-
nextKey: z.
|
|
1149
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
1166
1150
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1167
1151
|
}, "strip", z.ZodTypeAny, {
|
|
1168
|
-
leaf:
|
|
1152
|
+
leaf: NullifierLeaf;
|
|
1169
1153
|
nextKey: Fr;
|
|
1170
1154
|
nextIndex: bigint;
|
|
1171
1155
|
}, {
|
|
@@ -1182,22 +1166,22 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1182
1166
|
nextIndex: string | number | bigint;
|
|
1183
1167
|
}> | z.ZodEffects<z.ZodObject<{
|
|
1184
1168
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1185
|
-
slot: z.
|
|
1186
|
-
value: z.
|
|
1169
|
+
slot: z.ZodType<Fr, any, string>;
|
|
1170
|
+
value: z.ZodType<Fr, any, string>;
|
|
1187
1171
|
}, "strip", z.ZodTypeAny, {
|
|
1188
1172
|
value: Fr;
|
|
1189
1173
|
slot: Fr;
|
|
1190
1174
|
}, {
|
|
1191
1175
|
value: string;
|
|
1192
1176
|
slot: string;
|
|
1193
|
-
}>,
|
|
1177
|
+
}>, PublicDataTreeLeaf, {
|
|
1194
1178
|
value: string;
|
|
1195
1179
|
slot: string;
|
|
1196
1180
|
}>;
|
|
1197
|
-
nextKey: z.
|
|
1181
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
1198
1182
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1199
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1200
|
-
leaf:
|
|
1184
|
+
leaf: PublicDataTreeLeaf;
|
|
1201
1185
|
nextKey: Fr;
|
|
1202
1186
|
nextIndex: bigint;
|
|
1203
1187
|
}, {
|
|
@@ -1242,18 +1226,18 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1242
1226
|
insertionWitnessData: z.ZodObject<{
|
|
1243
1227
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1244
1228
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1245
|
-
nullifier: z.
|
|
1229
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
1246
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1247
1231
|
nullifier: Fr;
|
|
1248
1232
|
}, {
|
|
1249
1233
|
nullifier: string;
|
|
1250
|
-
}>,
|
|
1234
|
+
}>, NullifierLeaf, {
|
|
1251
1235
|
nullifier: string;
|
|
1252
1236
|
}>;
|
|
1253
|
-
nextKey: z.
|
|
1237
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
1254
1238
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1255
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1256
|
-
leaf:
|
|
1240
|
+
leaf: NullifierLeaf;
|
|
1257
1241
|
nextKey: Fr;
|
|
1258
1242
|
nextIndex: bigint;
|
|
1259
1243
|
}, {
|
|
@@ -1270,22 +1254,22 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1270
1254
|
nextIndex: string | number | bigint;
|
|
1271
1255
|
}> | z.ZodEffects<z.ZodObject<{
|
|
1272
1256
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
1273
|
-
slot: z.
|
|
1274
|
-
value: z.
|
|
1257
|
+
slot: z.ZodType<Fr, any, string>;
|
|
1258
|
+
value: z.ZodType<Fr, any, string>;
|
|
1275
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1276
1260
|
value: Fr;
|
|
1277
1261
|
slot: Fr;
|
|
1278
1262
|
}, {
|
|
1279
1263
|
value: string;
|
|
1280
1264
|
slot: string;
|
|
1281
|
-
}>,
|
|
1265
|
+
}>, PublicDataTreeLeaf, {
|
|
1282
1266
|
value: string;
|
|
1283
1267
|
slot: string;
|
|
1284
1268
|
}>;
|
|
1285
|
-
nextKey: z.
|
|
1269
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
1286
1270
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1287
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
leaf:
|
|
1272
|
+
leaf: PublicDataTreeLeaf;
|
|
1289
1273
|
nextKey: Fr;
|
|
1290
1274
|
nextIndex: bigint;
|
|
1291
1275
|
}, {
|
|
@@ -1328,7 +1312,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1328
1312
|
};
|
|
1329
1313
|
}>;
|
|
1330
1314
|
}, "strip", z.ZodTypeAny, {
|
|
1331
|
-
leaf:
|
|
1315
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
1332
1316
|
hintKey: AppendOnlyTreeSnapshot;
|
|
1333
1317
|
treeId: number;
|
|
1334
1318
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -1462,6 +1446,14 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1462
1446
|
};
|
|
1463
1447
|
};
|
|
1464
1448
|
}>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Creates an instance from a plain object without Zod validation.
|
|
1451
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1452
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1453
|
+
* @param obj - Plain object containing hint fields
|
|
1454
|
+
* @returns An instance
|
|
1455
|
+
*/
|
|
1456
|
+
fromPlainObject(obj: any): any;
|
|
1465
1457
|
};
|
|
1466
1458
|
export declare class AvmSequentialInsertHintNullifierTree extends AvmSequentialInsertHintNullifierTree_base {
|
|
1467
1459
|
}
|
|
@@ -1473,7 +1465,7 @@ export declare class AvmAppendLeavesHint {
|
|
|
1473
1465
|
constructor(hintKey: AppendOnlyTreeSnapshot, stateAfter: AppendOnlyTreeSnapshot, treeId: MerkleTreeId, leaves: Fr[]);
|
|
1474
1466
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
1475
1467
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
1476
|
-
root: z.
|
|
1468
|
+
root: z.ZodType<Fr, any, string>;
|
|
1477
1469
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1478
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1479
1471
|
root: Fr;
|
|
@@ -1486,7 +1478,7 @@ export declare class AvmAppendLeavesHint {
|
|
|
1486
1478
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1487
1479
|
}>;
|
|
1488
1480
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1489
|
-
root: z.
|
|
1481
|
+
root: z.ZodType<Fr, any, string>;
|
|
1490
1482
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1491
1483
|
}, "strip", z.ZodTypeAny, {
|
|
1492
1484
|
root: Fr;
|
|
@@ -1528,6 +1520,14 @@ export declare class AvmAppendLeavesHint {
|
|
|
1528
1520
|
};
|
|
1529
1521
|
leaves: any[];
|
|
1530
1522
|
}>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Creates an AvmAppendLeavesHint from a plain object without Zod validation.
|
|
1525
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1526
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1527
|
+
* @param obj - Plain object containing AvmAppendLeavesHint fields
|
|
1528
|
+
* @returns An AvmAppendLeavesHint instance
|
|
1529
|
+
*/
|
|
1530
|
+
static fromPlainObject(obj: any): AvmAppendLeavesHint;
|
|
1531
1531
|
}
|
|
1532
1532
|
declare class AvmCheckpointActionNoStateChangeHint {
|
|
1533
1533
|
readonly actionCounter: number;
|
|
@@ -1551,6 +1551,14 @@ declare class AvmCheckpointActionNoStateChangeHint {
|
|
|
1551
1551
|
oldCheckpointId: number;
|
|
1552
1552
|
newCheckpointId: number;
|
|
1553
1553
|
}>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Creates an instance from a plain object without Zod validation.
|
|
1556
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1557
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1558
|
+
* @param obj - Plain object containing hint fields
|
|
1559
|
+
* @returns An instance
|
|
1560
|
+
*/
|
|
1561
|
+
static fromPlainObject(obj: any): any;
|
|
1554
1562
|
}
|
|
1555
1563
|
export declare class AvmCreateCheckpointHint extends AvmCheckpointActionNoStateChangeHint {
|
|
1556
1564
|
}
|
|
@@ -1570,7 +1578,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1570
1578
|
newCheckpointId: z.ZodNumber;
|
|
1571
1579
|
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
1572
1580
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1573
|
-
root: z.
|
|
1581
|
+
root: z.ZodType<Fr, any, string>;
|
|
1574
1582
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1575
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1576
1584
|
root: Fr;
|
|
@@ -1583,7 +1591,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1583
1591
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1584
1592
|
}>;
|
|
1585
1593
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1586
|
-
root: z.
|
|
1594
|
+
root: z.ZodType<Fr, any, string>;
|
|
1587
1595
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1588
1596
|
}, "strip", z.ZodTypeAny, {
|
|
1589
1597
|
root: Fr;
|
|
@@ -1596,7 +1604,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1596
1604
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1597
1605
|
}>;
|
|
1598
1606
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1599
|
-
root: z.
|
|
1607
|
+
root: z.ZodType<Fr, any, string>;
|
|
1600
1608
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1601
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1602
1610
|
root: Fr;
|
|
@@ -1609,7 +1617,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1609
1617
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1610
1618
|
}>;
|
|
1611
1619
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1612
|
-
root: z.
|
|
1620
|
+
root: z.ZodType<Fr, any, string>;
|
|
1613
1621
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1614
1622
|
}, "strip", z.ZodTypeAny, {
|
|
1615
1623
|
root: Fr;
|
|
@@ -1663,7 +1671,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1663
1671
|
}>;
|
|
1664
1672
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1665
1673
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1666
|
-
root: z.
|
|
1674
|
+
root: z.ZodType<Fr, any, string>;
|
|
1667
1675
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1668
1676
|
}, "strip", z.ZodTypeAny, {
|
|
1669
1677
|
root: Fr;
|
|
@@ -1676,7 +1684,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1676
1684
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1677
1685
|
}>;
|
|
1678
1686
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1679
|
-
root: z.
|
|
1687
|
+
root: z.ZodType<Fr, any, string>;
|
|
1680
1688
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1681
1689
|
}, "strip", z.ZodTypeAny, {
|
|
1682
1690
|
root: Fr;
|
|
@@ -1689,7 +1697,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1689
1697
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1690
1698
|
}>;
|
|
1691
1699
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1692
|
-
root: z.
|
|
1700
|
+
root: z.ZodType<Fr, any, string>;
|
|
1693
1701
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1694
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1695
1703
|
root: Fr;
|
|
@@ -1702,7 +1710,7 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1702
1710
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1703
1711
|
}>;
|
|
1704
1712
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1705
|
-
root: z.
|
|
1713
|
+
root: z.ZodType<Fr, any, string>;
|
|
1706
1714
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1707
1715
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1716
|
root: Fr;
|
|
@@ -1841,6 +1849,14 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1841
1849
|
};
|
|
1842
1850
|
};
|
|
1843
1851
|
}>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Creates an AvmRevertCheckpointHint from a plain object without Zod validation.
|
|
1854
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1855
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1856
|
+
* @param obj - Plain object containing AvmRevertCheckpointHint fields
|
|
1857
|
+
* @returns An AvmRevertCheckpointHint instance
|
|
1858
|
+
*/
|
|
1859
|
+
static fromPlainObject(obj: any): AvmRevertCheckpointHint;
|
|
1844
1860
|
}
|
|
1845
1861
|
export declare class AvmContractDBCreateCheckpointHint extends AvmCheckpointActionNoStateChangeHint {
|
|
1846
1862
|
}
|
|
@@ -1880,6 +1896,14 @@ export declare class AvmTxHint {
|
|
|
1880
1896
|
}, setupEnqueuedCalls: PublicCallRequestWithCalldata[], appLogicEnqueuedCalls: PublicCallRequestWithCalldata[], teardownEnqueuedCall: PublicCallRequestWithCalldata | null, gasUsedByPrivate: Gas, feePayer: AztecAddress);
|
|
1881
1897
|
static fromTx(tx: Tx, gasFees: GasFees): AvmTxHint;
|
|
1882
1898
|
static empty(): AvmTxHint;
|
|
1899
|
+
/**
|
|
1900
|
+
* Creates an AvmTxHint from a plain object without Zod validation.
|
|
1901
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
1902
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
1903
|
+
* @param obj - Plain object containing AvmTxHint fields
|
|
1904
|
+
* @returns An AvmTxHint instance
|
|
1905
|
+
*/
|
|
1906
|
+
static fromPlainObject(obj: any): AvmTxHint;
|
|
1883
1907
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
1884
1908
|
hash: z.ZodString;
|
|
1885
1909
|
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
@@ -1992,7 +2016,7 @@ export declare class AvmTxHint {
|
|
|
1992
2016
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1993
2017
|
contractAddress: ZodFor<AztecAddress>;
|
|
1994
2018
|
fields: z.ZodEffects<z.ZodObject<{
|
|
1995
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
2019
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
1996
2020
|
}, "strip", z.ZodTypeAny, {
|
|
1997
2021
|
fields: Fr[];
|
|
1998
2022
|
}, {
|
|
@@ -2019,7 +2043,7 @@ export declare class AvmTxHint {
|
|
|
2019
2043
|
contractAddress?: any;
|
|
2020
2044
|
}>, "many">;
|
|
2021
2045
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2022
|
-
fields: z.ZodArray<z.
|
|
2046
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2023
2047
|
emittedLength: z.ZodNumber;
|
|
2024
2048
|
}, "strict", z.ZodTypeAny, {
|
|
2025
2049
|
fields: Fr[];
|
|
@@ -2063,7 +2087,7 @@ export declare class AvmTxHint {
|
|
|
2063
2087
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2064
2088
|
contractAddress: ZodFor<AztecAddress>;
|
|
2065
2089
|
fields: z.ZodEffects<z.ZodObject<{
|
|
2066
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
2090
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2067
2091
|
}, "strip", z.ZodTypeAny, {
|
|
2068
2092
|
fields: Fr[];
|
|
2069
2093
|
}, {
|
|
@@ -2090,7 +2114,7 @@ export declare class AvmTxHint {
|
|
|
2090
2114
|
contractAddress?: any;
|
|
2091
2115
|
}>, "many">;
|
|
2092
2116
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2093
|
-
fields: z.ZodArray<z.
|
|
2117
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2094
2118
|
emittedLength: z.ZodNumber;
|
|
2095
2119
|
}, "strict", z.ZodTypeAny, {
|
|
2096
2120
|
fields: Fr[];
|
|
@@ -2135,8 +2159,8 @@ export declare class AvmTxHint {
|
|
|
2135
2159
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
2136
2160
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2137
2161
|
message: z.ZodEffects<z.ZodObject<{
|
|
2138
|
-
recipient: z.
|
|
2139
|
-
content: z.
|
|
2162
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2163
|
+
content: z.ZodType<Fr, any, string>;
|
|
2140
2164
|
}, "strip", z.ZodTypeAny, {
|
|
2141
2165
|
content: Fr;
|
|
2142
2166
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -2184,8 +2208,8 @@ export declare class AvmTxHint {
|
|
|
2184
2208
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
2185
2209
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2186
2210
|
message: z.ZodEffects<z.ZodObject<{
|
|
2187
|
-
recipient: z.
|
|
2188
|
-
content: z.
|
|
2211
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2212
|
+
content: z.ZodType<Fr, any, string>;
|
|
2189
2213
|
}, "strip", z.ZodTypeAny, {
|
|
2190
2214
|
content: Fr;
|
|
2191
2215
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -2452,6 +2476,14 @@ export declare class AvmExecutionHints {
|
|
|
2452
2476
|
readonly commitCheckpointHints: AvmCommitCheckpointHint[];
|
|
2453
2477
|
readonly revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
2454
2478
|
constructor(globalVariables: GlobalVariables, tx: AvmTxHint, protocolContracts: ProtocolContracts, contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], debugFunctionNames?: AvmDebugFunctionNameHint[], contractDBCreateCheckpointHints?: AvmContractDBCreateCheckpointHint[], contractDBCommitCheckpointHints?: AvmContractDBCommitCheckpointHint[], contractDBRevertCheckpointHints?: AvmContractDBRevertCheckpointHint[], startingTreeRoots?: TreeSnapshots, getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[], appendLeavesHints?: AvmAppendLeavesHint[], createCheckpointHints?: AvmCreateCheckpointHint[], commitCheckpointHints?: AvmCommitCheckpointHint[], revertCheckpointHints?: AvmRevertCheckpointHint[]);
|
|
2479
|
+
/**
|
|
2480
|
+
* Creates an AvmExecutionHints from a plain object without Zod validation.
|
|
2481
|
+
* This method is optimized for performance and skips validation, making it suitable
|
|
2482
|
+
* for deserializing trusted data (e.g., from C++ via MessagePack).
|
|
2483
|
+
* @param obj - Plain object containing AvmExecutionHints fields
|
|
2484
|
+
* @returns An AvmExecutionHints instance
|
|
2485
|
+
*/
|
|
2486
|
+
static fromPlainObject(obj: any): AvmExecutionHints;
|
|
2455
2487
|
static empty(): AvmExecutionHints;
|
|
2456
2488
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
2457
2489
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -2621,7 +2653,7 @@ export declare class AvmExecutionHints {
|
|
|
2621
2653
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2622
2654
|
contractAddress: ZodFor<AztecAddress>;
|
|
2623
2655
|
fields: z.ZodEffects<z.ZodObject<{
|
|
2624
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
2656
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2625
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2626
2658
|
fields: Fr[];
|
|
2627
2659
|
}, {
|
|
@@ -2648,7 +2680,7 @@ export declare class AvmExecutionHints {
|
|
|
2648
2680
|
contractAddress?: any;
|
|
2649
2681
|
}>, "many">;
|
|
2650
2682
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2651
|
-
fields: z.ZodArray<z.
|
|
2683
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2652
2684
|
emittedLength: z.ZodNumber;
|
|
2653
2685
|
}, "strict", z.ZodTypeAny, {
|
|
2654
2686
|
fields: Fr[];
|
|
@@ -2692,7 +2724,7 @@ export declare class AvmExecutionHints {
|
|
|
2692
2724
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2693
2725
|
contractAddress: ZodFor<AztecAddress>;
|
|
2694
2726
|
fields: z.ZodEffects<z.ZodObject<{
|
|
2695
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
2727
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2696
2728
|
}, "strip", z.ZodTypeAny, {
|
|
2697
2729
|
fields: Fr[];
|
|
2698
2730
|
}, {
|
|
@@ -2719,7 +2751,7 @@ export declare class AvmExecutionHints {
|
|
|
2719
2751
|
contractAddress?: any;
|
|
2720
2752
|
}>, "many">;
|
|
2721
2753
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2722
|
-
fields: z.ZodArray<z.
|
|
2754
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2723
2755
|
emittedLength: z.ZodNumber;
|
|
2724
2756
|
}, "strict", z.ZodTypeAny, {
|
|
2725
2757
|
fields: Fr[];
|
|
@@ -2764,8 +2796,8 @@ export declare class AvmExecutionHints {
|
|
|
2764
2796
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
2765
2797
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2766
2798
|
message: z.ZodEffects<z.ZodObject<{
|
|
2767
|
-
recipient: z.
|
|
2768
|
-
content: z.
|
|
2799
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2800
|
+
content: z.ZodType<Fr, any, string>;
|
|
2769
2801
|
}, "strip", z.ZodTypeAny, {
|
|
2770
2802
|
content: Fr;
|
|
2771
2803
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -2813,8 +2845,8 @@ export declare class AvmExecutionHints {
|
|
|
2813
2845
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
2814
2846
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2815
2847
|
message: z.ZodEffects<z.ZodObject<{
|
|
2816
|
-
recipient: z.
|
|
2817
|
-
content: z.
|
|
2848
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2849
|
+
content: z.ZodType<Fr, any, string>;
|
|
2818
2850
|
}, "strip", z.ZodTypeAny, {
|
|
2819
2851
|
content: Fr;
|
|
2820
2852
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -3074,97 +3106,25 @@ export declare class AvmExecutionHints {
|
|
|
3074
3106
|
originalContractClassId: ZodFor<Fr>;
|
|
3075
3107
|
initializationHash: ZodFor<Fr>;
|
|
3076
3108
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
3077
|
-
masterNullifierPublicKey: z.
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
x: Fr;
|
|
3082
|
-
y: Fr;
|
|
3083
|
-
}, {
|
|
3084
|
-
x: string;
|
|
3085
|
-
y: string;
|
|
3086
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
3087
|
-
x: string;
|
|
3088
|
-
y: string;
|
|
3089
|
-
}>]>;
|
|
3090
|
-
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
3091
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3092
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3093
|
-
}, "strip", z.ZodTypeAny, {
|
|
3094
|
-
x: Fr;
|
|
3095
|
-
y: Fr;
|
|
3096
|
-
}, {
|
|
3097
|
-
x: string;
|
|
3098
|
-
y: string;
|
|
3099
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
3100
|
-
x: string;
|
|
3101
|
-
y: string;
|
|
3102
|
-
}>]>;
|
|
3103
|
-
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
3104
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3105
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3106
|
-
}, "strip", z.ZodTypeAny, {
|
|
3107
|
-
x: Fr;
|
|
3108
|
-
y: Fr;
|
|
3109
|
-
}, {
|
|
3110
|
-
x: string;
|
|
3111
|
-
y: string;
|
|
3112
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
3113
|
-
x: string;
|
|
3114
|
-
y: string;
|
|
3115
|
-
}>]>;
|
|
3116
|
-
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
3117
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3118
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
3119
|
-
}, "strip", z.ZodTypeAny, {
|
|
3120
|
-
x: Fr;
|
|
3121
|
-
y: Fr;
|
|
3122
|
-
}, {
|
|
3123
|
-
x: string;
|
|
3124
|
-
y: string;
|
|
3125
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
3126
|
-
x: string;
|
|
3127
|
-
y: string;
|
|
3128
|
-
}>]>;
|
|
3109
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
3110
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
3111
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
3112
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
3129
3113
|
}, "strip", z.ZodTypeAny, {
|
|
3130
3114
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
3131
3115
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
3132
3116
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
3133
3117
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
3134
3118
|
}, {
|
|
3135
|
-
masterNullifierPublicKey: string
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
masterIncomingViewingPublicKey: string | {
|
|
3140
|
-
x: string;
|
|
3141
|
-
y: string;
|
|
3142
|
-
};
|
|
3143
|
-
masterOutgoingViewingPublicKey: string | {
|
|
3144
|
-
x: string;
|
|
3145
|
-
y: string;
|
|
3146
|
-
};
|
|
3147
|
-
masterTaggingPublicKey: string | {
|
|
3148
|
-
x: string;
|
|
3149
|
-
y: string;
|
|
3150
|
-
};
|
|
3119
|
+
masterNullifierPublicKey: string;
|
|
3120
|
+
masterIncomingViewingPublicKey: string;
|
|
3121
|
+
masterOutgoingViewingPublicKey: string;
|
|
3122
|
+
masterTaggingPublicKey: string;
|
|
3151
3123
|
}>, PublicKeys, {
|
|
3152
|
-
masterNullifierPublicKey: string
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
masterIncomingViewingPublicKey: string | {
|
|
3157
|
-
x: string;
|
|
3158
|
-
y: string;
|
|
3159
|
-
};
|
|
3160
|
-
masterOutgoingViewingPublicKey: string | {
|
|
3161
|
-
x: string;
|
|
3162
|
-
y: string;
|
|
3163
|
-
};
|
|
3164
|
-
masterTaggingPublicKey: string | {
|
|
3165
|
-
x: string;
|
|
3166
|
-
y: string;
|
|
3167
|
-
};
|
|
3124
|
+
masterNullifierPublicKey: string;
|
|
3125
|
+
masterIncomingViewingPublicKey: string;
|
|
3126
|
+
masterOutgoingViewingPublicKey: string;
|
|
3127
|
+
masterTaggingPublicKey: string;
|
|
3168
3128
|
}>;
|
|
3169
3129
|
}, "strip", z.ZodTypeAny, {
|
|
3170
3130
|
salt: Fr;
|
|
@@ -3177,22 +3137,10 @@ export declare class AvmExecutionHints {
|
|
|
3177
3137
|
hintKey: number;
|
|
3178
3138
|
}, {
|
|
3179
3139
|
publicKeys: {
|
|
3180
|
-
masterNullifierPublicKey: string
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
masterIncomingViewingPublicKey: string | {
|
|
3185
|
-
x: string;
|
|
3186
|
-
y: string;
|
|
3187
|
-
};
|
|
3188
|
-
masterOutgoingViewingPublicKey: string | {
|
|
3189
|
-
x: string;
|
|
3190
|
-
y: string;
|
|
3191
|
-
};
|
|
3192
|
-
masterTaggingPublicKey: string | {
|
|
3193
|
-
x: string;
|
|
3194
|
-
y: string;
|
|
3195
|
-
};
|
|
3140
|
+
masterNullifierPublicKey: string;
|
|
3141
|
+
masterIncomingViewingPublicKey: string;
|
|
3142
|
+
masterOutgoingViewingPublicKey: string;
|
|
3143
|
+
masterTaggingPublicKey: string;
|
|
3196
3144
|
};
|
|
3197
3145
|
hintKey: number;
|
|
3198
3146
|
salt?: any;
|
|
@@ -3203,22 +3151,10 @@ export declare class AvmExecutionHints {
|
|
|
3203
3151
|
address?: any;
|
|
3204
3152
|
}>, AvmContractInstanceHint, {
|
|
3205
3153
|
publicKeys: {
|
|
3206
|
-
masterNullifierPublicKey: string
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
masterIncomingViewingPublicKey: string | {
|
|
3211
|
-
x: string;
|
|
3212
|
-
y: string;
|
|
3213
|
-
};
|
|
3214
|
-
masterOutgoingViewingPublicKey: string | {
|
|
3215
|
-
x: string;
|
|
3216
|
-
y: string;
|
|
3217
|
-
};
|
|
3218
|
-
masterTaggingPublicKey: string | {
|
|
3219
|
-
x: string;
|
|
3220
|
-
y: string;
|
|
3221
|
-
};
|
|
3154
|
+
masterNullifierPublicKey: string;
|
|
3155
|
+
masterIncomingViewingPublicKey: string;
|
|
3156
|
+
masterOutgoingViewingPublicKey: string;
|
|
3157
|
+
masterTaggingPublicKey: string;
|
|
3222
3158
|
};
|
|
3223
3159
|
hintKey: number;
|
|
3224
3160
|
salt?: any;
|
|
@@ -3340,7 +3276,7 @@ export declare class AvmExecutionHints {
|
|
|
3340
3276
|
}>, "many">;
|
|
3341
3277
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
3342
3278
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
3343
|
-
root: z.
|
|
3279
|
+
root: z.ZodType<Fr, any, string>;
|
|
3344
3280
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3345
3281
|
}, "strip", z.ZodTypeAny, {
|
|
3346
3282
|
root: Fr;
|
|
@@ -3353,7 +3289,7 @@ export declare class AvmExecutionHints {
|
|
|
3353
3289
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3354
3290
|
}>;
|
|
3355
3291
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
3356
|
-
root: z.
|
|
3292
|
+
root: z.ZodType<Fr, any, string>;
|
|
3357
3293
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3358
3294
|
}, "strip", z.ZodTypeAny, {
|
|
3359
3295
|
root: Fr;
|
|
@@ -3366,7 +3302,7 @@ export declare class AvmExecutionHints {
|
|
|
3366
3302
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3367
3303
|
}>;
|
|
3368
3304
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
3369
|
-
root: z.
|
|
3305
|
+
root: z.ZodType<Fr, any, string>;
|
|
3370
3306
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3371
3307
|
}, "strip", z.ZodTypeAny, {
|
|
3372
3308
|
root: Fr;
|
|
@@ -3379,7 +3315,7 @@ export declare class AvmExecutionHints {
|
|
|
3379
3315
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3380
3316
|
}>;
|
|
3381
3317
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
3382
|
-
root: z.
|
|
3318
|
+
root: z.ZodType<Fr, any, string>;
|
|
3383
3319
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3384
3320
|
}, "strip", z.ZodTypeAny, {
|
|
3385
3321
|
root: Fr;
|
|
@@ -3433,7 +3369,7 @@ export declare class AvmExecutionHints {
|
|
|
3433
3369
|
}>;
|
|
3434
3370
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3435
3371
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3436
|
-
root: z.
|
|
3372
|
+
root: z.ZodType<Fr, any, string>;
|
|
3437
3373
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3438
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3439
3375
|
root: Fr;
|
|
@@ -3472,7 +3408,7 @@ export declare class AvmExecutionHints {
|
|
|
3472
3408
|
}>, "many">;
|
|
3473
3409
|
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3474
3410
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3475
|
-
root: z.
|
|
3411
|
+
root: z.ZodType<Fr, any, string>;
|
|
3476
3412
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3477
3413
|
}, "strip", z.ZodTypeAny, {
|
|
3478
3414
|
root: Fr;
|
|
@@ -3515,7 +3451,7 @@ export declare class AvmExecutionHints {
|
|
|
3515
3451
|
}>, "many">;
|
|
3516
3452
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3517
3453
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3518
|
-
root: z.
|
|
3454
|
+
root: z.ZodType<Fr, any, string>;
|
|
3519
3455
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3520
3456
|
}, "strip", z.ZodTypeAny, {
|
|
3521
3457
|
root: Fr;
|
|
@@ -3530,18 +3466,18 @@ export declare class AvmExecutionHints {
|
|
|
3530
3466
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3531
3467
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
3532
3468
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3533
|
-
nullifier: z.
|
|
3469
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3534
3470
|
}, "strip", z.ZodTypeAny, {
|
|
3535
3471
|
nullifier: Fr;
|
|
3536
3472
|
}, {
|
|
3537
3473
|
nullifier: string;
|
|
3538
|
-
}>,
|
|
3474
|
+
}>, NullifierLeaf, {
|
|
3539
3475
|
nullifier: string;
|
|
3540
3476
|
}>;
|
|
3541
|
-
nextKey: z.
|
|
3477
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3542
3478
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3543
3479
|
}, "strip", z.ZodTypeAny, {
|
|
3544
|
-
leaf:
|
|
3480
|
+
leaf: NullifierLeaf;
|
|
3545
3481
|
nextKey: Fr;
|
|
3546
3482
|
nextIndex: bigint;
|
|
3547
3483
|
}, {
|
|
@@ -3558,22 +3494,22 @@ export declare class AvmExecutionHints {
|
|
|
3558
3494
|
nextIndex: string | number | bigint;
|
|
3559
3495
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3560
3496
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3561
|
-
slot: z.
|
|
3562
|
-
value: z.
|
|
3497
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3498
|
+
value: z.ZodType<Fr, any, string>;
|
|
3563
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3564
3500
|
value: Fr;
|
|
3565
3501
|
slot: Fr;
|
|
3566
3502
|
}, {
|
|
3567
3503
|
value: string;
|
|
3568
3504
|
slot: string;
|
|
3569
|
-
}>,
|
|
3505
|
+
}>, PublicDataTreeLeaf, {
|
|
3570
3506
|
value: string;
|
|
3571
3507
|
slot: string;
|
|
3572
3508
|
}>;
|
|
3573
|
-
nextKey: z.
|
|
3509
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3574
3510
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3575
3511
|
}, "strip", z.ZodTypeAny, {
|
|
3576
|
-
leaf:
|
|
3512
|
+
leaf: PublicDataTreeLeaf;
|
|
3577
3513
|
nextKey: Fr;
|
|
3578
3514
|
nextIndex: bigint;
|
|
3579
3515
|
}, {
|
|
@@ -3642,7 +3578,7 @@ export declare class AvmExecutionHints {
|
|
|
3642
3578
|
}>, "many">;
|
|
3643
3579
|
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3644
3580
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3645
|
-
root: z.
|
|
3581
|
+
root: z.ZodType<Fr, any, string>;
|
|
3646
3582
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3647
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3648
3584
|
root: Fr;
|
|
@@ -3657,18 +3593,18 @@ export declare class AvmExecutionHints {
|
|
|
3657
3593
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3658
3594
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
3659
3595
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3660
|
-
nullifier: z.
|
|
3596
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3661
3597
|
}, "strip", z.ZodTypeAny, {
|
|
3662
3598
|
nullifier: Fr;
|
|
3663
3599
|
}, {
|
|
3664
3600
|
nullifier: string;
|
|
3665
|
-
}>,
|
|
3601
|
+
}>, NullifierLeaf, {
|
|
3666
3602
|
nullifier: string;
|
|
3667
3603
|
}>;
|
|
3668
|
-
nextKey: z.
|
|
3604
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3669
3605
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3670
3606
|
}, "strip", z.ZodTypeAny, {
|
|
3671
|
-
leaf:
|
|
3607
|
+
leaf: NullifierLeaf;
|
|
3672
3608
|
nextKey: Fr;
|
|
3673
3609
|
nextIndex: bigint;
|
|
3674
3610
|
}, {
|
|
@@ -3685,22 +3621,22 @@ export declare class AvmExecutionHints {
|
|
|
3685
3621
|
nextIndex: string | number | bigint;
|
|
3686
3622
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3687
3623
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3688
|
-
slot: z.
|
|
3689
|
-
value: z.
|
|
3624
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3625
|
+
value: z.ZodType<Fr, any, string>;
|
|
3690
3626
|
}, "strip", z.ZodTypeAny, {
|
|
3691
3627
|
value: Fr;
|
|
3692
3628
|
slot: Fr;
|
|
3693
3629
|
}, {
|
|
3694
3630
|
value: string;
|
|
3695
3631
|
slot: string;
|
|
3696
|
-
}>,
|
|
3632
|
+
}>, PublicDataTreeLeaf, {
|
|
3697
3633
|
value: string;
|
|
3698
3634
|
slot: string;
|
|
3699
3635
|
}>;
|
|
3700
|
-
nextKey: z.
|
|
3636
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3701
3637
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3702
3638
|
}, "strip", z.ZodTypeAny, {
|
|
3703
|
-
leaf:
|
|
3639
|
+
leaf: PublicDataTreeLeaf;
|
|
3704
3640
|
nextKey: Fr;
|
|
3705
3641
|
nextIndex: bigint;
|
|
3706
3642
|
}, {
|
|
@@ -3769,7 +3705,7 @@ export declare class AvmExecutionHints {
|
|
|
3769
3705
|
}>, "many">;
|
|
3770
3706
|
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3771
3707
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3772
|
-
root: z.
|
|
3708
|
+
root: z.ZodType<Fr, any, string>;
|
|
3773
3709
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3774
3710
|
}, "strip", z.ZodTypeAny, {
|
|
3775
3711
|
root: Fr;
|
|
@@ -3808,7 +3744,7 @@ export declare class AvmExecutionHints {
|
|
|
3808
3744
|
}>, "many">;
|
|
3809
3745
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3810
3746
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3811
|
-
root: z.
|
|
3747
|
+
root: z.ZodType<Fr, any, string>;
|
|
3812
3748
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3813
3749
|
}, "strip", z.ZodTypeAny, {
|
|
3814
3750
|
root: Fr;
|
|
@@ -3821,7 +3757,7 @@ export declare class AvmExecutionHints {
|
|
|
3821
3757
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3822
3758
|
}>;
|
|
3823
3759
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
3824
|
-
root: z.
|
|
3760
|
+
root: z.ZodType<Fr, any, string>;
|
|
3825
3761
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3826
3762
|
}, "strip", z.ZodTypeAny, {
|
|
3827
3763
|
root: Fr;
|
|
@@ -3835,41 +3771,41 @@ export declare class AvmExecutionHints {
|
|
|
3835
3771
|
}>;
|
|
3836
3772
|
treeId: z.ZodNumber;
|
|
3837
3773
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3838
|
-
nullifier: z.
|
|
3774
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3839
3775
|
}, "strip", z.ZodTypeAny, {
|
|
3840
3776
|
nullifier: Fr;
|
|
3841
3777
|
}, {
|
|
3842
3778
|
nullifier: string;
|
|
3843
|
-
}>,
|
|
3779
|
+
}>, NullifierLeaf, {
|
|
3844
3780
|
nullifier: string;
|
|
3845
3781
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3846
|
-
slot: z.
|
|
3847
|
-
value: z.
|
|
3782
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3783
|
+
value: z.ZodType<Fr, any, string>;
|
|
3848
3784
|
}, "strip", z.ZodTypeAny, {
|
|
3849
3785
|
value: Fr;
|
|
3850
3786
|
slot: Fr;
|
|
3851
3787
|
}, {
|
|
3852
3788
|
value: string;
|
|
3853
3789
|
slot: string;
|
|
3854
|
-
}>,
|
|
3790
|
+
}>, PublicDataTreeLeaf, {
|
|
3855
3791
|
value: string;
|
|
3856
3792
|
slot: string;
|
|
3857
3793
|
}>;
|
|
3858
3794
|
lowLeavesWitnessData: z.ZodObject<{
|
|
3859
3795
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3860
3796
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3861
|
-
nullifier: z.
|
|
3797
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3862
3798
|
}, "strip", z.ZodTypeAny, {
|
|
3863
3799
|
nullifier: Fr;
|
|
3864
3800
|
}, {
|
|
3865
3801
|
nullifier: string;
|
|
3866
|
-
}>,
|
|
3802
|
+
}>, NullifierLeaf, {
|
|
3867
3803
|
nullifier: string;
|
|
3868
3804
|
}>;
|
|
3869
|
-
nextKey: z.
|
|
3805
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3870
3806
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3871
3807
|
}, "strip", z.ZodTypeAny, {
|
|
3872
|
-
leaf:
|
|
3808
|
+
leaf: NullifierLeaf;
|
|
3873
3809
|
nextKey: Fr;
|
|
3874
3810
|
nextIndex: bigint;
|
|
3875
3811
|
}, {
|
|
@@ -3886,22 +3822,22 @@ export declare class AvmExecutionHints {
|
|
|
3886
3822
|
nextIndex: string | number | bigint;
|
|
3887
3823
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3888
3824
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3889
|
-
slot: z.
|
|
3890
|
-
value: z.
|
|
3825
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3826
|
+
value: z.ZodType<Fr, any, string>;
|
|
3891
3827
|
}, "strip", z.ZodTypeAny, {
|
|
3892
3828
|
value: Fr;
|
|
3893
3829
|
slot: Fr;
|
|
3894
3830
|
}, {
|
|
3895
3831
|
value: string;
|
|
3896
3832
|
slot: string;
|
|
3897
|
-
}>,
|
|
3833
|
+
}>, PublicDataTreeLeaf, {
|
|
3898
3834
|
value: string;
|
|
3899
3835
|
slot: string;
|
|
3900
3836
|
}>;
|
|
3901
|
-
nextKey: z.
|
|
3837
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3902
3838
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3903
3839
|
}, "strip", z.ZodTypeAny, {
|
|
3904
|
-
leaf:
|
|
3840
|
+
leaf: PublicDataTreeLeaf;
|
|
3905
3841
|
nextKey: Fr;
|
|
3906
3842
|
nextIndex: bigint;
|
|
3907
3843
|
}, {
|
|
@@ -3946,18 +3882,18 @@ export declare class AvmExecutionHints {
|
|
|
3946
3882
|
insertionWitnessData: z.ZodObject<{
|
|
3947
3883
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3948
3884
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3949
|
-
nullifier: z.
|
|
3885
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3950
3886
|
}, "strip", z.ZodTypeAny, {
|
|
3951
3887
|
nullifier: Fr;
|
|
3952
3888
|
}, {
|
|
3953
3889
|
nullifier: string;
|
|
3954
|
-
}>,
|
|
3890
|
+
}>, NullifierLeaf, {
|
|
3955
3891
|
nullifier: string;
|
|
3956
3892
|
}>;
|
|
3957
|
-
nextKey: z.
|
|
3893
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3958
3894
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3959
3895
|
}, "strip", z.ZodTypeAny, {
|
|
3960
|
-
leaf:
|
|
3896
|
+
leaf: NullifierLeaf;
|
|
3961
3897
|
nextKey: Fr;
|
|
3962
3898
|
nextIndex: bigint;
|
|
3963
3899
|
}, {
|
|
@@ -3974,22 +3910,22 @@ export declare class AvmExecutionHints {
|
|
|
3974
3910
|
nextIndex: string | number | bigint;
|
|
3975
3911
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3976
3912
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3977
|
-
slot: z.
|
|
3978
|
-
value: z.
|
|
3913
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3914
|
+
value: z.ZodType<Fr, any, string>;
|
|
3979
3915
|
}, "strip", z.ZodTypeAny, {
|
|
3980
3916
|
value: Fr;
|
|
3981
3917
|
slot: Fr;
|
|
3982
3918
|
}, {
|
|
3983
3919
|
value: string;
|
|
3984
3920
|
slot: string;
|
|
3985
|
-
}>,
|
|
3921
|
+
}>, PublicDataTreeLeaf, {
|
|
3986
3922
|
value: string;
|
|
3987
3923
|
slot: string;
|
|
3988
3924
|
}>;
|
|
3989
|
-
nextKey: z.
|
|
3925
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3990
3926
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3991
3927
|
}, "strip", z.ZodTypeAny, {
|
|
3992
|
-
leaf:
|
|
3928
|
+
leaf: PublicDataTreeLeaf;
|
|
3993
3929
|
nextKey: Fr;
|
|
3994
3930
|
nextIndex: bigint;
|
|
3995
3931
|
}, {
|
|
@@ -4032,7 +3968,7 @@ export declare class AvmExecutionHints {
|
|
|
4032
3968
|
};
|
|
4033
3969
|
}>;
|
|
4034
3970
|
}, "strip", z.ZodTypeAny, {
|
|
4035
|
-
leaf:
|
|
3971
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
4036
3972
|
hintKey: AppendOnlyTreeSnapshot;
|
|
4037
3973
|
treeId: number;
|
|
4038
3974
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -4168,7 +4104,7 @@ export declare class AvmExecutionHints {
|
|
|
4168
4104
|
}>, "many">;
|
|
4169
4105
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4170
4106
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
4171
|
-
root: z.
|
|
4107
|
+
root: z.ZodType<Fr, any, string>;
|
|
4172
4108
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4173
4109
|
}, "strip", z.ZodTypeAny, {
|
|
4174
4110
|
root: Fr;
|
|
@@ -4181,7 +4117,7 @@ export declare class AvmExecutionHints {
|
|
|
4181
4117
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4182
4118
|
}>;
|
|
4183
4119
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4184
|
-
root: z.
|
|
4120
|
+
root: z.ZodType<Fr, any, string>;
|
|
4185
4121
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4186
4122
|
}, "strip", z.ZodTypeAny, {
|
|
4187
4123
|
root: Fr;
|
|
@@ -4195,41 +4131,41 @@ export declare class AvmExecutionHints {
|
|
|
4195
4131
|
}>;
|
|
4196
4132
|
treeId: z.ZodNumber;
|
|
4197
4133
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4198
|
-
nullifier: z.
|
|
4134
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4199
4135
|
}, "strip", z.ZodTypeAny, {
|
|
4200
4136
|
nullifier: Fr;
|
|
4201
4137
|
}, {
|
|
4202
4138
|
nullifier: string;
|
|
4203
|
-
}>,
|
|
4139
|
+
}>, NullifierLeaf, {
|
|
4204
4140
|
nullifier: string;
|
|
4205
4141
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4206
|
-
slot: z.
|
|
4207
|
-
value: z.
|
|
4142
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4143
|
+
value: z.ZodType<Fr, any, string>;
|
|
4208
4144
|
}, "strip", z.ZodTypeAny, {
|
|
4209
4145
|
value: Fr;
|
|
4210
4146
|
slot: Fr;
|
|
4211
4147
|
}, {
|
|
4212
4148
|
value: string;
|
|
4213
4149
|
slot: string;
|
|
4214
|
-
}>,
|
|
4150
|
+
}>, PublicDataTreeLeaf, {
|
|
4215
4151
|
value: string;
|
|
4216
4152
|
slot: string;
|
|
4217
4153
|
}>;
|
|
4218
4154
|
lowLeavesWitnessData: z.ZodObject<{
|
|
4219
4155
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4220
4156
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4221
|
-
nullifier: z.
|
|
4157
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4222
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4223
4159
|
nullifier: Fr;
|
|
4224
4160
|
}, {
|
|
4225
4161
|
nullifier: string;
|
|
4226
|
-
}>,
|
|
4162
|
+
}>, NullifierLeaf, {
|
|
4227
4163
|
nullifier: string;
|
|
4228
4164
|
}>;
|
|
4229
|
-
nextKey: z.
|
|
4165
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4230
4166
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4231
4167
|
}, "strip", z.ZodTypeAny, {
|
|
4232
|
-
leaf:
|
|
4168
|
+
leaf: NullifierLeaf;
|
|
4233
4169
|
nextKey: Fr;
|
|
4234
4170
|
nextIndex: bigint;
|
|
4235
4171
|
}, {
|
|
@@ -4246,22 +4182,22 @@ export declare class AvmExecutionHints {
|
|
|
4246
4182
|
nextIndex: string | number | bigint;
|
|
4247
4183
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4248
4184
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4249
|
-
slot: z.
|
|
4250
|
-
value: z.
|
|
4185
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4186
|
+
value: z.ZodType<Fr, any, string>;
|
|
4251
4187
|
}, "strip", z.ZodTypeAny, {
|
|
4252
4188
|
value: Fr;
|
|
4253
4189
|
slot: Fr;
|
|
4254
4190
|
}, {
|
|
4255
4191
|
value: string;
|
|
4256
4192
|
slot: string;
|
|
4257
|
-
}>,
|
|
4193
|
+
}>, PublicDataTreeLeaf, {
|
|
4258
4194
|
value: string;
|
|
4259
4195
|
slot: string;
|
|
4260
4196
|
}>;
|
|
4261
|
-
nextKey: z.
|
|
4197
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4262
4198
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4263
4199
|
}, "strip", z.ZodTypeAny, {
|
|
4264
|
-
leaf:
|
|
4200
|
+
leaf: PublicDataTreeLeaf;
|
|
4265
4201
|
nextKey: Fr;
|
|
4266
4202
|
nextIndex: bigint;
|
|
4267
4203
|
}, {
|
|
@@ -4306,18 +4242,18 @@ export declare class AvmExecutionHints {
|
|
|
4306
4242
|
insertionWitnessData: z.ZodObject<{
|
|
4307
4243
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4308
4244
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4309
|
-
nullifier: z.
|
|
4245
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4310
4246
|
}, "strip", z.ZodTypeAny, {
|
|
4311
4247
|
nullifier: Fr;
|
|
4312
4248
|
}, {
|
|
4313
4249
|
nullifier: string;
|
|
4314
|
-
}>,
|
|
4250
|
+
}>, NullifierLeaf, {
|
|
4315
4251
|
nullifier: string;
|
|
4316
4252
|
}>;
|
|
4317
|
-
nextKey: z.
|
|
4253
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4318
4254
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4319
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4320
|
-
leaf:
|
|
4256
|
+
leaf: NullifierLeaf;
|
|
4321
4257
|
nextKey: Fr;
|
|
4322
4258
|
nextIndex: bigint;
|
|
4323
4259
|
}, {
|
|
@@ -4334,22 +4270,22 @@ export declare class AvmExecutionHints {
|
|
|
4334
4270
|
nextIndex: string | number | bigint;
|
|
4335
4271
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4336
4272
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4337
|
-
slot: z.
|
|
4338
|
-
value: z.
|
|
4273
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4274
|
+
value: z.ZodType<Fr, any, string>;
|
|
4339
4275
|
}, "strip", z.ZodTypeAny, {
|
|
4340
4276
|
value: Fr;
|
|
4341
4277
|
slot: Fr;
|
|
4342
4278
|
}, {
|
|
4343
4279
|
value: string;
|
|
4344
4280
|
slot: string;
|
|
4345
|
-
}>,
|
|
4281
|
+
}>, PublicDataTreeLeaf, {
|
|
4346
4282
|
value: string;
|
|
4347
4283
|
slot: string;
|
|
4348
4284
|
}>;
|
|
4349
|
-
nextKey: z.
|
|
4285
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4350
4286
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4351
4287
|
}, "strip", z.ZodTypeAny, {
|
|
4352
|
-
leaf:
|
|
4288
|
+
leaf: PublicDataTreeLeaf;
|
|
4353
4289
|
nextKey: Fr;
|
|
4354
4290
|
nextIndex: bigint;
|
|
4355
4291
|
}, {
|
|
@@ -4392,7 +4328,7 @@ export declare class AvmExecutionHints {
|
|
|
4392
4328
|
};
|
|
4393
4329
|
}>;
|
|
4394
4330
|
}, "strip", z.ZodTypeAny, {
|
|
4395
|
-
leaf:
|
|
4331
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
4396
4332
|
hintKey: AppendOnlyTreeSnapshot;
|
|
4397
4333
|
treeId: number;
|
|
4398
4334
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -4528,7 +4464,7 @@ export declare class AvmExecutionHints {
|
|
|
4528
4464
|
}>, "many">;
|
|
4529
4465
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4530
4466
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
4531
|
-
root: z.
|
|
4467
|
+
root: z.ZodType<Fr, any, string>;
|
|
4532
4468
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4533
4469
|
}, "strip", z.ZodTypeAny, {
|
|
4534
4470
|
root: Fr;
|
|
@@ -4541,7 +4477,7 @@ export declare class AvmExecutionHints {
|
|
|
4541
4477
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4542
4478
|
}>;
|
|
4543
4479
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4544
|
-
root: z.
|
|
4480
|
+
root: z.ZodType<Fr, any, string>;
|
|
4545
4481
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4546
4482
|
}, "strip", z.ZodTypeAny, {
|
|
4547
4483
|
root: Fr;
|
|
@@ -4623,7 +4559,7 @@ export declare class AvmExecutionHints {
|
|
|
4623
4559
|
newCheckpointId: z.ZodNumber;
|
|
4624
4560
|
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
4625
4561
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
4626
|
-
root: z.
|
|
4562
|
+
root: z.ZodType<Fr, any, string>;
|
|
4627
4563
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4628
4564
|
}, "strip", z.ZodTypeAny, {
|
|
4629
4565
|
root: Fr;
|
|
@@ -4636,7 +4572,7 @@ export declare class AvmExecutionHints {
|
|
|
4636
4572
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4637
4573
|
}>;
|
|
4638
4574
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
4639
|
-
root: z.
|
|
4575
|
+
root: z.ZodType<Fr, any, string>;
|
|
4640
4576
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4641
4577
|
}, "strip", z.ZodTypeAny, {
|
|
4642
4578
|
root: Fr;
|
|
@@ -4649,7 +4585,7 @@ export declare class AvmExecutionHints {
|
|
|
4649
4585
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4650
4586
|
}>;
|
|
4651
4587
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
4652
|
-
root: z.
|
|
4588
|
+
root: z.ZodType<Fr, any, string>;
|
|
4653
4589
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4654
4590
|
}, "strip", z.ZodTypeAny, {
|
|
4655
4591
|
root: Fr;
|
|
@@ -4662,7 +4598,7 @@ export declare class AvmExecutionHints {
|
|
|
4662
4598
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4663
4599
|
}>;
|
|
4664
4600
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
4665
|
-
root: z.
|
|
4601
|
+
root: z.ZodType<Fr, any, string>;
|
|
4666
4602
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4667
4603
|
}, "strip", z.ZodTypeAny, {
|
|
4668
4604
|
root: Fr;
|
|
@@ -4716,7 +4652,7 @@ export declare class AvmExecutionHints {
|
|
|
4716
4652
|
}>;
|
|
4717
4653
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4718
4654
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
4719
|
-
root: z.
|
|
4655
|
+
root: z.ZodType<Fr, any, string>;
|
|
4720
4656
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4721
4657
|
}, "strip", z.ZodTypeAny, {
|
|
4722
4658
|
root: Fr;
|
|
@@ -4729,7 +4665,7 @@ export declare class AvmExecutionHints {
|
|
|
4729
4665
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4730
4666
|
}>;
|
|
4731
4667
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
4732
|
-
root: z.
|
|
4668
|
+
root: z.ZodType<Fr, any, string>;
|
|
4733
4669
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4734
4670
|
}, "strip", z.ZodTypeAny, {
|
|
4735
4671
|
root: Fr;
|
|
@@ -4742,7 +4678,7 @@ export declare class AvmExecutionHints {
|
|
|
4742
4678
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4743
4679
|
}>;
|
|
4744
4680
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
4745
|
-
root: z.
|
|
4681
|
+
root: z.ZodType<Fr, any, string>;
|
|
4746
4682
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4747
4683
|
}, "strip", z.ZodTypeAny, {
|
|
4748
4684
|
root: Fr;
|
|
@@ -4755,7 +4691,7 @@ export declare class AvmExecutionHints {
|
|
|
4755
4691
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4756
4692
|
}>;
|
|
4757
4693
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
4758
|
-
root: z.
|
|
4694
|
+
root: z.ZodType<Fr, any, string>;
|
|
4759
4695
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4760
4696
|
}, "strip", z.ZodTypeAny, {
|
|
4761
4697
|
root: Fr;
|
|
@@ -5055,22 +4991,10 @@ export declare class AvmExecutionHints {
|
|
|
5055
4991
|
};
|
|
5056
4992
|
contractInstances: {
|
|
5057
4993
|
publicKeys: {
|
|
5058
|
-
masterNullifierPublicKey: string
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
masterIncomingViewingPublicKey: string | {
|
|
5063
|
-
x: string;
|
|
5064
|
-
y: string;
|
|
5065
|
-
};
|
|
5066
|
-
masterOutgoingViewingPublicKey: string | {
|
|
5067
|
-
x: string;
|
|
5068
|
-
y: string;
|
|
5069
|
-
};
|
|
5070
|
-
masterTaggingPublicKey: string | {
|
|
5071
|
-
x: string;
|
|
5072
|
-
y: string;
|
|
5073
|
-
};
|
|
4994
|
+
masterNullifierPublicKey: string;
|
|
4995
|
+
masterIncomingViewingPublicKey: string;
|
|
4996
|
+
masterOutgoingViewingPublicKey: string;
|
|
4997
|
+
masterTaggingPublicKey: string;
|
|
5074
4998
|
};
|
|
5075
4999
|
hintKey: number;
|
|
5076
5000
|
salt?: any;
|
|
@@ -5469,22 +5393,10 @@ export declare class AvmExecutionHints {
|
|
|
5469
5393
|
};
|
|
5470
5394
|
contractInstances: {
|
|
5471
5395
|
publicKeys: {
|
|
5472
|
-
masterNullifierPublicKey: string
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
masterIncomingViewingPublicKey: string | {
|
|
5477
|
-
x: string;
|
|
5478
|
-
y: string;
|
|
5479
|
-
};
|
|
5480
|
-
masterOutgoingViewingPublicKey: string | {
|
|
5481
|
-
x: string;
|
|
5482
|
-
y: string;
|
|
5483
|
-
};
|
|
5484
|
-
masterTaggingPublicKey: string | {
|
|
5485
|
-
x: string;
|
|
5486
|
-
y: string;
|
|
5487
|
-
};
|
|
5396
|
+
masterNullifierPublicKey: string;
|
|
5397
|
+
masterIncomingViewingPublicKey: string;
|
|
5398
|
+
masterOutgoingViewingPublicKey: string;
|
|
5399
|
+
masterTaggingPublicKey: string;
|
|
5488
5400
|
};
|
|
5489
5401
|
hintKey: number;
|
|
5490
5402
|
salt?: any;
|
|
@@ -5790,6 +5702,7 @@ export declare class AvmCircuitInputs {
|
|
|
5790
5702
|
publicInputs: AvmCircuitPublicInputs;
|
|
5791
5703
|
constructor(hints: AvmExecutionHints, publicInputs: AvmCircuitPublicInputs);
|
|
5792
5704
|
static empty(): AvmCircuitInputs;
|
|
5705
|
+
static fromPlainObject(obj: any): AvmCircuitInputs;
|
|
5793
5706
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
5794
5707
|
hints: z.ZodEffects<z.ZodObject<{
|
|
5795
5708
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -5959,7 +5872,7 @@ export declare class AvmCircuitInputs {
|
|
|
5959
5872
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5960
5873
|
contractAddress: ZodFor<AztecAddress>;
|
|
5961
5874
|
fields: z.ZodEffects<z.ZodObject<{
|
|
5962
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
5875
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
5963
5876
|
}, "strip", z.ZodTypeAny, {
|
|
5964
5877
|
fields: Fr[];
|
|
5965
5878
|
}, {
|
|
@@ -5986,7 +5899,7 @@ export declare class AvmCircuitInputs {
|
|
|
5986
5899
|
contractAddress?: any;
|
|
5987
5900
|
}>, "many">;
|
|
5988
5901
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5989
|
-
fields: z.ZodArray<z.
|
|
5902
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5990
5903
|
emittedLength: z.ZodNumber;
|
|
5991
5904
|
}, "strict", z.ZodTypeAny, {
|
|
5992
5905
|
fields: Fr[];
|
|
@@ -6030,7 +5943,7 @@ export declare class AvmCircuitInputs {
|
|
|
6030
5943
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6031
5944
|
contractAddress: ZodFor<AztecAddress>;
|
|
6032
5945
|
fields: z.ZodEffects<z.ZodObject<{
|
|
6033
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
5946
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
6034
5947
|
}, "strip", z.ZodTypeAny, {
|
|
6035
5948
|
fields: Fr[];
|
|
6036
5949
|
}, {
|
|
@@ -6057,7 +5970,7 @@ export declare class AvmCircuitInputs {
|
|
|
6057
5970
|
contractAddress?: any;
|
|
6058
5971
|
}>, "many">;
|
|
6059
5972
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6060
|
-
fields: z.ZodArray<z.
|
|
5973
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
6061
5974
|
emittedLength: z.ZodNumber;
|
|
6062
5975
|
}, "strict", z.ZodTypeAny, {
|
|
6063
5976
|
fields: Fr[];
|
|
@@ -6102,8 +6015,8 @@ export declare class AvmCircuitInputs {
|
|
|
6102
6015
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
6103
6016
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6104
6017
|
message: z.ZodEffects<z.ZodObject<{
|
|
6105
|
-
recipient: z.
|
|
6106
|
-
content: z.
|
|
6018
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
6019
|
+
content: z.ZodType<Fr, any, string>;
|
|
6107
6020
|
}, "strip", z.ZodTypeAny, {
|
|
6108
6021
|
content: Fr;
|
|
6109
6022
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -6151,8 +6064,8 @@ export declare class AvmCircuitInputs {
|
|
|
6151
6064
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
6152
6065
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6153
6066
|
message: z.ZodEffects<z.ZodObject<{
|
|
6154
|
-
recipient: z.
|
|
6155
|
-
content: z.
|
|
6067
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
6068
|
+
content: z.ZodType<Fr, any, string>;
|
|
6156
6069
|
}, "strip", z.ZodTypeAny, {
|
|
6157
6070
|
content: Fr;
|
|
6158
6071
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -6412,97 +6325,25 @@ export declare class AvmCircuitInputs {
|
|
|
6412
6325
|
originalContractClassId: ZodFor<Fr>;
|
|
6413
6326
|
initializationHash: ZodFor<Fr>;
|
|
6414
6327
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
6415
|
-
masterNullifierPublicKey: z.
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
x: Fr;
|
|
6420
|
-
y: Fr;
|
|
6421
|
-
}, {
|
|
6422
|
-
x: string;
|
|
6423
|
-
y: string;
|
|
6424
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
6425
|
-
x: string;
|
|
6426
|
-
y: string;
|
|
6427
|
-
}>]>;
|
|
6428
|
-
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
6429
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6430
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6431
|
-
}, "strip", z.ZodTypeAny, {
|
|
6432
|
-
x: Fr;
|
|
6433
|
-
y: Fr;
|
|
6434
|
-
}, {
|
|
6435
|
-
x: string;
|
|
6436
|
-
y: string;
|
|
6437
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
6438
|
-
x: string;
|
|
6439
|
-
y: string;
|
|
6440
|
-
}>]>;
|
|
6441
|
-
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
6442
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6443
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6444
|
-
}, "strip", z.ZodTypeAny, {
|
|
6445
|
-
x: Fr;
|
|
6446
|
-
y: Fr;
|
|
6447
|
-
}, {
|
|
6448
|
-
x: string;
|
|
6449
|
-
y: string;
|
|
6450
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
6451
|
-
x: string;
|
|
6452
|
-
y: string;
|
|
6453
|
-
}>]>;
|
|
6454
|
-
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
6455
|
-
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6456
|
-
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
6457
|
-
}, "strip", z.ZodTypeAny, {
|
|
6458
|
-
x: Fr;
|
|
6459
|
-
y: Fr;
|
|
6460
|
-
}, {
|
|
6461
|
-
x: string;
|
|
6462
|
-
y: string;
|
|
6463
|
-
}>, import("@aztec/foundation/fields").Point, {
|
|
6464
|
-
x: string;
|
|
6465
|
-
y: string;
|
|
6466
|
-
}>]>;
|
|
6328
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
6329
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
6330
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
6331
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
6467
6332
|
}, "strip", z.ZodTypeAny, {
|
|
6468
6333
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
6469
6334
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
6470
6335
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
6471
6336
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
6472
6337
|
}, {
|
|
6473
|
-
masterNullifierPublicKey: string
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
masterIncomingViewingPublicKey: string | {
|
|
6478
|
-
x: string;
|
|
6479
|
-
y: string;
|
|
6480
|
-
};
|
|
6481
|
-
masterOutgoingViewingPublicKey: string | {
|
|
6482
|
-
x: string;
|
|
6483
|
-
y: string;
|
|
6484
|
-
};
|
|
6485
|
-
masterTaggingPublicKey: string | {
|
|
6486
|
-
x: string;
|
|
6487
|
-
y: string;
|
|
6488
|
-
};
|
|
6338
|
+
masterNullifierPublicKey: string;
|
|
6339
|
+
masterIncomingViewingPublicKey: string;
|
|
6340
|
+
masterOutgoingViewingPublicKey: string;
|
|
6341
|
+
masterTaggingPublicKey: string;
|
|
6489
6342
|
}>, PublicKeys, {
|
|
6490
|
-
masterNullifierPublicKey: string
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
masterIncomingViewingPublicKey: string | {
|
|
6495
|
-
x: string;
|
|
6496
|
-
y: string;
|
|
6497
|
-
};
|
|
6498
|
-
masterOutgoingViewingPublicKey: string | {
|
|
6499
|
-
x: string;
|
|
6500
|
-
y: string;
|
|
6501
|
-
};
|
|
6502
|
-
masterTaggingPublicKey: string | {
|
|
6503
|
-
x: string;
|
|
6504
|
-
y: string;
|
|
6505
|
-
};
|
|
6343
|
+
masterNullifierPublicKey: string;
|
|
6344
|
+
masterIncomingViewingPublicKey: string;
|
|
6345
|
+
masterOutgoingViewingPublicKey: string;
|
|
6346
|
+
masterTaggingPublicKey: string;
|
|
6506
6347
|
}>;
|
|
6507
6348
|
}, "strip", z.ZodTypeAny, {
|
|
6508
6349
|
salt: Fr;
|
|
@@ -6515,22 +6356,10 @@ export declare class AvmCircuitInputs {
|
|
|
6515
6356
|
hintKey: number;
|
|
6516
6357
|
}, {
|
|
6517
6358
|
publicKeys: {
|
|
6518
|
-
masterNullifierPublicKey: string
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
masterIncomingViewingPublicKey: string | {
|
|
6523
|
-
x: string;
|
|
6524
|
-
y: string;
|
|
6525
|
-
};
|
|
6526
|
-
masterOutgoingViewingPublicKey: string | {
|
|
6527
|
-
x: string;
|
|
6528
|
-
y: string;
|
|
6529
|
-
};
|
|
6530
|
-
masterTaggingPublicKey: string | {
|
|
6531
|
-
x: string;
|
|
6532
|
-
y: string;
|
|
6533
|
-
};
|
|
6359
|
+
masterNullifierPublicKey: string;
|
|
6360
|
+
masterIncomingViewingPublicKey: string;
|
|
6361
|
+
masterOutgoingViewingPublicKey: string;
|
|
6362
|
+
masterTaggingPublicKey: string;
|
|
6534
6363
|
};
|
|
6535
6364
|
hintKey: number;
|
|
6536
6365
|
salt?: any;
|
|
@@ -6541,22 +6370,10 @@ export declare class AvmCircuitInputs {
|
|
|
6541
6370
|
address?: any;
|
|
6542
6371
|
}>, AvmContractInstanceHint, {
|
|
6543
6372
|
publicKeys: {
|
|
6544
|
-
masterNullifierPublicKey: string
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
masterIncomingViewingPublicKey: string | {
|
|
6549
|
-
x: string;
|
|
6550
|
-
y: string;
|
|
6551
|
-
};
|
|
6552
|
-
masterOutgoingViewingPublicKey: string | {
|
|
6553
|
-
x: string;
|
|
6554
|
-
y: string;
|
|
6555
|
-
};
|
|
6556
|
-
masterTaggingPublicKey: string | {
|
|
6557
|
-
x: string;
|
|
6558
|
-
y: string;
|
|
6559
|
-
};
|
|
6373
|
+
masterNullifierPublicKey: string;
|
|
6374
|
+
masterIncomingViewingPublicKey: string;
|
|
6375
|
+
masterOutgoingViewingPublicKey: string;
|
|
6376
|
+
masterTaggingPublicKey: string;
|
|
6560
6377
|
};
|
|
6561
6378
|
hintKey: number;
|
|
6562
6379
|
salt?: any;
|
|
@@ -6678,7 +6495,7 @@ export declare class AvmCircuitInputs {
|
|
|
6678
6495
|
}>, "many">;
|
|
6679
6496
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
6680
6497
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
6681
|
-
root: z.
|
|
6498
|
+
root: z.ZodType<Fr, any, string>;
|
|
6682
6499
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6683
6500
|
}, "strip", z.ZodTypeAny, {
|
|
6684
6501
|
root: Fr;
|
|
@@ -6691,7 +6508,7 @@ export declare class AvmCircuitInputs {
|
|
|
6691
6508
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6692
6509
|
}>;
|
|
6693
6510
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
6694
|
-
root: z.
|
|
6511
|
+
root: z.ZodType<Fr, any, string>;
|
|
6695
6512
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6696
6513
|
}, "strip", z.ZodTypeAny, {
|
|
6697
6514
|
root: Fr;
|
|
@@ -6704,7 +6521,7 @@ export declare class AvmCircuitInputs {
|
|
|
6704
6521
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6705
6522
|
}>;
|
|
6706
6523
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
6707
|
-
root: z.
|
|
6524
|
+
root: z.ZodType<Fr, any, string>;
|
|
6708
6525
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6709
6526
|
}, "strip", z.ZodTypeAny, {
|
|
6710
6527
|
root: Fr;
|
|
@@ -6717,7 +6534,7 @@ export declare class AvmCircuitInputs {
|
|
|
6717
6534
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6718
6535
|
}>;
|
|
6719
6536
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
6720
|
-
root: z.
|
|
6537
|
+
root: z.ZodType<Fr, any, string>;
|
|
6721
6538
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6722
6539
|
}, "strip", z.ZodTypeAny, {
|
|
6723
6540
|
root: Fr;
|
|
@@ -6771,7 +6588,7 @@ export declare class AvmCircuitInputs {
|
|
|
6771
6588
|
}>;
|
|
6772
6589
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6773
6590
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6774
|
-
root: z.
|
|
6591
|
+
root: z.ZodType<Fr, any, string>;
|
|
6775
6592
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6776
6593
|
}, "strip", z.ZodTypeAny, {
|
|
6777
6594
|
root: Fr;
|
|
@@ -6810,7 +6627,7 @@ export declare class AvmCircuitInputs {
|
|
|
6810
6627
|
}>, "many">;
|
|
6811
6628
|
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6812
6629
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6813
|
-
root: z.
|
|
6630
|
+
root: z.ZodType<Fr, any, string>;
|
|
6814
6631
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6815
6632
|
}, "strip", z.ZodTypeAny, {
|
|
6816
6633
|
root: Fr;
|
|
@@ -6853,7 +6670,7 @@ export declare class AvmCircuitInputs {
|
|
|
6853
6670
|
}>, "many">;
|
|
6854
6671
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6855
6672
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6856
|
-
root: z.
|
|
6673
|
+
root: z.ZodType<Fr, any, string>;
|
|
6857
6674
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6858
6675
|
}, "strip", z.ZodTypeAny, {
|
|
6859
6676
|
root: Fr;
|
|
@@ -6868,18 +6685,18 @@ export declare class AvmCircuitInputs {
|
|
|
6868
6685
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6869
6686
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
6870
6687
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6871
|
-
nullifier: z.
|
|
6688
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
6872
6689
|
}, "strip", z.ZodTypeAny, {
|
|
6873
6690
|
nullifier: Fr;
|
|
6874
6691
|
}, {
|
|
6875
6692
|
nullifier: string;
|
|
6876
|
-
}>,
|
|
6693
|
+
}>, NullifierLeaf, {
|
|
6877
6694
|
nullifier: string;
|
|
6878
6695
|
}>;
|
|
6879
|
-
nextKey: z.
|
|
6696
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6880
6697
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6881
6698
|
}, "strip", z.ZodTypeAny, {
|
|
6882
|
-
leaf:
|
|
6699
|
+
leaf: NullifierLeaf;
|
|
6883
6700
|
nextKey: Fr;
|
|
6884
6701
|
nextIndex: bigint;
|
|
6885
6702
|
}, {
|
|
@@ -6896,22 +6713,22 @@ export declare class AvmCircuitInputs {
|
|
|
6896
6713
|
nextIndex: string | number | bigint;
|
|
6897
6714
|
}> | z.ZodEffects<z.ZodObject<{
|
|
6898
6715
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6899
|
-
slot: z.
|
|
6900
|
-
value: z.
|
|
6716
|
+
slot: z.ZodType<Fr, any, string>;
|
|
6717
|
+
value: z.ZodType<Fr, any, string>;
|
|
6901
6718
|
}, "strip", z.ZodTypeAny, {
|
|
6902
6719
|
value: Fr;
|
|
6903
6720
|
slot: Fr;
|
|
6904
6721
|
}, {
|
|
6905
6722
|
value: string;
|
|
6906
6723
|
slot: string;
|
|
6907
|
-
}>,
|
|
6724
|
+
}>, PublicDataTreeLeaf, {
|
|
6908
6725
|
value: string;
|
|
6909
6726
|
slot: string;
|
|
6910
6727
|
}>;
|
|
6911
|
-
nextKey: z.
|
|
6728
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6912
6729
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6913
6730
|
}, "strip", z.ZodTypeAny, {
|
|
6914
|
-
leaf:
|
|
6731
|
+
leaf: PublicDataTreeLeaf;
|
|
6915
6732
|
nextKey: Fr;
|
|
6916
6733
|
nextIndex: bigint;
|
|
6917
6734
|
}, {
|
|
@@ -6980,7 +6797,7 @@ export declare class AvmCircuitInputs {
|
|
|
6980
6797
|
}>, "many">;
|
|
6981
6798
|
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6982
6799
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6983
|
-
root: z.
|
|
6800
|
+
root: z.ZodType<Fr, any, string>;
|
|
6984
6801
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6985
6802
|
}, "strip", z.ZodTypeAny, {
|
|
6986
6803
|
root: Fr;
|
|
@@ -6995,18 +6812,18 @@ export declare class AvmCircuitInputs {
|
|
|
6995
6812
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6996
6813
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
6997
6814
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6998
|
-
nullifier: z.
|
|
6815
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
6999
6816
|
}, "strip", z.ZodTypeAny, {
|
|
7000
6817
|
nullifier: Fr;
|
|
7001
6818
|
}, {
|
|
7002
6819
|
nullifier: string;
|
|
7003
|
-
}>,
|
|
6820
|
+
}>, NullifierLeaf, {
|
|
7004
6821
|
nullifier: string;
|
|
7005
6822
|
}>;
|
|
7006
|
-
nextKey: z.
|
|
6823
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7007
6824
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7008
6825
|
}, "strip", z.ZodTypeAny, {
|
|
7009
|
-
leaf:
|
|
6826
|
+
leaf: NullifierLeaf;
|
|
7010
6827
|
nextKey: Fr;
|
|
7011
6828
|
nextIndex: bigint;
|
|
7012
6829
|
}, {
|
|
@@ -7023,22 +6840,22 @@ export declare class AvmCircuitInputs {
|
|
|
7023
6840
|
nextIndex: string | number | bigint;
|
|
7024
6841
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7025
6842
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7026
|
-
slot: z.
|
|
7027
|
-
value: z.
|
|
6843
|
+
slot: z.ZodType<Fr, any, string>;
|
|
6844
|
+
value: z.ZodType<Fr, any, string>;
|
|
7028
6845
|
}, "strip", z.ZodTypeAny, {
|
|
7029
6846
|
value: Fr;
|
|
7030
6847
|
slot: Fr;
|
|
7031
6848
|
}, {
|
|
7032
6849
|
value: string;
|
|
7033
6850
|
slot: string;
|
|
7034
|
-
}>,
|
|
6851
|
+
}>, PublicDataTreeLeaf, {
|
|
7035
6852
|
value: string;
|
|
7036
6853
|
slot: string;
|
|
7037
6854
|
}>;
|
|
7038
|
-
nextKey: z.
|
|
6855
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7039
6856
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7040
6857
|
}, "strip", z.ZodTypeAny, {
|
|
7041
|
-
leaf:
|
|
6858
|
+
leaf: PublicDataTreeLeaf;
|
|
7042
6859
|
nextKey: Fr;
|
|
7043
6860
|
nextIndex: bigint;
|
|
7044
6861
|
}, {
|
|
@@ -7107,7 +6924,7 @@ export declare class AvmCircuitInputs {
|
|
|
7107
6924
|
}>, "many">;
|
|
7108
6925
|
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7109
6926
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7110
|
-
root: z.
|
|
6927
|
+
root: z.ZodType<Fr, any, string>;
|
|
7111
6928
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7112
6929
|
}, "strip", z.ZodTypeAny, {
|
|
7113
6930
|
root: Fr;
|
|
@@ -7146,7 +6963,7 @@ export declare class AvmCircuitInputs {
|
|
|
7146
6963
|
}>, "many">;
|
|
7147
6964
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7148
6965
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7149
|
-
root: z.
|
|
6966
|
+
root: z.ZodType<Fr, any, string>;
|
|
7150
6967
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7151
6968
|
}, "strip", z.ZodTypeAny, {
|
|
7152
6969
|
root: Fr;
|
|
@@ -7159,7 +6976,7 @@ export declare class AvmCircuitInputs {
|
|
|
7159
6976
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7160
6977
|
}>;
|
|
7161
6978
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7162
|
-
root: z.
|
|
6979
|
+
root: z.ZodType<Fr, any, string>;
|
|
7163
6980
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7164
6981
|
}, "strip", z.ZodTypeAny, {
|
|
7165
6982
|
root: Fr;
|
|
@@ -7173,41 +6990,41 @@ export declare class AvmCircuitInputs {
|
|
|
7173
6990
|
}>;
|
|
7174
6991
|
treeId: z.ZodNumber;
|
|
7175
6992
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7176
|
-
nullifier: z.
|
|
6993
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7177
6994
|
}, "strip", z.ZodTypeAny, {
|
|
7178
6995
|
nullifier: Fr;
|
|
7179
6996
|
}, {
|
|
7180
6997
|
nullifier: string;
|
|
7181
|
-
}>,
|
|
6998
|
+
}>, NullifierLeaf, {
|
|
7182
6999
|
nullifier: string;
|
|
7183
7000
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7184
|
-
slot: z.
|
|
7185
|
-
value: z.
|
|
7001
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7002
|
+
value: z.ZodType<Fr, any, string>;
|
|
7186
7003
|
}, "strip", z.ZodTypeAny, {
|
|
7187
7004
|
value: Fr;
|
|
7188
7005
|
slot: Fr;
|
|
7189
7006
|
}, {
|
|
7190
7007
|
value: string;
|
|
7191
7008
|
slot: string;
|
|
7192
|
-
}>,
|
|
7009
|
+
}>, PublicDataTreeLeaf, {
|
|
7193
7010
|
value: string;
|
|
7194
7011
|
slot: string;
|
|
7195
7012
|
}>;
|
|
7196
7013
|
lowLeavesWitnessData: z.ZodObject<{
|
|
7197
7014
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7198
7015
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7199
|
-
nullifier: z.
|
|
7016
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7200
7017
|
}, "strip", z.ZodTypeAny, {
|
|
7201
7018
|
nullifier: Fr;
|
|
7202
7019
|
}, {
|
|
7203
7020
|
nullifier: string;
|
|
7204
|
-
}>,
|
|
7021
|
+
}>, NullifierLeaf, {
|
|
7205
7022
|
nullifier: string;
|
|
7206
7023
|
}>;
|
|
7207
|
-
nextKey: z.
|
|
7024
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7208
7025
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7209
7026
|
}, "strip", z.ZodTypeAny, {
|
|
7210
|
-
leaf:
|
|
7027
|
+
leaf: NullifierLeaf;
|
|
7211
7028
|
nextKey: Fr;
|
|
7212
7029
|
nextIndex: bigint;
|
|
7213
7030
|
}, {
|
|
@@ -7224,22 +7041,22 @@ export declare class AvmCircuitInputs {
|
|
|
7224
7041
|
nextIndex: string | number | bigint;
|
|
7225
7042
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7226
7043
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7227
|
-
slot: z.
|
|
7228
|
-
value: z.
|
|
7044
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7045
|
+
value: z.ZodType<Fr, any, string>;
|
|
7229
7046
|
}, "strip", z.ZodTypeAny, {
|
|
7230
7047
|
value: Fr;
|
|
7231
7048
|
slot: Fr;
|
|
7232
7049
|
}, {
|
|
7233
7050
|
value: string;
|
|
7234
7051
|
slot: string;
|
|
7235
|
-
}>,
|
|
7052
|
+
}>, PublicDataTreeLeaf, {
|
|
7236
7053
|
value: string;
|
|
7237
7054
|
slot: string;
|
|
7238
7055
|
}>;
|
|
7239
|
-
nextKey: z.
|
|
7056
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7240
7057
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7241
7058
|
}, "strip", z.ZodTypeAny, {
|
|
7242
|
-
leaf:
|
|
7059
|
+
leaf: PublicDataTreeLeaf;
|
|
7243
7060
|
nextKey: Fr;
|
|
7244
7061
|
nextIndex: bigint;
|
|
7245
7062
|
}, {
|
|
@@ -7284,18 +7101,18 @@ export declare class AvmCircuitInputs {
|
|
|
7284
7101
|
insertionWitnessData: z.ZodObject<{
|
|
7285
7102
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7286
7103
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7287
|
-
nullifier: z.
|
|
7104
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7288
7105
|
}, "strip", z.ZodTypeAny, {
|
|
7289
7106
|
nullifier: Fr;
|
|
7290
7107
|
}, {
|
|
7291
7108
|
nullifier: string;
|
|
7292
|
-
}>,
|
|
7109
|
+
}>, NullifierLeaf, {
|
|
7293
7110
|
nullifier: string;
|
|
7294
7111
|
}>;
|
|
7295
|
-
nextKey: z.
|
|
7112
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7296
7113
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7297
7114
|
}, "strip", z.ZodTypeAny, {
|
|
7298
|
-
leaf:
|
|
7115
|
+
leaf: NullifierLeaf;
|
|
7299
7116
|
nextKey: Fr;
|
|
7300
7117
|
nextIndex: bigint;
|
|
7301
7118
|
}, {
|
|
@@ -7312,22 +7129,22 @@ export declare class AvmCircuitInputs {
|
|
|
7312
7129
|
nextIndex: string | number | bigint;
|
|
7313
7130
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7314
7131
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7315
|
-
slot: z.
|
|
7316
|
-
value: z.
|
|
7132
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7133
|
+
value: z.ZodType<Fr, any, string>;
|
|
7317
7134
|
}, "strip", z.ZodTypeAny, {
|
|
7318
7135
|
value: Fr;
|
|
7319
7136
|
slot: Fr;
|
|
7320
7137
|
}, {
|
|
7321
7138
|
value: string;
|
|
7322
7139
|
slot: string;
|
|
7323
|
-
}>,
|
|
7140
|
+
}>, PublicDataTreeLeaf, {
|
|
7324
7141
|
value: string;
|
|
7325
7142
|
slot: string;
|
|
7326
7143
|
}>;
|
|
7327
|
-
nextKey: z.
|
|
7144
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7328
7145
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7329
7146
|
}, "strip", z.ZodTypeAny, {
|
|
7330
|
-
leaf:
|
|
7147
|
+
leaf: PublicDataTreeLeaf;
|
|
7331
7148
|
nextKey: Fr;
|
|
7332
7149
|
nextIndex: bigint;
|
|
7333
7150
|
}, {
|
|
@@ -7370,7 +7187,7 @@ export declare class AvmCircuitInputs {
|
|
|
7370
7187
|
};
|
|
7371
7188
|
}>;
|
|
7372
7189
|
}, "strip", z.ZodTypeAny, {
|
|
7373
|
-
leaf:
|
|
7190
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
7374
7191
|
hintKey: AppendOnlyTreeSnapshot;
|
|
7375
7192
|
treeId: number;
|
|
7376
7193
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -7506,7 +7323,7 @@ export declare class AvmCircuitInputs {
|
|
|
7506
7323
|
}>, "many">;
|
|
7507
7324
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7508
7325
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7509
|
-
root: z.
|
|
7326
|
+
root: z.ZodType<Fr, any, string>;
|
|
7510
7327
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7511
7328
|
}, "strip", z.ZodTypeAny, {
|
|
7512
7329
|
root: Fr;
|
|
@@ -7519,7 +7336,7 @@ export declare class AvmCircuitInputs {
|
|
|
7519
7336
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7520
7337
|
}>;
|
|
7521
7338
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7522
|
-
root: z.
|
|
7339
|
+
root: z.ZodType<Fr, any, string>;
|
|
7523
7340
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7524
7341
|
}, "strip", z.ZodTypeAny, {
|
|
7525
7342
|
root: Fr;
|
|
@@ -7533,41 +7350,41 @@ export declare class AvmCircuitInputs {
|
|
|
7533
7350
|
}>;
|
|
7534
7351
|
treeId: z.ZodNumber;
|
|
7535
7352
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7536
|
-
nullifier: z.
|
|
7353
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7537
7354
|
}, "strip", z.ZodTypeAny, {
|
|
7538
7355
|
nullifier: Fr;
|
|
7539
7356
|
}, {
|
|
7540
7357
|
nullifier: string;
|
|
7541
|
-
}>,
|
|
7358
|
+
}>, NullifierLeaf, {
|
|
7542
7359
|
nullifier: string;
|
|
7543
7360
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7544
|
-
slot: z.
|
|
7545
|
-
value: z.
|
|
7361
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7362
|
+
value: z.ZodType<Fr, any, string>;
|
|
7546
7363
|
}, "strip", z.ZodTypeAny, {
|
|
7547
7364
|
value: Fr;
|
|
7548
7365
|
slot: Fr;
|
|
7549
7366
|
}, {
|
|
7550
7367
|
value: string;
|
|
7551
7368
|
slot: string;
|
|
7552
|
-
}>,
|
|
7369
|
+
}>, PublicDataTreeLeaf, {
|
|
7553
7370
|
value: string;
|
|
7554
7371
|
slot: string;
|
|
7555
7372
|
}>;
|
|
7556
7373
|
lowLeavesWitnessData: z.ZodObject<{
|
|
7557
7374
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7558
7375
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7559
|
-
nullifier: z.
|
|
7376
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7560
7377
|
}, "strip", z.ZodTypeAny, {
|
|
7561
7378
|
nullifier: Fr;
|
|
7562
7379
|
}, {
|
|
7563
7380
|
nullifier: string;
|
|
7564
|
-
}>,
|
|
7381
|
+
}>, NullifierLeaf, {
|
|
7565
7382
|
nullifier: string;
|
|
7566
7383
|
}>;
|
|
7567
|
-
nextKey: z.
|
|
7384
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7568
7385
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7569
7386
|
}, "strip", z.ZodTypeAny, {
|
|
7570
|
-
leaf:
|
|
7387
|
+
leaf: NullifierLeaf;
|
|
7571
7388
|
nextKey: Fr;
|
|
7572
7389
|
nextIndex: bigint;
|
|
7573
7390
|
}, {
|
|
@@ -7584,22 +7401,22 @@ export declare class AvmCircuitInputs {
|
|
|
7584
7401
|
nextIndex: string | number | bigint;
|
|
7585
7402
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7586
7403
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7587
|
-
slot: z.
|
|
7588
|
-
value: z.
|
|
7404
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7405
|
+
value: z.ZodType<Fr, any, string>;
|
|
7589
7406
|
}, "strip", z.ZodTypeAny, {
|
|
7590
7407
|
value: Fr;
|
|
7591
7408
|
slot: Fr;
|
|
7592
7409
|
}, {
|
|
7593
7410
|
value: string;
|
|
7594
7411
|
slot: string;
|
|
7595
|
-
}>,
|
|
7412
|
+
}>, PublicDataTreeLeaf, {
|
|
7596
7413
|
value: string;
|
|
7597
7414
|
slot: string;
|
|
7598
7415
|
}>;
|
|
7599
|
-
nextKey: z.
|
|
7416
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7600
7417
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7601
7418
|
}, "strip", z.ZodTypeAny, {
|
|
7602
|
-
leaf:
|
|
7419
|
+
leaf: PublicDataTreeLeaf;
|
|
7603
7420
|
nextKey: Fr;
|
|
7604
7421
|
nextIndex: bigint;
|
|
7605
7422
|
}, {
|
|
@@ -7644,18 +7461,18 @@ export declare class AvmCircuitInputs {
|
|
|
7644
7461
|
insertionWitnessData: z.ZodObject<{
|
|
7645
7462
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7646
7463
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7647
|
-
nullifier: z.
|
|
7464
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7648
7465
|
}, "strip", z.ZodTypeAny, {
|
|
7649
7466
|
nullifier: Fr;
|
|
7650
7467
|
}, {
|
|
7651
7468
|
nullifier: string;
|
|
7652
|
-
}>,
|
|
7469
|
+
}>, NullifierLeaf, {
|
|
7653
7470
|
nullifier: string;
|
|
7654
7471
|
}>;
|
|
7655
|
-
nextKey: z.
|
|
7472
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7656
7473
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7657
7474
|
}, "strip", z.ZodTypeAny, {
|
|
7658
|
-
leaf:
|
|
7475
|
+
leaf: NullifierLeaf;
|
|
7659
7476
|
nextKey: Fr;
|
|
7660
7477
|
nextIndex: bigint;
|
|
7661
7478
|
}, {
|
|
@@ -7672,22 +7489,22 @@ export declare class AvmCircuitInputs {
|
|
|
7672
7489
|
nextIndex: string | number | bigint;
|
|
7673
7490
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7674
7491
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7675
|
-
slot: z.
|
|
7676
|
-
value: z.
|
|
7492
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7493
|
+
value: z.ZodType<Fr, any, string>;
|
|
7677
7494
|
}, "strip", z.ZodTypeAny, {
|
|
7678
7495
|
value: Fr;
|
|
7679
7496
|
slot: Fr;
|
|
7680
7497
|
}, {
|
|
7681
7498
|
value: string;
|
|
7682
7499
|
slot: string;
|
|
7683
|
-
}>,
|
|
7500
|
+
}>, PublicDataTreeLeaf, {
|
|
7684
7501
|
value: string;
|
|
7685
7502
|
slot: string;
|
|
7686
7503
|
}>;
|
|
7687
|
-
nextKey: z.
|
|
7504
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7688
7505
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7689
7506
|
}, "strip", z.ZodTypeAny, {
|
|
7690
|
-
leaf:
|
|
7507
|
+
leaf: PublicDataTreeLeaf;
|
|
7691
7508
|
nextKey: Fr;
|
|
7692
7509
|
nextIndex: bigint;
|
|
7693
7510
|
}, {
|
|
@@ -7730,7 +7547,7 @@ export declare class AvmCircuitInputs {
|
|
|
7730
7547
|
};
|
|
7731
7548
|
}>;
|
|
7732
7549
|
}, "strip", z.ZodTypeAny, {
|
|
7733
|
-
leaf:
|
|
7550
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
7734
7551
|
hintKey: AppendOnlyTreeSnapshot;
|
|
7735
7552
|
treeId: number;
|
|
7736
7553
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -7866,7 +7683,7 @@ export declare class AvmCircuitInputs {
|
|
|
7866
7683
|
}>, "many">;
|
|
7867
7684
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7868
7685
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7869
|
-
root: z.
|
|
7686
|
+
root: z.ZodType<Fr, any, string>;
|
|
7870
7687
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7871
7688
|
}, "strip", z.ZodTypeAny, {
|
|
7872
7689
|
root: Fr;
|
|
@@ -7879,7 +7696,7 @@ export declare class AvmCircuitInputs {
|
|
|
7879
7696
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7880
7697
|
}>;
|
|
7881
7698
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7882
|
-
root: z.
|
|
7699
|
+
root: z.ZodType<Fr, any, string>;
|
|
7883
7700
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7884
7701
|
}, "strip", z.ZodTypeAny, {
|
|
7885
7702
|
root: Fr;
|
|
@@ -7961,7 +7778,7 @@ export declare class AvmCircuitInputs {
|
|
|
7961
7778
|
newCheckpointId: z.ZodNumber;
|
|
7962
7779
|
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
7963
7780
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
7964
|
-
root: z.
|
|
7781
|
+
root: z.ZodType<Fr, any, string>;
|
|
7965
7782
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7966
7783
|
}, "strip", z.ZodTypeAny, {
|
|
7967
7784
|
root: Fr;
|
|
@@ -7974,7 +7791,7 @@ export declare class AvmCircuitInputs {
|
|
|
7974
7791
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7975
7792
|
}>;
|
|
7976
7793
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
7977
|
-
root: z.
|
|
7794
|
+
root: z.ZodType<Fr, any, string>;
|
|
7978
7795
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7979
7796
|
}, "strip", z.ZodTypeAny, {
|
|
7980
7797
|
root: Fr;
|
|
@@ -7987,7 +7804,7 @@ export declare class AvmCircuitInputs {
|
|
|
7987
7804
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7988
7805
|
}>;
|
|
7989
7806
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
7990
|
-
root: z.
|
|
7807
|
+
root: z.ZodType<Fr, any, string>;
|
|
7991
7808
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7992
7809
|
}, "strip", z.ZodTypeAny, {
|
|
7993
7810
|
root: Fr;
|
|
@@ -8000,7 +7817,7 @@ export declare class AvmCircuitInputs {
|
|
|
8000
7817
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8001
7818
|
}>;
|
|
8002
7819
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
8003
|
-
root: z.
|
|
7820
|
+
root: z.ZodType<Fr, any, string>;
|
|
8004
7821
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8005
7822
|
}, "strip", z.ZodTypeAny, {
|
|
8006
7823
|
root: Fr;
|
|
@@ -8054,7 +7871,7 @@ export declare class AvmCircuitInputs {
|
|
|
8054
7871
|
}>;
|
|
8055
7872
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
8056
7873
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
8057
|
-
root: z.
|
|
7874
|
+
root: z.ZodType<Fr, any, string>;
|
|
8058
7875
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8059
7876
|
}, "strip", z.ZodTypeAny, {
|
|
8060
7877
|
root: Fr;
|
|
@@ -8067,7 +7884,7 @@ export declare class AvmCircuitInputs {
|
|
|
8067
7884
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8068
7885
|
}>;
|
|
8069
7886
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
8070
|
-
root: z.
|
|
7887
|
+
root: z.ZodType<Fr, any, string>;
|
|
8071
7888
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8072
7889
|
}, "strip", z.ZodTypeAny, {
|
|
8073
7890
|
root: Fr;
|
|
@@ -8080,7 +7897,7 @@ export declare class AvmCircuitInputs {
|
|
|
8080
7897
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8081
7898
|
}>;
|
|
8082
7899
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
8083
|
-
root: z.
|
|
7900
|
+
root: z.ZodType<Fr, any, string>;
|
|
8084
7901
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8085
7902
|
}, "strip", z.ZodTypeAny, {
|
|
8086
7903
|
root: Fr;
|
|
@@ -8093,7 +7910,7 @@ export declare class AvmCircuitInputs {
|
|
|
8093
7910
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8094
7911
|
}>;
|
|
8095
7912
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
8096
|
-
root: z.
|
|
7913
|
+
root: z.ZodType<Fr, any, string>;
|
|
8097
7914
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8098
7915
|
}, "strip", z.ZodTypeAny, {
|
|
8099
7916
|
root: Fr;
|
|
@@ -8393,22 +8210,10 @@ export declare class AvmCircuitInputs {
|
|
|
8393
8210
|
};
|
|
8394
8211
|
contractInstances: {
|
|
8395
8212
|
publicKeys: {
|
|
8396
|
-
masterNullifierPublicKey: string
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
masterIncomingViewingPublicKey: string | {
|
|
8401
|
-
x: string;
|
|
8402
|
-
y: string;
|
|
8403
|
-
};
|
|
8404
|
-
masterOutgoingViewingPublicKey: string | {
|
|
8405
|
-
x: string;
|
|
8406
|
-
y: string;
|
|
8407
|
-
};
|
|
8408
|
-
masterTaggingPublicKey: string | {
|
|
8409
|
-
x: string;
|
|
8410
|
-
y: string;
|
|
8411
|
-
};
|
|
8213
|
+
masterNullifierPublicKey: string;
|
|
8214
|
+
masterIncomingViewingPublicKey: string;
|
|
8215
|
+
masterOutgoingViewingPublicKey: string;
|
|
8216
|
+
masterTaggingPublicKey: string;
|
|
8412
8217
|
};
|
|
8413
8218
|
hintKey: number;
|
|
8414
8219
|
salt?: any;
|
|
@@ -8807,22 +8612,10 @@ export declare class AvmCircuitInputs {
|
|
|
8807
8612
|
};
|
|
8808
8613
|
contractInstances: {
|
|
8809
8614
|
publicKeys: {
|
|
8810
|
-
masterNullifierPublicKey: string
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
masterIncomingViewingPublicKey: string | {
|
|
8815
|
-
x: string;
|
|
8816
|
-
y: string;
|
|
8817
|
-
};
|
|
8818
|
-
masterOutgoingViewingPublicKey: string | {
|
|
8819
|
-
x: string;
|
|
8820
|
-
y: string;
|
|
8821
|
-
};
|
|
8822
|
-
masterTaggingPublicKey: string | {
|
|
8823
|
-
x: string;
|
|
8824
|
-
y: string;
|
|
8825
|
-
};
|
|
8615
|
+
masterNullifierPublicKey: string;
|
|
8616
|
+
masterIncomingViewingPublicKey: string;
|
|
8617
|
+
masterOutgoingViewingPublicKey: string;
|
|
8618
|
+
masterTaggingPublicKey: string;
|
|
8826
8619
|
};
|
|
8827
8620
|
hintKey: number;
|
|
8828
8621
|
salt?: any;
|
|
@@ -9189,7 +8982,7 @@ export declare class AvmCircuitInputs {
|
|
|
9189
8982
|
}>;
|
|
9190
8983
|
startTreeSnapshots: z.ZodEffects<z.ZodObject<{
|
|
9191
8984
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
9192
|
-
root: z.
|
|
8985
|
+
root: z.ZodType<Fr, any, string>;
|
|
9193
8986
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9194
8987
|
}, "strip", z.ZodTypeAny, {
|
|
9195
8988
|
root: Fr;
|
|
@@ -9202,7 +8995,7 @@ export declare class AvmCircuitInputs {
|
|
|
9202
8995
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9203
8996
|
}>;
|
|
9204
8997
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
9205
|
-
root: z.
|
|
8998
|
+
root: z.ZodType<Fr, any, string>;
|
|
9206
8999
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9207
9000
|
}, "strip", z.ZodTypeAny, {
|
|
9208
9001
|
root: Fr;
|
|
@@ -9215,7 +9008,7 @@ export declare class AvmCircuitInputs {
|
|
|
9215
9008
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9216
9009
|
}>;
|
|
9217
9010
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
9218
|
-
root: z.
|
|
9011
|
+
root: z.ZodType<Fr, any, string>;
|
|
9219
9012
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9220
9013
|
}, "strip", z.ZodTypeAny, {
|
|
9221
9014
|
root: Fr;
|
|
@@ -9228,7 +9021,7 @@ export declare class AvmCircuitInputs {
|
|
|
9228
9021
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9229
9022
|
}>;
|
|
9230
9023
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
9231
|
-
root: z.
|
|
9024
|
+
root: z.ZodType<Fr, any, string>;
|
|
9232
9025
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9233
9026
|
}, "strip", z.ZodTypeAny, {
|
|
9234
9027
|
root: Fr;
|
|
@@ -9400,7 +9193,7 @@ export declare class AvmCircuitInputs {
|
|
|
9400
9193
|
feePerL2Gas: string | number | bigint;
|
|
9401
9194
|
}>;
|
|
9402
9195
|
feePayer: ZodFor<AztecAddress>;
|
|
9403
|
-
proverId: z.
|
|
9196
|
+
proverId: z.ZodType<Fr, any, string>;
|
|
9404
9197
|
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
9405
9198
|
setupCalls: z.ZodNumber;
|
|
9406
9199
|
appLogicCalls: z.ZodNumber;
|
|
@@ -9422,7 +9215,7 @@ export declare class AvmCircuitInputs {
|
|
|
9422
9215
|
msgSender: ZodFor<AztecAddress>;
|
|
9423
9216
|
contractAddress: ZodFor<AztecAddress>;
|
|
9424
9217
|
isStaticCall: z.ZodBoolean;
|
|
9425
|
-
calldataHash: z.
|
|
9218
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
9426
9219
|
}, "strip", z.ZodTypeAny, {
|
|
9427
9220
|
contractAddress: AztecAddress;
|
|
9428
9221
|
msgSender: AztecAddress;
|
|
@@ -9443,7 +9236,7 @@ export declare class AvmCircuitInputs {
|
|
|
9443
9236
|
msgSender: ZodFor<AztecAddress>;
|
|
9444
9237
|
contractAddress: ZodFor<AztecAddress>;
|
|
9445
9238
|
isStaticCall: z.ZodBoolean;
|
|
9446
|
-
calldataHash: z.
|
|
9239
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
9447
9240
|
}, "strip", z.ZodTypeAny, {
|
|
9448
9241
|
contractAddress: AztecAddress;
|
|
9449
9242
|
msgSender: AztecAddress;
|
|
@@ -9464,7 +9257,7 @@ export declare class AvmCircuitInputs {
|
|
|
9464
9257
|
msgSender: ZodFor<AztecAddress>;
|
|
9465
9258
|
contractAddress: ZodFor<AztecAddress>;
|
|
9466
9259
|
isStaticCall: z.ZodBoolean;
|
|
9467
|
-
calldataHash: z.
|
|
9260
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
9468
9261
|
}, "strip", z.ZodTypeAny, {
|
|
9469
9262
|
contractAddress: AztecAddress;
|
|
9470
9263
|
msgSender: AztecAddress;
|
|
@@ -9516,12 +9309,12 @@ export declare class AvmCircuitInputs {
|
|
|
9516
9309
|
l2ToL1Msgs: string | number | bigint;
|
|
9517
9310
|
}>;
|
|
9518
9311
|
previousNonRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
|
|
9519
|
-
noteHashes: z.ZodArray<z.
|
|
9520
|
-
nullifiers: z.ZodArray<z.
|
|
9312
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9313
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9521
9314
|
l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9522
9315
|
message: z.ZodEffects<z.ZodObject<{
|
|
9523
|
-
recipient: z.
|
|
9524
|
-
content: z.
|
|
9316
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
9317
|
+
content: z.ZodType<Fr, any, string>;
|
|
9525
9318
|
}, "strip", z.ZodTypeAny, {
|
|
9526
9319
|
content: Fr;
|
|
9527
9320
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -9575,12 +9368,12 @@ export declare class AvmCircuitInputs {
|
|
|
9575
9368
|
}[];
|
|
9576
9369
|
}>;
|
|
9577
9370
|
previousRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
|
|
9578
|
-
noteHashes: z.ZodArray<z.
|
|
9579
|
-
nullifiers: z.ZodArray<z.
|
|
9371
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9372
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9580
9373
|
l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9581
9374
|
message: z.ZodEffects<z.ZodObject<{
|
|
9582
|
-
recipient: z.
|
|
9583
|
-
content: z.
|
|
9375
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
9376
|
+
content: z.ZodType<Fr, any, string>;
|
|
9584
9377
|
}, "strip", z.ZodTypeAny, {
|
|
9585
9378
|
content: Fr;
|
|
9586
9379
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -9635,7 +9428,7 @@ export declare class AvmCircuitInputs {
|
|
|
9635
9428
|
}>;
|
|
9636
9429
|
endTreeSnapshots: z.ZodEffects<z.ZodObject<{
|
|
9637
9430
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
9638
|
-
root: z.
|
|
9431
|
+
root: z.ZodType<Fr, any, string>;
|
|
9639
9432
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9640
9433
|
}, "strip", z.ZodTypeAny, {
|
|
9641
9434
|
root: Fr;
|
|
@@ -9648,7 +9441,7 @@ export declare class AvmCircuitInputs {
|
|
|
9648
9441
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9649
9442
|
}>;
|
|
9650
9443
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
9651
|
-
root: z.
|
|
9444
|
+
root: z.ZodType<Fr, any, string>;
|
|
9652
9445
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9653
9446
|
}, "strip", z.ZodTypeAny, {
|
|
9654
9447
|
root: Fr;
|
|
@@ -9661,7 +9454,7 @@ export declare class AvmCircuitInputs {
|
|
|
9661
9454
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9662
9455
|
}>;
|
|
9663
9456
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
9664
|
-
root: z.
|
|
9457
|
+
root: z.ZodType<Fr, any, string>;
|
|
9665
9458
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9666
9459
|
}, "strip", z.ZodTypeAny, {
|
|
9667
9460
|
root: Fr;
|
|
@@ -9674,7 +9467,7 @@ export declare class AvmCircuitInputs {
|
|
|
9674
9467
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9675
9468
|
}>;
|
|
9676
9469
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
9677
|
-
root: z.
|
|
9470
|
+
root: z.ZodType<Fr, any, string>;
|
|
9678
9471
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
9679
9472
|
}, "strip", z.ZodTypeAny, {
|
|
9680
9473
|
root: Fr;
|
|
@@ -9761,12 +9554,12 @@ export declare class AvmCircuitInputs {
|
|
|
9761
9554
|
publicDataWrites: number;
|
|
9762
9555
|
}>;
|
|
9763
9556
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
9764
|
-
noteHashes: z.ZodArray<z.
|
|
9765
|
-
nullifiers: z.ZodArray<z.
|
|
9557
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9558
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
9766
9559
|
l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9767
9560
|
message: z.ZodEffects<z.ZodObject<{
|
|
9768
|
-
recipient: z.
|
|
9769
|
-
content: z.
|
|
9561
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
9562
|
+
content: z.ZodType<Fr, any, string>;
|
|
9770
9563
|
}, "strip", z.ZodTypeAny, {
|
|
9771
9564
|
content: Fr;
|
|
9772
9565
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -9796,8 +9589,8 @@ export declare class AvmCircuitInputs {
|
|
|
9796
9589
|
}>, "many">;
|
|
9797
9590
|
publicLogs: ZodFor<import("../logs/public_log.js").FlatPublicLogs>;
|
|
9798
9591
|
publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9799
|
-
leafSlot: z.
|
|
9800
|
-
value: z.
|
|
9592
|
+
leafSlot: z.ZodType<Fr, any, string>;
|
|
9593
|
+
value: z.ZodType<Fr, any, string>;
|
|
9801
9594
|
}, "strip", z.ZodTypeAny, {
|
|
9802
9595
|
value: Fr;
|
|
9803
9596
|
leafSlot: Fr;
|
|
@@ -9845,7 +9638,7 @@ export declare class AvmCircuitInputs {
|
|
|
9845
9638
|
}[];
|
|
9846
9639
|
publicLogs?: any;
|
|
9847
9640
|
}>;
|
|
9848
|
-
transactionFee: z.
|
|
9641
|
+
transactionFee: z.ZodType<Fr, any, string>;
|
|
9849
9642
|
reverted: z.ZodBoolean;
|
|
9850
9643
|
}, "strip", z.ZodTypeAny, {
|
|
9851
9644
|
globalVariables: GlobalVariables;
|
|
@@ -10468,22 +10261,10 @@ export declare class AvmCircuitInputs {
|
|
|
10468
10261
|
};
|
|
10469
10262
|
contractInstances: {
|
|
10470
10263
|
publicKeys: {
|
|
10471
|
-
masterNullifierPublicKey: string
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
masterIncomingViewingPublicKey: string | {
|
|
10476
|
-
x: string;
|
|
10477
|
-
y: string;
|
|
10478
|
-
};
|
|
10479
|
-
masterOutgoingViewingPublicKey: string | {
|
|
10480
|
-
x: string;
|
|
10481
|
-
y: string;
|
|
10482
|
-
};
|
|
10483
|
-
masterTaggingPublicKey: string | {
|
|
10484
|
-
x: string;
|
|
10485
|
-
y: string;
|
|
10486
|
-
};
|
|
10264
|
+
masterNullifierPublicKey: string;
|
|
10265
|
+
masterIncomingViewingPublicKey: string;
|
|
10266
|
+
masterOutgoingViewingPublicKey: string;
|
|
10267
|
+
masterTaggingPublicKey: string;
|
|
10487
10268
|
};
|
|
10488
10269
|
hintKey: number;
|
|
10489
10270
|
salt?: any;
|
|
@@ -11049,22 +10830,10 @@ export declare class AvmCircuitInputs {
|
|
|
11049
10830
|
};
|
|
11050
10831
|
contractInstances: {
|
|
11051
10832
|
publicKeys: {
|
|
11052
|
-
masterNullifierPublicKey: string
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
masterIncomingViewingPublicKey: string | {
|
|
11057
|
-
x: string;
|
|
11058
|
-
y: string;
|
|
11059
|
-
};
|
|
11060
|
-
masterOutgoingViewingPublicKey: string | {
|
|
11061
|
-
x: string;
|
|
11062
|
-
y: string;
|
|
11063
|
-
};
|
|
11064
|
-
masterTaggingPublicKey: string | {
|
|
11065
|
-
x: string;
|
|
11066
|
-
y: string;
|
|
11067
|
-
};
|
|
10833
|
+
masterNullifierPublicKey: string;
|
|
10834
|
+
masterIncomingViewingPublicKey: string;
|
|
10835
|
+
masterOutgoingViewingPublicKey: string;
|
|
10836
|
+
masterTaggingPublicKey: string;
|
|
11068
10837
|
};
|
|
11069
10838
|
hintKey: number;
|
|
11070
10839
|
salt?: any;
|
|
@@ -11388,6 +11157,7 @@ export declare class PublicTxResult {
|
|
|
11388
11157
|
processedPhases: ProcessedPhase[] | undefined, logs: DebugLog[] | undefined, hints: AvmExecutionHints | undefined, publicInputs: AvmCircuitPublicInputs);
|
|
11389
11158
|
static empty(): PublicTxResult;
|
|
11390
11159
|
static get schema(): ZodFor<PublicTxResult>;
|
|
11160
|
+
static fromPlainObject(obj: any): PublicTxResult;
|
|
11391
11161
|
}
|
|
11392
11162
|
export type PublicTxSimulatorConfig = {
|
|
11393
11163
|
proverId: Fr;
|
|
@@ -11533,7 +11303,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11533
11303
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11534
11304
|
contractAddress: ZodFor<AztecAddress>;
|
|
11535
11305
|
fields: z.ZodEffects<z.ZodObject<{
|
|
11536
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
11306
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11537
11307
|
}, "strip", z.ZodTypeAny, {
|
|
11538
11308
|
fields: Fr[];
|
|
11539
11309
|
}, {
|
|
@@ -11560,7 +11330,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11560
11330
|
contractAddress?: any;
|
|
11561
11331
|
}>, "many">;
|
|
11562
11332
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11563
|
-
fields: z.ZodArray<z.
|
|
11333
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11564
11334
|
emittedLength: z.ZodNumber;
|
|
11565
11335
|
}, "strict", z.ZodTypeAny, {
|
|
11566
11336
|
fields: Fr[];
|
|
@@ -11604,7 +11374,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11604
11374
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11605
11375
|
contractAddress: ZodFor<AztecAddress>;
|
|
11606
11376
|
fields: z.ZodEffects<z.ZodObject<{
|
|
11607
|
-
fields: z.ZodEffects<z.ZodArray<z.
|
|
11377
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11608
11378
|
}, "strip", z.ZodTypeAny, {
|
|
11609
11379
|
fields: Fr[];
|
|
11610
11380
|
}, {
|
|
@@ -11631,7 +11401,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11631
11401
|
contractAddress?: any;
|
|
11632
11402
|
}>, "many">;
|
|
11633
11403
|
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11634
|
-
fields: z.ZodArray<z.
|
|
11404
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11635
11405
|
emittedLength: z.ZodNumber;
|
|
11636
11406
|
}, "strict", z.ZodTypeAny, {
|
|
11637
11407
|
fields: Fr[];
|
|
@@ -11676,8 +11446,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11676
11446
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
11677
11447
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11678
11448
|
message: z.ZodEffects<z.ZodObject<{
|
|
11679
|
-
recipient: z.
|
|
11680
|
-
content: z.
|
|
11449
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
11450
|
+
content: z.ZodType<Fr, any, string>;
|
|
11681
11451
|
}, "strip", z.ZodTypeAny, {
|
|
11682
11452
|
content: Fr;
|
|
11683
11453
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
@@ -11725,8 +11495,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11725
11495
|
nullifiers: z.ZodArray<ZodFor<Fr>, "many">;
|
|
11726
11496
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11727
11497
|
message: z.ZodEffects<z.ZodObject<{
|
|
11728
|
-
recipient: z.
|
|
11729
|
-
content: z.
|
|
11498
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
11499
|
+
content: z.ZodType<Fr, any, string>;
|
|
11730
11500
|
}, "strip", z.ZodTypeAny, {
|
|
11731
11501
|
content: Fr;
|
|
11732
11502
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|