@aztec/stdlib 3.0.0-nightly.20251111 → 3.0.0-nightly.20251113
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 +780 -1010
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +209 -15
- 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 +308 -464
- 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/file-store/http.d.ts.map +1 -1
- package/dest/file-store/http.js +8 -3
- package/dest/file-store/s3.d.ts.map +1 -1
- package/dest/file-store/s3.js +3 -7
- 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 +336 -492
- 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/tests/factories.d.ts +4 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +14 -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 +362 -15
- 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/file-store/http.ts +6 -3
- package/src/file-store/s3.ts +3 -7
- 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/tests/factories.ts +45 -0
- 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;
|
|
@@ -1755,12 +1763,15 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1755
1763
|
};
|
|
1756
1764
|
}>;
|
|
1757
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1758
|
-
stateAfter: TreeSnapshots;
|
|
1759
1766
|
actionCounter: number;
|
|
1760
1767
|
oldCheckpointId: number;
|
|
1761
1768
|
newCheckpointId: number;
|
|
1769
|
+
stateAfter: TreeSnapshots;
|
|
1762
1770
|
stateBefore: TreeSnapshots;
|
|
1763
1771
|
}, {
|
|
1772
|
+
actionCounter: number;
|
|
1773
|
+
oldCheckpointId: number;
|
|
1774
|
+
newCheckpointId: number;
|
|
1764
1775
|
stateAfter: {
|
|
1765
1776
|
noteHashTree: {
|
|
1766
1777
|
root: string;
|
|
@@ -1779,9 +1790,6 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1779
1790
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1780
1791
|
};
|
|
1781
1792
|
};
|
|
1782
|
-
actionCounter: number;
|
|
1783
|
-
oldCheckpointId: number;
|
|
1784
|
-
newCheckpointId: number;
|
|
1785
1793
|
stateBefore: {
|
|
1786
1794
|
noteHashTree: {
|
|
1787
1795
|
root: string;
|
|
@@ -1801,6 +1809,9 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1801
1809
|
};
|
|
1802
1810
|
};
|
|
1803
1811
|
}>, AvmRevertCheckpointHint, {
|
|
1812
|
+
actionCounter: number;
|
|
1813
|
+
oldCheckpointId: number;
|
|
1814
|
+
newCheckpointId: number;
|
|
1804
1815
|
stateAfter: {
|
|
1805
1816
|
noteHashTree: {
|
|
1806
1817
|
root: string;
|
|
@@ -1819,9 +1830,6 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1819
1830
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1820
1831
|
};
|
|
1821
1832
|
};
|
|
1822
|
-
actionCounter: number;
|
|
1823
|
-
oldCheckpointId: number;
|
|
1824
|
-
newCheckpointId: number;
|
|
1825
1833
|
stateBefore: {
|
|
1826
1834
|
noteHashTree: {
|
|
1827
1835
|
root: string;
|
|
@@ -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;
|
|
@@ -2436,6 +2460,9 @@ export declare class AvmExecutionHints {
|
|
|
2436
2460
|
readonly contractClasses: AvmContractClassHint[];
|
|
2437
2461
|
readonly bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
2438
2462
|
readonly debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
2463
|
+
readonly contractDBCreateCheckpointHints: AvmContractDBCreateCheckpointHint[];
|
|
2464
|
+
readonly contractDBCommitCheckpointHints: AvmContractDBCommitCheckpointHint[];
|
|
2465
|
+
readonly contractDBRevertCheckpointHints: AvmContractDBRevertCheckpointHint[];
|
|
2439
2466
|
startingTreeRoots: TreeSnapshots;
|
|
2440
2467
|
readonly getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
2441
2468
|
readonly getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -2448,10 +2475,15 @@ export declare class AvmExecutionHints {
|
|
|
2448
2475
|
readonly createCheckpointHints: AvmCreateCheckpointHint[];
|
|
2449
2476
|
readonly commitCheckpointHints: AvmCommitCheckpointHint[];
|
|
2450
2477
|
readonly revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
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;
|
|
@@ -3287,9 +3223,60 @@ export declare class AvmExecutionHints {
|
|
|
3287
3223
|
selector?: any;
|
|
3288
3224
|
address?: any;
|
|
3289
3225
|
}>, "many">;
|
|
3226
|
+
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3227
|
+
actionCounter: z.ZodNumber;
|
|
3228
|
+
oldCheckpointId: z.ZodNumber;
|
|
3229
|
+
newCheckpointId: z.ZodNumber;
|
|
3230
|
+
}, "strip", z.ZodTypeAny, {
|
|
3231
|
+
actionCounter: number;
|
|
3232
|
+
oldCheckpointId: number;
|
|
3233
|
+
newCheckpointId: number;
|
|
3234
|
+
}, {
|
|
3235
|
+
actionCounter: number;
|
|
3236
|
+
oldCheckpointId: number;
|
|
3237
|
+
newCheckpointId: number;
|
|
3238
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
3239
|
+
actionCounter: number;
|
|
3240
|
+
oldCheckpointId: number;
|
|
3241
|
+
newCheckpointId: number;
|
|
3242
|
+
}>, "many">;
|
|
3243
|
+
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3244
|
+
actionCounter: z.ZodNumber;
|
|
3245
|
+
oldCheckpointId: z.ZodNumber;
|
|
3246
|
+
newCheckpointId: z.ZodNumber;
|
|
3247
|
+
}, "strip", z.ZodTypeAny, {
|
|
3248
|
+
actionCounter: number;
|
|
3249
|
+
oldCheckpointId: number;
|
|
3250
|
+
newCheckpointId: number;
|
|
3251
|
+
}, {
|
|
3252
|
+
actionCounter: number;
|
|
3253
|
+
oldCheckpointId: number;
|
|
3254
|
+
newCheckpointId: number;
|
|
3255
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
3256
|
+
actionCounter: number;
|
|
3257
|
+
oldCheckpointId: number;
|
|
3258
|
+
newCheckpointId: number;
|
|
3259
|
+
}>, "many">;
|
|
3260
|
+
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3261
|
+
actionCounter: z.ZodNumber;
|
|
3262
|
+
oldCheckpointId: z.ZodNumber;
|
|
3263
|
+
newCheckpointId: z.ZodNumber;
|
|
3264
|
+
}, "strip", z.ZodTypeAny, {
|
|
3265
|
+
actionCounter: number;
|
|
3266
|
+
oldCheckpointId: number;
|
|
3267
|
+
newCheckpointId: number;
|
|
3268
|
+
}, {
|
|
3269
|
+
actionCounter: number;
|
|
3270
|
+
oldCheckpointId: number;
|
|
3271
|
+
newCheckpointId: number;
|
|
3272
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
3273
|
+
actionCounter: number;
|
|
3274
|
+
oldCheckpointId: number;
|
|
3275
|
+
newCheckpointId: number;
|
|
3276
|
+
}>, "many">;
|
|
3290
3277
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
3291
3278
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
3292
|
-
root: z.
|
|
3279
|
+
root: z.ZodType<Fr, any, string>;
|
|
3293
3280
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3294
3281
|
}, "strip", z.ZodTypeAny, {
|
|
3295
3282
|
root: Fr;
|
|
@@ -3302,7 +3289,7 @@ export declare class AvmExecutionHints {
|
|
|
3302
3289
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3303
3290
|
}>;
|
|
3304
3291
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
3305
|
-
root: z.
|
|
3292
|
+
root: z.ZodType<Fr, any, string>;
|
|
3306
3293
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3307
3294
|
}, "strip", z.ZodTypeAny, {
|
|
3308
3295
|
root: Fr;
|
|
@@ -3315,7 +3302,7 @@ export declare class AvmExecutionHints {
|
|
|
3315
3302
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3316
3303
|
}>;
|
|
3317
3304
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
3318
|
-
root: z.
|
|
3305
|
+
root: z.ZodType<Fr, any, string>;
|
|
3319
3306
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3320
3307
|
}, "strip", z.ZodTypeAny, {
|
|
3321
3308
|
root: Fr;
|
|
@@ -3328,7 +3315,7 @@ export declare class AvmExecutionHints {
|
|
|
3328
3315
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3329
3316
|
}>;
|
|
3330
3317
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
3331
|
-
root: z.
|
|
3318
|
+
root: z.ZodType<Fr, any, string>;
|
|
3332
3319
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3333
3320
|
}, "strip", z.ZodTypeAny, {
|
|
3334
3321
|
root: Fr;
|
|
@@ -3382,7 +3369,7 @@ export declare class AvmExecutionHints {
|
|
|
3382
3369
|
}>;
|
|
3383
3370
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3384
3371
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3385
|
-
root: z.
|
|
3372
|
+
root: z.ZodType<Fr, any, string>;
|
|
3386
3373
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3387
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3388
3375
|
root: Fr;
|
|
@@ -3421,7 +3408,7 @@ export declare class AvmExecutionHints {
|
|
|
3421
3408
|
}>, "many">;
|
|
3422
3409
|
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3423
3410
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3424
|
-
root: z.
|
|
3411
|
+
root: z.ZodType<Fr, any, string>;
|
|
3425
3412
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3426
3413
|
}, "strip", z.ZodTypeAny, {
|
|
3427
3414
|
root: Fr;
|
|
@@ -3464,7 +3451,7 @@ export declare class AvmExecutionHints {
|
|
|
3464
3451
|
}>, "many">;
|
|
3465
3452
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3466
3453
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3467
|
-
root: z.
|
|
3454
|
+
root: z.ZodType<Fr, any, string>;
|
|
3468
3455
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3469
3456
|
}, "strip", z.ZodTypeAny, {
|
|
3470
3457
|
root: Fr;
|
|
@@ -3479,18 +3466,18 @@ export declare class AvmExecutionHints {
|
|
|
3479
3466
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3480
3467
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
3481
3468
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3482
|
-
nullifier: z.
|
|
3469
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3483
3470
|
}, "strip", z.ZodTypeAny, {
|
|
3484
3471
|
nullifier: Fr;
|
|
3485
3472
|
}, {
|
|
3486
3473
|
nullifier: string;
|
|
3487
|
-
}>,
|
|
3474
|
+
}>, NullifierLeaf, {
|
|
3488
3475
|
nullifier: string;
|
|
3489
3476
|
}>;
|
|
3490
|
-
nextKey: z.
|
|
3477
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3491
3478
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3492
3479
|
}, "strip", z.ZodTypeAny, {
|
|
3493
|
-
leaf:
|
|
3480
|
+
leaf: NullifierLeaf;
|
|
3494
3481
|
nextKey: Fr;
|
|
3495
3482
|
nextIndex: bigint;
|
|
3496
3483
|
}, {
|
|
@@ -3507,22 +3494,22 @@ export declare class AvmExecutionHints {
|
|
|
3507
3494
|
nextIndex: string | number | bigint;
|
|
3508
3495
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3509
3496
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3510
|
-
slot: z.
|
|
3511
|
-
value: z.
|
|
3497
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3498
|
+
value: z.ZodType<Fr, any, string>;
|
|
3512
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3513
3500
|
value: Fr;
|
|
3514
3501
|
slot: Fr;
|
|
3515
3502
|
}, {
|
|
3516
3503
|
value: string;
|
|
3517
3504
|
slot: string;
|
|
3518
|
-
}>,
|
|
3505
|
+
}>, PublicDataTreeLeaf, {
|
|
3519
3506
|
value: string;
|
|
3520
3507
|
slot: string;
|
|
3521
3508
|
}>;
|
|
3522
|
-
nextKey: z.
|
|
3509
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3523
3510
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3524
3511
|
}, "strip", z.ZodTypeAny, {
|
|
3525
|
-
leaf:
|
|
3512
|
+
leaf: PublicDataTreeLeaf;
|
|
3526
3513
|
nextKey: Fr;
|
|
3527
3514
|
nextIndex: bigint;
|
|
3528
3515
|
}, {
|
|
@@ -3591,7 +3578,7 @@ export declare class AvmExecutionHints {
|
|
|
3591
3578
|
}>, "many">;
|
|
3592
3579
|
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3593
3580
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3594
|
-
root: z.
|
|
3581
|
+
root: z.ZodType<Fr, any, string>;
|
|
3595
3582
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3596
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3597
3584
|
root: Fr;
|
|
@@ -3606,18 +3593,18 @@ export declare class AvmExecutionHints {
|
|
|
3606
3593
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3607
3594
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
3608
3595
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3609
|
-
nullifier: z.
|
|
3596
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3610
3597
|
}, "strip", z.ZodTypeAny, {
|
|
3611
3598
|
nullifier: Fr;
|
|
3612
3599
|
}, {
|
|
3613
3600
|
nullifier: string;
|
|
3614
|
-
}>,
|
|
3601
|
+
}>, NullifierLeaf, {
|
|
3615
3602
|
nullifier: string;
|
|
3616
3603
|
}>;
|
|
3617
|
-
nextKey: z.
|
|
3604
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3618
3605
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3619
3606
|
}, "strip", z.ZodTypeAny, {
|
|
3620
|
-
leaf:
|
|
3607
|
+
leaf: NullifierLeaf;
|
|
3621
3608
|
nextKey: Fr;
|
|
3622
3609
|
nextIndex: bigint;
|
|
3623
3610
|
}, {
|
|
@@ -3634,22 +3621,22 @@ export declare class AvmExecutionHints {
|
|
|
3634
3621
|
nextIndex: string | number | bigint;
|
|
3635
3622
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3636
3623
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3637
|
-
slot: z.
|
|
3638
|
-
value: z.
|
|
3624
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3625
|
+
value: z.ZodType<Fr, any, string>;
|
|
3639
3626
|
}, "strip", z.ZodTypeAny, {
|
|
3640
3627
|
value: Fr;
|
|
3641
3628
|
slot: Fr;
|
|
3642
3629
|
}, {
|
|
3643
3630
|
value: string;
|
|
3644
3631
|
slot: string;
|
|
3645
|
-
}>,
|
|
3632
|
+
}>, PublicDataTreeLeaf, {
|
|
3646
3633
|
value: string;
|
|
3647
3634
|
slot: string;
|
|
3648
3635
|
}>;
|
|
3649
|
-
nextKey: z.
|
|
3636
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3650
3637
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3651
3638
|
}, "strip", z.ZodTypeAny, {
|
|
3652
|
-
leaf:
|
|
3639
|
+
leaf: PublicDataTreeLeaf;
|
|
3653
3640
|
nextKey: Fr;
|
|
3654
3641
|
nextIndex: bigint;
|
|
3655
3642
|
}, {
|
|
@@ -3718,7 +3705,7 @@ export declare class AvmExecutionHints {
|
|
|
3718
3705
|
}>, "many">;
|
|
3719
3706
|
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3720
3707
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3721
|
-
root: z.
|
|
3708
|
+
root: z.ZodType<Fr, any, string>;
|
|
3722
3709
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3723
3710
|
}, "strip", z.ZodTypeAny, {
|
|
3724
3711
|
root: Fr;
|
|
@@ -3757,7 +3744,7 @@ export declare class AvmExecutionHints {
|
|
|
3757
3744
|
}>, "many">;
|
|
3758
3745
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3759
3746
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
3760
|
-
root: z.
|
|
3747
|
+
root: z.ZodType<Fr, any, string>;
|
|
3761
3748
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3762
3749
|
}, "strip", z.ZodTypeAny, {
|
|
3763
3750
|
root: Fr;
|
|
@@ -3770,7 +3757,7 @@ export declare class AvmExecutionHints {
|
|
|
3770
3757
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3771
3758
|
}>;
|
|
3772
3759
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
3773
|
-
root: z.
|
|
3760
|
+
root: z.ZodType<Fr, any, string>;
|
|
3774
3761
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
3775
3762
|
}, "strip", z.ZodTypeAny, {
|
|
3776
3763
|
root: Fr;
|
|
@@ -3784,41 +3771,41 @@ export declare class AvmExecutionHints {
|
|
|
3784
3771
|
}>;
|
|
3785
3772
|
treeId: z.ZodNumber;
|
|
3786
3773
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3787
|
-
nullifier: z.
|
|
3774
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3788
3775
|
}, "strip", z.ZodTypeAny, {
|
|
3789
3776
|
nullifier: Fr;
|
|
3790
3777
|
}, {
|
|
3791
3778
|
nullifier: string;
|
|
3792
|
-
}>,
|
|
3779
|
+
}>, NullifierLeaf, {
|
|
3793
3780
|
nullifier: string;
|
|
3794
3781
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3795
|
-
slot: z.
|
|
3796
|
-
value: z.
|
|
3782
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3783
|
+
value: z.ZodType<Fr, any, string>;
|
|
3797
3784
|
}, "strip", z.ZodTypeAny, {
|
|
3798
3785
|
value: Fr;
|
|
3799
3786
|
slot: Fr;
|
|
3800
3787
|
}, {
|
|
3801
3788
|
value: string;
|
|
3802
3789
|
slot: string;
|
|
3803
|
-
}>,
|
|
3790
|
+
}>, PublicDataTreeLeaf, {
|
|
3804
3791
|
value: string;
|
|
3805
3792
|
slot: string;
|
|
3806
3793
|
}>;
|
|
3807
3794
|
lowLeavesWitnessData: z.ZodObject<{
|
|
3808
3795
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3809
3796
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3810
|
-
nullifier: z.
|
|
3797
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3811
3798
|
}, "strip", z.ZodTypeAny, {
|
|
3812
3799
|
nullifier: Fr;
|
|
3813
3800
|
}, {
|
|
3814
3801
|
nullifier: string;
|
|
3815
|
-
}>,
|
|
3802
|
+
}>, NullifierLeaf, {
|
|
3816
3803
|
nullifier: string;
|
|
3817
3804
|
}>;
|
|
3818
|
-
nextKey: z.
|
|
3805
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3819
3806
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3820
3807
|
}, "strip", z.ZodTypeAny, {
|
|
3821
|
-
leaf:
|
|
3808
|
+
leaf: NullifierLeaf;
|
|
3822
3809
|
nextKey: Fr;
|
|
3823
3810
|
nextIndex: bigint;
|
|
3824
3811
|
}, {
|
|
@@ -3835,22 +3822,22 @@ export declare class AvmExecutionHints {
|
|
|
3835
3822
|
nextIndex: string | number | bigint;
|
|
3836
3823
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3837
3824
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3838
|
-
slot: z.
|
|
3839
|
-
value: z.
|
|
3825
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3826
|
+
value: z.ZodType<Fr, any, string>;
|
|
3840
3827
|
}, "strip", z.ZodTypeAny, {
|
|
3841
3828
|
value: Fr;
|
|
3842
3829
|
slot: Fr;
|
|
3843
3830
|
}, {
|
|
3844
3831
|
value: string;
|
|
3845
3832
|
slot: string;
|
|
3846
|
-
}>,
|
|
3833
|
+
}>, PublicDataTreeLeaf, {
|
|
3847
3834
|
value: string;
|
|
3848
3835
|
slot: string;
|
|
3849
3836
|
}>;
|
|
3850
|
-
nextKey: z.
|
|
3837
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3851
3838
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3852
3839
|
}, "strip", z.ZodTypeAny, {
|
|
3853
|
-
leaf:
|
|
3840
|
+
leaf: PublicDataTreeLeaf;
|
|
3854
3841
|
nextKey: Fr;
|
|
3855
3842
|
nextIndex: bigint;
|
|
3856
3843
|
}, {
|
|
@@ -3895,18 +3882,18 @@ export declare class AvmExecutionHints {
|
|
|
3895
3882
|
insertionWitnessData: z.ZodObject<{
|
|
3896
3883
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3897
3884
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3898
|
-
nullifier: z.
|
|
3885
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
3899
3886
|
}, "strip", z.ZodTypeAny, {
|
|
3900
3887
|
nullifier: Fr;
|
|
3901
3888
|
}, {
|
|
3902
3889
|
nullifier: string;
|
|
3903
|
-
}>,
|
|
3890
|
+
}>, NullifierLeaf, {
|
|
3904
3891
|
nullifier: string;
|
|
3905
3892
|
}>;
|
|
3906
|
-
nextKey: z.
|
|
3893
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3907
3894
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3908
3895
|
}, "strip", z.ZodTypeAny, {
|
|
3909
|
-
leaf:
|
|
3896
|
+
leaf: NullifierLeaf;
|
|
3910
3897
|
nextKey: Fr;
|
|
3911
3898
|
nextIndex: bigint;
|
|
3912
3899
|
}, {
|
|
@@ -3923,22 +3910,22 @@ export declare class AvmExecutionHints {
|
|
|
3923
3910
|
nextIndex: string | number | bigint;
|
|
3924
3911
|
}> | z.ZodEffects<z.ZodObject<{
|
|
3925
3912
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
3926
|
-
slot: z.
|
|
3927
|
-
value: z.
|
|
3913
|
+
slot: z.ZodType<Fr, any, string>;
|
|
3914
|
+
value: z.ZodType<Fr, any, string>;
|
|
3928
3915
|
}, "strip", z.ZodTypeAny, {
|
|
3929
3916
|
value: Fr;
|
|
3930
3917
|
slot: Fr;
|
|
3931
3918
|
}, {
|
|
3932
3919
|
value: string;
|
|
3933
3920
|
slot: string;
|
|
3934
|
-
}>,
|
|
3921
|
+
}>, PublicDataTreeLeaf, {
|
|
3935
3922
|
value: string;
|
|
3936
3923
|
slot: string;
|
|
3937
3924
|
}>;
|
|
3938
|
-
nextKey: z.
|
|
3925
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
3939
3926
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3940
3927
|
}, "strip", z.ZodTypeAny, {
|
|
3941
|
-
leaf:
|
|
3928
|
+
leaf: PublicDataTreeLeaf;
|
|
3942
3929
|
nextKey: Fr;
|
|
3943
3930
|
nextIndex: bigint;
|
|
3944
3931
|
}, {
|
|
@@ -3981,7 +3968,7 @@ export declare class AvmExecutionHints {
|
|
|
3981
3968
|
};
|
|
3982
3969
|
}>;
|
|
3983
3970
|
}, "strip", z.ZodTypeAny, {
|
|
3984
|
-
leaf:
|
|
3971
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
3985
3972
|
hintKey: AppendOnlyTreeSnapshot;
|
|
3986
3973
|
treeId: number;
|
|
3987
3974
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -4117,7 +4104,7 @@ export declare class AvmExecutionHints {
|
|
|
4117
4104
|
}>, "many">;
|
|
4118
4105
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4119
4106
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
4120
|
-
root: z.
|
|
4107
|
+
root: z.ZodType<Fr, any, string>;
|
|
4121
4108
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4122
4109
|
}, "strip", z.ZodTypeAny, {
|
|
4123
4110
|
root: Fr;
|
|
@@ -4130,7 +4117,7 @@ export declare class AvmExecutionHints {
|
|
|
4130
4117
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4131
4118
|
}>;
|
|
4132
4119
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4133
|
-
root: z.
|
|
4120
|
+
root: z.ZodType<Fr, any, string>;
|
|
4134
4121
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4135
4122
|
}, "strip", z.ZodTypeAny, {
|
|
4136
4123
|
root: Fr;
|
|
@@ -4144,41 +4131,41 @@ export declare class AvmExecutionHints {
|
|
|
4144
4131
|
}>;
|
|
4145
4132
|
treeId: z.ZodNumber;
|
|
4146
4133
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4147
|
-
nullifier: z.
|
|
4134
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4148
4135
|
}, "strip", z.ZodTypeAny, {
|
|
4149
4136
|
nullifier: Fr;
|
|
4150
4137
|
}, {
|
|
4151
4138
|
nullifier: string;
|
|
4152
|
-
}>,
|
|
4139
|
+
}>, NullifierLeaf, {
|
|
4153
4140
|
nullifier: string;
|
|
4154
4141
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4155
|
-
slot: z.
|
|
4156
|
-
value: z.
|
|
4142
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4143
|
+
value: z.ZodType<Fr, any, string>;
|
|
4157
4144
|
}, "strip", z.ZodTypeAny, {
|
|
4158
4145
|
value: Fr;
|
|
4159
4146
|
slot: Fr;
|
|
4160
4147
|
}, {
|
|
4161
4148
|
value: string;
|
|
4162
4149
|
slot: string;
|
|
4163
|
-
}>,
|
|
4150
|
+
}>, PublicDataTreeLeaf, {
|
|
4164
4151
|
value: string;
|
|
4165
4152
|
slot: string;
|
|
4166
4153
|
}>;
|
|
4167
4154
|
lowLeavesWitnessData: z.ZodObject<{
|
|
4168
4155
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4169
4156
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4170
|
-
nullifier: z.
|
|
4157
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4171
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4172
4159
|
nullifier: Fr;
|
|
4173
4160
|
}, {
|
|
4174
4161
|
nullifier: string;
|
|
4175
|
-
}>,
|
|
4162
|
+
}>, NullifierLeaf, {
|
|
4176
4163
|
nullifier: string;
|
|
4177
4164
|
}>;
|
|
4178
|
-
nextKey: z.
|
|
4165
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4179
4166
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4180
4167
|
}, "strip", z.ZodTypeAny, {
|
|
4181
|
-
leaf:
|
|
4168
|
+
leaf: NullifierLeaf;
|
|
4182
4169
|
nextKey: Fr;
|
|
4183
4170
|
nextIndex: bigint;
|
|
4184
4171
|
}, {
|
|
@@ -4195,22 +4182,22 @@ export declare class AvmExecutionHints {
|
|
|
4195
4182
|
nextIndex: string | number | bigint;
|
|
4196
4183
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4197
4184
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4198
|
-
slot: z.
|
|
4199
|
-
value: z.
|
|
4185
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4186
|
+
value: z.ZodType<Fr, any, string>;
|
|
4200
4187
|
}, "strip", z.ZodTypeAny, {
|
|
4201
4188
|
value: Fr;
|
|
4202
4189
|
slot: Fr;
|
|
4203
4190
|
}, {
|
|
4204
4191
|
value: string;
|
|
4205
4192
|
slot: string;
|
|
4206
|
-
}>,
|
|
4193
|
+
}>, PublicDataTreeLeaf, {
|
|
4207
4194
|
value: string;
|
|
4208
4195
|
slot: string;
|
|
4209
4196
|
}>;
|
|
4210
|
-
nextKey: z.
|
|
4197
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4211
4198
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4212
4199
|
}, "strip", z.ZodTypeAny, {
|
|
4213
|
-
leaf:
|
|
4200
|
+
leaf: PublicDataTreeLeaf;
|
|
4214
4201
|
nextKey: Fr;
|
|
4215
4202
|
nextIndex: bigint;
|
|
4216
4203
|
}, {
|
|
@@ -4255,18 +4242,18 @@ export declare class AvmExecutionHints {
|
|
|
4255
4242
|
insertionWitnessData: z.ZodObject<{
|
|
4256
4243
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4257
4244
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4258
|
-
nullifier: z.
|
|
4245
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
4259
4246
|
}, "strip", z.ZodTypeAny, {
|
|
4260
4247
|
nullifier: Fr;
|
|
4261
4248
|
}, {
|
|
4262
4249
|
nullifier: string;
|
|
4263
|
-
}>,
|
|
4250
|
+
}>, NullifierLeaf, {
|
|
4264
4251
|
nullifier: string;
|
|
4265
4252
|
}>;
|
|
4266
|
-
nextKey: z.
|
|
4253
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4267
4254
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4268
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4269
|
-
leaf:
|
|
4256
|
+
leaf: NullifierLeaf;
|
|
4270
4257
|
nextKey: Fr;
|
|
4271
4258
|
nextIndex: bigint;
|
|
4272
4259
|
}, {
|
|
@@ -4283,22 +4270,22 @@ export declare class AvmExecutionHints {
|
|
|
4283
4270
|
nextIndex: string | number | bigint;
|
|
4284
4271
|
}> | z.ZodEffects<z.ZodObject<{
|
|
4285
4272
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
4286
|
-
slot: z.
|
|
4287
|
-
value: z.
|
|
4273
|
+
slot: z.ZodType<Fr, any, string>;
|
|
4274
|
+
value: z.ZodType<Fr, any, string>;
|
|
4288
4275
|
}, "strip", z.ZodTypeAny, {
|
|
4289
4276
|
value: Fr;
|
|
4290
4277
|
slot: Fr;
|
|
4291
4278
|
}, {
|
|
4292
4279
|
value: string;
|
|
4293
4280
|
slot: string;
|
|
4294
|
-
}>,
|
|
4281
|
+
}>, PublicDataTreeLeaf, {
|
|
4295
4282
|
value: string;
|
|
4296
4283
|
slot: string;
|
|
4297
4284
|
}>;
|
|
4298
|
-
nextKey: z.
|
|
4285
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
4299
4286
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4300
4287
|
}, "strip", z.ZodTypeAny, {
|
|
4301
|
-
leaf:
|
|
4288
|
+
leaf: PublicDataTreeLeaf;
|
|
4302
4289
|
nextKey: Fr;
|
|
4303
4290
|
nextIndex: bigint;
|
|
4304
4291
|
}, {
|
|
@@ -4341,7 +4328,7 @@ export declare class AvmExecutionHints {
|
|
|
4341
4328
|
};
|
|
4342
4329
|
}>;
|
|
4343
4330
|
}, "strip", z.ZodTypeAny, {
|
|
4344
|
-
leaf:
|
|
4331
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
4345
4332
|
hintKey: AppendOnlyTreeSnapshot;
|
|
4346
4333
|
treeId: number;
|
|
4347
4334
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -4477,7 +4464,7 @@ export declare class AvmExecutionHints {
|
|
|
4477
4464
|
}>, "many">;
|
|
4478
4465
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4479
4466
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
4480
|
-
root: z.
|
|
4467
|
+
root: z.ZodType<Fr, any, string>;
|
|
4481
4468
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4482
4469
|
}, "strip", z.ZodTypeAny, {
|
|
4483
4470
|
root: Fr;
|
|
@@ -4490,7 +4477,7 @@ export declare class AvmExecutionHints {
|
|
|
4490
4477
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4491
4478
|
}>;
|
|
4492
4479
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4493
|
-
root: z.
|
|
4480
|
+
root: z.ZodType<Fr, any, string>;
|
|
4494
4481
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4495
4482
|
}, "strip", z.ZodTypeAny, {
|
|
4496
4483
|
root: Fr;
|
|
@@ -4572,7 +4559,7 @@ export declare class AvmExecutionHints {
|
|
|
4572
4559
|
newCheckpointId: z.ZodNumber;
|
|
4573
4560
|
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
4574
4561
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
4575
|
-
root: z.
|
|
4562
|
+
root: z.ZodType<Fr, any, string>;
|
|
4576
4563
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4577
4564
|
}, "strip", z.ZodTypeAny, {
|
|
4578
4565
|
root: Fr;
|
|
@@ -4585,7 +4572,7 @@ export declare class AvmExecutionHints {
|
|
|
4585
4572
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4586
4573
|
}>;
|
|
4587
4574
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
4588
|
-
root: z.
|
|
4575
|
+
root: z.ZodType<Fr, any, string>;
|
|
4589
4576
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4590
4577
|
}, "strip", z.ZodTypeAny, {
|
|
4591
4578
|
root: Fr;
|
|
@@ -4598,7 +4585,7 @@ export declare class AvmExecutionHints {
|
|
|
4598
4585
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4599
4586
|
}>;
|
|
4600
4587
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
4601
|
-
root: z.
|
|
4588
|
+
root: z.ZodType<Fr, any, string>;
|
|
4602
4589
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4603
4590
|
}, "strip", z.ZodTypeAny, {
|
|
4604
4591
|
root: Fr;
|
|
@@ -4611,7 +4598,7 @@ export declare class AvmExecutionHints {
|
|
|
4611
4598
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4612
4599
|
}>;
|
|
4613
4600
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
4614
|
-
root: z.
|
|
4601
|
+
root: z.ZodType<Fr, any, string>;
|
|
4615
4602
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4616
4603
|
}, "strip", z.ZodTypeAny, {
|
|
4617
4604
|
root: Fr;
|
|
@@ -4665,7 +4652,7 @@ export declare class AvmExecutionHints {
|
|
|
4665
4652
|
}>;
|
|
4666
4653
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
4667
4654
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
4668
|
-
root: z.
|
|
4655
|
+
root: z.ZodType<Fr, any, string>;
|
|
4669
4656
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4670
4657
|
}, "strip", z.ZodTypeAny, {
|
|
4671
4658
|
root: Fr;
|
|
@@ -4678,7 +4665,7 @@ export declare class AvmExecutionHints {
|
|
|
4678
4665
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4679
4666
|
}>;
|
|
4680
4667
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
4681
|
-
root: z.
|
|
4668
|
+
root: z.ZodType<Fr, any, string>;
|
|
4682
4669
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4683
4670
|
}, "strip", z.ZodTypeAny, {
|
|
4684
4671
|
root: Fr;
|
|
@@ -4691,7 +4678,7 @@ export declare class AvmExecutionHints {
|
|
|
4691
4678
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4692
4679
|
}>;
|
|
4693
4680
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
4694
|
-
root: z.
|
|
4681
|
+
root: z.ZodType<Fr, any, string>;
|
|
4695
4682
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4696
4683
|
}, "strip", z.ZodTypeAny, {
|
|
4697
4684
|
root: Fr;
|
|
@@ -4704,7 +4691,7 @@ export declare class AvmExecutionHints {
|
|
|
4704
4691
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4705
4692
|
}>;
|
|
4706
4693
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
4707
|
-
root: z.
|
|
4694
|
+
root: z.ZodType<Fr, any, string>;
|
|
4708
4695
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4709
4696
|
}, "strip", z.ZodTypeAny, {
|
|
4710
4697
|
root: Fr;
|
|
@@ -4757,12 +4744,15 @@ export declare class AvmExecutionHints {
|
|
|
4757
4744
|
};
|
|
4758
4745
|
}>;
|
|
4759
4746
|
}, "strip", z.ZodTypeAny, {
|
|
4760
|
-
stateAfter: TreeSnapshots;
|
|
4761
4747
|
actionCounter: number;
|
|
4762
4748
|
oldCheckpointId: number;
|
|
4763
4749
|
newCheckpointId: number;
|
|
4750
|
+
stateAfter: TreeSnapshots;
|
|
4764
4751
|
stateBefore: TreeSnapshots;
|
|
4765
4752
|
}, {
|
|
4753
|
+
actionCounter: number;
|
|
4754
|
+
oldCheckpointId: number;
|
|
4755
|
+
newCheckpointId: number;
|
|
4766
4756
|
stateAfter: {
|
|
4767
4757
|
noteHashTree: {
|
|
4768
4758
|
root: string;
|
|
@@ -4781,9 +4771,6 @@ export declare class AvmExecutionHints {
|
|
|
4781
4771
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4782
4772
|
};
|
|
4783
4773
|
};
|
|
4784
|
-
actionCounter: number;
|
|
4785
|
-
oldCheckpointId: number;
|
|
4786
|
-
newCheckpointId: number;
|
|
4787
4774
|
stateBefore: {
|
|
4788
4775
|
noteHashTree: {
|
|
4789
4776
|
root: string;
|
|
@@ -4803,6 +4790,9 @@ export declare class AvmExecutionHints {
|
|
|
4803
4790
|
};
|
|
4804
4791
|
};
|
|
4805
4792
|
}>, AvmRevertCheckpointHint, {
|
|
4793
|
+
actionCounter: number;
|
|
4794
|
+
oldCheckpointId: number;
|
|
4795
|
+
newCheckpointId: number;
|
|
4806
4796
|
stateAfter: {
|
|
4807
4797
|
noteHashTree: {
|
|
4808
4798
|
root: string;
|
|
@@ -4821,9 +4811,6 @@ export declare class AvmExecutionHints {
|
|
|
4821
4811
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4822
4812
|
};
|
|
4823
4813
|
};
|
|
4824
|
-
actionCounter: number;
|
|
4825
|
-
oldCheckpointId: number;
|
|
4826
|
-
newCheckpointId: number;
|
|
4827
4814
|
stateBefore: {
|
|
4828
4815
|
noteHashTree: {
|
|
4829
4816
|
root: string;
|
|
@@ -4843,57 +4830,6 @@ export declare class AvmExecutionHints {
|
|
|
4843
4830
|
};
|
|
4844
4831
|
};
|
|
4845
4832
|
}>, "many">;
|
|
4846
|
-
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4847
|
-
actionCounter: z.ZodNumber;
|
|
4848
|
-
oldCheckpointId: z.ZodNumber;
|
|
4849
|
-
newCheckpointId: z.ZodNumber;
|
|
4850
|
-
}, "strip", z.ZodTypeAny, {
|
|
4851
|
-
actionCounter: number;
|
|
4852
|
-
oldCheckpointId: number;
|
|
4853
|
-
newCheckpointId: number;
|
|
4854
|
-
}, {
|
|
4855
|
-
actionCounter: number;
|
|
4856
|
-
oldCheckpointId: number;
|
|
4857
|
-
newCheckpointId: number;
|
|
4858
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4859
|
-
actionCounter: number;
|
|
4860
|
-
oldCheckpointId: number;
|
|
4861
|
-
newCheckpointId: number;
|
|
4862
|
-
}>, "many">;
|
|
4863
|
-
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4864
|
-
actionCounter: z.ZodNumber;
|
|
4865
|
-
oldCheckpointId: z.ZodNumber;
|
|
4866
|
-
newCheckpointId: z.ZodNumber;
|
|
4867
|
-
}, "strip", z.ZodTypeAny, {
|
|
4868
|
-
actionCounter: number;
|
|
4869
|
-
oldCheckpointId: number;
|
|
4870
|
-
newCheckpointId: number;
|
|
4871
|
-
}, {
|
|
4872
|
-
actionCounter: number;
|
|
4873
|
-
oldCheckpointId: number;
|
|
4874
|
-
newCheckpointId: number;
|
|
4875
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4876
|
-
actionCounter: number;
|
|
4877
|
-
oldCheckpointId: number;
|
|
4878
|
-
newCheckpointId: number;
|
|
4879
|
-
}>, "many">;
|
|
4880
|
-
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4881
|
-
actionCounter: z.ZodNumber;
|
|
4882
|
-
oldCheckpointId: z.ZodNumber;
|
|
4883
|
-
newCheckpointId: z.ZodNumber;
|
|
4884
|
-
}, "strip", z.ZodTypeAny, {
|
|
4885
|
-
actionCounter: number;
|
|
4886
|
-
oldCheckpointId: number;
|
|
4887
|
-
newCheckpointId: number;
|
|
4888
|
-
}, {
|
|
4889
|
-
actionCounter: number;
|
|
4890
|
-
oldCheckpointId: number;
|
|
4891
|
-
newCheckpointId: number;
|
|
4892
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4893
|
-
actionCounter: number;
|
|
4894
|
-
oldCheckpointId: number;
|
|
4895
|
-
newCheckpointId: number;
|
|
4896
|
-
}>, "many">;
|
|
4897
4833
|
}, "strip", z.ZodTypeAny, {
|
|
4898
4834
|
globalVariables: GlobalVariables;
|
|
4899
4835
|
protocolContracts: ProtocolContracts;
|
|
@@ -4902,6 +4838,9 @@ export declare class AvmExecutionHints {
|
|
|
4902
4838
|
contractClasses: AvmContractClassHint[];
|
|
4903
4839
|
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
4904
4840
|
debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
4841
|
+
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4842
|
+
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4843
|
+
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4905
4844
|
startingTreeRoots: TreeSnapshots;
|
|
4906
4845
|
getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
4907
4846
|
getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -4952,9 +4891,6 @@ export declare class AvmExecutionHints {
|
|
|
4952
4891
|
createCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4953
4892
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4954
4893
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
4955
|
-
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4956
|
-
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4957
|
-
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4958
4894
|
}, {
|
|
4959
4895
|
globalVariables: {
|
|
4960
4896
|
blockNumber: string | number | bigint;
|
|
@@ -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;
|
|
@@ -5097,6 +5021,21 @@ export declare class AvmExecutionHints {
|
|
|
5097
5021
|
selector?: any;
|
|
5098
5022
|
address?: any;
|
|
5099
5023
|
}[];
|
|
5024
|
+
contractDBCreateCheckpointHints: {
|
|
5025
|
+
actionCounter: number;
|
|
5026
|
+
oldCheckpointId: number;
|
|
5027
|
+
newCheckpointId: number;
|
|
5028
|
+
}[];
|
|
5029
|
+
contractDBCommitCheckpointHints: {
|
|
5030
|
+
actionCounter: number;
|
|
5031
|
+
oldCheckpointId: number;
|
|
5032
|
+
newCheckpointId: number;
|
|
5033
|
+
}[];
|
|
5034
|
+
contractDBRevertCheckpointHints: {
|
|
5035
|
+
actionCounter: number;
|
|
5036
|
+
oldCheckpointId: number;
|
|
5037
|
+
newCheckpointId: number;
|
|
5038
|
+
}[];
|
|
5100
5039
|
startingTreeRoots: {
|
|
5101
5040
|
noteHashTree: {
|
|
5102
5041
|
root: string;
|
|
@@ -5314,6 +5253,9 @@ export declare class AvmExecutionHints {
|
|
|
5314
5253
|
newCheckpointId: number;
|
|
5315
5254
|
}[];
|
|
5316
5255
|
revertCheckpointHints: {
|
|
5256
|
+
actionCounter: number;
|
|
5257
|
+
oldCheckpointId: number;
|
|
5258
|
+
newCheckpointId: number;
|
|
5317
5259
|
stateAfter: {
|
|
5318
5260
|
noteHashTree: {
|
|
5319
5261
|
root: string;
|
|
@@ -5332,9 +5274,6 @@ export declare class AvmExecutionHints {
|
|
|
5332
5274
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5333
5275
|
};
|
|
5334
5276
|
};
|
|
5335
|
-
actionCounter: number;
|
|
5336
|
-
oldCheckpointId: number;
|
|
5337
|
-
newCheckpointId: number;
|
|
5338
5277
|
stateBefore: {
|
|
5339
5278
|
noteHashTree: {
|
|
5340
5279
|
root: string;
|
|
@@ -5354,21 +5293,6 @@ export declare class AvmExecutionHints {
|
|
|
5354
5293
|
};
|
|
5355
5294
|
};
|
|
5356
5295
|
}[];
|
|
5357
|
-
contractDBCreateCheckpointHints: {
|
|
5358
|
-
actionCounter: number;
|
|
5359
|
-
oldCheckpointId: number;
|
|
5360
|
-
newCheckpointId: number;
|
|
5361
|
-
}[];
|
|
5362
|
-
contractDBCommitCheckpointHints: {
|
|
5363
|
-
actionCounter: number;
|
|
5364
|
-
oldCheckpointId: number;
|
|
5365
|
-
newCheckpointId: number;
|
|
5366
|
-
}[];
|
|
5367
|
-
contractDBRevertCheckpointHints: {
|
|
5368
|
-
actionCounter: number;
|
|
5369
|
-
oldCheckpointId: number;
|
|
5370
|
-
newCheckpointId: number;
|
|
5371
|
-
}[];
|
|
5372
5296
|
}>, AvmExecutionHints, {
|
|
5373
5297
|
globalVariables: {
|
|
5374
5298
|
blockNumber: string | number | bigint;
|
|
@@ -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;
|
|
@@ -5511,6 +5423,21 @@ export declare class AvmExecutionHints {
|
|
|
5511
5423
|
selector?: any;
|
|
5512
5424
|
address?: any;
|
|
5513
5425
|
}[];
|
|
5426
|
+
contractDBCreateCheckpointHints: {
|
|
5427
|
+
actionCounter: number;
|
|
5428
|
+
oldCheckpointId: number;
|
|
5429
|
+
newCheckpointId: number;
|
|
5430
|
+
}[];
|
|
5431
|
+
contractDBCommitCheckpointHints: {
|
|
5432
|
+
actionCounter: number;
|
|
5433
|
+
oldCheckpointId: number;
|
|
5434
|
+
newCheckpointId: number;
|
|
5435
|
+
}[];
|
|
5436
|
+
contractDBRevertCheckpointHints: {
|
|
5437
|
+
actionCounter: number;
|
|
5438
|
+
oldCheckpointId: number;
|
|
5439
|
+
newCheckpointId: number;
|
|
5440
|
+
}[];
|
|
5514
5441
|
startingTreeRoots: {
|
|
5515
5442
|
noteHashTree: {
|
|
5516
5443
|
root: string;
|
|
@@ -5728,6 +5655,9 @@ export declare class AvmExecutionHints {
|
|
|
5728
5655
|
newCheckpointId: number;
|
|
5729
5656
|
}[];
|
|
5730
5657
|
revertCheckpointHints: {
|
|
5658
|
+
actionCounter: number;
|
|
5659
|
+
oldCheckpointId: number;
|
|
5660
|
+
newCheckpointId: number;
|
|
5731
5661
|
stateAfter: {
|
|
5732
5662
|
noteHashTree: {
|
|
5733
5663
|
root: string;
|
|
@@ -5746,9 +5676,6 @@ export declare class AvmExecutionHints {
|
|
|
5746
5676
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5747
5677
|
};
|
|
5748
5678
|
};
|
|
5749
|
-
actionCounter: number;
|
|
5750
|
-
oldCheckpointId: number;
|
|
5751
|
-
newCheckpointId: number;
|
|
5752
5679
|
stateBefore: {
|
|
5753
5680
|
noteHashTree: {
|
|
5754
5681
|
root: string;
|
|
@@ -5768,21 +5695,6 @@ export declare class AvmExecutionHints {
|
|
|
5768
5695
|
};
|
|
5769
5696
|
};
|
|
5770
5697
|
}[];
|
|
5771
|
-
contractDBCreateCheckpointHints: {
|
|
5772
|
-
actionCounter: number;
|
|
5773
|
-
oldCheckpointId: number;
|
|
5774
|
-
newCheckpointId: number;
|
|
5775
|
-
}[];
|
|
5776
|
-
contractDBCommitCheckpointHints: {
|
|
5777
|
-
actionCounter: number;
|
|
5778
|
-
oldCheckpointId: number;
|
|
5779
|
-
newCheckpointId: number;
|
|
5780
|
-
}[];
|
|
5781
|
-
contractDBRevertCheckpointHints: {
|
|
5782
|
-
actionCounter: number;
|
|
5783
|
-
oldCheckpointId: number;
|
|
5784
|
-
newCheckpointId: number;
|
|
5785
|
-
}[];
|
|
5786
5698
|
}>;
|
|
5787
5699
|
}
|
|
5788
5700
|
export declare class AvmCircuitInputs {
|
|
@@ -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;
|
|
@@ -6625,9 +6442,60 @@ export declare class AvmCircuitInputs {
|
|
|
6625
6442
|
selector?: any;
|
|
6626
6443
|
address?: any;
|
|
6627
6444
|
}>, "many">;
|
|
6445
|
+
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6446
|
+
actionCounter: z.ZodNumber;
|
|
6447
|
+
oldCheckpointId: z.ZodNumber;
|
|
6448
|
+
newCheckpointId: z.ZodNumber;
|
|
6449
|
+
}, "strip", z.ZodTypeAny, {
|
|
6450
|
+
actionCounter: number;
|
|
6451
|
+
oldCheckpointId: number;
|
|
6452
|
+
newCheckpointId: number;
|
|
6453
|
+
}, {
|
|
6454
|
+
actionCounter: number;
|
|
6455
|
+
oldCheckpointId: number;
|
|
6456
|
+
newCheckpointId: number;
|
|
6457
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
6458
|
+
actionCounter: number;
|
|
6459
|
+
oldCheckpointId: number;
|
|
6460
|
+
newCheckpointId: number;
|
|
6461
|
+
}>, "many">;
|
|
6462
|
+
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6463
|
+
actionCounter: z.ZodNumber;
|
|
6464
|
+
oldCheckpointId: z.ZodNumber;
|
|
6465
|
+
newCheckpointId: z.ZodNumber;
|
|
6466
|
+
}, "strip", z.ZodTypeAny, {
|
|
6467
|
+
actionCounter: number;
|
|
6468
|
+
oldCheckpointId: number;
|
|
6469
|
+
newCheckpointId: number;
|
|
6470
|
+
}, {
|
|
6471
|
+
actionCounter: number;
|
|
6472
|
+
oldCheckpointId: number;
|
|
6473
|
+
newCheckpointId: number;
|
|
6474
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
6475
|
+
actionCounter: number;
|
|
6476
|
+
oldCheckpointId: number;
|
|
6477
|
+
newCheckpointId: number;
|
|
6478
|
+
}>, "many">;
|
|
6479
|
+
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6480
|
+
actionCounter: z.ZodNumber;
|
|
6481
|
+
oldCheckpointId: z.ZodNumber;
|
|
6482
|
+
newCheckpointId: z.ZodNumber;
|
|
6483
|
+
}, "strip", z.ZodTypeAny, {
|
|
6484
|
+
actionCounter: number;
|
|
6485
|
+
oldCheckpointId: number;
|
|
6486
|
+
newCheckpointId: number;
|
|
6487
|
+
}, {
|
|
6488
|
+
actionCounter: number;
|
|
6489
|
+
oldCheckpointId: number;
|
|
6490
|
+
newCheckpointId: number;
|
|
6491
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
6492
|
+
actionCounter: number;
|
|
6493
|
+
oldCheckpointId: number;
|
|
6494
|
+
newCheckpointId: number;
|
|
6495
|
+
}>, "many">;
|
|
6628
6496
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
6629
6497
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
6630
|
-
root: z.
|
|
6498
|
+
root: z.ZodType<Fr, any, string>;
|
|
6631
6499
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6632
6500
|
}, "strip", z.ZodTypeAny, {
|
|
6633
6501
|
root: Fr;
|
|
@@ -6640,7 +6508,7 @@ export declare class AvmCircuitInputs {
|
|
|
6640
6508
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6641
6509
|
}>;
|
|
6642
6510
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
6643
|
-
root: z.
|
|
6511
|
+
root: z.ZodType<Fr, any, string>;
|
|
6644
6512
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6645
6513
|
}, "strip", z.ZodTypeAny, {
|
|
6646
6514
|
root: Fr;
|
|
@@ -6653,7 +6521,7 @@ export declare class AvmCircuitInputs {
|
|
|
6653
6521
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6654
6522
|
}>;
|
|
6655
6523
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
6656
|
-
root: z.
|
|
6524
|
+
root: z.ZodType<Fr, any, string>;
|
|
6657
6525
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6658
6526
|
}, "strip", z.ZodTypeAny, {
|
|
6659
6527
|
root: Fr;
|
|
@@ -6666,7 +6534,7 @@ export declare class AvmCircuitInputs {
|
|
|
6666
6534
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6667
6535
|
}>;
|
|
6668
6536
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
6669
|
-
root: z.
|
|
6537
|
+
root: z.ZodType<Fr, any, string>;
|
|
6670
6538
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6671
6539
|
}, "strip", z.ZodTypeAny, {
|
|
6672
6540
|
root: Fr;
|
|
@@ -6720,7 +6588,7 @@ export declare class AvmCircuitInputs {
|
|
|
6720
6588
|
}>;
|
|
6721
6589
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6722
6590
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6723
|
-
root: z.
|
|
6591
|
+
root: z.ZodType<Fr, any, string>;
|
|
6724
6592
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6725
6593
|
}, "strip", z.ZodTypeAny, {
|
|
6726
6594
|
root: Fr;
|
|
@@ -6759,7 +6627,7 @@ export declare class AvmCircuitInputs {
|
|
|
6759
6627
|
}>, "many">;
|
|
6760
6628
|
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6761
6629
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6762
|
-
root: z.
|
|
6630
|
+
root: z.ZodType<Fr, any, string>;
|
|
6763
6631
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6764
6632
|
}, "strip", z.ZodTypeAny, {
|
|
6765
6633
|
root: Fr;
|
|
@@ -6802,7 +6670,7 @@ export declare class AvmCircuitInputs {
|
|
|
6802
6670
|
}>, "many">;
|
|
6803
6671
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6804
6672
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6805
|
-
root: z.
|
|
6673
|
+
root: z.ZodType<Fr, any, string>;
|
|
6806
6674
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6807
6675
|
}, "strip", z.ZodTypeAny, {
|
|
6808
6676
|
root: Fr;
|
|
@@ -6817,18 +6685,18 @@ export declare class AvmCircuitInputs {
|
|
|
6817
6685
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6818
6686
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
6819
6687
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6820
|
-
nullifier: z.
|
|
6688
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
6821
6689
|
}, "strip", z.ZodTypeAny, {
|
|
6822
6690
|
nullifier: Fr;
|
|
6823
6691
|
}, {
|
|
6824
6692
|
nullifier: string;
|
|
6825
|
-
}>,
|
|
6693
|
+
}>, NullifierLeaf, {
|
|
6826
6694
|
nullifier: string;
|
|
6827
6695
|
}>;
|
|
6828
|
-
nextKey: z.
|
|
6696
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6829
6697
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6830
6698
|
}, "strip", z.ZodTypeAny, {
|
|
6831
|
-
leaf:
|
|
6699
|
+
leaf: NullifierLeaf;
|
|
6832
6700
|
nextKey: Fr;
|
|
6833
6701
|
nextIndex: bigint;
|
|
6834
6702
|
}, {
|
|
@@ -6845,22 +6713,22 @@ export declare class AvmCircuitInputs {
|
|
|
6845
6713
|
nextIndex: string | number | bigint;
|
|
6846
6714
|
}> | z.ZodEffects<z.ZodObject<{
|
|
6847
6715
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6848
|
-
slot: z.
|
|
6849
|
-
value: z.
|
|
6716
|
+
slot: z.ZodType<Fr, any, string>;
|
|
6717
|
+
value: z.ZodType<Fr, any, string>;
|
|
6850
6718
|
}, "strip", z.ZodTypeAny, {
|
|
6851
6719
|
value: Fr;
|
|
6852
6720
|
slot: Fr;
|
|
6853
6721
|
}, {
|
|
6854
6722
|
value: string;
|
|
6855
6723
|
slot: string;
|
|
6856
|
-
}>,
|
|
6724
|
+
}>, PublicDataTreeLeaf, {
|
|
6857
6725
|
value: string;
|
|
6858
6726
|
slot: string;
|
|
6859
6727
|
}>;
|
|
6860
|
-
nextKey: z.
|
|
6728
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6861
6729
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6862
6730
|
}, "strip", z.ZodTypeAny, {
|
|
6863
|
-
leaf:
|
|
6731
|
+
leaf: PublicDataTreeLeaf;
|
|
6864
6732
|
nextKey: Fr;
|
|
6865
6733
|
nextIndex: bigint;
|
|
6866
6734
|
}, {
|
|
@@ -6929,7 +6797,7 @@ export declare class AvmCircuitInputs {
|
|
|
6929
6797
|
}>, "many">;
|
|
6930
6798
|
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6931
6799
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
6932
|
-
root: z.
|
|
6800
|
+
root: z.ZodType<Fr, any, string>;
|
|
6933
6801
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6934
6802
|
}, "strip", z.ZodTypeAny, {
|
|
6935
6803
|
root: Fr;
|
|
@@ -6944,18 +6812,18 @@ export declare class AvmCircuitInputs {
|
|
|
6944
6812
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6945
6813
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
6946
6814
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6947
|
-
nullifier: z.
|
|
6815
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
6948
6816
|
}, "strip", z.ZodTypeAny, {
|
|
6949
6817
|
nullifier: Fr;
|
|
6950
6818
|
}, {
|
|
6951
6819
|
nullifier: string;
|
|
6952
|
-
}>,
|
|
6820
|
+
}>, NullifierLeaf, {
|
|
6953
6821
|
nullifier: string;
|
|
6954
6822
|
}>;
|
|
6955
|
-
nextKey: z.
|
|
6823
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6956
6824
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6957
6825
|
}, "strip", z.ZodTypeAny, {
|
|
6958
|
-
leaf:
|
|
6826
|
+
leaf: NullifierLeaf;
|
|
6959
6827
|
nextKey: Fr;
|
|
6960
6828
|
nextIndex: bigint;
|
|
6961
6829
|
}, {
|
|
@@ -6972,22 +6840,22 @@ export declare class AvmCircuitInputs {
|
|
|
6972
6840
|
nextIndex: string | number | bigint;
|
|
6973
6841
|
}> | z.ZodEffects<z.ZodObject<{
|
|
6974
6842
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
6975
|
-
slot: z.
|
|
6976
|
-
value: z.
|
|
6843
|
+
slot: z.ZodType<Fr, any, string>;
|
|
6844
|
+
value: z.ZodType<Fr, any, string>;
|
|
6977
6845
|
}, "strip", z.ZodTypeAny, {
|
|
6978
6846
|
value: Fr;
|
|
6979
6847
|
slot: Fr;
|
|
6980
6848
|
}, {
|
|
6981
6849
|
value: string;
|
|
6982
6850
|
slot: string;
|
|
6983
|
-
}>,
|
|
6851
|
+
}>, PublicDataTreeLeaf, {
|
|
6984
6852
|
value: string;
|
|
6985
6853
|
slot: string;
|
|
6986
6854
|
}>;
|
|
6987
|
-
nextKey: z.
|
|
6855
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
6988
6856
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6989
6857
|
}, "strip", z.ZodTypeAny, {
|
|
6990
|
-
leaf:
|
|
6858
|
+
leaf: PublicDataTreeLeaf;
|
|
6991
6859
|
nextKey: Fr;
|
|
6992
6860
|
nextIndex: bigint;
|
|
6993
6861
|
}, {
|
|
@@ -7056,7 +6924,7 @@ export declare class AvmCircuitInputs {
|
|
|
7056
6924
|
}>, "many">;
|
|
7057
6925
|
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7058
6926
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7059
|
-
root: z.
|
|
6927
|
+
root: z.ZodType<Fr, any, string>;
|
|
7060
6928
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7061
6929
|
}, "strip", z.ZodTypeAny, {
|
|
7062
6930
|
root: Fr;
|
|
@@ -7095,7 +6963,7 @@ export declare class AvmCircuitInputs {
|
|
|
7095
6963
|
}>, "many">;
|
|
7096
6964
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7097
6965
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7098
|
-
root: z.
|
|
6966
|
+
root: z.ZodType<Fr, any, string>;
|
|
7099
6967
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7100
6968
|
}, "strip", z.ZodTypeAny, {
|
|
7101
6969
|
root: Fr;
|
|
@@ -7108,7 +6976,7 @@ export declare class AvmCircuitInputs {
|
|
|
7108
6976
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7109
6977
|
}>;
|
|
7110
6978
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7111
|
-
root: z.
|
|
6979
|
+
root: z.ZodType<Fr, any, string>;
|
|
7112
6980
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7113
6981
|
}, "strip", z.ZodTypeAny, {
|
|
7114
6982
|
root: Fr;
|
|
@@ -7122,41 +6990,41 @@ export declare class AvmCircuitInputs {
|
|
|
7122
6990
|
}>;
|
|
7123
6991
|
treeId: z.ZodNumber;
|
|
7124
6992
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7125
|
-
nullifier: z.
|
|
6993
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7126
6994
|
}, "strip", z.ZodTypeAny, {
|
|
7127
6995
|
nullifier: Fr;
|
|
7128
6996
|
}, {
|
|
7129
6997
|
nullifier: string;
|
|
7130
|
-
}>,
|
|
6998
|
+
}>, NullifierLeaf, {
|
|
7131
6999
|
nullifier: string;
|
|
7132
7000
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7133
|
-
slot: z.
|
|
7134
|
-
value: z.
|
|
7001
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7002
|
+
value: z.ZodType<Fr, any, string>;
|
|
7135
7003
|
}, "strip", z.ZodTypeAny, {
|
|
7136
7004
|
value: Fr;
|
|
7137
7005
|
slot: Fr;
|
|
7138
7006
|
}, {
|
|
7139
7007
|
value: string;
|
|
7140
7008
|
slot: string;
|
|
7141
|
-
}>,
|
|
7009
|
+
}>, PublicDataTreeLeaf, {
|
|
7142
7010
|
value: string;
|
|
7143
7011
|
slot: string;
|
|
7144
7012
|
}>;
|
|
7145
7013
|
lowLeavesWitnessData: z.ZodObject<{
|
|
7146
7014
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7147
7015
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7148
|
-
nullifier: z.
|
|
7016
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7149
7017
|
}, "strip", z.ZodTypeAny, {
|
|
7150
7018
|
nullifier: Fr;
|
|
7151
7019
|
}, {
|
|
7152
7020
|
nullifier: string;
|
|
7153
|
-
}>,
|
|
7021
|
+
}>, NullifierLeaf, {
|
|
7154
7022
|
nullifier: string;
|
|
7155
7023
|
}>;
|
|
7156
|
-
nextKey: z.
|
|
7024
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7157
7025
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7158
7026
|
}, "strip", z.ZodTypeAny, {
|
|
7159
|
-
leaf:
|
|
7027
|
+
leaf: NullifierLeaf;
|
|
7160
7028
|
nextKey: Fr;
|
|
7161
7029
|
nextIndex: bigint;
|
|
7162
7030
|
}, {
|
|
@@ -7173,22 +7041,22 @@ export declare class AvmCircuitInputs {
|
|
|
7173
7041
|
nextIndex: string | number | bigint;
|
|
7174
7042
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7175
7043
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7176
|
-
slot: z.
|
|
7177
|
-
value: z.
|
|
7044
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7045
|
+
value: z.ZodType<Fr, any, string>;
|
|
7178
7046
|
}, "strip", z.ZodTypeAny, {
|
|
7179
7047
|
value: Fr;
|
|
7180
7048
|
slot: Fr;
|
|
7181
7049
|
}, {
|
|
7182
7050
|
value: string;
|
|
7183
7051
|
slot: string;
|
|
7184
|
-
}>,
|
|
7052
|
+
}>, PublicDataTreeLeaf, {
|
|
7185
7053
|
value: string;
|
|
7186
7054
|
slot: string;
|
|
7187
7055
|
}>;
|
|
7188
|
-
nextKey: z.
|
|
7056
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7189
7057
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7190
7058
|
}, "strip", z.ZodTypeAny, {
|
|
7191
|
-
leaf:
|
|
7059
|
+
leaf: PublicDataTreeLeaf;
|
|
7192
7060
|
nextKey: Fr;
|
|
7193
7061
|
nextIndex: bigint;
|
|
7194
7062
|
}, {
|
|
@@ -7233,18 +7101,18 @@ export declare class AvmCircuitInputs {
|
|
|
7233
7101
|
insertionWitnessData: z.ZodObject<{
|
|
7234
7102
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7235
7103
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7236
|
-
nullifier: z.
|
|
7104
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7237
7105
|
}, "strip", z.ZodTypeAny, {
|
|
7238
7106
|
nullifier: Fr;
|
|
7239
7107
|
}, {
|
|
7240
7108
|
nullifier: string;
|
|
7241
|
-
}>,
|
|
7109
|
+
}>, NullifierLeaf, {
|
|
7242
7110
|
nullifier: string;
|
|
7243
7111
|
}>;
|
|
7244
|
-
nextKey: z.
|
|
7112
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7245
7113
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7246
7114
|
}, "strip", z.ZodTypeAny, {
|
|
7247
|
-
leaf:
|
|
7115
|
+
leaf: NullifierLeaf;
|
|
7248
7116
|
nextKey: Fr;
|
|
7249
7117
|
nextIndex: bigint;
|
|
7250
7118
|
}, {
|
|
@@ -7261,22 +7129,22 @@ export declare class AvmCircuitInputs {
|
|
|
7261
7129
|
nextIndex: string | number | bigint;
|
|
7262
7130
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7263
7131
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7264
|
-
slot: z.
|
|
7265
|
-
value: z.
|
|
7132
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7133
|
+
value: z.ZodType<Fr, any, string>;
|
|
7266
7134
|
}, "strip", z.ZodTypeAny, {
|
|
7267
7135
|
value: Fr;
|
|
7268
7136
|
slot: Fr;
|
|
7269
7137
|
}, {
|
|
7270
7138
|
value: string;
|
|
7271
7139
|
slot: string;
|
|
7272
|
-
}>,
|
|
7140
|
+
}>, PublicDataTreeLeaf, {
|
|
7273
7141
|
value: string;
|
|
7274
7142
|
slot: string;
|
|
7275
7143
|
}>;
|
|
7276
|
-
nextKey: z.
|
|
7144
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7277
7145
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7278
7146
|
}, "strip", z.ZodTypeAny, {
|
|
7279
|
-
leaf:
|
|
7147
|
+
leaf: PublicDataTreeLeaf;
|
|
7280
7148
|
nextKey: Fr;
|
|
7281
7149
|
nextIndex: bigint;
|
|
7282
7150
|
}, {
|
|
@@ -7319,7 +7187,7 @@ export declare class AvmCircuitInputs {
|
|
|
7319
7187
|
};
|
|
7320
7188
|
}>;
|
|
7321
7189
|
}, "strip", z.ZodTypeAny, {
|
|
7322
|
-
leaf:
|
|
7190
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
7323
7191
|
hintKey: AppendOnlyTreeSnapshot;
|
|
7324
7192
|
treeId: number;
|
|
7325
7193
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -7455,7 +7323,7 @@ export declare class AvmCircuitInputs {
|
|
|
7455
7323
|
}>, "many">;
|
|
7456
7324
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7457
7325
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7458
|
-
root: z.
|
|
7326
|
+
root: z.ZodType<Fr, any, string>;
|
|
7459
7327
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7460
7328
|
}, "strip", z.ZodTypeAny, {
|
|
7461
7329
|
root: Fr;
|
|
@@ -7468,7 +7336,7 @@ export declare class AvmCircuitInputs {
|
|
|
7468
7336
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7469
7337
|
}>;
|
|
7470
7338
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7471
|
-
root: z.
|
|
7339
|
+
root: z.ZodType<Fr, any, string>;
|
|
7472
7340
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7473
7341
|
}, "strip", z.ZodTypeAny, {
|
|
7474
7342
|
root: Fr;
|
|
@@ -7482,41 +7350,41 @@ export declare class AvmCircuitInputs {
|
|
|
7482
7350
|
}>;
|
|
7483
7351
|
treeId: z.ZodNumber;
|
|
7484
7352
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7485
|
-
nullifier: z.
|
|
7353
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7486
7354
|
}, "strip", z.ZodTypeAny, {
|
|
7487
7355
|
nullifier: Fr;
|
|
7488
7356
|
}, {
|
|
7489
7357
|
nullifier: string;
|
|
7490
|
-
}>,
|
|
7358
|
+
}>, NullifierLeaf, {
|
|
7491
7359
|
nullifier: string;
|
|
7492
7360
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7493
|
-
slot: z.
|
|
7494
|
-
value: z.
|
|
7361
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7362
|
+
value: z.ZodType<Fr, any, string>;
|
|
7495
7363
|
}, "strip", z.ZodTypeAny, {
|
|
7496
7364
|
value: Fr;
|
|
7497
7365
|
slot: Fr;
|
|
7498
7366
|
}, {
|
|
7499
7367
|
value: string;
|
|
7500
7368
|
slot: string;
|
|
7501
|
-
}>,
|
|
7369
|
+
}>, PublicDataTreeLeaf, {
|
|
7502
7370
|
value: string;
|
|
7503
7371
|
slot: string;
|
|
7504
7372
|
}>;
|
|
7505
7373
|
lowLeavesWitnessData: z.ZodObject<{
|
|
7506
7374
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7507
7375
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7508
|
-
nullifier: z.
|
|
7376
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7509
7377
|
}, "strip", z.ZodTypeAny, {
|
|
7510
7378
|
nullifier: Fr;
|
|
7511
7379
|
}, {
|
|
7512
7380
|
nullifier: string;
|
|
7513
|
-
}>,
|
|
7381
|
+
}>, NullifierLeaf, {
|
|
7514
7382
|
nullifier: string;
|
|
7515
7383
|
}>;
|
|
7516
|
-
nextKey: z.
|
|
7384
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7517
7385
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7518
7386
|
}, "strip", z.ZodTypeAny, {
|
|
7519
|
-
leaf:
|
|
7387
|
+
leaf: NullifierLeaf;
|
|
7520
7388
|
nextKey: Fr;
|
|
7521
7389
|
nextIndex: bigint;
|
|
7522
7390
|
}, {
|
|
@@ -7533,22 +7401,22 @@ export declare class AvmCircuitInputs {
|
|
|
7533
7401
|
nextIndex: string | number | bigint;
|
|
7534
7402
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7535
7403
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7536
|
-
slot: z.
|
|
7537
|
-
value: z.
|
|
7404
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7405
|
+
value: z.ZodType<Fr, any, string>;
|
|
7538
7406
|
}, "strip", z.ZodTypeAny, {
|
|
7539
7407
|
value: Fr;
|
|
7540
7408
|
slot: Fr;
|
|
7541
7409
|
}, {
|
|
7542
7410
|
value: string;
|
|
7543
7411
|
slot: string;
|
|
7544
|
-
}>,
|
|
7412
|
+
}>, PublicDataTreeLeaf, {
|
|
7545
7413
|
value: string;
|
|
7546
7414
|
slot: string;
|
|
7547
7415
|
}>;
|
|
7548
|
-
nextKey: z.
|
|
7416
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7549
7417
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7550
7418
|
}, "strip", z.ZodTypeAny, {
|
|
7551
|
-
leaf:
|
|
7419
|
+
leaf: PublicDataTreeLeaf;
|
|
7552
7420
|
nextKey: Fr;
|
|
7553
7421
|
nextIndex: bigint;
|
|
7554
7422
|
}, {
|
|
@@ -7593,18 +7461,18 @@ export declare class AvmCircuitInputs {
|
|
|
7593
7461
|
insertionWitnessData: z.ZodObject<{
|
|
7594
7462
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7595
7463
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7596
|
-
nullifier: z.
|
|
7464
|
+
nullifier: z.ZodType<Fr, any, string>;
|
|
7597
7465
|
}, "strip", z.ZodTypeAny, {
|
|
7598
7466
|
nullifier: Fr;
|
|
7599
7467
|
}, {
|
|
7600
7468
|
nullifier: string;
|
|
7601
|
-
}>,
|
|
7469
|
+
}>, NullifierLeaf, {
|
|
7602
7470
|
nullifier: string;
|
|
7603
7471
|
}>;
|
|
7604
|
-
nextKey: z.
|
|
7472
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7605
7473
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7606
7474
|
}, "strip", z.ZodTypeAny, {
|
|
7607
|
-
leaf:
|
|
7475
|
+
leaf: NullifierLeaf;
|
|
7608
7476
|
nextKey: Fr;
|
|
7609
7477
|
nextIndex: bigint;
|
|
7610
7478
|
}, {
|
|
@@ -7621,22 +7489,22 @@ export declare class AvmCircuitInputs {
|
|
|
7621
7489
|
nextIndex: string | number | bigint;
|
|
7622
7490
|
}> | z.ZodEffects<z.ZodObject<{
|
|
7623
7491
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
7624
|
-
slot: z.
|
|
7625
|
-
value: z.
|
|
7492
|
+
slot: z.ZodType<Fr, any, string>;
|
|
7493
|
+
value: z.ZodType<Fr, any, string>;
|
|
7626
7494
|
}, "strip", z.ZodTypeAny, {
|
|
7627
7495
|
value: Fr;
|
|
7628
7496
|
slot: Fr;
|
|
7629
7497
|
}, {
|
|
7630
7498
|
value: string;
|
|
7631
7499
|
slot: string;
|
|
7632
|
-
}>,
|
|
7500
|
+
}>, PublicDataTreeLeaf, {
|
|
7633
7501
|
value: string;
|
|
7634
7502
|
slot: string;
|
|
7635
7503
|
}>;
|
|
7636
|
-
nextKey: z.
|
|
7504
|
+
nextKey: z.ZodType<Fr, any, string>;
|
|
7637
7505
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7638
7506
|
}, "strip", z.ZodTypeAny, {
|
|
7639
|
-
leaf:
|
|
7507
|
+
leaf: PublicDataTreeLeaf;
|
|
7640
7508
|
nextKey: Fr;
|
|
7641
7509
|
nextIndex: bigint;
|
|
7642
7510
|
}, {
|
|
@@ -7679,7 +7547,7 @@ export declare class AvmCircuitInputs {
|
|
|
7679
7547
|
};
|
|
7680
7548
|
}>;
|
|
7681
7549
|
}, "strip", z.ZodTypeAny, {
|
|
7682
|
-
leaf:
|
|
7550
|
+
leaf: NullifierLeaf | PublicDataTreeLeaf;
|
|
7683
7551
|
hintKey: AppendOnlyTreeSnapshot;
|
|
7684
7552
|
treeId: number;
|
|
7685
7553
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
@@ -7815,7 +7683,7 @@ export declare class AvmCircuitInputs {
|
|
|
7815
7683
|
}>, "many">;
|
|
7816
7684
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7817
7685
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
7818
|
-
root: z.
|
|
7686
|
+
root: z.ZodType<Fr, any, string>;
|
|
7819
7687
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7820
7688
|
}, "strip", z.ZodTypeAny, {
|
|
7821
7689
|
root: Fr;
|
|
@@ -7828,7 +7696,7 @@ export declare class AvmCircuitInputs {
|
|
|
7828
7696
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7829
7697
|
}>;
|
|
7830
7698
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
7831
|
-
root: z.
|
|
7699
|
+
root: z.ZodType<Fr, any, string>;
|
|
7832
7700
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7833
7701
|
}, "strip", z.ZodTypeAny, {
|
|
7834
7702
|
root: Fr;
|
|
@@ -7910,7 +7778,7 @@ export declare class AvmCircuitInputs {
|
|
|
7910
7778
|
newCheckpointId: z.ZodNumber;
|
|
7911
7779
|
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
7912
7780
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
7913
|
-
root: z.
|
|
7781
|
+
root: z.ZodType<Fr, any, string>;
|
|
7914
7782
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7915
7783
|
}, "strip", z.ZodTypeAny, {
|
|
7916
7784
|
root: Fr;
|
|
@@ -7923,7 +7791,7 @@ export declare class AvmCircuitInputs {
|
|
|
7923
7791
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7924
7792
|
}>;
|
|
7925
7793
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
7926
|
-
root: z.
|
|
7794
|
+
root: z.ZodType<Fr, any, string>;
|
|
7927
7795
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7928
7796
|
}, "strip", z.ZodTypeAny, {
|
|
7929
7797
|
root: Fr;
|
|
@@ -7936,7 +7804,7 @@ export declare class AvmCircuitInputs {
|
|
|
7936
7804
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7937
7805
|
}>;
|
|
7938
7806
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
7939
|
-
root: z.
|
|
7807
|
+
root: z.ZodType<Fr, any, string>;
|
|
7940
7808
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7941
7809
|
}, "strip", z.ZodTypeAny, {
|
|
7942
7810
|
root: Fr;
|
|
@@ -7949,7 +7817,7 @@ export declare class AvmCircuitInputs {
|
|
|
7949
7817
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7950
7818
|
}>;
|
|
7951
7819
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
7952
|
-
root: z.
|
|
7820
|
+
root: z.ZodType<Fr, any, string>;
|
|
7953
7821
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
7954
7822
|
}, "strip", z.ZodTypeAny, {
|
|
7955
7823
|
root: Fr;
|
|
@@ -8003,7 +7871,7 @@ export declare class AvmCircuitInputs {
|
|
|
8003
7871
|
}>;
|
|
8004
7872
|
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
8005
7873
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
8006
|
-
root: z.
|
|
7874
|
+
root: z.ZodType<Fr, any, string>;
|
|
8007
7875
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8008
7876
|
}, "strip", z.ZodTypeAny, {
|
|
8009
7877
|
root: Fr;
|
|
@@ -8016,7 +7884,7 @@ export declare class AvmCircuitInputs {
|
|
|
8016
7884
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8017
7885
|
}>;
|
|
8018
7886
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
8019
|
-
root: z.
|
|
7887
|
+
root: z.ZodType<Fr, any, string>;
|
|
8020
7888
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8021
7889
|
}, "strip", z.ZodTypeAny, {
|
|
8022
7890
|
root: Fr;
|
|
@@ -8029,7 +7897,7 @@ export declare class AvmCircuitInputs {
|
|
|
8029
7897
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8030
7898
|
}>;
|
|
8031
7899
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
8032
|
-
root: z.
|
|
7900
|
+
root: z.ZodType<Fr, any, string>;
|
|
8033
7901
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8034
7902
|
}, "strip", z.ZodTypeAny, {
|
|
8035
7903
|
root: Fr;
|
|
@@ -8042,7 +7910,7 @@ export declare class AvmCircuitInputs {
|
|
|
8042
7910
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8043
7911
|
}>;
|
|
8044
7912
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
8045
|
-
root: z.
|
|
7913
|
+
root: z.ZodType<Fr, any, string>;
|
|
8046
7914
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8047
7915
|
}, "strip", z.ZodTypeAny, {
|
|
8048
7916
|
root: Fr;
|
|
@@ -8095,12 +7963,15 @@ export declare class AvmCircuitInputs {
|
|
|
8095
7963
|
};
|
|
8096
7964
|
}>;
|
|
8097
7965
|
}, "strip", z.ZodTypeAny, {
|
|
8098
|
-
stateAfter: TreeSnapshots;
|
|
8099
7966
|
actionCounter: number;
|
|
8100
7967
|
oldCheckpointId: number;
|
|
8101
7968
|
newCheckpointId: number;
|
|
7969
|
+
stateAfter: TreeSnapshots;
|
|
8102
7970
|
stateBefore: TreeSnapshots;
|
|
8103
7971
|
}, {
|
|
7972
|
+
actionCounter: number;
|
|
7973
|
+
oldCheckpointId: number;
|
|
7974
|
+
newCheckpointId: number;
|
|
8104
7975
|
stateAfter: {
|
|
8105
7976
|
noteHashTree: {
|
|
8106
7977
|
root: string;
|
|
@@ -8119,9 +7990,6 @@ export declare class AvmCircuitInputs {
|
|
|
8119
7990
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8120
7991
|
};
|
|
8121
7992
|
};
|
|
8122
|
-
actionCounter: number;
|
|
8123
|
-
oldCheckpointId: number;
|
|
8124
|
-
newCheckpointId: number;
|
|
8125
7993
|
stateBefore: {
|
|
8126
7994
|
noteHashTree: {
|
|
8127
7995
|
root: string;
|
|
@@ -8141,6 +8009,9 @@ export declare class AvmCircuitInputs {
|
|
|
8141
8009
|
};
|
|
8142
8010
|
};
|
|
8143
8011
|
}>, AvmRevertCheckpointHint, {
|
|
8012
|
+
actionCounter: number;
|
|
8013
|
+
oldCheckpointId: number;
|
|
8014
|
+
newCheckpointId: number;
|
|
8144
8015
|
stateAfter: {
|
|
8145
8016
|
noteHashTree: {
|
|
8146
8017
|
root: string;
|
|
@@ -8159,9 +8030,6 @@ export declare class AvmCircuitInputs {
|
|
|
8159
8030
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8160
8031
|
};
|
|
8161
8032
|
};
|
|
8162
|
-
actionCounter: number;
|
|
8163
|
-
oldCheckpointId: number;
|
|
8164
|
-
newCheckpointId: number;
|
|
8165
8033
|
stateBefore: {
|
|
8166
8034
|
noteHashTree: {
|
|
8167
8035
|
root: string;
|
|
@@ -8181,57 +8049,6 @@ export declare class AvmCircuitInputs {
|
|
|
8181
8049
|
};
|
|
8182
8050
|
};
|
|
8183
8051
|
}>, "many">;
|
|
8184
|
-
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8185
|
-
actionCounter: z.ZodNumber;
|
|
8186
|
-
oldCheckpointId: z.ZodNumber;
|
|
8187
|
-
newCheckpointId: z.ZodNumber;
|
|
8188
|
-
}, "strip", z.ZodTypeAny, {
|
|
8189
|
-
actionCounter: number;
|
|
8190
|
-
oldCheckpointId: number;
|
|
8191
|
-
newCheckpointId: number;
|
|
8192
|
-
}, {
|
|
8193
|
-
actionCounter: number;
|
|
8194
|
-
oldCheckpointId: number;
|
|
8195
|
-
newCheckpointId: number;
|
|
8196
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
8197
|
-
actionCounter: number;
|
|
8198
|
-
oldCheckpointId: number;
|
|
8199
|
-
newCheckpointId: number;
|
|
8200
|
-
}>, "many">;
|
|
8201
|
-
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8202
|
-
actionCounter: z.ZodNumber;
|
|
8203
|
-
oldCheckpointId: z.ZodNumber;
|
|
8204
|
-
newCheckpointId: z.ZodNumber;
|
|
8205
|
-
}, "strip", z.ZodTypeAny, {
|
|
8206
|
-
actionCounter: number;
|
|
8207
|
-
oldCheckpointId: number;
|
|
8208
|
-
newCheckpointId: number;
|
|
8209
|
-
}, {
|
|
8210
|
-
actionCounter: number;
|
|
8211
|
-
oldCheckpointId: number;
|
|
8212
|
-
newCheckpointId: number;
|
|
8213
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
8214
|
-
actionCounter: number;
|
|
8215
|
-
oldCheckpointId: number;
|
|
8216
|
-
newCheckpointId: number;
|
|
8217
|
-
}>, "many">;
|
|
8218
|
-
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8219
|
-
actionCounter: z.ZodNumber;
|
|
8220
|
-
oldCheckpointId: z.ZodNumber;
|
|
8221
|
-
newCheckpointId: z.ZodNumber;
|
|
8222
|
-
}, "strip", z.ZodTypeAny, {
|
|
8223
|
-
actionCounter: number;
|
|
8224
|
-
oldCheckpointId: number;
|
|
8225
|
-
newCheckpointId: number;
|
|
8226
|
-
}, {
|
|
8227
|
-
actionCounter: number;
|
|
8228
|
-
oldCheckpointId: number;
|
|
8229
|
-
newCheckpointId: number;
|
|
8230
|
-
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
8231
|
-
actionCounter: number;
|
|
8232
|
-
oldCheckpointId: number;
|
|
8233
|
-
newCheckpointId: number;
|
|
8234
|
-
}>, "many">;
|
|
8235
8052
|
}, "strip", z.ZodTypeAny, {
|
|
8236
8053
|
globalVariables: GlobalVariables;
|
|
8237
8054
|
protocolContracts: ProtocolContracts;
|
|
@@ -8240,6 +8057,9 @@ export declare class AvmCircuitInputs {
|
|
|
8240
8057
|
contractClasses: AvmContractClassHint[];
|
|
8241
8058
|
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
8242
8059
|
debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
8060
|
+
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8061
|
+
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8062
|
+
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8243
8063
|
startingTreeRoots: TreeSnapshots;
|
|
8244
8064
|
getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
8245
8065
|
getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -8290,9 +8110,6 @@ export declare class AvmCircuitInputs {
|
|
|
8290
8110
|
createCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8291
8111
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8292
8112
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
8293
|
-
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8294
|
-
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8295
|
-
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8296
8113
|
}, {
|
|
8297
8114
|
globalVariables: {
|
|
8298
8115
|
blockNumber: string | number | bigint;
|
|
@@ -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;
|
|
@@ -8435,6 +8240,21 @@ export declare class AvmCircuitInputs {
|
|
|
8435
8240
|
selector?: any;
|
|
8436
8241
|
address?: any;
|
|
8437
8242
|
}[];
|
|
8243
|
+
contractDBCreateCheckpointHints: {
|
|
8244
|
+
actionCounter: number;
|
|
8245
|
+
oldCheckpointId: number;
|
|
8246
|
+
newCheckpointId: number;
|
|
8247
|
+
}[];
|
|
8248
|
+
contractDBCommitCheckpointHints: {
|
|
8249
|
+
actionCounter: number;
|
|
8250
|
+
oldCheckpointId: number;
|
|
8251
|
+
newCheckpointId: number;
|
|
8252
|
+
}[];
|
|
8253
|
+
contractDBRevertCheckpointHints: {
|
|
8254
|
+
actionCounter: number;
|
|
8255
|
+
oldCheckpointId: number;
|
|
8256
|
+
newCheckpointId: number;
|
|
8257
|
+
}[];
|
|
8438
8258
|
startingTreeRoots: {
|
|
8439
8259
|
noteHashTree: {
|
|
8440
8260
|
root: string;
|
|
@@ -8652,6 +8472,9 @@ export declare class AvmCircuitInputs {
|
|
|
8652
8472
|
newCheckpointId: number;
|
|
8653
8473
|
}[];
|
|
8654
8474
|
revertCheckpointHints: {
|
|
8475
|
+
actionCounter: number;
|
|
8476
|
+
oldCheckpointId: number;
|
|
8477
|
+
newCheckpointId: number;
|
|
8655
8478
|
stateAfter: {
|
|
8656
8479
|
noteHashTree: {
|
|
8657
8480
|
root: string;
|
|
@@ -8670,9 +8493,6 @@ export declare class AvmCircuitInputs {
|
|
|
8670
8493
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8671
8494
|
};
|
|
8672
8495
|
};
|
|
8673
|
-
actionCounter: number;
|
|
8674
|
-
oldCheckpointId: number;
|
|
8675
|
-
newCheckpointId: number;
|
|
8676
8496
|
stateBefore: {
|
|
8677
8497
|
noteHashTree: {
|
|
8678
8498
|
root: string;
|
|
@@ -8692,21 +8512,6 @@ export declare class AvmCircuitInputs {
|
|
|
8692
8512
|
};
|
|
8693
8513
|
};
|
|
8694
8514
|
}[];
|
|
8695
|
-
contractDBCreateCheckpointHints: {
|
|
8696
|
-
actionCounter: number;
|
|
8697
|
-
oldCheckpointId: number;
|
|
8698
|
-
newCheckpointId: number;
|
|
8699
|
-
}[];
|
|
8700
|
-
contractDBCommitCheckpointHints: {
|
|
8701
|
-
actionCounter: number;
|
|
8702
|
-
oldCheckpointId: number;
|
|
8703
|
-
newCheckpointId: number;
|
|
8704
|
-
}[];
|
|
8705
|
-
contractDBRevertCheckpointHints: {
|
|
8706
|
-
actionCounter: number;
|
|
8707
|
-
oldCheckpointId: number;
|
|
8708
|
-
newCheckpointId: number;
|
|
8709
|
-
}[];
|
|
8710
8515
|
}>, AvmExecutionHints, {
|
|
8711
8516
|
globalVariables: {
|
|
8712
8517
|
blockNumber: string | number | bigint;
|
|
@@ -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;
|
|
@@ -8849,6 +8642,21 @@ export declare class AvmCircuitInputs {
|
|
|
8849
8642
|
selector?: any;
|
|
8850
8643
|
address?: any;
|
|
8851
8644
|
}[];
|
|
8645
|
+
contractDBCreateCheckpointHints: {
|
|
8646
|
+
actionCounter: number;
|
|
8647
|
+
oldCheckpointId: number;
|
|
8648
|
+
newCheckpointId: number;
|
|
8649
|
+
}[];
|
|
8650
|
+
contractDBCommitCheckpointHints: {
|
|
8651
|
+
actionCounter: number;
|
|
8652
|
+
oldCheckpointId: number;
|
|
8653
|
+
newCheckpointId: number;
|
|
8654
|
+
}[];
|
|
8655
|
+
contractDBRevertCheckpointHints: {
|
|
8656
|
+
actionCounter: number;
|
|
8657
|
+
oldCheckpointId: number;
|
|
8658
|
+
newCheckpointId: number;
|
|
8659
|
+
}[];
|
|
8852
8660
|
startingTreeRoots: {
|
|
8853
8661
|
noteHashTree: {
|
|
8854
8662
|
root: string;
|
|
@@ -9066,6 +8874,9 @@ export declare class AvmCircuitInputs {
|
|
|
9066
8874
|
newCheckpointId: number;
|
|
9067
8875
|
}[];
|
|
9068
8876
|
revertCheckpointHints: {
|
|
8877
|
+
actionCounter: number;
|
|
8878
|
+
oldCheckpointId: number;
|
|
8879
|
+
newCheckpointId: number;
|
|
9069
8880
|
stateAfter: {
|
|
9070
8881
|
noteHashTree: {
|
|
9071
8882
|
root: string;
|
|
@@ -9084,9 +8895,6 @@ export declare class AvmCircuitInputs {
|
|
|
9084
8895
|
nextAvailableLeafIndex: string | number | bigint;
|
|
9085
8896
|
};
|
|
9086
8897
|
};
|
|
9087
|
-
actionCounter: number;
|
|
9088
|
-
oldCheckpointId: number;
|
|
9089
|
-
newCheckpointId: number;
|
|
9090
8898
|
stateBefore: {
|
|
9091
8899
|
noteHashTree: {
|
|
9092
8900
|
root: string;
|
|
@@ -9106,21 +8914,6 @@ export declare class AvmCircuitInputs {
|
|
|
9106
8914
|
};
|
|
9107
8915
|
};
|
|
9108
8916
|
}[];
|
|
9109
|
-
contractDBCreateCheckpointHints: {
|
|
9110
|
-
actionCounter: number;
|
|
9111
|
-
oldCheckpointId: number;
|
|
9112
|
-
newCheckpointId: number;
|
|
9113
|
-
}[];
|
|
9114
|
-
contractDBCommitCheckpointHints: {
|
|
9115
|
-
actionCounter: number;
|
|
9116
|
-
oldCheckpointId: number;
|
|
9117
|
-
newCheckpointId: number;
|
|
9118
|
-
}[];
|
|
9119
|
-
contractDBRevertCheckpointHints: {
|
|
9120
|
-
actionCounter: number;
|
|
9121
|
-
oldCheckpointId: number;
|
|
9122
|
-
newCheckpointId: number;
|
|
9123
|
-
}[];
|
|
9124
8917
|
}>;
|
|
9125
8918
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
9126
8919
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -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;
|
|
@@ -10510,6 +10291,21 @@ export declare class AvmCircuitInputs {
|
|
|
10510
10291
|
selector?: any;
|
|
10511
10292
|
address?: any;
|
|
10512
10293
|
}[];
|
|
10294
|
+
contractDBCreateCheckpointHints: {
|
|
10295
|
+
actionCounter: number;
|
|
10296
|
+
oldCheckpointId: number;
|
|
10297
|
+
newCheckpointId: number;
|
|
10298
|
+
}[];
|
|
10299
|
+
contractDBCommitCheckpointHints: {
|
|
10300
|
+
actionCounter: number;
|
|
10301
|
+
oldCheckpointId: number;
|
|
10302
|
+
newCheckpointId: number;
|
|
10303
|
+
}[];
|
|
10304
|
+
contractDBRevertCheckpointHints: {
|
|
10305
|
+
actionCounter: number;
|
|
10306
|
+
oldCheckpointId: number;
|
|
10307
|
+
newCheckpointId: number;
|
|
10308
|
+
}[];
|
|
10513
10309
|
startingTreeRoots: {
|
|
10514
10310
|
noteHashTree: {
|
|
10515
10311
|
root: string;
|
|
@@ -10727,6 +10523,9 @@ export declare class AvmCircuitInputs {
|
|
|
10727
10523
|
newCheckpointId: number;
|
|
10728
10524
|
}[];
|
|
10729
10525
|
revertCheckpointHints: {
|
|
10526
|
+
actionCounter: number;
|
|
10527
|
+
oldCheckpointId: number;
|
|
10528
|
+
newCheckpointId: number;
|
|
10730
10529
|
stateAfter: {
|
|
10731
10530
|
noteHashTree: {
|
|
10732
10531
|
root: string;
|
|
@@ -10745,9 +10544,6 @@ export declare class AvmCircuitInputs {
|
|
|
10745
10544
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10746
10545
|
};
|
|
10747
10546
|
};
|
|
10748
|
-
actionCounter: number;
|
|
10749
|
-
oldCheckpointId: number;
|
|
10750
|
-
newCheckpointId: number;
|
|
10751
10547
|
stateBefore: {
|
|
10752
10548
|
noteHashTree: {
|
|
10753
10549
|
root: string;
|
|
@@ -10767,21 +10563,6 @@ export declare class AvmCircuitInputs {
|
|
|
10767
10563
|
};
|
|
10768
10564
|
};
|
|
10769
10565
|
}[];
|
|
10770
|
-
contractDBCreateCheckpointHints: {
|
|
10771
|
-
actionCounter: number;
|
|
10772
|
-
oldCheckpointId: number;
|
|
10773
|
-
newCheckpointId: number;
|
|
10774
|
-
}[];
|
|
10775
|
-
contractDBCommitCheckpointHints: {
|
|
10776
|
-
actionCounter: number;
|
|
10777
|
-
oldCheckpointId: number;
|
|
10778
|
-
newCheckpointId: number;
|
|
10779
|
-
}[];
|
|
10780
|
-
contractDBRevertCheckpointHints: {
|
|
10781
|
-
actionCounter: number;
|
|
10782
|
-
oldCheckpointId: number;
|
|
10783
|
-
newCheckpointId: number;
|
|
10784
|
-
}[];
|
|
10785
10566
|
};
|
|
10786
10567
|
}>, AvmCircuitInputs, {
|
|
10787
10568
|
publicInputs: {
|
|
@@ -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;
|
|
@@ -11091,6 +10860,21 @@ export declare class AvmCircuitInputs {
|
|
|
11091
10860
|
selector?: any;
|
|
11092
10861
|
address?: any;
|
|
11093
10862
|
}[];
|
|
10863
|
+
contractDBCreateCheckpointHints: {
|
|
10864
|
+
actionCounter: number;
|
|
10865
|
+
oldCheckpointId: number;
|
|
10866
|
+
newCheckpointId: number;
|
|
10867
|
+
}[];
|
|
10868
|
+
contractDBCommitCheckpointHints: {
|
|
10869
|
+
actionCounter: number;
|
|
10870
|
+
oldCheckpointId: number;
|
|
10871
|
+
newCheckpointId: number;
|
|
10872
|
+
}[];
|
|
10873
|
+
contractDBRevertCheckpointHints: {
|
|
10874
|
+
actionCounter: number;
|
|
10875
|
+
oldCheckpointId: number;
|
|
10876
|
+
newCheckpointId: number;
|
|
10877
|
+
}[];
|
|
11094
10878
|
startingTreeRoots: {
|
|
11095
10879
|
noteHashTree: {
|
|
11096
10880
|
root: string;
|
|
@@ -11308,6 +11092,9 @@ export declare class AvmCircuitInputs {
|
|
|
11308
11092
|
newCheckpointId: number;
|
|
11309
11093
|
}[];
|
|
11310
11094
|
revertCheckpointHints: {
|
|
11095
|
+
actionCounter: number;
|
|
11096
|
+
oldCheckpointId: number;
|
|
11097
|
+
newCheckpointId: number;
|
|
11311
11098
|
stateAfter: {
|
|
11312
11099
|
noteHashTree: {
|
|
11313
11100
|
root: string;
|
|
@@ -11326,9 +11113,6 @@ export declare class AvmCircuitInputs {
|
|
|
11326
11113
|
nextAvailableLeafIndex: string | number | bigint;
|
|
11327
11114
|
};
|
|
11328
11115
|
};
|
|
11329
|
-
actionCounter: number;
|
|
11330
|
-
oldCheckpointId: number;
|
|
11331
|
-
newCheckpointId: number;
|
|
11332
11116
|
stateBefore: {
|
|
11333
11117
|
noteHashTree: {
|
|
11334
11118
|
root: string;
|
|
@@ -11348,21 +11132,6 @@ export declare class AvmCircuitInputs {
|
|
|
11348
11132
|
};
|
|
11349
11133
|
};
|
|
11350
11134
|
}[];
|
|
11351
|
-
contractDBCreateCheckpointHints: {
|
|
11352
|
-
actionCounter: number;
|
|
11353
|
-
oldCheckpointId: number;
|
|
11354
|
-
newCheckpointId: number;
|
|
11355
|
-
}[];
|
|
11356
|
-
contractDBCommitCheckpointHints: {
|
|
11357
|
-
actionCounter: number;
|
|
11358
|
-
oldCheckpointId: number;
|
|
11359
|
-
newCheckpointId: number;
|
|
11360
|
-
}[];
|
|
11361
|
-
contractDBRevertCheckpointHints: {
|
|
11362
|
-
actionCounter: number;
|
|
11363
|
-
oldCheckpointId: number;
|
|
11364
|
-
newCheckpointId: number;
|
|
11365
|
-
}[];
|
|
11366
11135
|
};
|
|
11367
11136
|
}>;
|
|
11368
11137
|
serializeWithMessagePack(): Buffer;
|
|
@@ -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;
|