@aztec/stdlib 0.80.0 → 0.82.0
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 +5 -1
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +2 -1
- package/dest/abi/contract_artifact.d.ts.map +1 -1
- package/dest/abi/contract_artifact.js +11 -0
- package/dest/auth_witness/auth_witness.d.ts +21 -0
- package/dest/auth_witness/auth_witness.d.ts.map +1 -1
- package/dest/auth_witness/auth_witness.js +29 -0
- package/dest/avm/avm.d.ts +173 -405
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +34 -27
- package/dest/avm/avm_proving_request.d.ts +84 -186
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/public_data_write.d.ts +1 -0
- package/dest/avm/public_data_write.d.ts.map +1 -1
- package/dest/avm/public_data_write.js +3 -0
- package/dest/block/body.d.ts +1 -0
- package/dest/block/body.d.ts.map +1 -1
- package/dest/block/body.js +3 -0
- package/dest/block/index.d.ts +1 -1
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -1
- package/dest/block/l2_block.d.ts +2 -1
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +3 -0
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts +3 -3
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.js +2 -4
- package/dest/block/l2_block_source.d.ts +9 -0
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/published_l2_block.d.ts +89 -0
- package/dest/block/published_l2_block.d.ts.map +1 -0
- package/dest/block/published_l2_block.js +32 -0
- package/dest/contract/interfaces/contract_data_source.d.ts +3 -14
- package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
- package/dest/database-version/version_manager.d.ts +5 -0
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +8 -1
- package/dest/interfaces/archiver.d.ts +1 -2
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +5 -6
- package/dest/interfaces/aztec-node-admin.d.ts +20 -0
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -0
- package/dest/interfaces/aztec-node-admin.js +16 -0
- package/dest/interfaces/aztec-node.d.ts +9 -39
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +6 -12
- package/dest/interfaces/client.d.ts +1 -0
- package/dest/interfaces/client.d.ts.map +1 -1
- package/dest/interfaces/client.js +1 -0
- package/dest/interfaces/private_kernel_prover.d.ts +2 -3
- package/dest/interfaces/private_kernel_prover.d.ts.map +1 -1
- package/dest/interfaces/prover-node.d.ts +1 -2
- package/dest/interfaces/prover-node.d.ts.map +1 -1
- package/dest/interfaces/prover-node.js +5 -4
- package/dest/interfaces/proving-job.d.ts +106 -208
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/pxe.d.ts +21 -39
- package/dest/interfaces/pxe.d.ts.map +1 -1
- package/dest/interfaces/pxe.js +10 -9
- package/dest/kernel/index.d.ts +1 -1
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +1 -1
- package/dest/kernel/private_kernel_prover_output.d.ts +49 -0
- package/dest/kernel/private_kernel_prover_output.d.ts.map +1 -0
- package/dest/kernel/private_kernel_prover_output.js +8 -0
- package/dest/kernel/private_kernel_simulated_output.d.ts +3 -7
- package/dest/kernel/private_kernel_simulated_output.d.ts.map +1 -1
- package/dest/logs/contract_class_log.d.ts +1 -0
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +3 -0
- package/dest/logs/l1_payload/index.d.ts +1 -1
- package/dest/logs/l1_payload/index.d.ts.map +1 -1
- package/dest/logs/l1_payload/index.js +1 -1
- package/dest/logs/log_with_tx_data.js +2 -2
- package/dest/logs/private_log.d.ts +2 -1
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +14 -3
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +4 -1
- package/dest/logs/tx_scoped_l2_log.d.ts +16 -28
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +28 -19
- package/dest/noir/index.d.ts +5 -1
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/note/extended_note.d.ts +10 -21
- package/dest/note/extended_note.d.ts.map +1 -1
- package/dest/note/extended_note.js +19 -28
- package/dest/note/notes_filter.d.ts +2 -2
- package/dest/note/notes_filter.d.ts.map +1 -1
- package/dest/note/notes_filter.js +1 -1
- package/dest/p2p/consensus_payload.d.ts +3 -1
- package/dest/p2p/consensus_payload.d.ts.map +1 -1
- package/dest/p2p/consensus_payload.js +3 -0
- package/dest/proofs/client_ivc_proof.d.ts +1 -2
- package/dest/proofs/client_ivc_proof.d.ts.map +1 -1
- package/dest/proofs/client_ivc_proof.js +6 -9
- package/dest/proofs/proof.d.ts +0 -1
- package/dest/proofs/proof.d.ts.map +1 -1
- package/dest/proofs/proof.js +2 -7
- package/dest/rollup/block_root_rollup.d.ts +1 -1
- package/dest/rollup/tube_inputs.d.ts +7 -2
- package/dest/rollup/tube_inputs.d.ts.map +1 -1
- package/dest/rollup/tube_inputs.js +10 -4
- package/dest/tests/factories.d.ts +3 -2
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +14 -8
- package/dest/tests/mocks.d.ts +2 -2
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +4 -5
- package/dest/trees/nullifier_membership_witness.d.ts +11 -7
- package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
- package/dest/trees/nullifier_membership_witness.js +10 -0
- package/dest/trees/public_data_witness.d.ts +12 -12
- package/dest/trees/public_data_witness.d.ts.map +1 -1
- package/dest/trees/public_data_witness.js +13 -0
- package/dest/tx/capsule.d.ts +2 -0
- package/dest/tx/capsule.d.ts.map +1 -1
- package/dest/tx/capsule.js +2 -0
- package/dest/tx/index.d.ts +2 -0
- package/dest/tx/index.d.ts.map +1 -1
- package/dest/tx/index.js +2 -0
- package/dest/tx/private_execution_result.d.ts +4 -0
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/private_execution_result.js +5 -0
- package/dest/tx/profiled_tx.d.ts +9 -0
- package/dest/tx/profiled_tx.d.ts.map +1 -0
- package/dest/tx/profiled_tx.js +27 -0
- package/dest/tx/proven_tx.d.ts +33 -0
- package/dest/tx/proven_tx.d.ts.map +1 -0
- package/dest/tx/proven_tx.js +35 -0
- package/dest/tx/simulated_tx.d.ts +8 -44
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/simulated_tx.js +17 -40
- package/dest/tx/tx_effect.d.ts +1 -0
- package/dest/tx/tx_effect.d.ts.map +1 -1
- package/dest/tx/tx_effect.js +4 -1
- package/dest/tx/tx_receipt.d.ts +1 -30
- package/dest/tx/tx_receipt.d.ts.map +1 -1
- package/dest/tx/tx_receipt.js +3 -13
- package/package.json +6 -7
- package/src/abi/abi.ts +7 -2
- package/src/abi/contract_artifact.ts +11 -0
- package/src/auth_witness/auth_witness.ts +29 -0
- package/src/avm/avm.ts +42 -39
- package/src/avm/public_data_write.ts +4 -0
- package/src/block/body.ts +6 -0
- package/src/block/index.ts +1 -1
- package/src/block/l2_block.ts +4 -0
- package/src/block/l2_block_downloader/l2_block_stream.ts +5 -7
- package/src/block/l2_block_source.ts +11 -0
- package/src/block/published_l2_block.ts +45 -0
- package/src/contract/interfaces/contract_data_source.ts +3 -16
- package/src/database-version/version_manager.ts +11 -1
- package/src/interfaces/archiver.ts +11 -14
- package/src/interfaces/aztec-node-admin.ts +39 -0
- package/src/interfaces/aztec-node.ts +13 -72
- package/src/interfaces/client.ts +1 -0
- package/src/interfaces/private_kernel_prover.ts +2 -3
- package/src/interfaces/prover-node.ts +2 -4
- package/src/interfaces/pxe.ts +34 -56
- package/src/kernel/index.ts +1 -1
- package/src/kernel/private_kernel_prover_output.ts +44 -0
- package/src/kernel/private_kernel_simulated_output.ts +4 -13
- package/src/logs/contract_class_log.ts +8 -0
- package/src/logs/l1_payload/index.ts +1 -1
- package/src/logs/log_with_tx_data.ts +2 -2
- package/src/logs/private_log.ts +13 -3
- package/src/logs/public_log.ts +11 -1
- package/src/logs/tx_scoped_l2_log.ts +28 -25
- package/src/noir/index.ts +6 -1
- package/src/note/extended_note.ts +17 -36
- package/src/note/notes_filter.ts +3 -3
- package/src/p2p/consensus_payload.ts +9 -0
- package/src/proofs/client_ivc_proof.ts +5 -15
- package/src/proofs/proof.ts +2 -8
- package/src/rollup/tube_inputs.ts +8 -4
- package/src/tests/factories.ts +15 -14
- package/src/tests/mocks.ts +4 -9
- package/src/trees/nullifier_membership_witness.ts +12 -0
- package/src/trees/public_data_witness.ts +15 -0
- package/src/tx/capsule.ts +2 -0
- package/src/tx/index.ts +2 -0
- package/src/tx/private_execution_result.ts +7 -0
- package/src/tx/profiled_tx.ts +27 -0
- package/src/tx/proven_tx.ts +58 -0
- package/src/tx/simulated_tx.ts +11 -63
- package/src/tx/tx_effect.ts +23 -1
- package/src/tx/tx_receipt.ts +0 -36
- package/dest/block/nullifier_with_block_source.d.ts +0 -6
- package/dest/block/nullifier_with_block_source.d.ts.map +0 -1
- package/dest/block/nullifier_with_block_source.js +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.d.ts +0 -25
- package/dest/kernel/private_kernel_prover_profile_result.d.ts.map +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.js +0 -7
- package/dest/logs/l1_payload/l1_note_payload.d.ts +0 -82
- package/dest/logs/l1_payload/l1_note_payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/l1_note_payload.js +0 -129
- package/src/block/nullifier_with_block_source.ts +0 -7
- package/src/kernel/private_kernel_prover_profile_result.ts +0 -7
- package/src/logs/l1_payload/l1_note_payload.ts +0 -182
package/dest/avm/avm.d.ts
CHANGED
|
@@ -8,37 +8,43 @@ import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
|
8
8
|
import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
|
|
9
9
|
import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
|
|
10
10
|
export declare class AvmEnqueuedCallHint {
|
|
11
|
+
readonly msgSender: AztecAddress;
|
|
11
12
|
readonly contractAddress: AztecAddress;
|
|
12
13
|
readonly calldata: Fr[];
|
|
13
|
-
|
|
14
|
+
isStaticCall: boolean;
|
|
15
|
+
constructor(msgSender: AztecAddress, contractAddress: AztecAddress, calldata: Fr[], isStaticCall: boolean);
|
|
14
16
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
17
|
+
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
15
18
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
16
19
|
calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
20
|
+
isStaticCall: z.ZodBoolean;
|
|
17
21
|
}, "strip", z.ZodTypeAny, {
|
|
18
22
|
contractAddress: AztecAddress;
|
|
23
|
+
msgSender: AztecAddress;
|
|
24
|
+
isStaticCall: boolean;
|
|
19
25
|
calldata: Fr[];
|
|
20
26
|
}, {
|
|
27
|
+
isStaticCall: boolean;
|
|
21
28
|
calldata: string[];
|
|
22
29
|
contractAddress?: any;
|
|
30
|
+
msgSender?: any;
|
|
23
31
|
}>, AvmEnqueuedCallHint, {
|
|
32
|
+
isStaticCall: boolean;
|
|
24
33
|
calldata: string[];
|
|
25
34
|
contractAddress?: any;
|
|
35
|
+
msgSender?: any;
|
|
26
36
|
}>;
|
|
27
37
|
}
|
|
28
38
|
export declare class AvmContractClassHint {
|
|
29
39
|
readonly classId: Fr;
|
|
30
|
-
readonly exists: boolean;
|
|
31
40
|
readonly artifactHash: Fr;
|
|
32
41
|
readonly privateFunctionsRoot: Fr;
|
|
33
|
-
readonly publicBytecodeCommitment: Fr;
|
|
34
42
|
readonly packedBytecode: Buffer;
|
|
35
|
-
constructor(classId: Fr,
|
|
43
|
+
constructor(classId: Fr, artifactHash: Fr, privateFunctionsRoot: Fr, packedBytecode: Buffer);
|
|
36
44
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
37
45
|
classId: z.ZodType<Fr, any, string>;
|
|
38
|
-
exists: z.ZodBoolean;
|
|
39
46
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
40
47
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
41
|
-
publicBytecodeCommitment: z.ZodType<Fr, any, string>;
|
|
42
48
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
|
|
43
49
|
type: z.ZodLiteral<"Buffer">;
|
|
44
50
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -54,48 +60,56 @@ export declare class AvmContractClassHint {
|
|
|
54
60
|
}>]>;
|
|
55
61
|
}, "strip", z.ZodTypeAny, {
|
|
56
62
|
classId: Fr;
|
|
57
|
-
exists: boolean;
|
|
58
63
|
artifactHash: Fr;
|
|
59
64
|
privateFunctionsRoot: Fr;
|
|
60
|
-
publicBytecodeCommitment: Fr;
|
|
61
65
|
packedBytecode: Buffer;
|
|
62
66
|
}, {
|
|
63
67
|
classId: string;
|
|
64
|
-
exists: boolean;
|
|
65
68
|
artifactHash: string;
|
|
66
69
|
privateFunctionsRoot: string;
|
|
67
|
-
publicBytecodeCommitment: string;
|
|
68
70
|
packedBytecode: string | {
|
|
69
71
|
type: "Buffer";
|
|
70
72
|
data: number[];
|
|
71
73
|
};
|
|
72
74
|
}>, AvmContractClassHint, {
|
|
73
75
|
classId: string;
|
|
74
|
-
exists: boolean;
|
|
75
76
|
artifactHash: string;
|
|
76
77
|
privateFunctionsRoot: string;
|
|
77
|
-
publicBytecodeCommitment: string;
|
|
78
78
|
packedBytecode: string | {
|
|
79
79
|
type: "Buffer";
|
|
80
80
|
data: number[];
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
83
83
|
}
|
|
84
|
+
export declare class AvmBytecodeCommitmentHint {
|
|
85
|
+
readonly classId: Fr;
|
|
86
|
+
readonly commitment: Fr;
|
|
87
|
+
constructor(classId: Fr, commitment: Fr);
|
|
88
|
+
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
89
|
+
classId: z.ZodType<Fr, any, string>;
|
|
90
|
+
commitment: z.ZodType<Fr, any, string>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
classId: Fr;
|
|
93
|
+
commitment: Fr;
|
|
94
|
+
}, {
|
|
95
|
+
classId: string;
|
|
96
|
+
commitment: string;
|
|
97
|
+
}>, AvmBytecodeCommitmentHint, {
|
|
98
|
+
classId: string;
|
|
99
|
+
commitment: string;
|
|
100
|
+
}>;
|
|
101
|
+
}
|
|
84
102
|
export declare class AvmContractInstanceHint {
|
|
85
103
|
readonly address: AztecAddress;
|
|
86
|
-
readonly exists: boolean;
|
|
87
104
|
readonly salt: Fr;
|
|
88
105
|
readonly deployer: AztecAddress;
|
|
89
106
|
readonly currentContractClassId: Fr;
|
|
90
107
|
readonly originalContractClassId: Fr;
|
|
91
108
|
readonly initializationHash: Fr;
|
|
92
109
|
readonly publicKeys: PublicKeys;
|
|
93
|
-
|
|
94
|
-
readonly updatePreimage: Fr[];
|
|
95
|
-
constructor(address: AztecAddress, exists: boolean, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys, updateMembershipHint: AvmPublicDataReadTreeHint, updatePreimage?: Fr[]);
|
|
110
|
+
constructor(address: AztecAddress, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys);
|
|
96
111
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
97
112
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
98
|
-
exists: z.ZodBoolean;
|
|
99
113
|
salt: z.ZodType<Fr, any, string>;
|
|
100
114
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
101
115
|
currentContractClassId: z.ZodType<Fr, any, string>;
|
|
@@ -122,56 +136,7 @@ export declare class AvmContractInstanceHint {
|
|
|
122
136
|
masterOutgoingViewingPublicKey: string;
|
|
123
137
|
masterTaggingPublicKey: string;
|
|
124
138
|
}>;
|
|
125
|
-
updateMembershipHint: z.ZodEffects<z.ZodObject<{
|
|
126
|
-
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
127
|
-
slot: z.ZodType<Fr, any, string>;
|
|
128
|
-
value: z.ZodType<Fr, any, string>;
|
|
129
|
-
nextSlot: z.ZodType<Fr, any, string>;
|
|
130
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
value: Fr;
|
|
133
|
-
slot: Fr;
|
|
134
|
-
nextIndex: bigint;
|
|
135
|
-
nextSlot: Fr;
|
|
136
|
-
}, {
|
|
137
|
-
value: string;
|
|
138
|
-
slot: string;
|
|
139
|
-
nextIndex: string | number | bigint;
|
|
140
|
-
nextSlot: string;
|
|
141
|
-
}>, PublicDataTreeLeafPreimage, {
|
|
142
|
-
value: string;
|
|
143
|
-
slot: string;
|
|
144
|
-
nextIndex: string | number | bigint;
|
|
145
|
-
nextSlot: string;
|
|
146
|
-
}>;
|
|
147
|
-
leafIndex: z.ZodType<Fr, any, string>;
|
|
148
|
-
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
149
|
-
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
151
|
-
leafIndex: Fr;
|
|
152
|
-
siblingPath: Fr[];
|
|
153
|
-
}, {
|
|
154
|
-
leafPreimage: {
|
|
155
|
-
value: string;
|
|
156
|
-
slot: string;
|
|
157
|
-
nextIndex: string | number | bigint;
|
|
158
|
-
nextSlot: string;
|
|
159
|
-
};
|
|
160
|
-
leafIndex: string;
|
|
161
|
-
siblingPath: string[];
|
|
162
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
163
|
-
leafPreimage: {
|
|
164
|
-
value: string;
|
|
165
|
-
slot: string;
|
|
166
|
-
nextIndex: string | number | bigint;
|
|
167
|
-
nextSlot: string;
|
|
168
|
-
};
|
|
169
|
-
leafIndex: string;
|
|
170
|
-
siblingPath: string[];
|
|
171
|
-
}>;
|
|
172
|
-
updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
173
139
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
exists: boolean;
|
|
175
140
|
address: AztecAddress;
|
|
176
141
|
salt: Fr;
|
|
177
142
|
deployer: AztecAddress;
|
|
@@ -179,10 +144,7 @@ export declare class AvmContractInstanceHint {
|
|
|
179
144
|
originalContractClassId: Fr;
|
|
180
145
|
initializationHash: Fr;
|
|
181
146
|
publicKeys: PublicKeys;
|
|
182
|
-
updateMembershipHint: AvmPublicDataReadTreeHint;
|
|
183
|
-
updatePreimage: Fr[];
|
|
184
147
|
}, {
|
|
185
|
-
exists: boolean;
|
|
186
148
|
salt: string;
|
|
187
149
|
currentContractClassId: string;
|
|
188
150
|
originalContractClassId: string;
|
|
@@ -193,21 +155,9 @@ export declare class AvmContractInstanceHint {
|
|
|
193
155
|
masterOutgoingViewingPublicKey: string;
|
|
194
156
|
masterTaggingPublicKey: string;
|
|
195
157
|
};
|
|
196
|
-
updateMembershipHint: {
|
|
197
|
-
leafPreimage: {
|
|
198
|
-
value: string;
|
|
199
|
-
slot: string;
|
|
200
|
-
nextIndex: string | number | bigint;
|
|
201
|
-
nextSlot: string;
|
|
202
|
-
};
|
|
203
|
-
leafIndex: string;
|
|
204
|
-
siblingPath: string[];
|
|
205
|
-
};
|
|
206
|
-
updatePreimage: string[];
|
|
207
158
|
address?: any;
|
|
208
159
|
deployer?: any;
|
|
209
160
|
}>, AvmContractInstanceHint, {
|
|
210
|
-
exists: boolean;
|
|
211
161
|
salt: string;
|
|
212
162
|
currentContractClassId: string;
|
|
213
163
|
originalContractClassId: string;
|
|
@@ -218,17 +168,6 @@ export declare class AvmContractInstanceHint {
|
|
|
218
168
|
masterOutgoingViewingPublicKey: string;
|
|
219
169
|
masterTaggingPublicKey: string;
|
|
220
170
|
};
|
|
221
|
-
updateMembershipHint: {
|
|
222
|
-
leafPreimage: {
|
|
223
|
-
value: string;
|
|
224
|
-
slot: string;
|
|
225
|
-
nextIndex: string | number | bigint;
|
|
226
|
-
nextSlot: string;
|
|
227
|
-
};
|
|
228
|
-
leafIndex: string;
|
|
229
|
-
siblingPath: string[];
|
|
230
|
-
};
|
|
231
|
-
updatePreimage: string[];
|
|
232
171
|
address?: any;
|
|
233
172
|
deployer?: any;
|
|
234
173
|
}>;
|
|
@@ -408,27 +347,27 @@ export declare class AvmPublicDataReadTreeHint {
|
|
|
408
347
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
409
348
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
410
349
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
412
350
|
leafIndex: Fr;
|
|
413
351
|
siblingPath: Fr[];
|
|
352
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
414
353
|
}, {
|
|
354
|
+
leafIndex: string;
|
|
355
|
+
siblingPath: string[];
|
|
415
356
|
leafPreimage: {
|
|
416
357
|
value: string;
|
|
417
358
|
slot: string;
|
|
418
359
|
nextIndex: string | number | bigint;
|
|
419
360
|
nextSlot: string;
|
|
420
361
|
};
|
|
362
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
421
363
|
leafIndex: string;
|
|
422
364
|
siblingPath: string[];
|
|
423
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
424
365
|
leafPreimage: {
|
|
425
366
|
value: string;
|
|
426
367
|
slot: string;
|
|
427
368
|
nextIndex: string | number | bigint;
|
|
428
369
|
nextSlot: string;
|
|
429
370
|
};
|
|
430
|
-
leafIndex: string;
|
|
431
|
-
siblingPath: string[];
|
|
432
371
|
}>;
|
|
433
372
|
}
|
|
434
373
|
export declare class AvmPublicDataWriteTreeHint {
|
|
@@ -462,27 +401,27 @@ export declare class AvmPublicDataWriteTreeHint {
|
|
|
462
401
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
463
402
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
464
403
|
}, "strip", z.ZodTypeAny, {
|
|
465
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
466
404
|
leafIndex: Fr;
|
|
467
405
|
siblingPath: Fr[];
|
|
406
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
468
407
|
}, {
|
|
408
|
+
leafIndex: string;
|
|
409
|
+
siblingPath: string[];
|
|
469
410
|
leafPreimage: {
|
|
470
411
|
value: string;
|
|
471
412
|
slot: string;
|
|
472
413
|
nextIndex: string | number | bigint;
|
|
473
414
|
nextSlot: string;
|
|
474
415
|
};
|
|
416
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
475
417
|
leafIndex: string;
|
|
476
418
|
siblingPath: string[];
|
|
477
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
478
419
|
leafPreimage: {
|
|
479
420
|
value: string;
|
|
480
421
|
slot: string;
|
|
481
422
|
nextIndex: string | number | bigint;
|
|
482
423
|
nextSlot: string;
|
|
483
424
|
};
|
|
484
|
-
leafIndex: string;
|
|
485
|
-
siblingPath: string[];
|
|
486
425
|
}>;
|
|
487
426
|
newLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
488
427
|
slot: z.ZodType<Fr, any, string>;
|
|
@@ -512,14 +451,14 @@ export declare class AvmPublicDataWriteTreeHint {
|
|
|
512
451
|
newLeafPreimage: PublicDataTreeLeafPreimage;
|
|
513
452
|
}, {
|
|
514
453
|
lowLeafRead: {
|
|
454
|
+
leafIndex: string;
|
|
455
|
+
siblingPath: string[];
|
|
515
456
|
leafPreimage: {
|
|
516
457
|
value: string;
|
|
517
458
|
slot: string;
|
|
518
459
|
nextIndex: string | number | bigint;
|
|
519
460
|
nextSlot: string;
|
|
520
461
|
};
|
|
521
|
-
leafIndex: string;
|
|
522
|
-
siblingPath: string[];
|
|
523
462
|
};
|
|
524
463
|
insertionPath: string[];
|
|
525
464
|
newLeafPreimage: {
|
|
@@ -530,14 +469,14 @@ export declare class AvmPublicDataWriteTreeHint {
|
|
|
530
469
|
};
|
|
531
470
|
}>, AvmPublicDataWriteTreeHint, {
|
|
532
471
|
lowLeafRead: {
|
|
472
|
+
leafIndex: string;
|
|
473
|
+
siblingPath: string[];
|
|
533
474
|
leafPreimage: {
|
|
534
475
|
value: string;
|
|
535
476
|
slot: string;
|
|
536
477
|
nextIndex: string | number | bigint;
|
|
537
478
|
nextSlot: string;
|
|
538
479
|
};
|
|
539
|
-
leafIndex: string;
|
|
540
|
-
siblingPath: string[];
|
|
541
480
|
};
|
|
542
481
|
insertionPath: string[];
|
|
543
482
|
newLeafPreimage: {
|
|
@@ -552,6 +491,7 @@ export declare class AvmExecutionHints {
|
|
|
552
491
|
readonly enqueuedCalls: AvmEnqueuedCallHint[];
|
|
553
492
|
readonly contractInstances: AvmContractInstanceHint[];
|
|
554
493
|
readonly contractClasses: AvmContractClassHint[];
|
|
494
|
+
readonly bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
555
495
|
readonly publicDataReads: AvmPublicDataReadTreeHint[];
|
|
556
496
|
readonly publicDataWrites: AvmPublicDataWriteTreeHint[];
|
|
557
497
|
readonly nullifierReads: AvmNullifierReadTreeHint[];
|
|
@@ -559,25 +499,32 @@ export declare class AvmExecutionHints {
|
|
|
559
499
|
readonly noteHashReads: AvmAppendTreeHint[];
|
|
560
500
|
readonly noteHashWrites: AvmAppendTreeHint[];
|
|
561
501
|
readonly l1ToL2MessageReads: AvmAppendTreeHint[];
|
|
562
|
-
constructor(enqueuedCalls
|
|
502
|
+
constructor(enqueuedCalls?: AvmEnqueuedCallHint[], contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], publicDataReads?: AvmPublicDataReadTreeHint[], publicDataWrites?: AvmPublicDataWriteTreeHint[], nullifierReads?: AvmNullifierReadTreeHint[], nullifierWrites?: AvmNullifierWriteTreeHint[], noteHashReads?: AvmAppendTreeHint[], noteHashWrites?: AvmAppendTreeHint[], l1ToL2MessageReads?: AvmAppendTreeHint[]);
|
|
563
503
|
static empty(): AvmExecutionHints;
|
|
564
504
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
565
505
|
enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
506
|
+
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
566
507
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
567
508
|
calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
509
|
+
isStaticCall: z.ZodBoolean;
|
|
568
510
|
}, "strip", z.ZodTypeAny, {
|
|
569
511
|
contractAddress: AztecAddress;
|
|
512
|
+
msgSender: AztecAddress;
|
|
513
|
+
isStaticCall: boolean;
|
|
570
514
|
calldata: Fr[];
|
|
571
515
|
}, {
|
|
516
|
+
isStaticCall: boolean;
|
|
572
517
|
calldata: string[];
|
|
573
518
|
contractAddress?: any;
|
|
519
|
+
msgSender?: any;
|
|
574
520
|
}>, AvmEnqueuedCallHint, {
|
|
521
|
+
isStaticCall: boolean;
|
|
575
522
|
calldata: string[];
|
|
576
523
|
contractAddress?: any;
|
|
524
|
+
msgSender?: any;
|
|
577
525
|
}>, "many">;
|
|
578
526
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
579
527
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
580
|
-
exists: z.ZodBoolean;
|
|
581
528
|
salt: z.ZodType<Fr, any, string>;
|
|
582
529
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
583
530
|
currentContractClassId: z.ZodType<Fr, any, string>;
|
|
@@ -604,56 +551,7 @@ export declare class AvmExecutionHints {
|
|
|
604
551
|
masterOutgoingViewingPublicKey: string;
|
|
605
552
|
masterTaggingPublicKey: string;
|
|
606
553
|
}>;
|
|
607
|
-
updateMembershipHint: z.ZodEffects<z.ZodObject<{
|
|
608
|
-
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
609
|
-
slot: z.ZodType<Fr, any, string>;
|
|
610
|
-
value: z.ZodType<Fr, any, string>;
|
|
611
|
-
nextSlot: z.ZodType<Fr, any, string>;
|
|
612
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
613
|
-
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
value: Fr;
|
|
615
|
-
slot: Fr;
|
|
616
|
-
nextIndex: bigint;
|
|
617
|
-
nextSlot: Fr;
|
|
618
|
-
}, {
|
|
619
|
-
value: string;
|
|
620
|
-
slot: string;
|
|
621
|
-
nextIndex: string | number | bigint;
|
|
622
|
-
nextSlot: string;
|
|
623
|
-
}>, PublicDataTreeLeafPreimage, {
|
|
624
|
-
value: string;
|
|
625
|
-
slot: string;
|
|
626
|
-
nextIndex: string | number | bigint;
|
|
627
|
-
nextSlot: string;
|
|
628
|
-
}>;
|
|
629
|
-
leafIndex: z.ZodType<Fr, any, string>;
|
|
630
|
-
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
631
|
-
}, "strip", z.ZodTypeAny, {
|
|
632
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
633
|
-
leafIndex: Fr;
|
|
634
|
-
siblingPath: Fr[];
|
|
635
|
-
}, {
|
|
636
|
-
leafPreimage: {
|
|
637
|
-
value: string;
|
|
638
|
-
slot: string;
|
|
639
|
-
nextIndex: string | number | bigint;
|
|
640
|
-
nextSlot: string;
|
|
641
|
-
};
|
|
642
|
-
leafIndex: string;
|
|
643
|
-
siblingPath: string[];
|
|
644
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
645
|
-
leafPreimage: {
|
|
646
|
-
value: string;
|
|
647
|
-
slot: string;
|
|
648
|
-
nextIndex: string | number | bigint;
|
|
649
|
-
nextSlot: string;
|
|
650
|
-
};
|
|
651
|
-
leafIndex: string;
|
|
652
|
-
siblingPath: string[];
|
|
653
|
-
}>;
|
|
654
|
-
updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
655
554
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
-
exists: boolean;
|
|
657
555
|
address: AztecAddress;
|
|
658
556
|
salt: Fr;
|
|
659
557
|
deployer: AztecAddress;
|
|
@@ -661,10 +559,7 @@ export declare class AvmExecutionHints {
|
|
|
661
559
|
originalContractClassId: Fr;
|
|
662
560
|
initializationHash: Fr;
|
|
663
561
|
publicKeys: PublicKeys;
|
|
664
|
-
updateMembershipHint: AvmPublicDataReadTreeHint;
|
|
665
|
-
updatePreimage: Fr[];
|
|
666
562
|
}, {
|
|
667
|
-
exists: boolean;
|
|
668
563
|
salt: string;
|
|
669
564
|
currentContractClassId: string;
|
|
670
565
|
originalContractClassId: string;
|
|
@@ -675,21 +570,9 @@ export declare class AvmExecutionHints {
|
|
|
675
570
|
masterOutgoingViewingPublicKey: string;
|
|
676
571
|
masterTaggingPublicKey: string;
|
|
677
572
|
};
|
|
678
|
-
updateMembershipHint: {
|
|
679
|
-
leafPreimage: {
|
|
680
|
-
value: string;
|
|
681
|
-
slot: string;
|
|
682
|
-
nextIndex: string | number | bigint;
|
|
683
|
-
nextSlot: string;
|
|
684
|
-
};
|
|
685
|
-
leafIndex: string;
|
|
686
|
-
siblingPath: string[];
|
|
687
|
-
};
|
|
688
|
-
updatePreimage: string[];
|
|
689
573
|
address?: any;
|
|
690
574
|
deployer?: any;
|
|
691
575
|
}>, AvmContractInstanceHint, {
|
|
692
|
-
exists: boolean;
|
|
693
576
|
salt: string;
|
|
694
577
|
currentContractClassId: string;
|
|
695
578
|
originalContractClassId: string;
|
|
@@ -700,26 +583,13 @@ export declare class AvmExecutionHints {
|
|
|
700
583
|
masterOutgoingViewingPublicKey: string;
|
|
701
584
|
masterTaggingPublicKey: string;
|
|
702
585
|
};
|
|
703
|
-
updateMembershipHint: {
|
|
704
|
-
leafPreimage: {
|
|
705
|
-
value: string;
|
|
706
|
-
slot: string;
|
|
707
|
-
nextIndex: string | number | bigint;
|
|
708
|
-
nextSlot: string;
|
|
709
|
-
};
|
|
710
|
-
leafIndex: string;
|
|
711
|
-
siblingPath: string[];
|
|
712
|
-
};
|
|
713
|
-
updatePreimage: string[];
|
|
714
586
|
address?: any;
|
|
715
587
|
deployer?: any;
|
|
716
588
|
}>, "many">;
|
|
717
589
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
718
590
|
classId: z.ZodType<Fr, any, string>;
|
|
719
|
-
exists: z.ZodBoolean;
|
|
720
591
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
721
592
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
722
|
-
publicBytecodeCommitment: z.ZodType<Fr, any, string>;
|
|
723
593
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
|
|
724
594
|
type: z.ZodLiteral<"Buffer">;
|
|
725
595
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -735,32 +605,39 @@ export declare class AvmExecutionHints {
|
|
|
735
605
|
}>]>;
|
|
736
606
|
}, "strip", z.ZodTypeAny, {
|
|
737
607
|
classId: Fr;
|
|
738
|
-
exists: boolean;
|
|
739
608
|
artifactHash: Fr;
|
|
740
609
|
privateFunctionsRoot: Fr;
|
|
741
|
-
publicBytecodeCommitment: Fr;
|
|
742
610
|
packedBytecode: Buffer;
|
|
743
611
|
}, {
|
|
744
612
|
classId: string;
|
|
745
|
-
exists: boolean;
|
|
746
613
|
artifactHash: string;
|
|
747
614
|
privateFunctionsRoot: string;
|
|
748
|
-
publicBytecodeCommitment: string;
|
|
749
615
|
packedBytecode: string | {
|
|
750
616
|
type: "Buffer";
|
|
751
617
|
data: number[];
|
|
752
618
|
};
|
|
753
619
|
}>, AvmContractClassHint, {
|
|
754
620
|
classId: string;
|
|
755
|
-
exists: boolean;
|
|
756
621
|
artifactHash: string;
|
|
757
622
|
privateFunctionsRoot: string;
|
|
758
|
-
publicBytecodeCommitment: string;
|
|
759
623
|
packedBytecode: string | {
|
|
760
624
|
type: "Buffer";
|
|
761
625
|
data: number[];
|
|
762
626
|
};
|
|
763
627
|
}>, "many">;
|
|
628
|
+
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
629
|
+
classId: z.ZodType<Fr, any, string>;
|
|
630
|
+
commitment: z.ZodType<Fr, any, string>;
|
|
631
|
+
}, "strip", z.ZodTypeAny, {
|
|
632
|
+
classId: Fr;
|
|
633
|
+
commitment: Fr;
|
|
634
|
+
}, {
|
|
635
|
+
classId: string;
|
|
636
|
+
commitment: string;
|
|
637
|
+
}>, AvmBytecodeCommitmentHint, {
|
|
638
|
+
classId: string;
|
|
639
|
+
commitment: string;
|
|
640
|
+
}>, "many">;
|
|
764
641
|
publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
765
642
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
766
643
|
slot: z.ZodType<Fr, any, string>;
|
|
@@ -786,27 +663,27 @@ export declare class AvmExecutionHints {
|
|
|
786
663
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
787
664
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
788
665
|
}, "strip", z.ZodTypeAny, {
|
|
789
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
790
666
|
leafIndex: Fr;
|
|
791
667
|
siblingPath: Fr[];
|
|
668
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
792
669
|
}, {
|
|
670
|
+
leafIndex: string;
|
|
671
|
+
siblingPath: string[];
|
|
793
672
|
leafPreimage: {
|
|
794
673
|
value: string;
|
|
795
674
|
slot: string;
|
|
796
675
|
nextIndex: string | number | bigint;
|
|
797
676
|
nextSlot: string;
|
|
798
677
|
};
|
|
678
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
799
679
|
leafIndex: string;
|
|
800
680
|
siblingPath: string[];
|
|
801
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
802
681
|
leafPreimage: {
|
|
803
682
|
value: string;
|
|
804
683
|
slot: string;
|
|
805
684
|
nextIndex: string | number | bigint;
|
|
806
685
|
nextSlot: string;
|
|
807
686
|
};
|
|
808
|
-
leafIndex: string;
|
|
809
|
-
siblingPath: string[];
|
|
810
687
|
}>, "many">;
|
|
811
688
|
publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
812
689
|
lowLeafRead: z.ZodEffects<z.ZodObject<{
|
|
@@ -834,27 +711,27 @@ export declare class AvmExecutionHints {
|
|
|
834
711
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
835
712
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
836
713
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
838
714
|
leafIndex: Fr;
|
|
839
715
|
siblingPath: Fr[];
|
|
716
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
840
717
|
}, {
|
|
718
|
+
leafIndex: string;
|
|
719
|
+
siblingPath: string[];
|
|
841
720
|
leafPreimage: {
|
|
842
721
|
value: string;
|
|
843
722
|
slot: string;
|
|
844
723
|
nextIndex: string | number | bigint;
|
|
845
724
|
nextSlot: string;
|
|
846
725
|
};
|
|
726
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
847
727
|
leafIndex: string;
|
|
848
728
|
siblingPath: string[];
|
|
849
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
850
729
|
leafPreimage: {
|
|
851
730
|
value: string;
|
|
852
731
|
slot: string;
|
|
853
732
|
nextIndex: string | number | bigint;
|
|
854
733
|
nextSlot: string;
|
|
855
734
|
};
|
|
856
|
-
leafIndex: string;
|
|
857
|
-
siblingPath: string[];
|
|
858
735
|
}>;
|
|
859
736
|
newLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
860
737
|
slot: z.ZodType<Fr, any, string>;
|
|
@@ -884,14 +761,14 @@ export declare class AvmExecutionHints {
|
|
|
884
761
|
newLeafPreimage: PublicDataTreeLeafPreimage;
|
|
885
762
|
}, {
|
|
886
763
|
lowLeafRead: {
|
|
764
|
+
leafIndex: string;
|
|
765
|
+
siblingPath: string[];
|
|
887
766
|
leafPreimage: {
|
|
888
767
|
value: string;
|
|
889
768
|
slot: string;
|
|
890
769
|
nextIndex: string | number | bigint;
|
|
891
770
|
nextSlot: string;
|
|
892
771
|
};
|
|
893
|
-
leafIndex: string;
|
|
894
|
-
siblingPath: string[];
|
|
895
772
|
};
|
|
896
773
|
insertionPath: string[];
|
|
897
774
|
newLeafPreimage: {
|
|
@@ -902,14 +779,14 @@ export declare class AvmExecutionHints {
|
|
|
902
779
|
};
|
|
903
780
|
}>, AvmPublicDataWriteTreeHint, {
|
|
904
781
|
lowLeafRead: {
|
|
782
|
+
leafIndex: string;
|
|
783
|
+
siblingPath: string[];
|
|
905
784
|
leafPreimage: {
|
|
906
785
|
value: string;
|
|
907
786
|
slot: string;
|
|
908
787
|
nextIndex: string | number | bigint;
|
|
909
788
|
nextSlot: string;
|
|
910
789
|
};
|
|
911
|
-
leafIndex: string;
|
|
912
|
-
siblingPath: string[];
|
|
913
790
|
};
|
|
914
791
|
insertionPath: string[];
|
|
915
792
|
newLeafPreimage: {
|
|
@@ -1085,6 +962,7 @@ export declare class AvmExecutionHints {
|
|
|
1085
962
|
enqueuedCalls: AvmEnqueuedCallHint[];
|
|
1086
963
|
contractInstances: AvmContractInstanceHint[];
|
|
1087
964
|
contractClasses: AvmContractClassHint[];
|
|
965
|
+
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
1088
966
|
publicDataReads: AvmPublicDataReadTreeHint[];
|
|
1089
967
|
nullifierReads: AvmNullifierReadTreeHint[];
|
|
1090
968
|
nullifierWrites: AvmNullifierWriteTreeHint[];
|
|
@@ -1094,14 +972,14 @@ export declare class AvmExecutionHints {
|
|
|
1094
972
|
}, {
|
|
1095
973
|
publicDataWrites: {
|
|
1096
974
|
lowLeafRead: {
|
|
975
|
+
leafIndex: string;
|
|
976
|
+
siblingPath: string[];
|
|
1097
977
|
leafPreimage: {
|
|
1098
978
|
value: string;
|
|
1099
979
|
slot: string;
|
|
1100
980
|
nextIndex: string | number | bigint;
|
|
1101
981
|
nextSlot: string;
|
|
1102
982
|
};
|
|
1103
|
-
leafIndex: string;
|
|
1104
|
-
siblingPath: string[];
|
|
1105
983
|
};
|
|
1106
984
|
insertionPath: string[];
|
|
1107
985
|
newLeafPreimage: {
|
|
@@ -1112,11 +990,12 @@ export declare class AvmExecutionHints {
|
|
|
1112
990
|
};
|
|
1113
991
|
}[];
|
|
1114
992
|
enqueuedCalls: {
|
|
993
|
+
isStaticCall: boolean;
|
|
1115
994
|
calldata: string[];
|
|
1116
995
|
contractAddress?: any;
|
|
996
|
+
msgSender?: any;
|
|
1117
997
|
}[];
|
|
1118
998
|
contractInstances: {
|
|
1119
|
-
exists: boolean;
|
|
1120
999
|
salt: string;
|
|
1121
1000
|
currentContractClassId: string;
|
|
1122
1001
|
originalContractClassId: string;
|
|
@@ -1127,40 +1006,31 @@ export declare class AvmExecutionHints {
|
|
|
1127
1006
|
masterOutgoingViewingPublicKey: string;
|
|
1128
1007
|
masterTaggingPublicKey: string;
|
|
1129
1008
|
};
|
|
1130
|
-
updateMembershipHint: {
|
|
1131
|
-
leafPreimage: {
|
|
1132
|
-
value: string;
|
|
1133
|
-
slot: string;
|
|
1134
|
-
nextIndex: string | number | bigint;
|
|
1135
|
-
nextSlot: string;
|
|
1136
|
-
};
|
|
1137
|
-
leafIndex: string;
|
|
1138
|
-
siblingPath: string[];
|
|
1139
|
-
};
|
|
1140
|
-
updatePreimage: string[];
|
|
1141
1009
|
address?: any;
|
|
1142
1010
|
deployer?: any;
|
|
1143
1011
|
}[];
|
|
1144
1012
|
contractClasses: {
|
|
1145
1013
|
classId: string;
|
|
1146
|
-
exists: boolean;
|
|
1147
1014
|
artifactHash: string;
|
|
1148
1015
|
privateFunctionsRoot: string;
|
|
1149
|
-
publicBytecodeCommitment: string;
|
|
1150
1016
|
packedBytecode: string | {
|
|
1151
1017
|
type: "Buffer";
|
|
1152
1018
|
data: number[];
|
|
1153
1019
|
};
|
|
1154
1020
|
}[];
|
|
1021
|
+
bytecodeCommitments: {
|
|
1022
|
+
classId: string;
|
|
1023
|
+
commitment: string;
|
|
1024
|
+
}[];
|
|
1155
1025
|
publicDataReads: {
|
|
1026
|
+
leafIndex: string;
|
|
1027
|
+
siblingPath: string[];
|
|
1156
1028
|
leafPreimage: {
|
|
1157
1029
|
value: string;
|
|
1158
1030
|
slot: string;
|
|
1159
1031
|
nextIndex: string | number | bigint;
|
|
1160
1032
|
nextSlot: string;
|
|
1161
1033
|
};
|
|
1162
|
-
leafIndex: string;
|
|
1163
|
-
siblingPath: string[];
|
|
1164
1034
|
}[];
|
|
1165
1035
|
nullifierReads: {
|
|
1166
1036
|
lowLeafPreimage: {
|
|
@@ -1201,14 +1071,14 @@ export declare class AvmExecutionHints {
|
|
|
1201
1071
|
}>, AvmExecutionHints, {
|
|
1202
1072
|
publicDataWrites: {
|
|
1203
1073
|
lowLeafRead: {
|
|
1074
|
+
leafIndex: string;
|
|
1075
|
+
siblingPath: string[];
|
|
1204
1076
|
leafPreimage: {
|
|
1205
1077
|
value: string;
|
|
1206
1078
|
slot: string;
|
|
1207
1079
|
nextIndex: string | number | bigint;
|
|
1208
1080
|
nextSlot: string;
|
|
1209
1081
|
};
|
|
1210
|
-
leafIndex: string;
|
|
1211
|
-
siblingPath: string[];
|
|
1212
1082
|
};
|
|
1213
1083
|
insertionPath: string[];
|
|
1214
1084
|
newLeafPreimage: {
|
|
@@ -1219,11 +1089,12 @@ export declare class AvmExecutionHints {
|
|
|
1219
1089
|
};
|
|
1220
1090
|
}[];
|
|
1221
1091
|
enqueuedCalls: {
|
|
1092
|
+
isStaticCall: boolean;
|
|
1222
1093
|
calldata: string[];
|
|
1223
1094
|
contractAddress?: any;
|
|
1095
|
+
msgSender?: any;
|
|
1224
1096
|
}[];
|
|
1225
1097
|
contractInstances: {
|
|
1226
|
-
exists: boolean;
|
|
1227
1098
|
salt: string;
|
|
1228
1099
|
currentContractClassId: string;
|
|
1229
1100
|
originalContractClassId: string;
|
|
@@ -1234,40 +1105,31 @@ export declare class AvmExecutionHints {
|
|
|
1234
1105
|
masterOutgoingViewingPublicKey: string;
|
|
1235
1106
|
masterTaggingPublicKey: string;
|
|
1236
1107
|
};
|
|
1237
|
-
updateMembershipHint: {
|
|
1238
|
-
leafPreimage: {
|
|
1239
|
-
value: string;
|
|
1240
|
-
slot: string;
|
|
1241
|
-
nextIndex: string | number | bigint;
|
|
1242
|
-
nextSlot: string;
|
|
1243
|
-
};
|
|
1244
|
-
leafIndex: string;
|
|
1245
|
-
siblingPath: string[];
|
|
1246
|
-
};
|
|
1247
|
-
updatePreimage: string[];
|
|
1248
1108
|
address?: any;
|
|
1249
1109
|
deployer?: any;
|
|
1250
1110
|
}[];
|
|
1251
1111
|
contractClasses: {
|
|
1252
1112
|
classId: string;
|
|
1253
|
-
exists: boolean;
|
|
1254
1113
|
artifactHash: string;
|
|
1255
1114
|
privateFunctionsRoot: string;
|
|
1256
|
-
publicBytecodeCommitment: string;
|
|
1257
1115
|
packedBytecode: string | {
|
|
1258
1116
|
type: "Buffer";
|
|
1259
1117
|
data: number[];
|
|
1260
1118
|
};
|
|
1261
1119
|
}[];
|
|
1120
|
+
bytecodeCommitments: {
|
|
1121
|
+
classId: string;
|
|
1122
|
+
commitment: string;
|
|
1123
|
+
}[];
|
|
1262
1124
|
publicDataReads: {
|
|
1125
|
+
leafIndex: string;
|
|
1126
|
+
siblingPath: string[];
|
|
1263
1127
|
leafPreimage: {
|
|
1264
1128
|
value: string;
|
|
1265
1129
|
slot: string;
|
|
1266
1130
|
nextIndex: string | number | bigint;
|
|
1267
1131
|
nextSlot: string;
|
|
1268
1132
|
};
|
|
1269
|
-
leafIndex: string;
|
|
1270
|
-
siblingPath: string[];
|
|
1271
1133
|
}[];
|
|
1272
1134
|
nullifierReads: {
|
|
1273
1135
|
lowLeafPreimage: {
|
|
@@ -1320,21 +1182,28 @@ export declare class AvmCircuitInputs {
|
|
|
1320
1182
|
calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1321
1183
|
hints: z.ZodEffects<z.ZodObject<{
|
|
1322
1184
|
enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1185
|
+
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1323
1186
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1324
1187
|
calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1188
|
+
isStaticCall: z.ZodBoolean;
|
|
1325
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1326
1190
|
contractAddress: AztecAddress;
|
|
1191
|
+
msgSender: AztecAddress;
|
|
1192
|
+
isStaticCall: boolean;
|
|
1327
1193
|
calldata: Fr[];
|
|
1328
1194
|
}, {
|
|
1195
|
+
isStaticCall: boolean;
|
|
1329
1196
|
calldata: string[];
|
|
1330
1197
|
contractAddress?: any;
|
|
1198
|
+
msgSender?: any;
|
|
1331
1199
|
}>, AvmEnqueuedCallHint, {
|
|
1200
|
+
isStaticCall: boolean;
|
|
1332
1201
|
calldata: string[];
|
|
1333
1202
|
contractAddress?: any;
|
|
1203
|
+
msgSender?: any;
|
|
1334
1204
|
}>, "many">;
|
|
1335
1205
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1336
1206
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1337
|
-
exists: z.ZodBoolean;
|
|
1338
1207
|
salt: z.ZodType<Fr, any, string>;
|
|
1339
1208
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1340
1209
|
currentContractClassId: z.ZodType<Fr, any, string>;
|
|
@@ -1361,56 +1230,7 @@ export declare class AvmCircuitInputs {
|
|
|
1361
1230
|
masterOutgoingViewingPublicKey: string;
|
|
1362
1231
|
masterTaggingPublicKey: string;
|
|
1363
1232
|
}>;
|
|
1364
|
-
updateMembershipHint: z.ZodEffects<z.ZodObject<{
|
|
1365
|
-
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
1366
|
-
slot: z.ZodType<Fr, any, string>;
|
|
1367
|
-
value: z.ZodType<Fr, any, string>;
|
|
1368
|
-
nextSlot: z.ZodType<Fr, any, string>;
|
|
1369
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1370
|
-
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
value: Fr;
|
|
1372
|
-
slot: Fr;
|
|
1373
|
-
nextIndex: bigint;
|
|
1374
|
-
nextSlot: Fr;
|
|
1375
|
-
}, {
|
|
1376
|
-
value: string;
|
|
1377
|
-
slot: string;
|
|
1378
|
-
nextIndex: string | number | bigint;
|
|
1379
|
-
nextSlot: string;
|
|
1380
|
-
}>, PublicDataTreeLeafPreimage, {
|
|
1381
|
-
value: string;
|
|
1382
|
-
slot: string;
|
|
1383
|
-
nextIndex: string | number | bigint;
|
|
1384
|
-
nextSlot: string;
|
|
1385
|
-
}>;
|
|
1386
|
-
leafIndex: z.ZodType<Fr, any, string>;
|
|
1387
|
-
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1388
|
-
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
1390
|
-
leafIndex: Fr;
|
|
1391
|
-
siblingPath: Fr[];
|
|
1392
|
-
}, {
|
|
1393
|
-
leafPreimage: {
|
|
1394
|
-
value: string;
|
|
1395
|
-
slot: string;
|
|
1396
|
-
nextIndex: string | number | bigint;
|
|
1397
|
-
nextSlot: string;
|
|
1398
|
-
};
|
|
1399
|
-
leafIndex: string;
|
|
1400
|
-
siblingPath: string[];
|
|
1401
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
1402
|
-
leafPreimage: {
|
|
1403
|
-
value: string;
|
|
1404
|
-
slot: string;
|
|
1405
|
-
nextIndex: string | number | bigint;
|
|
1406
|
-
nextSlot: string;
|
|
1407
|
-
};
|
|
1408
|
-
leafIndex: string;
|
|
1409
|
-
siblingPath: string[];
|
|
1410
|
-
}>;
|
|
1411
|
-
updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1412
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1413
|
-
exists: boolean;
|
|
1414
1234
|
address: AztecAddress;
|
|
1415
1235
|
salt: Fr;
|
|
1416
1236
|
deployer: AztecAddress;
|
|
@@ -1418,10 +1238,7 @@ export declare class AvmCircuitInputs {
|
|
|
1418
1238
|
originalContractClassId: Fr;
|
|
1419
1239
|
initializationHash: Fr;
|
|
1420
1240
|
publicKeys: PublicKeys;
|
|
1421
|
-
updateMembershipHint: AvmPublicDataReadTreeHint;
|
|
1422
|
-
updatePreimage: Fr[];
|
|
1423
1241
|
}, {
|
|
1424
|
-
exists: boolean;
|
|
1425
1242
|
salt: string;
|
|
1426
1243
|
currentContractClassId: string;
|
|
1427
1244
|
originalContractClassId: string;
|
|
@@ -1432,21 +1249,9 @@ export declare class AvmCircuitInputs {
|
|
|
1432
1249
|
masterOutgoingViewingPublicKey: string;
|
|
1433
1250
|
masterTaggingPublicKey: string;
|
|
1434
1251
|
};
|
|
1435
|
-
updateMembershipHint: {
|
|
1436
|
-
leafPreimage: {
|
|
1437
|
-
value: string;
|
|
1438
|
-
slot: string;
|
|
1439
|
-
nextIndex: string | number | bigint;
|
|
1440
|
-
nextSlot: string;
|
|
1441
|
-
};
|
|
1442
|
-
leafIndex: string;
|
|
1443
|
-
siblingPath: string[];
|
|
1444
|
-
};
|
|
1445
|
-
updatePreimage: string[];
|
|
1446
1252
|
address?: any;
|
|
1447
1253
|
deployer?: any;
|
|
1448
1254
|
}>, AvmContractInstanceHint, {
|
|
1449
|
-
exists: boolean;
|
|
1450
1255
|
salt: string;
|
|
1451
1256
|
currentContractClassId: string;
|
|
1452
1257
|
originalContractClassId: string;
|
|
@@ -1457,26 +1262,13 @@ export declare class AvmCircuitInputs {
|
|
|
1457
1262
|
masterOutgoingViewingPublicKey: string;
|
|
1458
1263
|
masterTaggingPublicKey: string;
|
|
1459
1264
|
};
|
|
1460
|
-
updateMembershipHint: {
|
|
1461
|
-
leafPreimage: {
|
|
1462
|
-
value: string;
|
|
1463
|
-
slot: string;
|
|
1464
|
-
nextIndex: string | number | bigint;
|
|
1465
|
-
nextSlot: string;
|
|
1466
|
-
};
|
|
1467
|
-
leafIndex: string;
|
|
1468
|
-
siblingPath: string[];
|
|
1469
|
-
};
|
|
1470
|
-
updatePreimage: string[];
|
|
1471
1265
|
address?: any;
|
|
1472
1266
|
deployer?: any;
|
|
1473
1267
|
}>, "many">;
|
|
1474
1268
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1475
1269
|
classId: z.ZodType<Fr, any, string>;
|
|
1476
|
-
exists: z.ZodBoolean;
|
|
1477
1270
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
1478
1271
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
1479
|
-
publicBytecodeCommitment: z.ZodType<Fr, any, string>;
|
|
1480
1272
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
|
|
1481
1273
|
type: z.ZodLiteral<"Buffer">;
|
|
1482
1274
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1492,32 +1284,39 @@ export declare class AvmCircuitInputs {
|
|
|
1492
1284
|
}>]>;
|
|
1493
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1494
1286
|
classId: Fr;
|
|
1495
|
-
exists: boolean;
|
|
1496
1287
|
artifactHash: Fr;
|
|
1497
1288
|
privateFunctionsRoot: Fr;
|
|
1498
|
-
publicBytecodeCommitment: Fr;
|
|
1499
1289
|
packedBytecode: Buffer;
|
|
1500
1290
|
}, {
|
|
1501
1291
|
classId: string;
|
|
1502
|
-
exists: boolean;
|
|
1503
1292
|
artifactHash: string;
|
|
1504
1293
|
privateFunctionsRoot: string;
|
|
1505
|
-
publicBytecodeCommitment: string;
|
|
1506
1294
|
packedBytecode: string | {
|
|
1507
1295
|
type: "Buffer";
|
|
1508
1296
|
data: number[];
|
|
1509
1297
|
};
|
|
1510
1298
|
}>, AvmContractClassHint, {
|
|
1511
1299
|
classId: string;
|
|
1512
|
-
exists: boolean;
|
|
1513
1300
|
artifactHash: string;
|
|
1514
1301
|
privateFunctionsRoot: string;
|
|
1515
|
-
publicBytecodeCommitment: string;
|
|
1516
1302
|
packedBytecode: string | {
|
|
1517
1303
|
type: "Buffer";
|
|
1518
1304
|
data: number[];
|
|
1519
1305
|
};
|
|
1520
1306
|
}>, "many">;
|
|
1307
|
+
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1308
|
+
classId: z.ZodType<Fr, any, string>;
|
|
1309
|
+
commitment: z.ZodType<Fr, any, string>;
|
|
1310
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
|
+
classId: Fr;
|
|
1312
|
+
commitment: Fr;
|
|
1313
|
+
}, {
|
|
1314
|
+
classId: string;
|
|
1315
|
+
commitment: string;
|
|
1316
|
+
}>, AvmBytecodeCommitmentHint, {
|
|
1317
|
+
classId: string;
|
|
1318
|
+
commitment: string;
|
|
1319
|
+
}>, "many">;
|
|
1521
1320
|
publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1522
1321
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
1523
1322
|
slot: z.ZodType<Fr, any, string>;
|
|
@@ -1543,27 +1342,27 @@ export declare class AvmCircuitInputs {
|
|
|
1543
1342
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
1544
1343
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1545
1344
|
}, "strip", z.ZodTypeAny, {
|
|
1546
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
1547
1345
|
leafIndex: Fr;
|
|
1548
1346
|
siblingPath: Fr[];
|
|
1347
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
1549
1348
|
}, {
|
|
1349
|
+
leafIndex: string;
|
|
1350
|
+
siblingPath: string[];
|
|
1550
1351
|
leafPreimage: {
|
|
1551
1352
|
value: string;
|
|
1552
1353
|
slot: string;
|
|
1553
1354
|
nextIndex: string | number | bigint;
|
|
1554
1355
|
nextSlot: string;
|
|
1555
1356
|
};
|
|
1357
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
1556
1358
|
leafIndex: string;
|
|
1557
1359
|
siblingPath: string[];
|
|
1558
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
1559
1360
|
leafPreimage: {
|
|
1560
1361
|
value: string;
|
|
1561
1362
|
slot: string;
|
|
1562
1363
|
nextIndex: string | number | bigint;
|
|
1563
1364
|
nextSlot: string;
|
|
1564
1365
|
};
|
|
1565
|
-
leafIndex: string;
|
|
1566
|
-
siblingPath: string[];
|
|
1567
1366
|
}>, "many">;
|
|
1568
1367
|
publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1569
1368
|
lowLeafRead: z.ZodEffects<z.ZodObject<{
|
|
@@ -1591,27 +1390,27 @@ export declare class AvmCircuitInputs {
|
|
|
1591
1390
|
leafIndex: z.ZodType<Fr, any, string>;
|
|
1592
1391
|
siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1593
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1594
|
-
leafPreimage: PublicDataTreeLeafPreimage;
|
|
1595
1393
|
leafIndex: Fr;
|
|
1596
1394
|
siblingPath: Fr[];
|
|
1395
|
+
leafPreimage: PublicDataTreeLeafPreimage;
|
|
1597
1396
|
}, {
|
|
1397
|
+
leafIndex: string;
|
|
1398
|
+
siblingPath: string[];
|
|
1598
1399
|
leafPreimage: {
|
|
1599
1400
|
value: string;
|
|
1600
1401
|
slot: string;
|
|
1601
1402
|
nextIndex: string | number | bigint;
|
|
1602
1403
|
nextSlot: string;
|
|
1603
1404
|
};
|
|
1405
|
+
}>, AvmPublicDataReadTreeHint, {
|
|
1604
1406
|
leafIndex: string;
|
|
1605
1407
|
siblingPath: string[];
|
|
1606
|
-
}>, AvmPublicDataReadTreeHint, {
|
|
1607
1408
|
leafPreimage: {
|
|
1608
1409
|
value: string;
|
|
1609
1410
|
slot: string;
|
|
1610
1411
|
nextIndex: string | number | bigint;
|
|
1611
1412
|
nextSlot: string;
|
|
1612
1413
|
};
|
|
1613
|
-
leafIndex: string;
|
|
1614
|
-
siblingPath: string[];
|
|
1615
1414
|
}>;
|
|
1616
1415
|
newLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
1617
1416
|
slot: z.ZodType<Fr, any, string>;
|
|
@@ -1641,14 +1440,14 @@ export declare class AvmCircuitInputs {
|
|
|
1641
1440
|
newLeafPreimage: PublicDataTreeLeafPreimage;
|
|
1642
1441
|
}, {
|
|
1643
1442
|
lowLeafRead: {
|
|
1443
|
+
leafIndex: string;
|
|
1444
|
+
siblingPath: string[];
|
|
1644
1445
|
leafPreimage: {
|
|
1645
1446
|
value: string;
|
|
1646
1447
|
slot: string;
|
|
1647
1448
|
nextIndex: string | number | bigint;
|
|
1648
1449
|
nextSlot: string;
|
|
1649
1450
|
};
|
|
1650
|
-
leafIndex: string;
|
|
1651
|
-
siblingPath: string[];
|
|
1652
1451
|
};
|
|
1653
1452
|
insertionPath: string[];
|
|
1654
1453
|
newLeafPreimage: {
|
|
@@ -1659,14 +1458,14 @@ export declare class AvmCircuitInputs {
|
|
|
1659
1458
|
};
|
|
1660
1459
|
}>, AvmPublicDataWriteTreeHint, {
|
|
1661
1460
|
lowLeafRead: {
|
|
1461
|
+
leafIndex: string;
|
|
1462
|
+
siblingPath: string[];
|
|
1662
1463
|
leafPreimage: {
|
|
1663
1464
|
value: string;
|
|
1664
1465
|
slot: string;
|
|
1665
1466
|
nextIndex: string | number | bigint;
|
|
1666
1467
|
nextSlot: string;
|
|
1667
1468
|
};
|
|
1668
|
-
leafIndex: string;
|
|
1669
|
-
siblingPath: string[];
|
|
1670
1469
|
};
|
|
1671
1470
|
insertionPath: string[];
|
|
1672
1471
|
newLeafPreimage: {
|
|
@@ -1842,6 +1641,7 @@ export declare class AvmCircuitInputs {
|
|
|
1842
1641
|
enqueuedCalls: AvmEnqueuedCallHint[];
|
|
1843
1642
|
contractInstances: AvmContractInstanceHint[];
|
|
1844
1643
|
contractClasses: AvmContractClassHint[];
|
|
1644
|
+
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
1845
1645
|
publicDataReads: AvmPublicDataReadTreeHint[];
|
|
1846
1646
|
nullifierReads: AvmNullifierReadTreeHint[];
|
|
1847
1647
|
nullifierWrites: AvmNullifierWriteTreeHint[];
|
|
@@ -1851,14 +1651,14 @@ export declare class AvmCircuitInputs {
|
|
|
1851
1651
|
}, {
|
|
1852
1652
|
publicDataWrites: {
|
|
1853
1653
|
lowLeafRead: {
|
|
1654
|
+
leafIndex: string;
|
|
1655
|
+
siblingPath: string[];
|
|
1854
1656
|
leafPreimage: {
|
|
1855
1657
|
value: string;
|
|
1856
1658
|
slot: string;
|
|
1857
1659
|
nextIndex: string | number | bigint;
|
|
1858
1660
|
nextSlot: string;
|
|
1859
1661
|
};
|
|
1860
|
-
leafIndex: string;
|
|
1861
|
-
siblingPath: string[];
|
|
1862
1662
|
};
|
|
1863
1663
|
insertionPath: string[];
|
|
1864
1664
|
newLeafPreimage: {
|
|
@@ -1869,11 +1669,12 @@ export declare class AvmCircuitInputs {
|
|
|
1869
1669
|
};
|
|
1870
1670
|
}[];
|
|
1871
1671
|
enqueuedCalls: {
|
|
1672
|
+
isStaticCall: boolean;
|
|
1872
1673
|
calldata: string[];
|
|
1873
1674
|
contractAddress?: any;
|
|
1675
|
+
msgSender?: any;
|
|
1874
1676
|
}[];
|
|
1875
1677
|
contractInstances: {
|
|
1876
|
-
exists: boolean;
|
|
1877
1678
|
salt: string;
|
|
1878
1679
|
currentContractClassId: string;
|
|
1879
1680
|
originalContractClassId: string;
|
|
@@ -1884,40 +1685,31 @@ export declare class AvmCircuitInputs {
|
|
|
1884
1685
|
masterOutgoingViewingPublicKey: string;
|
|
1885
1686
|
masterTaggingPublicKey: string;
|
|
1886
1687
|
};
|
|
1887
|
-
updateMembershipHint: {
|
|
1888
|
-
leafPreimage: {
|
|
1889
|
-
value: string;
|
|
1890
|
-
slot: string;
|
|
1891
|
-
nextIndex: string | number | bigint;
|
|
1892
|
-
nextSlot: string;
|
|
1893
|
-
};
|
|
1894
|
-
leafIndex: string;
|
|
1895
|
-
siblingPath: string[];
|
|
1896
|
-
};
|
|
1897
|
-
updatePreimage: string[];
|
|
1898
1688
|
address?: any;
|
|
1899
1689
|
deployer?: any;
|
|
1900
1690
|
}[];
|
|
1901
1691
|
contractClasses: {
|
|
1902
1692
|
classId: string;
|
|
1903
|
-
exists: boolean;
|
|
1904
1693
|
artifactHash: string;
|
|
1905
1694
|
privateFunctionsRoot: string;
|
|
1906
|
-
publicBytecodeCommitment: string;
|
|
1907
1695
|
packedBytecode: string | {
|
|
1908
1696
|
type: "Buffer";
|
|
1909
1697
|
data: number[];
|
|
1910
1698
|
};
|
|
1911
1699
|
}[];
|
|
1700
|
+
bytecodeCommitments: {
|
|
1701
|
+
classId: string;
|
|
1702
|
+
commitment: string;
|
|
1703
|
+
}[];
|
|
1912
1704
|
publicDataReads: {
|
|
1705
|
+
leafIndex: string;
|
|
1706
|
+
siblingPath: string[];
|
|
1913
1707
|
leafPreimage: {
|
|
1914
1708
|
value: string;
|
|
1915
1709
|
slot: string;
|
|
1916
1710
|
nextIndex: string | number | bigint;
|
|
1917
1711
|
nextSlot: string;
|
|
1918
1712
|
};
|
|
1919
|
-
leafIndex: string;
|
|
1920
|
-
siblingPath: string[];
|
|
1921
1713
|
}[];
|
|
1922
1714
|
nullifierReads: {
|
|
1923
1715
|
lowLeafPreimage: {
|
|
@@ -1958,14 +1750,14 @@ export declare class AvmCircuitInputs {
|
|
|
1958
1750
|
}>, AvmExecutionHints, {
|
|
1959
1751
|
publicDataWrites: {
|
|
1960
1752
|
lowLeafRead: {
|
|
1753
|
+
leafIndex: string;
|
|
1754
|
+
siblingPath: string[];
|
|
1961
1755
|
leafPreimage: {
|
|
1962
1756
|
value: string;
|
|
1963
1757
|
slot: string;
|
|
1964
1758
|
nextIndex: string | number | bigint;
|
|
1965
1759
|
nextSlot: string;
|
|
1966
1760
|
};
|
|
1967
|
-
leafIndex: string;
|
|
1968
|
-
siblingPath: string[];
|
|
1969
1761
|
};
|
|
1970
1762
|
insertionPath: string[];
|
|
1971
1763
|
newLeafPreimage: {
|
|
@@ -1976,11 +1768,12 @@ export declare class AvmCircuitInputs {
|
|
|
1976
1768
|
};
|
|
1977
1769
|
}[];
|
|
1978
1770
|
enqueuedCalls: {
|
|
1771
|
+
isStaticCall: boolean;
|
|
1979
1772
|
calldata: string[];
|
|
1980
1773
|
contractAddress?: any;
|
|
1774
|
+
msgSender?: any;
|
|
1981
1775
|
}[];
|
|
1982
1776
|
contractInstances: {
|
|
1983
|
-
exists: boolean;
|
|
1984
1777
|
salt: string;
|
|
1985
1778
|
currentContractClassId: string;
|
|
1986
1779
|
originalContractClassId: string;
|
|
@@ -1991,40 +1784,31 @@ export declare class AvmCircuitInputs {
|
|
|
1991
1784
|
masterOutgoingViewingPublicKey: string;
|
|
1992
1785
|
masterTaggingPublicKey: string;
|
|
1993
1786
|
};
|
|
1994
|
-
updateMembershipHint: {
|
|
1995
|
-
leafPreimage: {
|
|
1996
|
-
value: string;
|
|
1997
|
-
slot: string;
|
|
1998
|
-
nextIndex: string | number | bigint;
|
|
1999
|
-
nextSlot: string;
|
|
2000
|
-
};
|
|
2001
|
-
leafIndex: string;
|
|
2002
|
-
siblingPath: string[];
|
|
2003
|
-
};
|
|
2004
|
-
updatePreimage: string[];
|
|
2005
1787
|
address?: any;
|
|
2006
1788
|
deployer?: any;
|
|
2007
1789
|
}[];
|
|
2008
1790
|
contractClasses: {
|
|
2009
1791
|
classId: string;
|
|
2010
|
-
exists: boolean;
|
|
2011
1792
|
artifactHash: string;
|
|
2012
1793
|
privateFunctionsRoot: string;
|
|
2013
|
-
publicBytecodeCommitment: string;
|
|
2014
1794
|
packedBytecode: string | {
|
|
2015
1795
|
type: "Buffer";
|
|
2016
1796
|
data: number[];
|
|
2017
1797
|
};
|
|
2018
1798
|
}[];
|
|
1799
|
+
bytecodeCommitments: {
|
|
1800
|
+
classId: string;
|
|
1801
|
+
commitment: string;
|
|
1802
|
+
}[];
|
|
2019
1803
|
publicDataReads: {
|
|
1804
|
+
leafIndex: string;
|
|
1805
|
+
siblingPath: string[];
|
|
2020
1806
|
leafPreimage: {
|
|
2021
1807
|
value: string;
|
|
2022
1808
|
slot: string;
|
|
2023
1809
|
nextIndex: string | number | bigint;
|
|
2024
1810
|
nextSlot: string;
|
|
2025
1811
|
};
|
|
2026
|
-
leafIndex: string;
|
|
2027
|
-
siblingPath: string[];
|
|
2028
1812
|
}[];
|
|
2029
1813
|
nullifierReads: {
|
|
2030
1814
|
lowLeafPreimage: {
|
|
@@ -3095,14 +2879,14 @@ export declare class AvmCircuitInputs {
|
|
|
3095
2879
|
hints: {
|
|
3096
2880
|
publicDataWrites: {
|
|
3097
2881
|
lowLeafRead: {
|
|
2882
|
+
leafIndex: string;
|
|
2883
|
+
siblingPath: string[];
|
|
3098
2884
|
leafPreimage: {
|
|
3099
2885
|
value: string;
|
|
3100
2886
|
slot: string;
|
|
3101
2887
|
nextIndex: string | number | bigint;
|
|
3102
2888
|
nextSlot: string;
|
|
3103
2889
|
};
|
|
3104
|
-
leafIndex: string;
|
|
3105
|
-
siblingPath: string[];
|
|
3106
2890
|
};
|
|
3107
2891
|
insertionPath: string[];
|
|
3108
2892
|
newLeafPreimage: {
|
|
@@ -3113,11 +2897,12 @@ export declare class AvmCircuitInputs {
|
|
|
3113
2897
|
};
|
|
3114
2898
|
}[];
|
|
3115
2899
|
enqueuedCalls: {
|
|
2900
|
+
isStaticCall: boolean;
|
|
3116
2901
|
calldata: string[];
|
|
3117
2902
|
contractAddress?: any;
|
|
2903
|
+
msgSender?: any;
|
|
3118
2904
|
}[];
|
|
3119
2905
|
contractInstances: {
|
|
3120
|
-
exists: boolean;
|
|
3121
2906
|
salt: string;
|
|
3122
2907
|
currentContractClassId: string;
|
|
3123
2908
|
originalContractClassId: string;
|
|
@@ -3128,40 +2913,31 @@ export declare class AvmCircuitInputs {
|
|
|
3128
2913
|
masterOutgoingViewingPublicKey: string;
|
|
3129
2914
|
masterTaggingPublicKey: string;
|
|
3130
2915
|
};
|
|
3131
|
-
updateMembershipHint: {
|
|
3132
|
-
leafPreimage: {
|
|
3133
|
-
value: string;
|
|
3134
|
-
slot: string;
|
|
3135
|
-
nextIndex: string | number | bigint;
|
|
3136
|
-
nextSlot: string;
|
|
3137
|
-
};
|
|
3138
|
-
leafIndex: string;
|
|
3139
|
-
siblingPath: string[];
|
|
3140
|
-
};
|
|
3141
|
-
updatePreimage: string[];
|
|
3142
2916
|
address?: any;
|
|
3143
2917
|
deployer?: any;
|
|
3144
2918
|
}[];
|
|
3145
2919
|
contractClasses: {
|
|
3146
2920
|
classId: string;
|
|
3147
|
-
exists: boolean;
|
|
3148
2921
|
artifactHash: string;
|
|
3149
2922
|
privateFunctionsRoot: string;
|
|
3150
|
-
publicBytecodeCommitment: string;
|
|
3151
2923
|
packedBytecode: string | {
|
|
3152
2924
|
type: "Buffer";
|
|
3153
2925
|
data: number[];
|
|
3154
2926
|
};
|
|
3155
2927
|
}[];
|
|
2928
|
+
bytecodeCommitments: {
|
|
2929
|
+
classId: string;
|
|
2930
|
+
commitment: string;
|
|
2931
|
+
}[];
|
|
3156
2932
|
publicDataReads: {
|
|
2933
|
+
leafIndex: string;
|
|
2934
|
+
siblingPath: string[];
|
|
3157
2935
|
leafPreimage: {
|
|
3158
2936
|
value: string;
|
|
3159
2937
|
slot: string;
|
|
3160
2938
|
nextIndex: string | number | bigint;
|
|
3161
2939
|
nextSlot: string;
|
|
3162
2940
|
};
|
|
3163
|
-
leafIndex: string;
|
|
3164
|
-
siblingPath: string[];
|
|
3165
2941
|
}[];
|
|
3166
2942
|
nullifierReads: {
|
|
3167
2943
|
lowLeafPreimage: {
|
|
@@ -3358,14 +3134,14 @@ export declare class AvmCircuitInputs {
|
|
|
3358
3134
|
hints: {
|
|
3359
3135
|
publicDataWrites: {
|
|
3360
3136
|
lowLeafRead: {
|
|
3137
|
+
leafIndex: string;
|
|
3138
|
+
siblingPath: string[];
|
|
3361
3139
|
leafPreimage: {
|
|
3362
3140
|
value: string;
|
|
3363
3141
|
slot: string;
|
|
3364
3142
|
nextIndex: string | number | bigint;
|
|
3365
3143
|
nextSlot: string;
|
|
3366
3144
|
};
|
|
3367
|
-
leafIndex: string;
|
|
3368
|
-
siblingPath: string[];
|
|
3369
3145
|
};
|
|
3370
3146
|
insertionPath: string[];
|
|
3371
3147
|
newLeafPreimage: {
|
|
@@ -3376,11 +3152,12 @@ export declare class AvmCircuitInputs {
|
|
|
3376
3152
|
};
|
|
3377
3153
|
}[];
|
|
3378
3154
|
enqueuedCalls: {
|
|
3155
|
+
isStaticCall: boolean;
|
|
3379
3156
|
calldata: string[];
|
|
3380
3157
|
contractAddress?: any;
|
|
3158
|
+
msgSender?: any;
|
|
3381
3159
|
}[];
|
|
3382
3160
|
contractInstances: {
|
|
3383
|
-
exists: boolean;
|
|
3384
3161
|
salt: string;
|
|
3385
3162
|
currentContractClassId: string;
|
|
3386
3163
|
originalContractClassId: string;
|
|
@@ -3391,40 +3168,31 @@ export declare class AvmCircuitInputs {
|
|
|
3391
3168
|
masterOutgoingViewingPublicKey: string;
|
|
3392
3169
|
masterTaggingPublicKey: string;
|
|
3393
3170
|
};
|
|
3394
|
-
updateMembershipHint: {
|
|
3395
|
-
leafPreimage: {
|
|
3396
|
-
value: string;
|
|
3397
|
-
slot: string;
|
|
3398
|
-
nextIndex: string | number | bigint;
|
|
3399
|
-
nextSlot: string;
|
|
3400
|
-
};
|
|
3401
|
-
leafIndex: string;
|
|
3402
|
-
siblingPath: string[];
|
|
3403
|
-
};
|
|
3404
|
-
updatePreimage: string[];
|
|
3405
3171
|
address?: any;
|
|
3406
3172
|
deployer?: any;
|
|
3407
3173
|
}[];
|
|
3408
3174
|
contractClasses: {
|
|
3409
3175
|
classId: string;
|
|
3410
|
-
exists: boolean;
|
|
3411
3176
|
artifactHash: string;
|
|
3412
3177
|
privateFunctionsRoot: string;
|
|
3413
|
-
publicBytecodeCommitment: string;
|
|
3414
3178
|
packedBytecode: string | {
|
|
3415
3179
|
type: "Buffer";
|
|
3416
3180
|
data: number[];
|
|
3417
3181
|
};
|
|
3418
3182
|
}[];
|
|
3183
|
+
bytecodeCommitments: {
|
|
3184
|
+
classId: string;
|
|
3185
|
+
commitment: string;
|
|
3186
|
+
}[];
|
|
3419
3187
|
publicDataReads: {
|
|
3188
|
+
leafIndex: string;
|
|
3189
|
+
siblingPath: string[];
|
|
3420
3190
|
leafPreimage: {
|
|
3421
3191
|
value: string;
|
|
3422
3192
|
slot: string;
|
|
3423
3193
|
nextIndex: string | number | bigint;
|
|
3424
3194
|
nextSlot: string;
|
|
3425
3195
|
};
|
|
3426
|
-
leafIndex: string;
|
|
3427
|
-
siblingPath: string[];
|
|
3428
3196
|
}[];
|
|
3429
3197
|
nullifierReads: {
|
|
3430
3198
|
lowLeafPreimage: {
|