@aztec/stdlib 3.0.0-nightly.20251103 → 3.0.0-nightly.20251105
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/avm/avm.d.ts +2202 -250
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +93 -14
- package/dest/avm/avm_accumulated_data.d.ts +7 -7
- package/dest/avm/avm_circuit_public_inputs.d.ts +27 -27
- package/dest/avm/avm_proving_request.d.ts +667 -118
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/contract/contract_deployment_data.d.ts +111 -0
- package/dest/contract/contract_deployment_data.d.ts.map +1 -0
- package/dest/contract/contract_deployment_data.js +87 -0
- package/dest/contract/index.d.ts +1 -0
- package/dest/contract/index.d.ts.map +1 -1
- package/dest/contract/index.js +1 -0
- package/dest/contract/interfaces/contract_class.d.ts +16 -16
- package/dest/contract/private_function_membership_proof.d.ts +1 -1
- package/dest/contract/private_function_membership_proof.js +1 -1
- package/dest/hash/hash.d.ts +9 -1
- package/dest/hash/hash.d.ts.map +1 -1
- package/dest/hash/hash.js +11 -1
- package/dest/interfaces/get_logs_response.d.ts +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +2 -2
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/proving-job.d.ts +667 -118
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +7 -7
- package/dest/logs/extended_public_log.d.ts +1 -1
- package/dest/messaging/l2_to_l1_message.d.ts +20 -20
- package/dest/slashing/types.d.ts +1 -1
- package/dest/snapshots/types.d.ts +4 -4
- package/dest/tests/factories.d.ts +11 -2
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +24 -8
- package/dest/world-state/world_state_revision.d.ts +33 -1
- package/dest/world-state/world_state_revision.d.ts.map +1 -1
- package/dest/world-state/world_state_revision.js +24 -1
- package/dest/zkpassport/index.d.ts +1 -3
- package/dest/zkpassport/index.d.ts.map +1 -1
- package/dest/zkpassport/index.js +5 -10
- package/package.json +8 -8
- package/src/avm/avm.ts +100 -3
- package/src/contract/contract_deployment_data.ts +108 -0
- package/src/contract/index.ts +1 -0
- package/src/contract/private_function_membership_proof.ts +1 -1
- package/src/hash/hash.ts +13 -2
- package/src/interfaces/merkle_tree_operations.ts +2 -2
- package/src/tests/factories.ts +29 -3
- package/src/world-state/world_state_revision.ts +47 -5
- package/src/zkpassport/index.ts +0 -8
package/dest/avm/avm.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Fr } from '@aztec/foundation/fields';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
4
|
+
import { ContractDeploymentData } from '../contract/index.js';
|
|
4
5
|
import { Gas } from '../gas/gas.js';
|
|
5
6
|
import { GasFees } from '../gas/gas_fees.js';
|
|
6
7
|
import { GasSettings } from '../gas/gas_settings.js';
|
|
@@ -11,14 +12,17 @@ import { MerkleTreeId } from '../trees/merkle_tree_id.js';
|
|
|
11
12
|
import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
12
13
|
import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
|
|
13
14
|
import { GlobalVariables, ProtocolContracts, PublicCallRequestWithCalldata, TreeSnapshots, type Tx } from '../tx/index.js';
|
|
15
|
+
import { WorldStateRevision } from '../world-state/world_state_revision.js';
|
|
14
16
|
import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
|
|
15
17
|
export declare class AvmContractClassHint {
|
|
18
|
+
readonly hintKey: number;
|
|
16
19
|
readonly classId: Fr;
|
|
17
20
|
readonly artifactHash: Fr;
|
|
18
21
|
readonly privateFunctionsRoot: Fr;
|
|
19
22
|
readonly packedBytecode: Buffer;
|
|
20
|
-
constructor(classId: Fr, artifactHash: Fr, privateFunctionsRoot: Fr, packedBytecode: Buffer);
|
|
23
|
+
constructor(hintKey: number, classId: Fr, artifactHash: Fr, privateFunctionsRoot: Fr, packedBytecode: Buffer);
|
|
21
24
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
25
|
+
hintKey: z.ZodNumber;
|
|
22
26
|
classId: z.ZodType<Fr, any, string>;
|
|
23
27
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
24
28
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
@@ -36,47 +40,56 @@ export declare class AvmContractClassHint {
|
|
|
36
40
|
data: number[];
|
|
37
41
|
}>]>;
|
|
38
42
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
classId: Fr;
|
|
40
43
|
artifactHash: Fr;
|
|
41
|
-
privateFunctionsRoot: Fr;
|
|
42
44
|
packedBytecode: Buffer<ArrayBuffer>;
|
|
45
|
+
privateFunctionsRoot: Fr;
|
|
46
|
+
hintKey: number;
|
|
47
|
+
classId: Fr;
|
|
43
48
|
}, {
|
|
44
|
-
classId: string;
|
|
45
49
|
artifactHash: string;
|
|
46
|
-
privateFunctionsRoot: string;
|
|
47
50
|
packedBytecode: string | {
|
|
48
51
|
type: "Buffer";
|
|
49
52
|
data: number[];
|
|
50
53
|
};
|
|
51
|
-
|
|
54
|
+
privateFunctionsRoot: string;
|
|
55
|
+
hintKey: number;
|
|
52
56
|
classId: string;
|
|
57
|
+
}>, AvmContractClassHint, {
|
|
53
58
|
artifactHash: string;
|
|
54
|
-
privateFunctionsRoot: string;
|
|
55
59
|
packedBytecode: string | {
|
|
56
60
|
type: "Buffer";
|
|
57
61
|
data: number[];
|
|
58
62
|
};
|
|
63
|
+
privateFunctionsRoot: string;
|
|
64
|
+
hintKey: number;
|
|
65
|
+
classId: string;
|
|
59
66
|
}>;
|
|
60
67
|
}
|
|
61
68
|
export declare class AvmBytecodeCommitmentHint {
|
|
69
|
+
readonly hintKey: number;
|
|
62
70
|
readonly classId: Fr;
|
|
63
71
|
readonly commitment: Fr;
|
|
64
|
-
constructor(classId: Fr, commitment: Fr);
|
|
72
|
+
constructor(hintKey: number, classId: Fr, commitment: Fr);
|
|
65
73
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
74
|
+
hintKey: z.ZodNumber;
|
|
66
75
|
classId: z.ZodType<Fr, any, string>;
|
|
67
76
|
commitment: z.ZodType<Fr, any, string>;
|
|
68
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
hintKey: number;
|
|
69
79
|
classId: Fr;
|
|
70
80
|
commitment: Fr;
|
|
71
81
|
}, {
|
|
82
|
+
hintKey: number;
|
|
72
83
|
classId: string;
|
|
73
84
|
commitment: string;
|
|
74
85
|
}>, AvmBytecodeCommitmentHint, {
|
|
86
|
+
hintKey: number;
|
|
75
87
|
classId: string;
|
|
76
88
|
commitment: string;
|
|
77
89
|
}>;
|
|
78
90
|
}
|
|
79
91
|
export declare class AvmContractInstanceHint {
|
|
92
|
+
readonly hintKey: number;
|
|
80
93
|
readonly address: AztecAddress;
|
|
81
94
|
readonly salt: Fr;
|
|
82
95
|
readonly deployer: AztecAddress;
|
|
@@ -84,8 +97,9 @@ export declare class AvmContractInstanceHint {
|
|
|
84
97
|
readonly originalContractClassId: Fr;
|
|
85
98
|
readonly initializationHash: Fr;
|
|
86
99
|
readonly publicKeys: PublicKeys;
|
|
87
|
-
constructor(address: AztecAddress, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys);
|
|
100
|
+
constructor(hintKey: number, address: AztecAddress, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys);
|
|
88
101
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
102
|
+
hintKey: z.ZodNumber;
|
|
89
103
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
90
104
|
salt: z.ZodType<Fr, any, string>;
|
|
91
105
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -121,6 +135,7 @@ export declare class AvmContractInstanceHint {
|
|
|
121
135
|
initializationHash: Fr;
|
|
122
136
|
publicKeys: PublicKeys;
|
|
123
137
|
address: AztecAddress;
|
|
138
|
+
hintKey: number;
|
|
124
139
|
}, {
|
|
125
140
|
salt: string;
|
|
126
141
|
currentContractClassId: string;
|
|
@@ -132,6 +147,7 @@ export declare class AvmContractInstanceHint {
|
|
|
132
147
|
masterOutgoingViewingPublicKey: string;
|
|
133
148
|
masterTaggingPublicKey: string;
|
|
134
149
|
};
|
|
150
|
+
hintKey: number;
|
|
135
151
|
deployer?: any;
|
|
136
152
|
address?: any;
|
|
137
153
|
}>, AvmContractInstanceHint, {
|
|
@@ -145,10 +161,34 @@ export declare class AvmContractInstanceHint {
|
|
|
145
161
|
masterOutgoingViewingPublicKey: string;
|
|
146
162
|
masterTaggingPublicKey: string;
|
|
147
163
|
};
|
|
164
|
+
hintKey: number;
|
|
148
165
|
deployer?: any;
|
|
149
166
|
address?: any;
|
|
150
167
|
}>;
|
|
151
168
|
}
|
|
169
|
+
export declare class AvmDebugFunctionNameHint {
|
|
170
|
+
readonly address: AztecAddress;
|
|
171
|
+
readonly selector: Fr;
|
|
172
|
+
readonly name: string;
|
|
173
|
+
constructor(address: AztecAddress, selector: Fr, name: string);
|
|
174
|
+
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
175
|
+
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
176
|
+
selector: z.ZodType<Fr, any, string>;
|
|
177
|
+
name: z.ZodString;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
name: string;
|
|
180
|
+
selector: Fr;
|
|
181
|
+
address: AztecAddress;
|
|
182
|
+
}, {
|
|
183
|
+
name: string;
|
|
184
|
+
selector: string;
|
|
185
|
+
address?: any;
|
|
186
|
+
}>, AvmDebugFunctionNameHint, {
|
|
187
|
+
name: string;
|
|
188
|
+
selector: string;
|
|
189
|
+
address?: any;
|
|
190
|
+
}>;
|
|
191
|
+
}
|
|
152
192
|
export declare class AvmGetSiblingPathHint {
|
|
153
193
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
154
194
|
readonly treeId: MerkleTreeId;
|
|
@@ -708,10 +748,11 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
708
748
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
709
749
|
}, "strip", z.ZodTypeAny, {
|
|
710
750
|
path: Fr[];
|
|
711
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
712
751
|
index: bigint;
|
|
752
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
713
753
|
}, {
|
|
714
754
|
path: string[];
|
|
755
|
+
index: string | number | bigint;
|
|
715
756
|
leaf: {
|
|
716
757
|
leaf: {
|
|
717
758
|
nullifier: string;
|
|
@@ -726,7 +767,6 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
726
767
|
nextKey: string;
|
|
727
768
|
nextIndex: string | number | bigint;
|
|
728
769
|
};
|
|
729
|
-
index: string | number | bigint;
|
|
730
770
|
}>;
|
|
731
771
|
insertionWitnessData: z.ZodObject<{
|
|
732
772
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -796,10 +836,11 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
796
836
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
797
837
|
}, "strip", z.ZodTypeAny, {
|
|
798
838
|
path: Fr[];
|
|
799
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
800
839
|
index: bigint;
|
|
840
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
801
841
|
}, {
|
|
802
842
|
path: string[];
|
|
843
|
+
index: string | number | bigint;
|
|
803
844
|
leaf: {
|
|
804
845
|
leaf: {
|
|
805
846
|
nullifier: string;
|
|
@@ -814,7 +855,6 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
814
855
|
nextKey: string;
|
|
815
856
|
nextIndex: string | number | bigint;
|
|
816
857
|
};
|
|
817
|
-
index: string | number | bigint;
|
|
818
858
|
}>;
|
|
819
859
|
}, "strip", z.ZodTypeAny, {
|
|
820
860
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -823,13 +863,13 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
823
863
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
824
864
|
lowLeavesWitnessData: {
|
|
825
865
|
path: Fr[];
|
|
826
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
827
866
|
index: bigint;
|
|
867
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
828
868
|
};
|
|
829
869
|
insertionWitnessData: {
|
|
830
870
|
path: Fr[];
|
|
831
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
832
871
|
index: bigint;
|
|
872
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
833
873
|
};
|
|
834
874
|
}, {
|
|
835
875
|
leaf: {
|
|
@@ -849,6 +889,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
849
889
|
};
|
|
850
890
|
lowLeavesWitnessData: {
|
|
851
891
|
path: string[];
|
|
892
|
+
index: string | number | bigint;
|
|
852
893
|
leaf: {
|
|
853
894
|
leaf: {
|
|
854
895
|
nullifier: string;
|
|
@@ -863,10 +904,10 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
863
904
|
nextKey: string;
|
|
864
905
|
nextIndex: string | number | bigint;
|
|
865
906
|
};
|
|
866
|
-
index: string | number | bigint;
|
|
867
907
|
};
|
|
868
908
|
insertionWitnessData: {
|
|
869
909
|
path: string[];
|
|
910
|
+
index: string | number | bigint;
|
|
870
911
|
leaf: {
|
|
871
912
|
leaf: {
|
|
872
913
|
nullifier: string;
|
|
@@ -881,7 +922,6 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
881
922
|
nextKey: string;
|
|
882
923
|
nextIndex: string | number | bigint;
|
|
883
924
|
};
|
|
884
|
-
index: string | number | bigint;
|
|
885
925
|
};
|
|
886
926
|
}>, {
|
|
887
927
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -916,6 +956,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
916
956
|
};
|
|
917
957
|
lowLeavesWitnessData: {
|
|
918
958
|
path: string[];
|
|
959
|
+
index: string | number | bigint;
|
|
919
960
|
leaf: {
|
|
920
961
|
leaf: {
|
|
921
962
|
nullifier: string;
|
|
@@ -930,10 +971,10 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
930
971
|
nextKey: string;
|
|
931
972
|
nextIndex: string | number | bigint;
|
|
932
973
|
};
|
|
933
|
-
index: string | number | bigint;
|
|
934
974
|
};
|
|
935
975
|
insertionWitnessData: {
|
|
936
976
|
path: string[];
|
|
977
|
+
index: string | number | bigint;
|
|
937
978
|
leaf: {
|
|
938
979
|
leaf: {
|
|
939
980
|
nullifier: string;
|
|
@@ -948,7 +989,6 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
948
989
|
nextKey: string;
|
|
949
990
|
nextIndex: string | number | bigint;
|
|
950
991
|
};
|
|
951
|
-
index: string | number | bigint;
|
|
952
992
|
};
|
|
953
993
|
}>;
|
|
954
994
|
};
|
|
@@ -1096,10 +1136,11 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1096
1136
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1097
1137
|
}, "strip", z.ZodTypeAny, {
|
|
1098
1138
|
path: Fr[];
|
|
1099
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1100
1139
|
index: bigint;
|
|
1140
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1101
1141
|
}, {
|
|
1102
1142
|
path: string[];
|
|
1143
|
+
index: string | number | bigint;
|
|
1103
1144
|
leaf: {
|
|
1104
1145
|
leaf: {
|
|
1105
1146
|
nullifier: string;
|
|
@@ -1114,7 +1155,6 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1114
1155
|
nextKey: string;
|
|
1115
1156
|
nextIndex: string | number | bigint;
|
|
1116
1157
|
};
|
|
1117
|
-
index: string | number | bigint;
|
|
1118
1158
|
}>;
|
|
1119
1159
|
insertionWitnessData: z.ZodObject<{
|
|
1120
1160
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -1184,10 +1224,11 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1184
1224
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1185
1225
|
}, "strip", z.ZodTypeAny, {
|
|
1186
1226
|
path: Fr[];
|
|
1187
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1188
1227
|
index: bigint;
|
|
1228
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1189
1229
|
}, {
|
|
1190
1230
|
path: string[];
|
|
1231
|
+
index: string | number | bigint;
|
|
1191
1232
|
leaf: {
|
|
1192
1233
|
leaf: {
|
|
1193
1234
|
nullifier: string;
|
|
@@ -1202,7 +1243,6 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1202
1243
|
nextKey: string;
|
|
1203
1244
|
nextIndex: string | number | bigint;
|
|
1204
1245
|
};
|
|
1205
|
-
index: string | number | bigint;
|
|
1206
1246
|
}>;
|
|
1207
1247
|
}, "strip", z.ZodTypeAny, {
|
|
1208
1248
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -1211,13 +1251,13 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1211
1251
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
1212
1252
|
lowLeavesWitnessData: {
|
|
1213
1253
|
path: Fr[];
|
|
1214
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1215
1254
|
index: bigint;
|
|
1255
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1216
1256
|
};
|
|
1217
1257
|
insertionWitnessData: {
|
|
1218
1258
|
path: Fr[];
|
|
1219
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1220
1259
|
index: bigint;
|
|
1260
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1221
1261
|
};
|
|
1222
1262
|
}, {
|
|
1223
1263
|
leaf: {
|
|
@@ -1237,6 +1277,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1237
1277
|
};
|
|
1238
1278
|
lowLeavesWitnessData: {
|
|
1239
1279
|
path: string[];
|
|
1280
|
+
index: string | number | bigint;
|
|
1240
1281
|
leaf: {
|
|
1241
1282
|
leaf: {
|
|
1242
1283
|
nullifier: string;
|
|
@@ -1251,10 +1292,10 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1251
1292
|
nextKey: string;
|
|
1252
1293
|
nextIndex: string | number | bigint;
|
|
1253
1294
|
};
|
|
1254
|
-
index: string | number | bigint;
|
|
1255
1295
|
};
|
|
1256
1296
|
insertionWitnessData: {
|
|
1257
1297
|
path: string[];
|
|
1298
|
+
index: string | number | bigint;
|
|
1258
1299
|
leaf: {
|
|
1259
1300
|
leaf: {
|
|
1260
1301
|
nullifier: string;
|
|
@@ -1269,7 +1310,6 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1269
1310
|
nextKey: string;
|
|
1270
1311
|
nextIndex: string | number | bigint;
|
|
1271
1312
|
};
|
|
1272
|
-
index: string | number | bigint;
|
|
1273
1313
|
};
|
|
1274
1314
|
}>, {
|
|
1275
1315
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -1304,6 +1344,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1304
1344
|
};
|
|
1305
1345
|
lowLeavesWitnessData: {
|
|
1306
1346
|
path: string[];
|
|
1347
|
+
index: string | number | bigint;
|
|
1307
1348
|
leaf: {
|
|
1308
1349
|
leaf: {
|
|
1309
1350
|
nullifier: string;
|
|
@@ -1318,10 +1359,10 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1318
1359
|
nextKey: string;
|
|
1319
1360
|
nextIndex: string | number | bigint;
|
|
1320
1361
|
};
|
|
1321
|
-
index: string | number | bigint;
|
|
1322
1362
|
};
|
|
1323
1363
|
insertionWitnessData: {
|
|
1324
1364
|
path: string[];
|
|
1365
|
+
index: string | number | bigint;
|
|
1325
1366
|
leaf: {
|
|
1326
1367
|
leaf: {
|
|
1327
1368
|
nullifier: string;
|
|
@@ -1336,7 +1377,6 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1336
1377
|
nextKey: string;
|
|
1337
1378
|
nextIndex: string | number | bigint;
|
|
1338
1379
|
};
|
|
1339
|
-
index: string | number | bigint;
|
|
1340
1380
|
};
|
|
1341
1381
|
}>;
|
|
1342
1382
|
};
|
|
@@ -1719,10 +1759,18 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1719
1759
|
};
|
|
1720
1760
|
}>;
|
|
1721
1761
|
}
|
|
1762
|
+
export declare class AvmContractDBCreateCheckpointHint extends AvmCheckpointActionNoStateChangeHint {
|
|
1763
|
+
}
|
|
1764
|
+
export declare class AvmContractDBCommitCheckpointHint extends AvmCheckpointActionNoStateChangeHint {
|
|
1765
|
+
}
|
|
1766
|
+
export declare class AvmContractDBRevertCheckpointHint extends AvmCheckpointActionNoStateChangeHint {
|
|
1767
|
+
}
|
|
1722
1768
|
export declare class AvmTxHint {
|
|
1723
1769
|
readonly hash: string;
|
|
1724
1770
|
readonly gasSettings: GasSettings;
|
|
1725
1771
|
readonly effectiveGasFees: GasFees;
|
|
1772
|
+
readonly nonRevertibleContractDeploymentData: ContractDeploymentData;
|
|
1773
|
+
readonly revertibleContractDeploymentData: ContractDeploymentData;
|
|
1726
1774
|
readonly nonRevertibleAccumulatedData: {
|
|
1727
1775
|
noteHashes: Fr[];
|
|
1728
1776
|
nullifiers: Fr[];
|
|
@@ -1738,7 +1786,7 @@ export declare class AvmTxHint {
|
|
|
1738
1786
|
readonly teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
1739
1787
|
readonly gasUsedByPrivate: Gas;
|
|
1740
1788
|
readonly feePayer: AztecAddress;
|
|
1741
|
-
constructor(hash: string, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleAccumulatedData: {
|
|
1789
|
+
constructor(hash: string, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleContractDeploymentData: ContractDeploymentData, revertibleContractDeploymentData: ContractDeploymentData, nonRevertibleAccumulatedData: {
|
|
1742
1790
|
noteHashes: Fr[];
|
|
1743
1791
|
nullifiers: Fr[];
|
|
1744
1792
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
@@ -1857,6 +1905,148 @@ export declare class AvmTxHint {
|
|
|
1857
1905
|
feePerDaGas: string | number | bigint;
|
|
1858
1906
|
feePerL2Gas: string | number | bigint;
|
|
1859
1907
|
}>;
|
|
1908
|
+
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
1909
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1910
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1911
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
1912
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
1913
|
+
}, "strip", z.ZodTypeAny, {
|
|
1914
|
+
fields: Fr[];
|
|
1915
|
+
}, {
|
|
1916
|
+
fields: string[];
|
|
1917
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
1918
|
+
fields: string[];
|
|
1919
|
+
}>;
|
|
1920
|
+
emittedLength: z.ZodNumber;
|
|
1921
|
+
}, "strip", z.ZodTypeAny, {
|
|
1922
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
1923
|
+
contractAddress: AztecAddress;
|
|
1924
|
+
emittedLength: number;
|
|
1925
|
+
}, {
|
|
1926
|
+
fields: {
|
|
1927
|
+
fields: string[];
|
|
1928
|
+
};
|
|
1929
|
+
emittedLength: number;
|
|
1930
|
+
contractAddress?: any;
|
|
1931
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
1932
|
+
fields: {
|
|
1933
|
+
fields: string[];
|
|
1934
|
+
};
|
|
1935
|
+
emittedLength: number;
|
|
1936
|
+
contractAddress?: any;
|
|
1937
|
+
}>, "many">;
|
|
1938
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1939
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1940
|
+
emittedLength: z.ZodNumber;
|
|
1941
|
+
}, "strict", z.ZodTypeAny, {
|
|
1942
|
+
fields: Fr[];
|
|
1943
|
+
emittedLength: number;
|
|
1944
|
+
}, {
|
|
1945
|
+
fields: string[];
|
|
1946
|
+
emittedLength: number;
|
|
1947
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
1948
|
+
fields: string[];
|
|
1949
|
+
emittedLength: number;
|
|
1950
|
+
}>, "many">;
|
|
1951
|
+
}, "strip", z.ZodTypeAny, {
|
|
1952
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
1953
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
1954
|
+
}, {
|
|
1955
|
+
privateLogs: {
|
|
1956
|
+
fields: string[];
|
|
1957
|
+
emittedLength: number;
|
|
1958
|
+
}[];
|
|
1959
|
+
contractClassLogs: {
|
|
1960
|
+
fields: {
|
|
1961
|
+
fields: string[];
|
|
1962
|
+
};
|
|
1963
|
+
emittedLength: number;
|
|
1964
|
+
contractAddress?: any;
|
|
1965
|
+
}[];
|
|
1966
|
+
}>, ContractDeploymentData, {
|
|
1967
|
+
privateLogs: {
|
|
1968
|
+
fields: string[];
|
|
1969
|
+
emittedLength: number;
|
|
1970
|
+
}[];
|
|
1971
|
+
contractClassLogs: {
|
|
1972
|
+
fields: {
|
|
1973
|
+
fields: string[];
|
|
1974
|
+
};
|
|
1975
|
+
emittedLength: number;
|
|
1976
|
+
contractAddress?: any;
|
|
1977
|
+
}[];
|
|
1978
|
+
}>;
|
|
1979
|
+
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
1980
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1981
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1982
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
1983
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
1984
|
+
}, "strip", z.ZodTypeAny, {
|
|
1985
|
+
fields: Fr[];
|
|
1986
|
+
}, {
|
|
1987
|
+
fields: string[];
|
|
1988
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
1989
|
+
fields: string[];
|
|
1990
|
+
}>;
|
|
1991
|
+
emittedLength: z.ZodNumber;
|
|
1992
|
+
}, "strip", z.ZodTypeAny, {
|
|
1993
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
1994
|
+
contractAddress: AztecAddress;
|
|
1995
|
+
emittedLength: number;
|
|
1996
|
+
}, {
|
|
1997
|
+
fields: {
|
|
1998
|
+
fields: string[];
|
|
1999
|
+
};
|
|
2000
|
+
emittedLength: number;
|
|
2001
|
+
contractAddress?: any;
|
|
2002
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
2003
|
+
fields: {
|
|
2004
|
+
fields: string[];
|
|
2005
|
+
};
|
|
2006
|
+
emittedLength: number;
|
|
2007
|
+
contractAddress?: any;
|
|
2008
|
+
}>, "many">;
|
|
2009
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2010
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2011
|
+
emittedLength: z.ZodNumber;
|
|
2012
|
+
}, "strict", z.ZodTypeAny, {
|
|
2013
|
+
fields: Fr[];
|
|
2014
|
+
emittedLength: number;
|
|
2015
|
+
}, {
|
|
2016
|
+
fields: string[];
|
|
2017
|
+
emittedLength: number;
|
|
2018
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
2019
|
+
fields: string[];
|
|
2020
|
+
emittedLength: number;
|
|
2021
|
+
}>, "many">;
|
|
2022
|
+
}, "strip", z.ZodTypeAny, {
|
|
2023
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
2024
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
2025
|
+
}, {
|
|
2026
|
+
privateLogs: {
|
|
2027
|
+
fields: string[];
|
|
2028
|
+
emittedLength: number;
|
|
2029
|
+
}[];
|
|
2030
|
+
contractClassLogs: {
|
|
2031
|
+
fields: {
|
|
2032
|
+
fields: string[];
|
|
2033
|
+
};
|
|
2034
|
+
emittedLength: number;
|
|
2035
|
+
contractAddress?: any;
|
|
2036
|
+
}[];
|
|
2037
|
+
}>, ContractDeploymentData, {
|
|
2038
|
+
privateLogs: {
|
|
2039
|
+
fields: string[];
|
|
2040
|
+
emittedLength: number;
|
|
2041
|
+
}[];
|
|
2042
|
+
contractClassLogs: {
|
|
2043
|
+
fields: {
|
|
2044
|
+
fields: string[];
|
|
2045
|
+
};
|
|
2046
|
+
emittedLength: number;
|
|
2047
|
+
contractAddress?: any;
|
|
2048
|
+
}[];
|
|
2049
|
+
}>;
|
|
1860
2050
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
1861
2051
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1862
2052
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -1865,14 +2055,14 @@ export declare class AvmTxHint {
|
|
|
1865
2055
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
1866
2056
|
content: z.ZodType<Fr, any, string>;
|
|
1867
2057
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
1869
2058
|
content: Fr;
|
|
2059
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
1870
2060
|
}, {
|
|
1871
|
-
recipient: string;
|
|
1872
2061
|
content: string;
|
|
1873
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
1874
2062
|
recipient: string;
|
|
2063
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
1875
2064
|
content: string;
|
|
2065
|
+
recipient: string;
|
|
1876
2066
|
}>;
|
|
1877
2067
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1878
2068
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1880,14 +2070,14 @@ export declare class AvmTxHint {
|
|
|
1880
2070
|
contractAddress: AztecAddress;
|
|
1881
2071
|
}, {
|
|
1882
2072
|
message: {
|
|
1883
|
-
recipient: string;
|
|
1884
2073
|
content: string;
|
|
2074
|
+
recipient: string;
|
|
1885
2075
|
};
|
|
1886
2076
|
contractAddress?: any;
|
|
1887
2077
|
}>, ScopedL2ToL1Message, {
|
|
1888
2078
|
message: {
|
|
1889
|
-
recipient: string;
|
|
1890
2079
|
content: string;
|
|
2080
|
+
recipient: string;
|
|
1891
2081
|
};
|
|
1892
2082
|
contractAddress?: any;
|
|
1893
2083
|
}>, "many">;
|
|
@@ -1900,8 +2090,8 @@ export declare class AvmTxHint {
|
|
|
1900
2090
|
nullifiers: string[];
|
|
1901
2091
|
l2ToL1Messages: {
|
|
1902
2092
|
message: {
|
|
1903
|
-
recipient: string;
|
|
1904
2093
|
content: string;
|
|
2094
|
+
recipient: string;
|
|
1905
2095
|
};
|
|
1906
2096
|
contractAddress?: any;
|
|
1907
2097
|
}[];
|
|
@@ -1914,14 +2104,14 @@ export declare class AvmTxHint {
|
|
|
1914
2104
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
1915
2105
|
content: z.ZodType<Fr, any, string>;
|
|
1916
2106
|
}, "strip", z.ZodTypeAny, {
|
|
1917
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
1918
2107
|
content: Fr;
|
|
2108
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
1919
2109
|
}, {
|
|
1920
|
-
recipient: string;
|
|
1921
2110
|
content: string;
|
|
1922
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
1923
2111
|
recipient: string;
|
|
2112
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
1924
2113
|
content: string;
|
|
2114
|
+
recipient: string;
|
|
1925
2115
|
}>;
|
|
1926
2116
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1927
2117
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1929,14 +2119,14 @@ export declare class AvmTxHint {
|
|
|
1929
2119
|
contractAddress: AztecAddress;
|
|
1930
2120
|
}, {
|
|
1931
2121
|
message: {
|
|
1932
|
-
recipient: string;
|
|
1933
2122
|
content: string;
|
|
2123
|
+
recipient: string;
|
|
1934
2124
|
};
|
|
1935
2125
|
contractAddress?: any;
|
|
1936
2126
|
}>, ScopedL2ToL1Message, {
|
|
1937
2127
|
message: {
|
|
1938
|
-
recipient: string;
|
|
1939
2128
|
content: string;
|
|
2129
|
+
recipient: string;
|
|
1940
2130
|
};
|
|
1941
2131
|
contractAddress?: any;
|
|
1942
2132
|
}>, "many">;
|
|
@@ -1949,8 +2139,8 @@ export declare class AvmTxHint {
|
|
|
1949
2139
|
nullifiers: string[];
|
|
1950
2140
|
l2ToL1Messages: {
|
|
1951
2141
|
message: {
|
|
1952
|
-
recipient: string;
|
|
1953
2142
|
content: string;
|
|
2143
|
+
recipient: string;
|
|
1954
2144
|
};
|
|
1955
2145
|
contractAddress?: any;
|
|
1956
2146
|
}[];
|
|
@@ -1987,6 +2177,8 @@ export declare class AvmTxHint {
|
|
|
1987
2177
|
};
|
|
1988
2178
|
feePayer: AztecAddress;
|
|
1989
2179
|
effectiveGasFees: GasFees;
|
|
2180
|
+
nonRevertibleContractDeploymentData: ContractDeploymentData;
|
|
2181
|
+
revertibleContractDeploymentData: ContractDeploymentData;
|
|
1990
2182
|
setupEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
1991
2183
|
appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
1992
2184
|
teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
@@ -2016,8 +2208,8 @@ export declare class AvmTxHint {
|
|
|
2016
2208
|
nullifiers: string[];
|
|
2017
2209
|
l2ToL1Messages: {
|
|
2018
2210
|
message: {
|
|
2019
|
-
recipient: string;
|
|
2020
2211
|
content: string;
|
|
2212
|
+
recipient: string;
|
|
2021
2213
|
};
|
|
2022
2214
|
contractAddress?: any;
|
|
2023
2215
|
}[];
|
|
@@ -2027,8 +2219,8 @@ export declare class AvmTxHint {
|
|
|
2027
2219
|
nullifiers: string[];
|
|
2028
2220
|
l2ToL1Messages: {
|
|
2029
2221
|
message: {
|
|
2030
|
-
recipient: string;
|
|
2031
2222
|
content: string;
|
|
2223
|
+
recipient: string;
|
|
2032
2224
|
};
|
|
2033
2225
|
contractAddress?: any;
|
|
2034
2226
|
}[];
|
|
@@ -2037,6 +2229,32 @@ export declare class AvmTxHint {
|
|
|
2037
2229
|
feePerDaGas: string | number | bigint;
|
|
2038
2230
|
feePerL2Gas: string | number | bigint;
|
|
2039
2231
|
};
|
|
2232
|
+
nonRevertibleContractDeploymentData: {
|
|
2233
|
+
privateLogs: {
|
|
2234
|
+
fields: string[];
|
|
2235
|
+
emittedLength: number;
|
|
2236
|
+
}[];
|
|
2237
|
+
contractClassLogs: {
|
|
2238
|
+
fields: {
|
|
2239
|
+
fields: string[];
|
|
2240
|
+
};
|
|
2241
|
+
emittedLength: number;
|
|
2242
|
+
contractAddress?: any;
|
|
2243
|
+
}[];
|
|
2244
|
+
};
|
|
2245
|
+
revertibleContractDeploymentData: {
|
|
2246
|
+
privateLogs: {
|
|
2247
|
+
fields: string[];
|
|
2248
|
+
emittedLength: number;
|
|
2249
|
+
}[];
|
|
2250
|
+
contractClassLogs: {
|
|
2251
|
+
fields: {
|
|
2252
|
+
fields: string[];
|
|
2253
|
+
};
|
|
2254
|
+
emittedLength: number;
|
|
2255
|
+
contractAddress?: any;
|
|
2256
|
+
}[];
|
|
2257
|
+
};
|
|
2040
2258
|
setupEnqueuedCalls: any[];
|
|
2041
2259
|
appLogicEnqueuedCalls: any[];
|
|
2042
2260
|
gasUsedByPrivate: {
|
|
@@ -2070,8 +2288,8 @@ export declare class AvmTxHint {
|
|
|
2070
2288
|
nullifiers: string[];
|
|
2071
2289
|
l2ToL1Messages: {
|
|
2072
2290
|
message: {
|
|
2073
|
-
recipient: string;
|
|
2074
2291
|
content: string;
|
|
2292
|
+
recipient: string;
|
|
2075
2293
|
};
|
|
2076
2294
|
contractAddress?: any;
|
|
2077
2295
|
}[];
|
|
@@ -2081,8 +2299,8 @@ export declare class AvmTxHint {
|
|
|
2081
2299
|
nullifiers: string[];
|
|
2082
2300
|
l2ToL1Messages: {
|
|
2083
2301
|
message: {
|
|
2084
|
-
recipient: string;
|
|
2085
2302
|
content: string;
|
|
2303
|
+
recipient: string;
|
|
2086
2304
|
};
|
|
2087
2305
|
contractAddress?: any;
|
|
2088
2306
|
}[];
|
|
@@ -2091,6 +2309,32 @@ export declare class AvmTxHint {
|
|
|
2091
2309
|
feePerDaGas: string | number | bigint;
|
|
2092
2310
|
feePerL2Gas: string | number | bigint;
|
|
2093
2311
|
};
|
|
2312
|
+
nonRevertibleContractDeploymentData: {
|
|
2313
|
+
privateLogs: {
|
|
2314
|
+
fields: string[];
|
|
2315
|
+
emittedLength: number;
|
|
2316
|
+
}[];
|
|
2317
|
+
contractClassLogs: {
|
|
2318
|
+
fields: {
|
|
2319
|
+
fields: string[];
|
|
2320
|
+
};
|
|
2321
|
+
emittedLength: number;
|
|
2322
|
+
contractAddress?: any;
|
|
2323
|
+
}[];
|
|
2324
|
+
};
|
|
2325
|
+
revertibleContractDeploymentData: {
|
|
2326
|
+
privateLogs: {
|
|
2327
|
+
fields: string[];
|
|
2328
|
+
emittedLength: number;
|
|
2329
|
+
}[];
|
|
2330
|
+
contractClassLogs: {
|
|
2331
|
+
fields: {
|
|
2332
|
+
fields: string[];
|
|
2333
|
+
};
|
|
2334
|
+
emittedLength: number;
|
|
2335
|
+
contractAddress?: any;
|
|
2336
|
+
}[];
|
|
2337
|
+
};
|
|
2094
2338
|
setupEnqueuedCalls: any[];
|
|
2095
2339
|
appLogicEnqueuedCalls: any[];
|
|
2096
2340
|
gasUsedByPrivate: {
|
|
@@ -2108,6 +2352,7 @@ export declare class AvmExecutionHints {
|
|
|
2108
2352
|
readonly contractInstances: AvmContractInstanceHint[];
|
|
2109
2353
|
readonly contractClasses: AvmContractClassHint[];
|
|
2110
2354
|
readonly bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
2355
|
+
readonly debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
2111
2356
|
startingTreeRoots: TreeSnapshots;
|
|
2112
2357
|
readonly getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
2113
2358
|
readonly getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -2120,7 +2365,10 @@ export declare class AvmExecutionHints {
|
|
|
2120
2365
|
readonly createCheckpointHints: AvmCreateCheckpointHint[];
|
|
2121
2366
|
readonly commitCheckpointHints: AvmCommitCheckpointHint[];
|
|
2122
2367
|
readonly revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
2123
|
-
|
|
2368
|
+
readonly contractDBCreateCheckpointHints: AvmContractDBCreateCheckpointHint[];
|
|
2369
|
+
readonly contractDBCommitCheckpointHints: AvmContractDBCommitCheckpointHint[];
|
|
2370
|
+
readonly contractDBRevertCheckpointHints: AvmContractDBRevertCheckpointHint[];
|
|
2371
|
+
constructor(globalVariables: GlobalVariables, tx: AvmTxHint, protocolContracts: ProtocolContracts, contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], debugFunctionNames?: AvmDebugFunctionNameHint[], startingTreeRoots?: TreeSnapshots, getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[], appendLeavesHints?: AvmAppendLeavesHint[], createCheckpointHints?: AvmCreateCheckpointHint[], commitCheckpointHints?: AvmCommitCheckpointHint[], revertCheckpointHints?: AvmRevertCheckpointHint[], contractDBCreateCheckpointHints?: AvmContractDBCreateCheckpointHint[], contractDBCommitCheckpointHints?: AvmContractDBCommitCheckpointHint[], contractDBRevertCheckpointHints?: AvmContractDBRevertCheckpointHint[]);
|
|
2124
2372
|
static empty(): AvmExecutionHints;
|
|
2125
2373
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
2126
2374
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -2286,6 +2534,148 @@ export declare class AvmExecutionHints {
|
|
|
2286
2534
|
feePerDaGas: string | number | bigint;
|
|
2287
2535
|
feePerL2Gas: string | number | bigint;
|
|
2288
2536
|
}>;
|
|
2537
|
+
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
2538
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2539
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2540
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
2541
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2542
|
+
}, "strip", z.ZodTypeAny, {
|
|
2543
|
+
fields: Fr[];
|
|
2544
|
+
}, {
|
|
2545
|
+
fields: string[];
|
|
2546
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
2547
|
+
fields: string[];
|
|
2548
|
+
}>;
|
|
2549
|
+
emittedLength: z.ZodNumber;
|
|
2550
|
+
}, "strip", z.ZodTypeAny, {
|
|
2551
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
2552
|
+
contractAddress: AztecAddress;
|
|
2553
|
+
emittedLength: number;
|
|
2554
|
+
}, {
|
|
2555
|
+
fields: {
|
|
2556
|
+
fields: string[];
|
|
2557
|
+
};
|
|
2558
|
+
emittedLength: number;
|
|
2559
|
+
contractAddress?: any;
|
|
2560
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
2561
|
+
fields: {
|
|
2562
|
+
fields: string[];
|
|
2563
|
+
};
|
|
2564
|
+
emittedLength: number;
|
|
2565
|
+
contractAddress?: any;
|
|
2566
|
+
}>, "many">;
|
|
2567
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2568
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2569
|
+
emittedLength: z.ZodNumber;
|
|
2570
|
+
}, "strict", z.ZodTypeAny, {
|
|
2571
|
+
fields: Fr[];
|
|
2572
|
+
emittedLength: number;
|
|
2573
|
+
}, {
|
|
2574
|
+
fields: string[];
|
|
2575
|
+
emittedLength: number;
|
|
2576
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
2577
|
+
fields: string[];
|
|
2578
|
+
emittedLength: number;
|
|
2579
|
+
}>, "many">;
|
|
2580
|
+
}, "strip", z.ZodTypeAny, {
|
|
2581
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
2582
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
2583
|
+
}, {
|
|
2584
|
+
privateLogs: {
|
|
2585
|
+
fields: string[];
|
|
2586
|
+
emittedLength: number;
|
|
2587
|
+
}[];
|
|
2588
|
+
contractClassLogs: {
|
|
2589
|
+
fields: {
|
|
2590
|
+
fields: string[];
|
|
2591
|
+
};
|
|
2592
|
+
emittedLength: number;
|
|
2593
|
+
contractAddress?: any;
|
|
2594
|
+
}[];
|
|
2595
|
+
}>, ContractDeploymentData, {
|
|
2596
|
+
privateLogs: {
|
|
2597
|
+
fields: string[];
|
|
2598
|
+
emittedLength: number;
|
|
2599
|
+
}[];
|
|
2600
|
+
contractClassLogs: {
|
|
2601
|
+
fields: {
|
|
2602
|
+
fields: string[];
|
|
2603
|
+
};
|
|
2604
|
+
emittedLength: number;
|
|
2605
|
+
contractAddress?: any;
|
|
2606
|
+
}[];
|
|
2607
|
+
}>;
|
|
2608
|
+
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
2609
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2610
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2611
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
2612
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2613
|
+
}, "strip", z.ZodTypeAny, {
|
|
2614
|
+
fields: Fr[];
|
|
2615
|
+
}, {
|
|
2616
|
+
fields: string[];
|
|
2617
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
2618
|
+
fields: string[];
|
|
2619
|
+
}>;
|
|
2620
|
+
emittedLength: z.ZodNumber;
|
|
2621
|
+
}, "strip", z.ZodTypeAny, {
|
|
2622
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
2623
|
+
contractAddress: AztecAddress;
|
|
2624
|
+
emittedLength: number;
|
|
2625
|
+
}, {
|
|
2626
|
+
fields: {
|
|
2627
|
+
fields: string[];
|
|
2628
|
+
};
|
|
2629
|
+
emittedLength: number;
|
|
2630
|
+
contractAddress?: any;
|
|
2631
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
2632
|
+
fields: {
|
|
2633
|
+
fields: string[];
|
|
2634
|
+
};
|
|
2635
|
+
emittedLength: number;
|
|
2636
|
+
contractAddress?: any;
|
|
2637
|
+
}>, "many">;
|
|
2638
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2639
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2640
|
+
emittedLength: z.ZodNumber;
|
|
2641
|
+
}, "strict", z.ZodTypeAny, {
|
|
2642
|
+
fields: Fr[];
|
|
2643
|
+
emittedLength: number;
|
|
2644
|
+
}, {
|
|
2645
|
+
fields: string[];
|
|
2646
|
+
emittedLength: number;
|
|
2647
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
2648
|
+
fields: string[];
|
|
2649
|
+
emittedLength: number;
|
|
2650
|
+
}>, "many">;
|
|
2651
|
+
}, "strip", z.ZodTypeAny, {
|
|
2652
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
2653
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
2654
|
+
}, {
|
|
2655
|
+
privateLogs: {
|
|
2656
|
+
fields: string[];
|
|
2657
|
+
emittedLength: number;
|
|
2658
|
+
}[];
|
|
2659
|
+
contractClassLogs: {
|
|
2660
|
+
fields: {
|
|
2661
|
+
fields: string[];
|
|
2662
|
+
};
|
|
2663
|
+
emittedLength: number;
|
|
2664
|
+
contractAddress?: any;
|
|
2665
|
+
}[];
|
|
2666
|
+
}>, ContractDeploymentData, {
|
|
2667
|
+
privateLogs: {
|
|
2668
|
+
fields: string[];
|
|
2669
|
+
emittedLength: number;
|
|
2670
|
+
}[];
|
|
2671
|
+
contractClassLogs: {
|
|
2672
|
+
fields: {
|
|
2673
|
+
fields: string[];
|
|
2674
|
+
};
|
|
2675
|
+
emittedLength: number;
|
|
2676
|
+
contractAddress?: any;
|
|
2677
|
+
}[];
|
|
2678
|
+
}>;
|
|
2289
2679
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
2290
2680
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2291
2681
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -2294,14 +2684,14 @@ export declare class AvmExecutionHints {
|
|
|
2294
2684
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2295
2685
|
content: z.ZodType<Fr, any, string>;
|
|
2296
2686
|
}, "strip", z.ZodTypeAny, {
|
|
2297
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2298
2687
|
content: Fr;
|
|
2688
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2299
2689
|
}, {
|
|
2300
|
-
recipient: string;
|
|
2301
2690
|
content: string;
|
|
2302
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2303
2691
|
recipient: string;
|
|
2692
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2304
2693
|
content: string;
|
|
2694
|
+
recipient: string;
|
|
2305
2695
|
}>;
|
|
2306
2696
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2307
2697
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2309,14 +2699,14 @@ export declare class AvmExecutionHints {
|
|
|
2309
2699
|
contractAddress: AztecAddress;
|
|
2310
2700
|
}, {
|
|
2311
2701
|
message: {
|
|
2312
|
-
recipient: string;
|
|
2313
2702
|
content: string;
|
|
2703
|
+
recipient: string;
|
|
2314
2704
|
};
|
|
2315
2705
|
contractAddress?: any;
|
|
2316
2706
|
}>, ScopedL2ToL1Message, {
|
|
2317
2707
|
message: {
|
|
2318
|
-
recipient: string;
|
|
2319
2708
|
content: string;
|
|
2709
|
+
recipient: string;
|
|
2320
2710
|
};
|
|
2321
2711
|
contractAddress?: any;
|
|
2322
2712
|
}>, "many">;
|
|
@@ -2329,8 +2719,8 @@ export declare class AvmExecutionHints {
|
|
|
2329
2719
|
nullifiers: string[];
|
|
2330
2720
|
l2ToL1Messages: {
|
|
2331
2721
|
message: {
|
|
2332
|
-
recipient: string;
|
|
2333
2722
|
content: string;
|
|
2723
|
+
recipient: string;
|
|
2334
2724
|
};
|
|
2335
2725
|
contractAddress?: any;
|
|
2336
2726
|
}[];
|
|
@@ -2343,14 +2733,14 @@ export declare class AvmExecutionHints {
|
|
|
2343
2733
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2344
2734
|
content: z.ZodType<Fr, any, string>;
|
|
2345
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2346
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2347
2736
|
content: Fr;
|
|
2737
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2348
2738
|
}, {
|
|
2349
|
-
recipient: string;
|
|
2350
2739
|
content: string;
|
|
2351
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2352
2740
|
recipient: string;
|
|
2741
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2353
2742
|
content: string;
|
|
2743
|
+
recipient: string;
|
|
2354
2744
|
}>;
|
|
2355
2745
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2356
2746
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2358,14 +2748,14 @@ export declare class AvmExecutionHints {
|
|
|
2358
2748
|
contractAddress: AztecAddress;
|
|
2359
2749
|
}, {
|
|
2360
2750
|
message: {
|
|
2361
|
-
recipient: string;
|
|
2362
2751
|
content: string;
|
|
2752
|
+
recipient: string;
|
|
2363
2753
|
};
|
|
2364
2754
|
contractAddress?: any;
|
|
2365
2755
|
}>, ScopedL2ToL1Message, {
|
|
2366
2756
|
message: {
|
|
2367
|
-
recipient: string;
|
|
2368
2757
|
content: string;
|
|
2758
|
+
recipient: string;
|
|
2369
2759
|
};
|
|
2370
2760
|
contractAddress?: any;
|
|
2371
2761
|
}>, "many">;
|
|
@@ -2378,8 +2768,8 @@ export declare class AvmExecutionHints {
|
|
|
2378
2768
|
nullifiers: string[];
|
|
2379
2769
|
l2ToL1Messages: {
|
|
2380
2770
|
message: {
|
|
2381
|
-
recipient: string;
|
|
2382
2771
|
content: string;
|
|
2772
|
+
recipient: string;
|
|
2383
2773
|
};
|
|
2384
2774
|
contractAddress?: any;
|
|
2385
2775
|
}[];
|
|
@@ -2416,6 +2806,8 @@ export declare class AvmExecutionHints {
|
|
|
2416
2806
|
};
|
|
2417
2807
|
feePayer: AztecAddress;
|
|
2418
2808
|
effectiveGasFees: GasFees;
|
|
2809
|
+
nonRevertibleContractDeploymentData: ContractDeploymentData;
|
|
2810
|
+
revertibleContractDeploymentData: ContractDeploymentData;
|
|
2419
2811
|
setupEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
2420
2812
|
appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
2421
2813
|
teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
@@ -2445,8 +2837,8 @@ export declare class AvmExecutionHints {
|
|
|
2445
2837
|
nullifiers: string[];
|
|
2446
2838
|
l2ToL1Messages: {
|
|
2447
2839
|
message: {
|
|
2448
|
-
recipient: string;
|
|
2449
2840
|
content: string;
|
|
2841
|
+
recipient: string;
|
|
2450
2842
|
};
|
|
2451
2843
|
contractAddress?: any;
|
|
2452
2844
|
}[];
|
|
@@ -2456,8 +2848,8 @@ export declare class AvmExecutionHints {
|
|
|
2456
2848
|
nullifiers: string[];
|
|
2457
2849
|
l2ToL1Messages: {
|
|
2458
2850
|
message: {
|
|
2459
|
-
recipient: string;
|
|
2460
2851
|
content: string;
|
|
2852
|
+
recipient: string;
|
|
2461
2853
|
};
|
|
2462
2854
|
contractAddress?: any;
|
|
2463
2855
|
}[];
|
|
@@ -2466,6 +2858,32 @@ export declare class AvmExecutionHints {
|
|
|
2466
2858
|
feePerDaGas: string | number | bigint;
|
|
2467
2859
|
feePerL2Gas: string | number | bigint;
|
|
2468
2860
|
};
|
|
2861
|
+
nonRevertibleContractDeploymentData: {
|
|
2862
|
+
privateLogs: {
|
|
2863
|
+
fields: string[];
|
|
2864
|
+
emittedLength: number;
|
|
2865
|
+
}[];
|
|
2866
|
+
contractClassLogs: {
|
|
2867
|
+
fields: {
|
|
2868
|
+
fields: string[];
|
|
2869
|
+
};
|
|
2870
|
+
emittedLength: number;
|
|
2871
|
+
contractAddress?: any;
|
|
2872
|
+
}[];
|
|
2873
|
+
};
|
|
2874
|
+
revertibleContractDeploymentData: {
|
|
2875
|
+
privateLogs: {
|
|
2876
|
+
fields: string[];
|
|
2877
|
+
emittedLength: number;
|
|
2878
|
+
}[];
|
|
2879
|
+
contractClassLogs: {
|
|
2880
|
+
fields: {
|
|
2881
|
+
fields: string[];
|
|
2882
|
+
};
|
|
2883
|
+
emittedLength: number;
|
|
2884
|
+
contractAddress?: any;
|
|
2885
|
+
}[];
|
|
2886
|
+
};
|
|
2469
2887
|
setupEnqueuedCalls: any[];
|
|
2470
2888
|
appLogicEnqueuedCalls: any[];
|
|
2471
2889
|
gasUsedByPrivate: {
|
|
@@ -2499,8 +2917,8 @@ export declare class AvmExecutionHints {
|
|
|
2499
2917
|
nullifiers: string[];
|
|
2500
2918
|
l2ToL1Messages: {
|
|
2501
2919
|
message: {
|
|
2502
|
-
recipient: string;
|
|
2503
2920
|
content: string;
|
|
2921
|
+
recipient: string;
|
|
2504
2922
|
};
|
|
2505
2923
|
contractAddress?: any;
|
|
2506
2924
|
}[];
|
|
@@ -2510,8 +2928,8 @@ export declare class AvmExecutionHints {
|
|
|
2510
2928
|
nullifiers: string[];
|
|
2511
2929
|
l2ToL1Messages: {
|
|
2512
2930
|
message: {
|
|
2513
|
-
recipient: string;
|
|
2514
2931
|
content: string;
|
|
2932
|
+
recipient: string;
|
|
2515
2933
|
};
|
|
2516
2934
|
contractAddress?: any;
|
|
2517
2935
|
}[];
|
|
@@ -2520,6 +2938,32 @@ export declare class AvmExecutionHints {
|
|
|
2520
2938
|
feePerDaGas: string | number | bigint;
|
|
2521
2939
|
feePerL2Gas: string | number | bigint;
|
|
2522
2940
|
};
|
|
2941
|
+
nonRevertibleContractDeploymentData: {
|
|
2942
|
+
privateLogs: {
|
|
2943
|
+
fields: string[];
|
|
2944
|
+
emittedLength: number;
|
|
2945
|
+
}[];
|
|
2946
|
+
contractClassLogs: {
|
|
2947
|
+
fields: {
|
|
2948
|
+
fields: string[];
|
|
2949
|
+
};
|
|
2950
|
+
emittedLength: number;
|
|
2951
|
+
contractAddress?: any;
|
|
2952
|
+
}[];
|
|
2953
|
+
};
|
|
2954
|
+
revertibleContractDeploymentData: {
|
|
2955
|
+
privateLogs: {
|
|
2956
|
+
fields: string[];
|
|
2957
|
+
emittedLength: number;
|
|
2958
|
+
}[];
|
|
2959
|
+
contractClassLogs: {
|
|
2960
|
+
fields: {
|
|
2961
|
+
fields: string[];
|
|
2962
|
+
};
|
|
2963
|
+
emittedLength: number;
|
|
2964
|
+
contractAddress?: any;
|
|
2965
|
+
}[];
|
|
2966
|
+
};
|
|
2523
2967
|
setupEnqueuedCalls: any[];
|
|
2524
2968
|
appLogicEnqueuedCalls: any[];
|
|
2525
2969
|
gasUsedByPrivate: {
|
|
@@ -2539,6 +2983,7 @@ export declare class AvmExecutionHints {
|
|
|
2539
2983
|
derivedAddresses: any[];
|
|
2540
2984
|
}>;
|
|
2541
2985
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2986
|
+
hintKey: z.ZodNumber;
|
|
2542
2987
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2543
2988
|
salt: z.ZodType<Fr, any, string>;
|
|
2544
2989
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -2574,6 +3019,7 @@ export declare class AvmExecutionHints {
|
|
|
2574
3019
|
initializationHash: Fr;
|
|
2575
3020
|
publicKeys: PublicKeys;
|
|
2576
3021
|
address: AztecAddress;
|
|
3022
|
+
hintKey: number;
|
|
2577
3023
|
}, {
|
|
2578
3024
|
salt: string;
|
|
2579
3025
|
currentContractClassId: string;
|
|
@@ -2585,6 +3031,7 @@ export declare class AvmExecutionHints {
|
|
|
2585
3031
|
masterOutgoingViewingPublicKey: string;
|
|
2586
3032
|
masterTaggingPublicKey: string;
|
|
2587
3033
|
};
|
|
3034
|
+
hintKey: number;
|
|
2588
3035
|
deployer?: any;
|
|
2589
3036
|
address?: any;
|
|
2590
3037
|
}>, AvmContractInstanceHint, {
|
|
@@ -2598,10 +3045,12 @@ export declare class AvmExecutionHints {
|
|
|
2598
3045
|
masterOutgoingViewingPublicKey: string;
|
|
2599
3046
|
masterTaggingPublicKey: string;
|
|
2600
3047
|
};
|
|
3048
|
+
hintKey: number;
|
|
2601
3049
|
deployer?: any;
|
|
2602
3050
|
address?: any;
|
|
2603
3051
|
}>, "many">;
|
|
2604
3052
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3053
|
+
hintKey: z.ZodNumber;
|
|
2605
3054
|
classId: z.ZodType<Fr, any, string>;
|
|
2606
3055
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
2607
3056
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
@@ -2619,40 +3068,64 @@ export declare class AvmExecutionHints {
|
|
|
2619
3068
|
data: number[];
|
|
2620
3069
|
}>]>;
|
|
2621
3070
|
}, "strip", z.ZodTypeAny, {
|
|
2622
|
-
classId: Fr;
|
|
2623
3071
|
artifactHash: Fr;
|
|
2624
|
-
privateFunctionsRoot: Fr;
|
|
2625
3072
|
packedBytecode: Buffer<ArrayBuffer>;
|
|
3073
|
+
privateFunctionsRoot: Fr;
|
|
3074
|
+
hintKey: number;
|
|
3075
|
+
classId: Fr;
|
|
2626
3076
|
}, {
|
|
2627
|
-
classId: string;
|
|
2628
3077
|
artifactHash: string;
|
|
2629
|
-
privateFunctionsRoot: string;
|
|
2630
3078
|
packedBytecode: string | {
|
|
2631
3079
|
type: "Buffer";
|
|
2632
3080
|
data: number[];
|
|
2633
3081
|
};
|
|
2634
|
-
|
|
3082
|
+
privateFunctionsRoot: string;
|
|
3083
|
+
hintKey: number;
|
|
2635
3084
|
classId: string;
|
|
3085
|
+
}>, AvmContractClassHint, {
|
|
2636
3086
|
artifactHash: string;
|
|
2637
|
-
privateFunctionsRoot: string;
|
|
2638
3087
|
packedBytecode: string | {
|
|
2639
3088
|
type: "Buffer";
|
|
2640
3089
|
data: number[];
|
|
2641
3090
|
};
|
|
3091
|
+
privateFunctionsRoot: string;
|
|
3092
|
+
hintKey: number;
|
|
3093
|
+
classId: string;
|
|
2642
3094
|
}>, "many">;
|
|
2643
3095
|
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3096
|
+
hintKey: z.ZodNumber;
|
|
2644
3097
|
classId: z.ZodType<Fr, any, string>;
|
|
2645
3098
|
commitment: z.ZodType<Fr, any, string>;
|
|
2646
3099
|
}, "strip", z.ZodTypeAny, {
|
|
3100
|
+
hintKey: number;
|
|
2647
3101
|
classId: Fr;
|
|
2648
3102
|
commitment: Fr;
|
|
2649
3103
|
}, {
|
|
3104
|
+
hintKey: number;
|
|
2650
3105
|
classId: string;
|
|
2651
3106
|
commitment: string;
|
|
2652
3107
|
}>, AvmBytecodeCommitmentHint, {
|
|
3108
|
+
hintKey: number;
|
|
2653
3109
|
classId: string;
|
|
2654
3110
|
commitment: string;
|
|
2655
3111
|
}>, "many">;
|
|
3112
|
+
debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3113
|
+
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
3114
|
+
selector: z.ZodType<Fr, any, string>;
|
|
3115
|
+
name: z.ZodString;
|
|
3116
|
+
}, "strip", z.ZodTypeAny, {
|
|
3117
|
+
name: string;
|
|
3118
|
+
selector: Fr;
|
|
3119
|
+
address: AztecAddress;
|
|
3120
|
+
}, {
|
|
3121
|
+
name: string;
|
|
3122
|
+
selector: string;
|
|
3123
|
+
address?: any;
|
|
3124
|
+
}>, AvmDebugFunctionNameHint, {
|
|
3125
|
+
name: string;
|
|
3126
|
+
selector: string;
|
|
3127
|
+
address?: any;
|
|
3128
|
+
}>, "many">;
|
|
2656
3129
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
2657
3130
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
2658
3131
|
root: z.ZodType<Fr, any, string>;
|
|
@@ -3238,10 +3711,11 @@ export declare class AvmExecutionHints {
|
|
|
3238
3711
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
3239
3712
|
}, "strip", z.ZodTypeAny, {
|
|
3240
3713
|
path: Fr[];
|
|
3241
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3242
3714
|
index: bigint;
|
|
3715
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3243
3716
|
}, {
|
|
3244
3717
|
path: string[];
|
|
3718
|
+
index: string | number | bigint;
|
|
3245
3719
|
leaf: {
|
|
3246
3720
|
leaf: {
|
|
3247
3721
|
nullifier: string;
|
|
@@ -3256,7 +3730,6 @@ export declare class AvmExecutionHints {
|
|
|
3256
3730
|
nextKey: string;
|
|
3257
3731
|
nextIndex: string | number | bigint;
|
|
3258
3732
|
};
|
|
3259
|
-
index: string | number | bigint;
|
|
3260
3733
|
}>;
|
|
3261
3734
|
insertionWitnessData: z.ZodObject<{
|
|
3262
3735
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -3326,10 +3799,11 @@ export declare class AvmExecutionHints {
|
|
|
3326
3799
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
3327
3800
|
}, "strip", z.ZodTypeAny, {
|
|
3328
3801
|
path: Fr[];
|
|
3329
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3330
3802
|
index: bigint;
|
|
3803
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3331
3804
|
}, {
|
|
3332
3805
|
path: string[];
|
|
3806
|
+
index: string | number | bigint;
|
|
3333
3807
|
leaf: {
|
|
3334
3808
|
leaf: {
|
|
3335
3809
|
nullifier: string;
|
|
@@ -3344,7 +3818,6 @@ export declare class AvmExecutionHints {
|
|
|
3344
3818
|
nextKey: string;
|
|
3345
3819
|
nextIndex: string | number | bigint;
|
|
3346
3820
|
};
|
|
3347
|
-
index: string | number | bigint;
|
|
3348
3821
|
}>;
|
|
3349
3822
|
}, "strip", z.ZodTypeAny, {
|
|
3350
3823
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -3353,13 +3826,13 @@ export declare class AvmExecutionHints {
|
|
|
3353
3826
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
3354
3827
|
lowLeavesWitnessData: {
|
|
3355
3828
|
path: Fr[];
|
|
3356
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3357
3829
|
index: bigint;
|
|
3830
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3358
3831
|
};
|
|
3359
3832
|
insertionWitnessData: {
|
|
3360
3833
|
path: Fr[];
|
|
3361
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3362
3834
|
index: bigint;
|
|
3835
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3363
3836
|
};
|
|
3364
3837
|
}, {
|
|
3365
3838
|
leaf: {
|
|
@@ -3379,6 +3852,7 @@ export declare class AvmExecutionHints {
|
|
|
3379
3852
|
};
|
|
3380
3853
|
lowLeavesWitnessData: {
|
|
3381
3854
|
path: string[];
|
|
3855
|
+
index: string | number | bigint;
|
|
3382
3856
|
leaf: {
|
|
3383
3857
|
leaf: {
|
|
3384
3858
|
nullifier: string;
|
|
@@ -3393,10 +3867,10 @@ export declare class AvmExecutionHints {
|
|
|
3393
3867
|
nextKey: string;
|
|
3394
3868
|
nextIndex: string | number | bigint;
|
|
3395
3869
|
};
|
|
3396
|
-
index: string | number | bigint;
|
|
3397
3870
|
};
|
|
3398
3871
|
insertionWitnessData: {
|
|
3399
3872
|
path: string[];
|
|
3873
|
+
index: string | number | bigint;
|
|
3400
3874
|
leaf: {
|
|
3401
3875
|
leaf: {
|
|
3402
3876
|
nullifier: string;
|
|
@@ -3411,7 +3885,6 @@ export declare class AvmExecutionHints {
|
|
|
3411
3885
|
nextKey: string;
|
|
3412
3886
|
nextIndex: string | number | bigint;
|
|
3413
3887
|
};
|
|
3414
|
-
index: string | number | bigint;
|
|
3415
3888
|
};
|
|
3416
3889
|
}>, {
|
|
3417
3890
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -3446,6 +3919,7 @@ export declare class AvmExecutionHints {
|
|
|
3446
3919
|
};
|
|
3447
3920
|
lowLeavesWitnessData: {
|
|
3448
3921
|
path: string[];
|
|
3922
|
+
index: string | number | bigint;
|
|
3449
3923
|
leaf: {
|
|
3450
3924
|
leaf: {
|
|
3451
3925
|
nullifier: string;
|
|
@@ -3460,10 +3934,10 @@ export declare class AvmExecutionHints {
|
|
|
3460
3934
|
nextKey: string;
|
|
3461
3935
|
nextIndex: string | number | bigint;
|
|
3462
3936
|
};
|
|
3463
|
-
index: string | number | bigint;
|
|
3464
3937
|
};
|
|
3465
3938
|
insertionWitnessData: {
|
|
3466
3939
|
path: string[];
|
|
3940
|
+
index: string | number | bigint;
|
|
3467
3941
|
leaf: {
|
|
3468
3942
|
leaf: {
|
|
3469
3943
|
nullifier: string;
|
|
@@ -3478,7 +3952,6 @@ export declare class AvmExecutionHints {
|
|
|
3478
3952
|
nextKey: string;
|
|
3479
3953
|
nextIndex: string | number | bigint;
|
|
3480
3954
|
};
|
|
3481
|
-
index: string | number | bigint;
|
|
3482
3955
|
};
|
|
3483
3956
|
}>, "many">;
|
|
3484
3957
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -3598,10 +4071,11 @@ export declare class AvmExecutionHints {
|
|
|
3598
4071
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
3599
4072
|
}, "strip", z.ZodTypeAny, {
|
|
3600
4073
|
path: Fr[];
|
|
3601
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3602
4074
|
index: bigint;
|
|
4075
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3603
4076
|
}, {
|
|
3604
4077
|
path: string[];
|
|
4078
|
+
index: string | number | bigint;
|
|
3605
4079
|
leaf: {
|
|
3606
4080
|
leaf: {
|
|
3607
4081
|
nullifier: string;
|
|
@@ -3616,7 +4090,6 @@ export declare class AvmExecutionHints {
|
|
|
3616
4090
|
nextKey: string;
|
|
3617
4091
|
nextIndex: string | number | bigint;
|
|
3618
4092
|
};
|
|
3619
|
-
index: string | number | bigint;
|
|
3620
4093
|
}>;
|
|
3621
4094
|
insertionWitnessData: z.ZodObject<{
|
|
3622
4095
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -3686,10 +4159,11 @@ export declare class AvmExecutionHints {
|
|
|
3686
4159
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
3687
4160
|
}, "strip", z.ZodTypeAny, {
|
|
3688
4161
|
path: Fr[];
|
|
3689
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3690
4162
|
index: bigint;
|
|
4163
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3691
4164
|
}, {
|
|
3692
4165
|
path: string[];
|
|
4166
|
+
index: string | number | bigint;
|
|
3693
4167
|
leaf: {
|
|
3694
4168
|
leaf: {
|
|
3695
4169
|
nullifier: string;
|
|
@@ -3704,7 +4178,6 @@ export declare class AvmExecutionHints {
|
|
|
3704
4178
|
nextKey: string;
|
|
3705
4179
|
nextIndex: string | number | bigint;
|
|
3706
4180
|
};
|
|
3707
|
-
index: string | number | bigint;
|
|
3708
4181
|
}>;
|
|
3709
4182
|
}, "strip", z.ZodTypeAny, {
|
|
3710
4183
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -3713,13 +4186,13 @@ export declare class AvmExecutionHints {
|
|
|
3713
4186
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
3714
4187
|
lowLeavesWitnessData: {
|
|
3715
4188
|
path: Fr[];
|
|
3716
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3717
4189
|
index: bigint;
|
|
4190
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3718
4191
|
};
|
|
3719
4192
|
insertionWitnessData: {
|
|
3720
4193
|
path: Fr[];
|
|
3721
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3722
4194
|
index: bigint;
|
|
4195
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3723
4196
|
};
|
|
3724
4197
|
}, {
|
|
3725
4198
|
leaf: {
|
|
@@ -3739,6 +4212,7 @@ export declare class AvmExecutionHints {
|
|
|
3739
4212
|
};
|
|
3740
4213
|
lowLeavesWitnessData: {
|
|
3741
4214
|
path: string[];
|
|
4215
|
+
index: string | number | bigint;
|
|
3742
4216
|
leaf: {
|
|
3743
4217
|
leaf: {
|
|
3744
4218
|
nullifier: string;
|
|
@@ -3753,10 +4227,10 @@ export declare class AvmExecutionHints {
|
|
|
3753
4227
|
nextKey: string;
|
|
3754
4228
|
nextIndex: string | number | bigint;
|
|
3755
4229
|
};
|
|
3756
|
-
index: string | number | bigint;
|
|
3757
4230
|
};
|
|
3758
4231
|
insertionWitnessData: {
|
|
3759
4232
|
path: string[];
|
|
4233
|
+
index: string | number | bigint;
|
|
3760
4234
|
leaf: {
|
|
3761
4235
|
leaf: {
|
|
3762
4236
|
nullifier: string;
|
|
@@ -3771,7 +4245,6 @@ export declare class AvmExecutionHints {
|
|
|
3771
4245
|
nextKey: string;
|
|
3772
4246
|
nextIndex: string | number | bigint;
|
|
3773
4247
|
};
|
|
3774
|
-
index: string | number | bigint;
|
|
3775
4248
|
};
|
|
3776
4249
|
}>, {
|
|
3777
4250
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -3806,6 +4279,7 @@ export declare class AvmExecutionHints {
|
|
|
3806
4279
|
};
|
|
3807
4280
|
lowLeavesWitnessData: {
|
|
3808
4281
|
path: string[];
|
|
4282
|
+
index: string | number | bigint;
|
|
3809
4283
|
leaf: {
|
|
3810
4284
|
leaf: {
|
|
3811
4285
|
nullifier: string;
|
|
@@ -3820,10 +4294,10 @@ export declare class AvmExecutionHints {
|
|
|
3820
4294
|
nextKey: string;
|
|
3821
4295
|
nextIndex: string | number | bigint;
|
|
3822
4296
|
};
|
|
3823
|
-
index: string | number | bigint;
|
|
3824
4297
|
};
|
|
3825
4298
|
insertionWitnessData: {
|
|
3826
4299
|
path: string[];
|
|
4300
|
+
index: string | number | bigint;
|
|
3827
4301
|
leaf: {
|
|
3828
4302
|
leaf: {
|
|
3829
4303
|
nullifier: string;
|
|
@@ -3838,7 +4312,6 @@ export declare class AvmExecutionHints {
|
|
|
3838
4312
|
nextKey: string;
|
|
3839
4313
|
nextIndex: string | number | bigint;
|
|
3840
4314
|
};
|
|
3841
|
-
index: string | number | bigint;
|
|
3842
4315
|
};
|
|
3843
4316
|
}>, "many">;
|
|
3844
4317
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -4209,6 +4682,57 @@ export declare class AvmExecutionHints {
|
|
|
4209
4682
|
};
|
|
4210
4683
|
};
|
|
4211
4684
|
}>, "many">;
|
|
4685
|
+
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4686
|
+
actionCounter: z.ZodNumber;
|
|
4687
|
+
oldCheckpointId: z.ZodNumber;
|
|
4688
|
+
newCheckpointId: z.ZodNumber;
|
|
4689
|
+
}, "strip", z.ZodTypeAny, {
|
|
4690
|
+
actionCounter: number;
|
|
4691
|
+
oldCheckpointId: number;
|
|
4692
|
+
newCheckpointId: number;
|
|
4693
|
+
}, {
|
|
4694
|
+
actionCounter: number;
|
|
4695
|
+
oldCheckpointId: number;
|
|
4696
|
+
newCheckpointId: number;
|
|
4697
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4698
|
+
actionCounter: number;
|
|
4699
|
+
oldCheckpointId: number;
|
|
4700
|
+
newCheckpointId: number;
|
|
4701
|
+
}>, "many">;
|
|
4702
|
+
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4703
|
+
actionCounter: z.ZodNumber;
|
|
4704
|
+
oldCheckpointId: z.ZodNumber;
|
|
4705
|
+
newCheckpointId: z.ZodNumber;
|
|
4706
|
+
}, "strip", z.ZodTypeAny, {
|
|
4707
|
+
actionCounter: number;
|
|
4708
|
+
oldCheckpointId: number;
|
|
4709
|
+
newCheckpointId: number;
|
|
4710
|
+
}, {
|
|
4711
|
+
actionCounter: number;
|
|
4712
|
+
oldCheckpointId: number;
|
|
4713
|
+
newCheckpointId: number;
|
|
4714
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4715
|
+
actionCounter: number;
|
|
4716
|
+
oldCheckpointId: number;
|
|
4717
|
+
newCheckpointId: number;
|
|
4718
|
+
}>, "many">;
|
|
4719
|
+
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4720
|
+
actionCounter: z.ZodNumber;
|
|
4721
|
+
oldCheckpointId: z.ZodNumber;
|
|
4722
|
+
newCheckpointId: z.ZodNumber;
|
|
4723
|
+
}, "strip", z.ZodTypeAny, {
|
|
4724
|
+
actionCounter: number;
|
|
4725
|
+
oldCheckpointId: number;
|
|
4726
|
+
newCheckpointId: number;
|
|
4727
|
+
}, {
|
|
4728
|
+
actionCounter: number;
|
|
4729
|
+
oldCheckpointId: number;
|
|
4730
|
+
newCheckpointId: number;
|
|
4731
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
4732
|
+
actionCounter: number;
|
|
4733
|
+
oldCheckpointId: number;
|
|
4734
|
+
newCheckpointId: number;
|
|
4735
|
+
}>, "many">;
|
|
4212
4736
|
}, "strip", z.ZodTypeAny, {
|
|
4213
4737
|
globalVariables: GlobalVariables;
|
|
4214
4738
|
protocolContracts: ProtocolContracts;
|
|
@@ -4216,6 +4740,7 @@ export declare class AvmExecutionHints {
|
|
|
4216
4740
|
contractInstances: AvmContractInstanceHint[];
|
|
4217
4741
|
contractClasses: AvmContractClassHint[];
|
|
4218
4742
|
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
4743
|
+
debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
4219
4744
|
startingTreeRoots: TreeSnapshots;
|
|
4220
4745
|
getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
4221
4746
|
getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -4266,6 +4791,9 @@ export declare class AvmExecutionHints {
|
|
|
4266
4791
|
createCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4267
4792
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4268
4793
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
4794
|
+
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4795
|
+
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4796
|
+
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4269
4797
|
}, {
|
|
4270
4798
|
globalVariables: {
|
|
4271
4799
|
blockNumber: string | number | bigint;
|
|
@@ -4308,8 +4836,8 @@ export declare class AvmExecutionHints {
|
|
|
4308
4836
|
nullifiers: string[];
|
|
4309
4837
|
l2ToL1Messages: {
|
|
4310
4838
|
message: {
|
|
4311
|
-
recipient: string;
|
|
4312
4839
|
content: string;
|
|
4840
|
+
recipient: string;
|
|
4313
4841
|
};
|
|
4314
4842
|
contractAddress?: any;
|
|
4315
4843
|
}[];
|
|
@@ -4319,8 +4847,8 @@ export declare class AvmExecutionHints {
|
|
|
4319
4847
|
nullifiers: string[];
|
|
4320
4848
|
l2ToL1Messages: {
|
|
4321
4849
|
message: {
|
|
4322
|
-
recipient: string;
|
|
4323
4850
|
content: string;
|
|
4851
|
+
recipient: string;
|
|
4324
4852
|
};
|
|
4325
4853
|
contractAddress?: any;
|
|
4326
4854
|
}[];
|
|
@@ -4329,6 +4857,32 @@ export declare class AvmExecutionHints {
|
|
|
4329
4857
|
feePerDaGas: string | number | bigint;
|
|
4330
4858
|
feePerL2Gas: string | number | bigint;
|
|
4331
4859
|
};
|
|
4860
|
+
nonRevertibleContractDeploymentData: {
|
|
4861
|
+
privateLogs: {
|
|
4862
|
+
fields: string[];
|
|
4863
|
+
emittedLength: number;
|
|
4864
|
+
}[];
|
|
4865
|
+
contractClassLogs: {
|
|
4866
|
+
fields: {
|
|
4867
|
+
fields: string[];
|
|
4868
|
+
};
|
|
4869
|
+
emittedLength: number;
|
|
4870
|
+
contractAddress?: any;
|
|
4871
|
+
}[];
|
|
4872
|
+
};
|
|
4873
|
+
revertibleContractDeploymentData: {
|
|
4874
|
+
privateLogs: {
|
|
4875
|
+
fields: string[];
|
|
4876
|
+
emittedLength: number;
|
|
4877
|
+
}[];
|
|
4878
|
+
contractClassLogs: {
|
|
4879
|
+
fields: {
|
|
4880
|
+
fields: string[];
|
|
4881
|
+
};
|
|
4882
|
+
emittedLength: number;
|
|
4883
|
+
contractAddress?: any;
|
|
4884
|
+
}[];
|
|
4885
|
+
};
|
|
4332
4886
|
setupEnqueuedCalls: any[];
|
|
4333
4887
|
appLogicEnqueuedCalls: any[];
|
|
4334
4888
|
gasUsedByPrivate: {
|
|
@@ -4349,22 +4903,30 @@ export declare class AvmExecutionHints {
|
|
|
4349
4903
|
masterOutgoingViewingPublicKey: string;
|
|
4350
4904
|
masterTaggingPublicKey: string;
|
|
4351
4905
|
};
|
|
4906
|
+
hintKey: number;
|
|
4352
4907
|
deployer?: any;
|
|
4353
4908
|
address?: any;
|
|
4354
4909
|
}[];
|
|
4355
4910
|
contractClasses: {
|
|
4356
|
-
classId: string;
|
|
4357
4911
|
artifactHash: string;
|
|
4358
|
-
privateFunctionsRoot: string;
|
|
4359
4912
|
packedBytecode: string | {
|
|
4360
4913
|
type: "Buffer";
|
|
4361
4914
|
data: number[];
|
|
4362
4915
|
};
|
|
4916
|
+
privateFunctionsRoot: string;
|
|
4917
|
+
hintKey: number;
|
|
4918
|
+
classId: string;
|
|
4363
4919
|
}[];
|
|
4364
4920
|
bytecodeCommitments: {
|
|
4921
|
+
hintKey: number;
|
|
4365
4922
|
classId: string;
|
|
4366
4923
|
commitment: string;
|
|
4367
4924
|
}[];
|
|
4925
|
+
debugFunctionNames: {
|
|
4926
|
+
name: string;
|
|
4927
|
+
selector: string;
|
|
4928
|
+
address?: any;
|
|
4929
|
+
}[];
|
|
4368
4930
|
startingTreeRoots: {
|
|
4369
4931
|
noteHashTree: {
|
|
4370
4932
|
root: string;
|
|
@@ -4471,6 +5033,7 @@ export declare class AvmExecutionHints {
|
|
|
4471
5033
|
};
|
|
4472
5034
|
lowLeavesWitnessData: {
|
|
4473
5035
|
path: string[];
|
|
5036
|
+
index: string | number | bigint;
|
|
4474
5037
|
leaf: {
|
|
4475
5038
|
leaf: {
|
|
4476
5039
|
nullifier: string;
|
|
@@ -4485,10 +5048,10 @@ export declare class AvmExecutionHints {
|
|
|
4485
5048
|
nextKey: string;
|
|
4486
5049
|
nextIndex: string | number | bigint;
|
|
4487
5050
|
};
|
|
4488
|
-
index: string | number | bigint;
|
|
4489
5051
|
};
|
|
4490
5052
|
insertionWitnessData: {
|
|
4491
5053
|
path: string[];
|
|
5054
|
+
index: string | number | bigint;
|
|
4492
5055
|
leaf: {
|
|
4493
5056
|
leaf: {
|
|
4494
5057
|
nullifier: string;
|
|
@@ -4503,7 +5066,6 @@ export declare class AvmExecutionHints {
|
|
|
4503
5066
|
nextKey: string;
|
|
4504
5067
|
nextIndex: string | number | bigint;
|
|
4505
5068
|
};
|
|
4506
|
-
index: string | number | bigint;
|
|
4507
5069
|
};
|
|
4508
5070
|
}[];
|
|
4509
5071
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -4524,6 +5086,7 @@ export declare class AvmExecutionHints {
|
|
|
4524
5086
|
};
|
|
4525
5087
|
lowLeavesWitnessData: {
|
|
4526
5088
|
path: string[];
|
|
5089
|
+
index: string | number | bigint;
|
|
4527
5090
|
leaf: {
|
|
4528
5091
|
leaf: {
|
|
4529
5092
|
nullifier: string;
|
|
@@ -4538,10 +5101,10 @@ export declare class AvmExecutionHints {
|
|
|
4538
5101
|
nextKey: string;
|
|
4539
5102
|
nextIndex: string | number | bigint;
|
|
4540
5103
|
};
|
|
4541
|
-
index: string | number | bigint;
|
|
4542
5104
|
};
|
|
4543
5105
|
insertionWitnessData: {
|
|
4544
5106
|
path: string[];
|
|
5107
|
+
index: string | number | bigint;
|
|
4545
5108
|
leaf: {
|
|
4546
5109
|
leaf: {
|
|
4547
5110
|
nullifier: string;
|
|
@@ -4556,7 +5119,6 @@ export declare class AvmExecutionHints {
|
|
|
4556
5119
|
nextKey: string;
|
|
4557
5120
|
nextIndex: string | number | bigint;
|
|
4558
5121
|
};
|
|
4559
|
-
index: string | number | bigint;
|
|
4560
5122
|
};
|
|
4561
5123
|
}[];
|
|
4562
5124
|
appendLeavesHints: {
|
|
@@ -4622,6 +5184,21 @@ export declare class AvmExecutionHints {
|
|
|
4622
5184
|
};
|
|
4623
5185
|
};
|
|
4624
5186
|
}[];
|
|
5187
|
+
contractDBCreateCheckpointHints: {
|
|
5188
|
+
actionCounter: number;
|
|
5189
|
+
oldCheckpointId: number;
|
|
5190
|
+
newCheckpointId: number;
|
|
5191
|
+
}[];
|
|
5192
|
+
contractDBCommitCheckpointHints: {
|
|
5193
|
+
actionCounter: number;
|
|
5194
|
+
oldCheckpointId: number;
|
|
5195
|
+
newCheckpointId: number;
|
|
5196
|
+
}[];
|
|
5197
|
+
contractDBRevertCheckpointHints: {
|
|
5198
|
+
actionCounter: number;
|
|
5199
|
+
oldCheckpointId: number;
|
|
5200
|
+
newCheckpointId: number;
|
|
5201
|
+
}[];
|
|
4625
5202
|
}>, AvmExecutionHints, {
|
|
4626
5203
|
globalVariables: {
|
|
4627
5204
|
blockNumber: string | number | bigint;
|
|
@@ -4664,8 +5241,8 @@ export declare class AvmExecutionHints {
|
|
|
4664
5241
|
nullifiers: string[];
|
|
4665
5242
|
l2ToL1Messages: {
|
|
4666
5243
|
message: {
|
|
4667
|
-
recipient: string;
|
|
4668
5244
|
content: string;
|
|
5245
|
+
recipient: string;
|
|
4669
5246
|
};
|
|
4670
5247
|
contractAddress?: any;
|
|
4671
5248
|
}[];
|
|
@@ -4675,8 +5252,8 @@ export declare class AvmExecutionHints {
|
|
|
4675
5252
|
nullifiers: string[];
|
|
4676
5253
|
l2ToL1Messages: {
|
|
4677
5254
|
message: {
|
|
4678
|
-
recipient: string;
|
|
4679
5255
|
content: string;
|
|
5256
|
+
recipient: string;
|
|
4680
5257
|
};
|
|
4681
5258
|
contractAddress?: any;
|
|
4682
5259
|
}[];
|
|
@@ -4685,6 +5262,32 @@ export declare class AvmExecutionHints {
|
|
|
4685
5262
|
feePerDaGas: string | number | bigint;
|
|
4686
5263
|
feePerL2Gas: string | number | bigint;
|
|
4687
5264
|
};
|
|
5265
|
+
nonRevertibleContractDeploymentData: {
|
|
5266
|
+
privateLogs: {
|
|
5267
|
+
fields: string[];
|
|
5268
|
+
emittedLength: number;
|
|
5269
|
+
}[];
|
|
5270
|
+
contractClassLogs: {
|
|
5271
|
+
fields: {
|
|
5272
|
+
fields: string[];
|
|
5273
|
+
};
|
|
5274
|
+
emittedLength: number;
|
|
5275
|
+
contractAddress?: any;
|
|
5276
|
+
}[];
|
|
5277
|
+
};
|
|
5278
|
+
revertibleContractDeploymentData: {
|
|
5279
|
+
privateLogs: {
|
|
5280
|
+
fields: string[];
|
|
5281
|
+
emittedLength: number;
|
|
5282
|
+
}[];
|
|
5283
|
+
contractClassLogs: {
|
|
5284
|
+
fields: {
|
|
5285
|
+
fields: string[];
|
|
5286
|
+
};
|
|
5287
|
+
emittedLength: number;
|
|
5288
|
+
contractAddress?: any;
|
|
5289
|
+
}[];
|
|
5290
|
+
};
|
|
4688
5291
|
setupEnqueuedCalls: any[];
|
|
4689
5292
|
appLogicEnqueuedCalls: any[];
|
|
4690
5293
|
gasUsedByPrivate: {
|
|
@@ -4705,22 +5308,30 @@ export declare class AvmExecutionHints {
|
|
|
4705
5308
|
masterOutgoingViewingPublicKey: string;
|
|
4706
5309
|
masterTaggingPublicKey: string;
|
|
4707
5310
|
};
|
|
5311
|
+
hintKey: number;
|
|
4708
5312
|
deployer?: any;
|
|
4709
5313
|
address?: any;
|
|
4710
5314
|
}[];
|
|
4711
5315
|
contractClasses: {
|
|
4712
|
-
classId: string;
|
|
4713
5316
|
artifactHash: string;
|
|
4714
|
-
privateFunctionsRoot: string;
|
|
4715
5317
|
packedBytecode: string | {
|
|
4716
5318
|
type: "Buffer";
|
|
4717
5319
|
data: number[];
|
|
4718
5320
|
};
|
|
5321
|
+
privateFunctionsRoot: string;
|
|
5322
|
+
hintKey: number;
|
|
5323
|
+
classId: string;
|
|
4719
5324
|
}[];
|
|
4720
5325
|
bytecodeCommitments: {
|
|
5326
|
+
hintKey: number;
|
|
4721
5327
|
classId: string;
|
|
4722
5328
|
commitment: string;
|
|
4723
5329
|
}[];
|
|
5330
|
+
debugFunctionNames: {
|
|
5331
|
+
name: string;
|
|
5332
|
+
selector: string;
|
|
5333
|
+
address?: any;
|
|
5334
|
+
}[];
|
|
4724
5335
|
startingTreeRoots: {
|
|
4725
5336
|
noteHashTree: {
|
|
4726
5337
|
root: string;
|
|
@@ -4827,6 +5438,7 @@ export declare class AvmExecutionHints {
|
|
|
4827
5438
|
};
|
|
4828
5439
|
lowLeavesWitnessData: {
|
|
4829
5440
|
path: string[];
|
|
5441
|
+
index: string | number | bigint;
|
|
4830
5442
|
leaf: {
|
|
4831
5443
|
leaf: {
|
|
4832
5444
|
nullifier: string;
|
|
@@ -4841,10 +5453,10 @@ export declare class AvmExecutionHints {
|
|
|
4841
5453
|
nextKey: string;
|
|
4842
5454
|
nextIndex: string | number | bigint;
|
|
4843
5455
|
};
|
|
4844
|
-
index: string | number | bigint;
|
|
4845
5456
|
};
|
|
4846
5457
|
insertionWitnessData: {
|
|
4847
5458
|
path: string[];
|
|
5459
|
+
index: string | number | bigint;
|
|
4848
5460
|
leaf: {
|
|
4849
5461
|
leaf: {
|
|
4850
5462
|
nullifier: string;
|
|
@@ -4859,7 +5471,6 @@ export declare class AvmExecutionHints {
|
|
|
4859
5471
|
nextKey: string;
|
|
4860
5472
|
nextIndex: string | number | bigint;
|
|
4861
5473
|
};
|
|
4862
|
-
index: string | number | bigint;
|
|
4863
5474
|
};
|
|
4864
5475
|
}[];
|
|
4865
5476
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -4880,6 +5491,7 @@ export declare class AvmExecutionHints {
|
|
|
4880
5491
|
};
|
|
4881
5492
|
lowLeavesWitnessData: {
|
|
4882
5493
|
path: string[];
|
|
5494
|
+
index: string | number | bigint;
|
|
4883
5495
|
leaf: {
|
|
4884
5496
|
leaf: {
|
|
4885
5497
|
nullifier: string;
|
|
@@ -4894,10 +5506,10 @@ export declare class AvmExecutionHints {
|
|
|
4894
5506
|
nextKey: string;
|
|
4895
5507
|
nextIndex: string | number | bigint;
|
|
4896
5508
|
};
|
|
4897
|
-
index: string | number | bigint;
|
|
4898
5509
|
};
|
|
4899
5510
|
insertionWitnessData: {
|
|
4900
5511
|
path: string[];
|
|
5512
|
+
index: string | number | bigint;
|
|
4901
5513
|
leaf: {
|
|
4902
5514
|
leaf: {
|
|
4903
5515
|
nullifier: string;
|
|
@@ -4912,7 +5524,6 @@ export declare class AvmExecutionHints {
|
|
|
4912
5524
|
nextKey: string;
|
|
4913
5525
|
nextIndex: string | number | bigint;
|
|
4914
5526
|
};
|
|
4915
|
-
index: string | number | bigint;
|
|
4916
5527
|
};
|
|
4917
5528
|
}[];
|
|
4918
5529
|
appendLeavesHints: {
|
|
@@ -4978,6 +5589,21 @@ export declare class AvmExecutionHints {
|
|
|
4978
5589
|
};
|
|
4979
5590
|
};
|
|
4980
5591
|
}[];
|
|
5592
|
+
contractDBCreateCheckpointHints: {
|
|
5593
|
+
actionCounter: number;
|
|
5594
|
+
oldCheckpointId: number;
|
|
5595
|
+
newCheckpointId: number;
|
|
5596
|
+
}[];
|
|
5597
|
+
contractDBCommitCheckpointHints: {
|
|
5598
|
+
actionCounter: number;
|
|
5599
|
+
oldCheckpointId: number;
|
|
5600
|
+
newCheckpointId: number;
|
|
5601
|
+
}[];
|
|
5602
|
+
contractDBRevertCheckpointHints: {
|
|
5603
|
+
actionCounter: number;
|
|
5604
|
+
oldCheckpointId: number;
|
|
5605
|
+
newCheckpointId: number;
|
|
5606
|
+
}[];
|
|
4981
5607
|
}>;
|
|
4982
5608
|
}
|
|
4983
5609
|
export declare class AvmCircuitInputs {
|
|
@@ -5150,86 +5776,179 @@ export declare class AvmCircuitInputs {
|
|
|
5150
5776
|
feePerDaGas: string | number | bigint;
|
|
5151
5777
|
feePerL2Gas: string | number | bigint;
|
|
5152
5778
|
}>;
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5159
|
-
content: z.ZodType<Fr, any, string>;
|
|
5779
|
+
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
5780
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5781
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5782
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
5783
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
5160
5784
|
}, "strip", z.ZodTypeAny, {
|
|
5161
|
-
|
|
5162
|
-
content: Fr;
|
|
5785
|
+
fields: Fr[];
|
|
5163
5786
|
}, {
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
recipient: string;
|
|
5168
|
-
content: string;
|
|
5787
|
+
fields: string[];
|
|
5788
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
5789
|
+
fields: string[];
|
|
5169
5790
|
}>;
|
|
5170
|
-
|
|
5791
|
+
emittedLength: z.ZodNumber;
|
|
5171
5792
|
}, "strip", z.ZodTypeAny, {
|
|
5172
|
-
|
|
5793
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
5173
5794
|
contractAddress: AztecAddress;
|
|
5795
|
+
emittedLength: number;
|
|
5174
5796
|
}, {
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
content: string;
|
|
5797
|
+
fields: {
|
|
5798
|
+
fields: string[];
|
|
5178
5799
|
};
|
|
5800
|
+
emittedLength: number;
|
|
5179
5801
|
contractAddress?: any;
|
|
5180
|
-
}>,
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
content: string;
|
|
5802
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
5803
|
+
fields: {
|
|
5804
|
+
fields: string[];
|
|
5184
5805
|
};
|
|
5806
|
+
emittedLength: number;
|
|
5185
5807
|
contractAddress?: any;
|
|
5186
5808
|
}>, "many">;
|
|
5809
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5810
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5811
|
+
emittedLength: z.ZodNumber;
|
|
5812
|
+
}, "strict", z.ZodTypeAny, {
|
|
5813
|
+
fields: Fr[];
|
|
5814
|
+
emittedLength: number;
|
|
5815
|
+
}, {
|
|
5816
|
+
fields: string[];
|
|
5817
|
+
emittedLength: number;
|
|
5818
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
5819
|
+
fields: string[];
|
|
5820
|
+
emittedLength: number;
|
|
5821
|
+
}>, "many">;
|
|
5187
5822
|
}, "strip", z.ZodTypeAny, {
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
5823
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
5824
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
5191
5825
|
}, {
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5826
|
+
privateLogs: {
|
|
5827
|
+
fields: string[];
|
|
5828
|
+
emittedLength: number;
|
|
5829
|
+
}[];
|
|
5830
|
+
contractClassLogs: {
|
|
5831
|
+
fields: {
|
|
5832
|
+
fields: string[];
|
|
5833
|
+
};
|
|
5834
|
+
emittedLength: number;
|
|
5835
|
+
contractAddress?: any;
|
|
5836
|
+
}[];
|
|
5837
|
+
}>, ContractDeploymentData, {
|
|
5838
|
+
privateLogs: {
|
|
5839
|
+
fields: string[];
|
|
5840
|
+
emittedLength: number;
|
|
5841
|
+
}[];
|
|
5842
|
+
contractClassLogs: {
|
|
5843
|
+
fields: {
|
|
5844
|
+
fields: string[];
|
|
5198
5845
|
};
|
|
5846
|
+
emittedLength: number;
|
|
5199
5847
|
contractAddress?: any;
|
|
5200
5848
|
}[];
|
|
5201
5849
|
}>;
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5208
|
-
content: z.ZodType<Fr, any, string>;
|
|
5850
|
+
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
5851
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5852
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5853
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
5854
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
5209
5855
|
}, "strip", z.ZodTypeAny, {
|
|
5210
|
-
|
|
5211
|
-
content: Fr;
|
|
5856
|
+
fields: Fr[];
|
|
5212
5857
|
}, {
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
recipient: string;
|
|
5217
|
-
content: string;
|
|
5858
|
+
fields: string[];
|
|
5859
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
5860
|
+
fields: string[];
|
|
5218
5861
|
}>;
|
|
5219
|
-
|
|
5862
|
+
emittedLength: z.ZodNumber;
|
|
5863
|
+
}, "strip", z.ZodTypeAny, {
|
|
5864
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
5865
|
+
contractAddress: AztecAddress;
|
|
5866
|
+
emittedLength: number;
|
|
5867
|
+
}, {
|
|
5868
|
+
fields: {
|
|
5869
|
+
fields: string[];
|
|
5870
|
+
};
|
|
5871
|
+
emittedLength: number;
|
|
5872
|
+
contractAddress?: any;
|
|
5873
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
5874
|
+
fields: {
|
|
5875
|
+
fields: string[];
|
|
5876
|
+
};
|
|
5877
|
+
emittedLength: number;
|
|
5878
|
+
contractAddress?: any;
|
|
5879
|
+
}>, "many">;
|
|
5880
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5881
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5882
|
+
emittedLength: z.ZodNumber;
|
|
5883
|
+
}, "strict", z.ZodTypeAny, {
|
|
5884
|
+
fields: Fr[];
|
|
5885
|
+
emittedLength: number;
|
|
5886
|
+
}, {
|
|
5887
|
+
fields: string[];
|
|
5888
|
+
emittedLength: number;
|
|
5889
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
5890
|
+
fields: string[];
|
|
5891
|
+
emittedLength: number;
|
|
5892
|
+
}>, "many">;
|
|
5893
|
+
}, "strip", z.ZodTypeAny, {
|
|
5894
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
5895
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
5896
|
+
}, {
|
|
5897
|
+
privateLogs: {
|
|
5898
|
+
fields: string[];
|
|
5899
|
+
emittedLength: number;
|
|
5900
|
+
}[];
|
|
5901
|
+
contractClassLogs: {
|
|
5902
|
+
fields: {
|
|
5903
|
+
fields: string[];
|
|
5904
|
+
};
|
|
5905
|
+
emittedLength: number;
|
|
5906
|
+
contractAddress?: any;
|
|
5907
|
+
}[];
|
|
5908
|
+
}>, ContractDeploymentData, {
|
|
5909
|
+
privateLogs: {
|
|
5910
|
+
fields: string[];
|
|
5911
|
+
emittedLength: number;
|
|
5912
|
+
}[];
|
|
5913
|
+
contractClassLogs: {
|
|
5914
|
+
fields: {
|
|
5915
|
+
fields: string[];
|
|
5916
|
+
};
|
|
5917
|
+
emittedLength: number;
|
|
5918
|
+
contractAddress?: any;
|
|
5919
|
+
}[];
|
|
5920
|
+
}>;
|
|
5921
|
+
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
5922
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5923
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5924
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5925
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
5926
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5927
|
+
content: z.ZodType<Fr, any, string>;
|
|
5928
|
+
}, "strip", z.ZodTypeAny, {
|
|
5929
|
+
content: Fr;
|
|
5930
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
5931
|
+
}, {
|
|
5932
|
+
content: string;
|
|
5933
|
+
recipient: string;
|
|
5934
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
5935
|
+
content: string;
|
|
5936
|
+
recipient: string;
|
|
5937
|
+
}>;
|
|
5938
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5220
5939
|
}, "strip", z.ZodTypeAny, {
|
|
5221
5940
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5222
5941
|
contractAddress: AztecAddress;
|
|
5223
5942
|
}, {
|
|
5224
5943
|
message: {
|
|
5225
|
-
recipient: string;
|
|
5226
5944
|
content: string;
|
|
5945
|
+
recipient: string;
|
|
5227
5946
|
};
|
|
5228
5947
|
contractAddress?: any;
|
|
5229
5948
|
}>, ScopedL2ToL1Message, {
|
|
5230
5949
|
message: {
|
|
5231
|
-
recipient: string;
|
|
5232
5950
|
content: string;
|
|
5951
|
+
recipient: string;
|
|
5233
5952
|
};
|
|
5234
5953
|
contractAddress?: any;
|
|
5235
5954
|
}>, "many">;
|
|
@@ -5242,8 +5961,57 @@ export declare class AvmCircuitInputs {
|
|
|
5242
5961
|
nullifiers: string[];
|
|
5243
5962
|
l2ToL1Messages: {
|
|
5244
5963
|
message: {
|
|
5964
|
+
content: string;
|
|
5965
|
+
recipient: string;
|
|
5966
|
+
};
|
|
5967
|
+
contractAddress?: any;
|
|
5968
|
+
}[];
|
|
5969
|
+
}>;
|
|
5970
|
+
revertibleAccumulatedData: z.ZodObject<{
|
|
5971
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5972
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5973
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5974
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
5975
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5976
|
+
content: z.ZodType<Fr, any, string>;
|
|
5977
|
+
}, "strip", z.ZodTypeAny, {
|
|
5978
|
+
content: Fr;
|
|
5979
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
5980
|
+
}, {
|
|
5981
|
+
content: string;
|
|
5982
|
+
recipient: string;
|
|
5983
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
5984
|
+
content: string;
|
|
5985
|
+
recipient: string;
|
|
5986
|
+
}>;
|
|
5987
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5988
|
+
}, "strip", z.ZodTypeAny, {
|
|
5989
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5990
|
+
contractAddress: AztecAddress;
|
|
5991
|
+
}, {
|
|
5992
|
+
message: {
|
|
5993
|
+
content: string;
|
|
5994
|
+
recipient: string;
|
|
5995
|
+
};
|
|
5996
|
+
contractAddress?: any;
|
|
5997
|
+
}>, ScopedL2ToL1Message, {
|
|
5998
|
+
message: {
|
|
5999
|
+
content: string;
|
|
5245
6000
|
recipient: string;
|
|
6001
|
+
};
|
|
6002
|
+
contractAddress?: any;
|
|
6003
|
+
}>, "many">;
|
|
6004
|
+
}, "strip", z.ZodTypeAny, {
|
|
6005
|
+
noteHashes: Fr[];
|
|
6006
|
+
nullifiers: Fr[];
|
|
6007
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
6008
|
+
}, {
|
|
6009
|
+
noteHashes: string[];
|
|
6010
|
+
nullifiers: string[];
|
|
6011
|
+
l2ToL1Messages: {
|
|
6012
|
+
message: {
|
|
5246
6013
|
content: string;
|
|
6014
|
+
recipient: string;
|
|
5247
6015
|
};
|
|
5248
6016
|
contractAddress?: any;
|
|
5249
6017
|
}[];
|
|
@@ -5280,6 +6048,8 @@ export declare class AvmCircuitInputs {
|
|
|
5280
6048
|
};
|
|
5281
6049
|
feePayer: AztecAddress;
|
|
5282
6050
|
effectiveGasFees: GasFees;
|
|
6051
|
+
nonRevertibleContractDeploymentData: ContractDeploymentData;
|
|
6052
|
+
revertibleContractDeploymentData: ContractDeploymentData;
|
|
5283
6053
|
setupEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
5284
6054
|
appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
5285
6055
|
teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
@@ -5309,8 +6079,8 @@ export declare class AvmCircuitInputs {
|
|
|
5309
6079
|
nullifiers: string[];
|
|
5310
6080
|
l2ToL1Messages: {
|
|
5311
6081
|
message: {
|
|
5312
|
-
recipient: string;
|
|
5313
6082
|
content: string;
|
|
6083
|
+
recipient: string;
|
|
5314
6084
|
};
|
|
5315
6085
|
contractAddress?: any;
|
|
5316
6086
|
}[];
|
|
@@ -5320,8 +6090,8 @@ export declare class AvmCircuitInputs {
|
|
|
5320
6090
|
nullifiers: string[];
|
|
5321
6091
|
l2ToL1Messages: {
|
|
5322
6092
|
message: {
|
|
5323
|
-
recipient: string;
|
|
5324
6093
|
content: string;
|
|
6094
|
+
recipient: string;
|
|
5325
6095
|
};
|
|
5326
6096
|
contractAddress?: any;
|
|
5327
6097
|
}[];
|
|
@@ -5330,6 +6100,32 @@ export declare class AvmCircuitInputs {
|
|
|
5330
6100
|
feePerDaGas: string | number | bigint;
|
|
5331
6101
|
feePerL2Gas: string | number | bigint;
|
|
5332
6102
|
};
|
|
6103
|
+
nonRevertibleContractDeploymentData: {
|
|
6104
|
+
privateLogs: {
|
|
6105
|
+
fields: string[];
|
|
6106
|
+
emittedLength: number;
|
|
6107
|
+
}[];
|
|
6108
|
+
contractClassLogs: {
|
|
6109
|
+
fields: {
|
|
6110
|
+
fields: string[];
|
|
6111
|
+
};
|
|
6112
|
+
emittedLength: number;
|
|
6113
|
+
contractAddress?: any;
|
|
6114
|
+
}[];
|
|
6115
|
+
};
|
|
6116
|
+
revertibleContractDeploymentData: {
|
|
6117
|
+
privateLogs: {
|
|
6118
|
+
fields: string[];
|
|
6119
|
+
emittedLength: number;
|
|
6120
|
+
}[];
|
|
6121
|
+
contractClassLogs: {
|
|
6122
|
+
fields: {
|
|
6123
|
+
fields: string[];
|
|
6124
|
+
};
|
|
6125
|
+
emittedLength: number;
|
|
6126
|
+
contractAddress?: any;
|
|
6127
|
+
}[];
|
|
6128
|
+
};
|
|
5333
6129
|
setupEnqueuedCalls: any[];
|
|
5334
6130
|
appLogicEnqueuedCalls: any[];
|
|
5335
6131
|
gasUsedByPrivate: {
|
|
@@ -5363,8 +6159,8 @@ export declare class AvmCircuitInputs {
|
|
|
5363
6159
|
nullifiers: string[];
|
|
5364
6160
|
l2ToL1Messages: {
|
|
5365
6161
|
message: {
|
|
5366
|
-
recipient: string;
|
|
5367
6162
|
content: string;
|
|
6163
|
+
recipient: string;
|
|
5368
6164
|
};
|
|
5369
6165
|
contractAddress?: any;
|
|
5370
6166
|
}[];
|
|
@@ -5374,8 +6170,8 @@ export declare class AvmCircuitInputs {
|
|
|
5374
6170
|
nullifiers: string[];
|
|
5375
6171
|
l2ToL1Messages: {
|
|
5376
6172
|
message: {
|
|
5377
|
-
recipient: string;
|
|
5378
6173
|
content: string;
|
|
6174
|
+
recipient: string;
|
|
5379
6175
|
};
|
|
5380
6176
|
contractAddress?: any;
|
|
5381
6177
|
}[];
|
|
@@ -5384,6 +6180,32 @@ export declare class AvmCircuitInputs {
|
|
|
5384
6180
|
feePerDaGas: string | number | bigint;
|
|
5385
6181
|
feePerL2Gas: string | number | bigint;
|
|
5386
6182
|
};
|
|
6183
|
+
nonRevertibleContractDeploymentData: {
|
|
6184
|
+
privateLogs: {
|
|
6185
|
+
fields: string[];
|
|
6186
|
+
emittedLength: number;
|
|
6187
|
+
}[];
|
|
6188
|
+
contractClassLogs: {
|
|
6189
|
+
fields: {
|
|
6190
|
+
fields: string[];
|
|
6191
|
+
};
|
|
6192
|
+
emittedLength: number;
|
|
6193
|
+
contractAddress?: any;
|
|
6194
|
+
}[];
|
|
6195
|
+
};
|
|
6196
|
+
revertibleContractDeploymentData: {
|
|
6197
|
+
privateLogs: {
|
|
6198
|
+
fields: string[];
|
|
6199
|
+
emittedLength: number;
|
|
6200
|
+
}[];
|
|
6201
|
+
contractClassLogs: {
|
|
6202
|
+
fields: {
|
|
6203
|
+
fields: string[];
|
|
6204
|
+
};
|
|
6205
|
+
emittedLength: number;
|
|
6206
|
+
contractAddress?: any;
|
|
6207
|
+
}[];
|
|
6208
|
+
};
|
|
5387
6209
|
setupEnqueuedCalls: any[];
|
|
5388
6210
|
appLogicEnqueuedCalls: any[];
|
|
5389
6211
|
gasUsedByPrivate: {
|
|
@@ -5403,6 +6225,7 @@ export declare class AvmCircuitInputs {
|
|
|
5403
6225
|
derivedAddresses: any[];
|
|
5404
6226
|
}>;
|
|
5405
6227
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6228
|
+
hintKey: z.ZodNumber;
|
|
5406
6229
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5407
6230
|
salt: z.ZodType<Fr, any, string>;
|
|
5408
6231
|
deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -5438,6 +6261,7 @@ export declare class AvmCircuitInputs {
|
|
|
5438
6261
|
initializationHash: Fr;
|
|
5439
6262
|
publicKeys: PublicKeys;
|
|
5440
6263
|
address: AztecAddress;
|
|
6264
|
+
hintKey: number;
|
|
5441
6265
|
}, {
|
|
5442
6266
|
salt: string;
|
|
5443
6267
|
currentContractClassId: string;
|
|
@@ -5449,6 +6273,7 @@ export declare class AvmCircuitInputs {
|
|
|
5449
6273
|
masterOutgoingViewingPublicKey: string;
|
|
5450
6274
|
masterTaggingPublicKey: string;
|
|
5451
6275
|
};
|
|
6276
|
+
hintKey: number;
|
|
5452
6277
|
deployer?: any;
|
|
5453
6278
|
address?: any;
|
|
5454
6279
|
}>, AvmContractInstanceHint, {
|
|
@@ -5462,10 +6287,12 @@ export declare class AvmCircuitInputs {
|
|
|
5462
6287
|
masterOutgoingViewingPublicKey: string;
|
|
5463
6288
|
masterTaggingPublicKey: string;
|
|
5464
6289
|
};
|
|
6290
|
+
hintKey: number;
|
|
5465
6291
|
deployer?: any;
|
|
5466
6292
|
address?: any;
|
|
5467
6293
|
}>, "many">;
|
|
5468
6294
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6295
|
+
hintKey: z.ZodNumber;
|
|
5469
6296
|
classId: z.ZodType<Fr, any, string>;
|
|
5470
6297
|
artifactHash: z.ZodType<Fr, any, string>;
|
|
5471
6298
|
privateFunctionsRoot: z.ZodType<Fr, any, string>;
|
|
@@ -5483,40 +6310,64 @@ export declare class AvmCircuitInputs {
|
|
|
5483
6310
|
data: number[];
|
|
5484
6311
|
}>]>;
|
|
5485
6312
|
}, "strip", z.ZodTypeAny, {
|
|
5486
|
-
classId: Fr;
|
|
5487
6313
|
artifactHash: Fr;
|
|
5488
|
-
privateFunctionsRoot: Fr;
|
|
5489
6314
|
packedBytecode: Buffer<ArrayBuffer>;
|
|
6315
|
+
privateFunctionsRoot: Fr;
|
|
6316
|
+
hintKey: number;
|
|
6317
|
+
classId: Fr;
|
|
5490
6318
|
}, {
|
|
5491
|
-
classId: string;
|
|
5492
6319
|
artifactHash: string;
|
|
5493
|
-
privateFunctionsRoot: string;
|
|
5494
6320
|
packedBytecode: string | {
|
|
5495
6321
|
type: "Buffer";
|
|
5496
6322
|
data: number[];
|
|
5497
6323
|
};
|
|
5498
|
-
|
|
6324
|
+
privateFunctionsRoot: string;
|
|
6325
|
+
hintKey: number;
|
|
5499
6326
|
classId: string;
|
|
6327
|
+
}>, AvmContractClassHint, {
|
|
5500
6328
|
artifactHash: string;
|
|
5501
|
-
privateFunctionsRoot: string;
|
|
5502
6329
|
packedBytecode: string | {
|
|
5503
6330
|
type: "Buffer";
|
|
5504
6331
|
data: number[];
|
|
5505
6332
|
};
|
|
6333
|
+
privateFunctionsRoot: string;
|
|
6334
|
+
hintKey: number;
|
|
6335
|
+
classId: string;
|
|
5506
6336
|
}>, "many">;
|
|
5507
6337
|
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6338
|
+
hintKey: z.ZodNumber;
|
|
5508
6339
|
classId: z.ZodType<Fr, any, string>;
|
|
5509
6340
|
commitment: z.ZodType<Fr, any, string>;
|
|
5510
6341
|
}, "strip", z.ZodTypeAny, {
|
|
6342
|
+
hintKey: number;
|
|
5511
6343
|
classId: Fr;
|
|
5512
6344
|
commitment: Fr;
|
|
5513
6345
|
}, {
|
|
6346
|
+
hintKey: number;
|
|
5514
6347
|
classId: string;
|
|
5515
6348
|
commitment: string;
|
|
5516
6349
|
}>, AvmBytecodeCommitmentHint, {
|
|
6350
|
+
hintKey: number;
|
|
5517
6351
|
classId: string;
|
|
5518
6352
|
commitment: string;
|
|
5519
6353
|
}>, "many">;
|
|
6354
|
+
debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6355
|
+
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
6356
|
+
selector: z.ZodType<Fr, any, string>;
|
|
6357
|
+
name: z.ZodString;
|
|
6358
|
+
}, "strip", z.ZodTypeAny, {
|
|
6359
|
+
name: string;
|
|
6360
|
+
selector: Fr;
|
|
6361
|
+
address: AztecAddress;
|
|
6362
|
+
}, {
|
|
6363
|
+
name: string;
|
|
6364
|
+
selector: string;
|
|
6365
|
+
address?: any;
|
|
6366
|
+
}>, AvmDebugFunctionNameHint, {
|
|
6367
|
+
name: string;
|
|
6368
|
+
selector: string;
|
|
6369
|
+
address?: any;
|
|
6370
|
+
}>, "many">;
|
|
5520
6371
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
5521
6372
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
5522
6373
|
root: z.ZodType<Fr, any, string>;
|
|
@@ -6102,10 +6953,11 @@ export declare class AvmCircuitInputs {
|
|
|
6102
6953
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
6103
6954
|
}, "strip", z.ZodTypeAny, {
|
|
6104
6955
|
path: Fr[];
|
|
6105
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6106
6956
|
index: bigint;
|
|
6957
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6107
6958
|
}, {
|
|
6108
6959
|
path: string[];
|
|
6960
|
+
index: string | number | bigint;
|
|
6109
6961
|
leaf: {
|
|
6110
6962
|
leaf: {
|
|
6111
6963
|
nullifier: string;
|
|
@@ -6120,7 +6972,6 @@ export declare class AvmCircuitInputs {
|
|
|
6120
6972
|
nextKey: string;
|
|
6121
6973
|
nextIndex: string | number | bigint;
|
|
6122
6974
|
};
|
|
6123
|
-
index: string | number | bigint;
|
|
6124
6975
|
}>;
|
|
6125
6976
|
insertionWitnessData: z.ZodObject<{
|
|
6126
6977
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -6190,10 +7041,11 @@ export declare class AvmCircuitInputs {
|
|
|
6190
7041
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
6191
7042
|
}, "strip", z.ZodTypeAny, {
|
|
6192
7043
|
path: Fr[];
|
|
6193
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6194
7044
|
index: bigint;
|
|
7045
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6195
7046
|
}, {
|
|
6196
7047
|
path: string[];
|
|
7048
|
+
index: string | number | bigint;
|
|
6197
7049
|
leaf: {
|
|
6198
7050
|
leaf: {
|
|
6199
7051
|
nullifier: string;
|
|
@@ -6208,7 +7060,6 @@ export declare class AvmCircuitInputs {
|
|
|
6208
7060
|
nextKey: string;
|
|
6209
7061
|
nextIndex: string | number | bigint;
|
|
6210
7062
|
};
|
|
6211
|
-
index: string | number | bigint;
|
|
6212
7063
|
}>;
|
|
6213
7064
|
}, "strip", z.ZodTypeAny, {
|
|
6214
7065
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -6217,13 +7068,13 @@ export declare class AvmCircuitInputs {
|
|
|
6217
7068
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
6218
7069
|
lowLeavesWitnessData: {
|
|
6219
7070
|
path: Fr[];
|
|
6220
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6221
7071
|
index: bigint;
|
|
7072
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6222
7073
|
};
|
|
6223
7074
|
insertionWitnessData: {
|
|
6224
7075
|
path: Fr[];
|
|
6225
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6226
7076
|
index: bigint;
|
|
7077
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6227
7078
|
};
|
|
6228
7079
|
}, {
|
|
6229
7080
|
leaf: {
|
|
@@ -6243,6 +7094,7 @@ export declare class AvmCircuitInputs {
|
|
|
6243
7094
|
};
|
|
6244
7095
|
lowLeavesWitnessData: {
|
|
6245
7096
|
path: string[];
|
|
7097
|
+
index: string | number | bigint;
|
|
6246
7098
|
leaf: {
|
|
6247
7099
|
leaf: {
|
|
6248
7100
|
nullifier: string;
|
|
@@ -6257,10 +7109,10 @@ export declare class AvmCircuitInputs {
|
|
|
6257
7109
|
nextKey: string;
|
|
6258
7110
|
nextIndex: string | number | bigint;
|
|
6259
7111
|
};
|
|
6260
|
-
index: string | number | bigint;
|
|
6261
7112
|
};
|
|
6262
7113
|
insertionWitnessData: {
|
|
6263
7114
|
path: string[];
|
|
7115
|
+
index: string | number | bigint;
|
|
6264
7116
|
leaf: {
|
|
6265
7117
|
leaf: {
|
|
6266
7118
|
nullifier: string;
|
|
@@ -6275,7 +7127,6 @@ export declare class AvmCircuitInputs {
|
|
|
6275
7127
|
nextKey: string;
|
|
6276
7128
|
nextIndex: string | number | bigint;
|
|
6277
7129
|
};
|
|
6278
|
-
index: string | number | bigint;
|
|
6279
7130
|
};
|
|
6280
7131
|
}>, {
|
|
6281
7132
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -6310,6 +7161,7 @@ export declare class AvmCircuitInputs {
|
|
|
6310
7161
|
};
|
|
6311
7162
|
lowLeavesWitnessData: {
|
|
6312
7163
|
path: string[];
|
|
7164
|
+
index: string | number | bigint;
|
|
6313
7165
|
leaf: {
|
|
6314
7166
|
leaf: {
|
|
6315
7167
|
nullifier: string;
|
|
@@ -6324,10 +7176,10 @@ export declare class AvmCircuitInputs {
|
|
|
6324
7176
|
nextKey: string;
|
|
6325
7177
|
nextIndex: string | number | bigint;
|
|
6326
7178
|
};
|
|
6327
|
-
index: string | number | bigint;
|
|
6328
7179
|
};
|
|
6329
7180
|
insertionWitnessData: {
|
|
6330
7181
|
path: string[];
|
|
7182
|
+
index: string | number | bigint;
|
|
6331
7183
|
leaf: {
|
|
6332
7184
|
leaf: {
|
|
6333
7185
|
nullifier: string;
|
|
@@ -6342,7 +7194,6 @@ export declare class AvmCircuitInputs {
|
|
|
6342
7194
|
nextKey: string;
|
|
6343
7195
|
nextIndex: string | number | bigint;
|
|
6344
7196
|
};
|
|
6345
|
-
index: string | number | bigint;
|
|
6346
7197
|
};
|
|
6347
7198
|
}>, "many">;
|
|
6348
7199
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -6462,10 +7313,11 @@ export declare class AvmCircuitInputs {
|
|
|
6462
7313
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
6463
7314
|
}, "strip", z.ZodTypeAny, {
|
|
6464
7315
|
path: Fr[];
|
|
6465
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6466
7316
|
index: bigint;
|
|
7317
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6467
7318
|
}, {
|
|
6468
7319
|
path: string[];
|
|
7320
|
+
index: string | number | bigint;
|
|
6469
7321
|
leaf: {
|
|
6470
7322
|
leaf: {
|
|
6471
7323
|
nullifier: string;
|
|
@@ -6480,7 +7332,6 @@ export declare class AvmCircuitInputs {
|
|
|
6480
7332
|
nextKey: string;
|
|
6481
7333
|
nextIndex: string | number | bigint;
|
|
6482
7334
|
};
|
|
6483
|
-
index: string | number | bigint;
|
|
6484
7335
|
}>;
|
|
6485
7336
|
insertionWitnessData: z.ZodObject<{
|
|
6486
7337
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -6550,10 +7401,11 @@ export declare class AvmCircuitInputs {
|
|
|
6550
7401
|
path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
6551
7402
|
}, "strip", z.ZodTypeAny, {
|
|
6552
7403
|
path: Fr[];
|
|
6553
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6554
7404
|
index: bigint;
|
|
7405
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6555
7406
|
}, {
|
|
6556
7407
|
path: string[];
|
|
7408
|
+
index: string | number | bigint;
|
|
6557
7409
|
leaf: {
|
|
6558
7410
|
leaf: {
|
|
6559
7411
|
nullifier: string;
|
|
@@ -6568,7 +7420,6 @@ export declare class AvmCircuitInputs {
|
|
|
6568
7420
|
nextKey: string;
|
|
6569
7421
|
nextIndex: string | number | bigint;
|
|
6570
7422
|
};
|
|
6571
|
-
index: string | number | bigint;
|
|
6572
7423
|
}>;
|
|
6573
7424
|
}, "strip", z.ZodTypeAny, {
|
|
6574
7425
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -6577,13 +7428,13 @@ export declare class AvmCircuitInputs {
|
|
|
6577
7428
|
stateAfter: AppendOnlyTreeSnapshot;
|
|
6578
7429
|
lowLeavesWitnessData: {
|
|
6579
7430
|
path: Fr[];
|
|
6580
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6581
7431
|
index: bigint;
|
|
7432
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6582
7433
|
};
|
|
6583
7434
|
insertionWitnessData: {
|
|
6584
7435
|
path: Fr[];
|
|
6585
|
-
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6586
7436
|
index: bigint;
|
|
7437
|
+
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6587
7438
|
};
|
|
6588
7439
|
}, {
|
|
6589
7440
|
leaf: {
|
|
@@ -6603,6 +7454,7 @@ export declare class AvmCircuitInputs {
|
|
|
6603
7454
|
};
|
|
6604
7455
|
lowLeavesWitnessData: {
|
|
6605
7456
|
path: string[];
|
|
7457
|
+
index: string | number | bigint;
|
|
6606
7458
|
leaf: {
|
|
6607
7459
|
leaf: {
|
|
6608
7460
|
nullifier: string;
|
|
@@ -6617,10 +7469,10 @@ export declare class AvmCircuitInputs {
|
|
|
6617
7469
|
nextKey: string;
|
|
6618
7470
|
nextIndex: string | number | bigint;
|
|
6619
7471
|
};
|
|
6620
|
-
index: string | number | bigint;
|
|
6621
7472
|
};
|
|
6622
7473
|
insertionWitnessData: {
|
|
6623
7474
|
path: string[];
|
|
7475
|
+
index: string | number | bigint;
|
|
6624
7476
|
leaf: {
|
|
6625
7477
|
leaf: {
|
|
6626
7478
|
nullifier: string;
|
|
@@ -6635,7 +7487,6 @@ export declare class AvmCircuitInputs {
|
|
|
6635
7487
|
nextKey: string;
|
|
6636
7488
|
nextIndex: string | number | bigint;
|
|
6637
7489
|
};
|
|
6638
|
-
index: string | number | bigint;
|
|
6639
7490
|
};
|
|
6640
7491
|
}>, {
|
|
6641
7492
|
readonly hintKey: AppendOnlyTreeSnapshot;
|
|
@@ -6670,6 +7521,7 @@ export declare class AvmCircuitInputs {
|
|
|
6670
7521
|
};
|
|
6671
7522
|
lowLeavesWitnessData: {
|
|
6672
7523
|
path: string[];
|
|
7524
|
+
index: string | number | bigint;
|
|
6673
7525
|
leaf: {
|
|
6674
7526
|
leaf: {
|
|
6675
7527
|
nullifier: string;
|
|
@@ -6684,10 +7536,10 @@ export declare class AvmCircuitInputs {
|
|
|
6684
7536
|
nextKey: string;
|
|
6685
7537
|
nextIndex: string | number | bigint;
|
|
6686
7538
|
};
|
|
6687
|
-
index: string | number | bigint;
|
|
6688
7539
|
};
|
|
6689
7540
|
insertionWitnessData: {
|
|
6690
7541
|
path: string[];
|
|
7542
|
+
index: string | number | bigint;
|
|
6691
7543
|
leaf: {
|
|
6692
7544
|
leaf: {
|
|
6693
7545
|
nullifier: string;
|
|
@@ -6702,7 +7554,6 @@ export declare class AvmCircuitInputs {
|
|
|
6702
7554
|
nextKey: string;
|
|
6703
7555
|
nextIndex: string | number | bigint;
|
|
6704
7556
|
};
|
|
6705
|
-
index: string | number | bigint;
|
|
6706
7557
|
};
|
|
6707
7558
|
}>, "many">;
|
|
6708
7559
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -7073,6 +7924,57 @@ export declare class AvmCircuitInputs {
|
|
|
7073
7924
|
};
|
|
7074
7925
|
};
|
|
7075
7926
|
}>, "many">;
|
|
7927
|
+
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7928
|
+
actionCounter: z.ZodNumber;
|
|
7929
|
+
oldCheckpointId: z.ZodNumber;
|
|
7930
|
+
newCheckpointId: z.ZodNumber;
|
|
7931
|
+
}, "strip", z.ZodTypeAny, {
|
|
7932
|
+
actionCounter: number;
|
|
7933
|
+
oldCheckpointId: number;
|
|
7934
|
+
newCheckpointId: number;
|
|
7935
|
+
}, {
|
|
7936
|
+
actionCounter: number;
|
|
7937
|
+
oldCheckpointId: number;
|
|
7938
|
+
newCheckpointId: number;
|
|
7939
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
7940
|
+
actionCounter: number;
|
|
7941
|
+
oldCheckpointId: number;
|
|
7942
|
+
newCheckpointId: number;
|
|
7943
|
+
}>, "many">;
|
|
7944
|
+
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7945
|
+
actionCounter: z.ZodNumber;
|
|
7946
|
+
oldCheckpointId: z.ZodNumber;
|
|
7947
|
+
newCheckpointId: z.ZodNumber;
|
|
7948
|
+
}, "strip", z.ZodTypeAny, {
|
|
7949
|
+
actionCounter: number;
|
|
7950
|
+
oldCheckpointId: number;
|
|
7951
|
+
newCheckpointId: number;
|
|
7952
|
+
}, {
|
|
7953
|
+
actionCounter: number;
|
|
7954
|
+
oldCheckpointId: number;
|
|
7955
|
+
newCheckpointId: number;
|
|
7956
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
7957
|
+
actionCounter: number;
|
|
7958
|
+
oldCheckpointId: number;
|
|
7959
|
+
newCheckpointId: number;
|
|
7960
|
+
}>, "many">;
|
|
7961
|
+
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7962
|
+
actionCounter: z.ZodNumber;
|
|
7963
|
+
oldCheckpointId: z.ZodNumber;
|
|
7964
|
+
newCheckpointId: z.ZodNumber;
|
|
7965
|
+
}, "strip", z.ZodTypeAny, {
|
|
7966
|
+
actionCounter: number;
|
|
7967
|
+
oldCheckpointId: number;
|
|
7968
|
+
newCheckpointId: number;
|
|
7969
|
+
}, {
|
|
7970
|
+
actionCounter: number;
|
|
7971
|
+
oldCheckpointId: number;
|
|
7972
|
+
newCheckpointId: number;
|
|
7973
|
+
}>, AvmCheckpointActionNoStateChangeHint, {
|
|
7974
|
+
actionCounter: number;
|
|
7975
|
+
oldCheckpointId: number;
|
|
7976
|
+
newCheckpointId: number;
|
|
7977
|
+
}>, "many">;
|
|
7076
7978
|
}, "strip", z.ZodTypeAny, {
|
|
7077
7979
|
globalVariables: GlobalVariables;
|
|
7078
7980
|
protocolContracts: ProtocolContracts;
|
|
@@ -7080,6 +7982,7 @@ export declare class AvmCircuitInputs {
|
|
|
7080
7982
|
contractInstances: AvmContractInstanceHint[];
|
|
7081
7983
|
contractClasses: AvmContractClassHint[];
|
|
7082
7984
|
bytecodeCommitments: AvmBytecodeCommitmentHint[];
|
|
7985
|
+
debugFunctionNames: AvmDebugFunctionNameHint[];
|
|
7083
7986
|
startingTreeRoots: TreeSnapshots;
|
|
7084
7987
|
getSiblingPathHints: AvmGetSiblingPathHint[];
|
|
7085
7988
|
getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
|
|
@@ -7130,6 +8033,9 @@ export declare class AvmCircuitInputs {
|
|
|
7130
8033
|
createCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
7131
8034
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
7132
8035
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
8036
|
+
contractDBCreateCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8037
|
+
contractDBCommitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
8038
|
+
contractDBRevertCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
7133
8039
|
}, {
|
|
7134
8040
|
globalVariables: {
|
|
7135
8041
|
blockNumber: string | number | bigint;
|
|
@@ -7172,8 +8078,8 @@ export declare class AvmCircuitInputs {
|
|
|
7172
8078
|
nullifiers: string[];
|
|
7173
8079
|
l2ToL1Messages: {
|
|
7174
8080
|
message: {
|
|
7175
|
-
recipient: string;
|
|
7176
8081
|
content: string;
|
|
8082
|
+
recipient: string;
|
|
7177
8083
|
};
|
|
7178
8084
|
contractAddress?: any;
|
|
7179
8085
|
}[];
|
|
@@ -7183,8 +8089,8 @@ export declare class AvmCircuitInputs {
|
|
|
7183
8089
|
nullifiers: string[];
|
|
7184
8090
|
l2ToL1Messages: {
|
|
7185
8091
|
message: {
|
|
7186
|
-
recipient: string;
|
|
7187
8092
|
content: string;
|
|
8093
|
+
recipient: string;
|
|
7188
8094
|
};
|
|
7189
8095
|
contractAddress?: any;
|
|
7190
8096
|
}[];
|
|
@@ -7193,6 +8099,32 @@ export declare class AvmCircuitInputs {
|
|
|
7193
8099
|
feePerDaGas: string | number | bigint;
|
|
7194
8100
|
feePerL2Gas: string | number | bigint;
|
|
7195
8101
|
};
|
|
8102
|
+
nonRevertibleContractDeploymentData: {
|
|
8103
|
+
privateLogs: {
|
|
8104
|
+
fields: string[];
|
|
8105
|
+
emittedLength: number;
|
|
8106
|
+
}[];
|
|
8107
|
+
contractClassLogs: {
|
|
8108
|
+
fields: {
|
|
8109
|
+
fields: string[];
|
|
8110
|
+
};
|
|
8111
|
+
emittedLength: number;
|
|
8112
|
+
contractAddress?: any;
|
|
8113
|
+
}[];
|
|
8114
|
+
};
|
|
8115
|
+
revertibleContractDeploymentData: {
|
|
8116
|
+
privateLogs: {
|
|
8117
|
+
fields: string[];
|
|
8118
|
+
emittedLength: number;
|
|
8119
|
+
}[];
|
|
8120
|
+
contractClassLogs: {
|
|
8121
|
+
fields: {
|
|
8122
|
+
fields: string[];
|
|
8123
|
+
};
|
|
8124
|
+
emittedLength: number;
|
|
8125
|
+
contractAddress?: any;
|
|
8126
|
+
}[];
|
|
8127
|
+
};
|
|
7196
8128
|
setupEnqueuedCalls: any[];
|
|
7197
8129
|
appLogicEnqueuedCalls: any[];
|
|
7198
8130
|
gasUsedByPrivate: {
|
|
@@ -7213,22 +8145,30 @@ export declare class AvmCircuitInputs {
|
|
|
7213
8145
|
masterOutgoingViewingPublicKey: string;
|
|
7214
8146
|
masterTaggingPublicKey: string;
|
|
7215
8147
|
};
|
|
8148
|
+
hintKey: number;
|
|
7216
8149
|
deployer?: any;
|
|
7217
8150
|
address?: any;
|
|
7218
8151
|
}[];
|
|
7219
8152
|
contractClasses: {
|
|
7220
|
-
classId: string;
|
|
7221
8153
|
artifactHash: string;
|
|
7222
|
-
privateFunctionsRoot: string;
|
|
7223
8154
|
packedBytecode: string | {
|
|
7224
8155
|
type: "Buffer";
|
|
7225
8156
|
data: number[];
|
|
7226
8157
|
};
|
|
8158
|
+
privateFunctionsRoot: string;
|
|
8159
|
+
hintKey: number;
|
|
8160
|
+
classId: string;
|
|
7227
8161
|
}[];
|
|
7228
8162
|
bytecodeCommitments: {
|
|
8163
|
+
hintKey: number;
|
|
7229
8164
|
classId: string;
|
|
7230
8165
|
commitment: string;
|
|
7231
8166
|
}[];
|
|
8167
|
+
debugFunctionNames: {
|
|
8168
|
+
name: string;
|
|
8169
|
+
selector: string;
|
|
8170
|
+
address?: any;
|
|
8171
|
+
}[];
|
|
7232
8172
|
startingTreeRoots: {
|
|
7233
8173
|
noteHashTree: {
|
|
7234
8174
|
root: string;
|
|
@@ -7335,6 +8275,7 @@ export declare class AvmCircuitInputs {
|
|
|
7335
8275
|
};
|
|
7336
8276
|
lowLeavesWitnessData: {
|
|
7337
8277
|
path: string[];
|
|
8278
|
+
index: string | number | bigint;
|
|
7338
8279
|
leaf: {
|
|
7339
8280
|
leaf: {
|
|
7340
8281
|
nullifier: string;
|
|
@@ -7349,10 +8290,10 @@ export declare class AvmCircuitInputs {
|
|
|
7349
8290
|
nextKey: string;
|
|
7350
8291
|
nextIndex: string | number | bigint;
|
|
7351
8292
|
};
|
|
7352
|
-
index: string | number | bigint;
|
|
7353
8293
|
};
|
|
7354
8294
|
insertionWitnessData: {
|
|
7355
8295
|
path: string[];
|
|
8296
|
+
index: string | number | bigint;
|
|
7356
8297
|
leaf: {
|
|
7357
8298
|
leaf: {
|
|
7358
8299
|
nullifier: string;
|
|
@@ -7367,7 +8308,6 @@ export declare class AvmCircuitInputs {
|
|
|
7367
8308
|
nextKey: string;
|
|
7368
8309
|
nextIndex: string | number | bigint;
|
|
7369
8310
|
};
|
|
7370
|
-
index: string | number | bigint;
|
|
7371
8311
|
};
|
|
7372
8312
|
}[];
|
|
7373
8313
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -7388,6 +8328,7 @@ export declare class AvmCircuitInputs {
|
|
|
7388
8328
|
};
|
|
7389
8329
|
lowLeavesWitnessData: {
|
|
7390
8330
|
path: string[];
|
|
8331
|
+
index: string | number | bigint;
|
|
7391
8332
|
leaf: {
|
|
7392
8333
|
leaf: {
|
|
7393
8334
|
nullifier: string;
|
|
@@ -7402,10 +8343,10 @@ export declare class AvmCircuitInputs {
|
|
|
7402
8343
|
nextKey: string;
|
|
7403
8344
|
nextIndex: string | number | bigint;
|
|
7404
8345
|
};
|
|
7405
|
-
index: string | number | bigint;
|
|
7406
8346
|
};
|
|
7407
8347
|
insertionWitnessData: {
|
|
7408
8348
|
path: string[];
|
|
8349
|
+
index: string | number | bigint;
|
|
7409
8350
|
leaf: {
|
|
7410
8351
|
leaf: {
|
|
7411
8352
|
nullifier: string;
|
|
@@ -7420,7 +8361,6 @@ export declare class AvmCircuitInputs {
|
|
|
7420
8361
|
nextKey: string;
|
|
7421
8362
|
nextIndex: string | number | bigint;
|
|
7422
8363
|
};
|
|
7423
|
-
index: string | number | bigint;
|
|
7424
8364
|
};
|
|
7425
8365
|
}[];
|
|
7426
8366
|
appendLeavesHints: {
|
|
@@ -7486,7 +8426,22 @@ export declare class AvmCircuitInputs {
|
|
|
7486
8426
|
};
|
|
7487
8427
|
};
|
|
7488
8428
|
}[];
|
|
7489
|
-
|
|
8429
|
+
contractDBCreateCheckpointHints: {
|
|
8430
|
+
actionCounter: number;
|
|
8431
|
+
oldCheckpointId: number;
|
|
8432
|
+
newCheckpointId: number;
|
|
8433
|
+
}[];
|
|
8434
|
+
contractDBCommitCheckpointHints: {
|
|
8435
|
+
actionCounter: number;
|
|
8436
|
+
oldCheckpointId: number;
|
|
8437
|
+
newCheckpointId: number;
|
|
8438
|
+
}[];
|
|
8439
|
+
contractDBRevertCheckpointHints: {
|
|
8440
|
+
actionCounter: number;
|
|
8441
|
+
oldCheckpointId: number;
|
|
8442
|
+
newCheckpointId: number;
|
|
8443
|
+
}[];
|
|
8444
|
+
}>, AvmExecutionHints, {
|
|
7490
8445
|
globalVariables: {
|
|
7491
8446
|
blockNumber: string | number | bigint;
|
|
7492
8447
|
timestamp: string | number | bigint;
|
|
@@ -7528,8 +8483,8 @@ export declare class AvmCircuitInputs {
|
|
|
7528
8483
|
nullifiers: string[];
|
|
7529
8484
|
l2ToL1Messages: {
|
|
7530
8485
|
message: {
|
|
7531
|
-
recipient: string;
|
|
7532
8486
|
content: string;
|
|
8487
|
+
recipient: string;
|
|
7533
8488
|
};
|
|
7534
8489
|
contractAddress?: any;
|
|
7535
8490
|
}[];
|
|
@@ -7539,8 +8494,8 @@ export declare class AvmCircuitInputs {
|
|
|
7539
8494
|
nullifiers: string[];
|
|
7540
8495
|
l2ToL1Messages: {
|
|
7541
8496
|
message: {
|
|
7542
|
-
recipient: string;
|
|
7543
8497
|
content: string;
|
|
8498
|
+
recipient: string;
|
|
7544
8499
|
};
|
|
7545
8500
|
contractAddress?: any;
|
|
7546
8501
|
}[];
|
|
@@ -7549,6 +8504,32 @@ export declare class AvmCircuitInputs {
|
|
|
7549
8504
|
feePerDaGas: string | number | bigint;
|
|
7550
8505
|
feePerL2Gas: string | number | bigint;
|
|
7551
8506
|
};
|
|
8507
|
+
nonRevertibleContractDeploymentData: {
|
|
8508
|
+
privateLogs: {
|
|
8509
|
+
fields: string[];
|
|
8510
|
+
emittedLength: number;
|
|
8511
|
+
}[];
|
|
8512
|
+
contractClassLogs: {
|
|
8513
|
+
fields: {
|
|
8514
|
+
fields: string[];
|
|
8515
|
+
};
|
|
8516
|
+
emittedLength: number;
|
|
8517
|
+
contractAddress?: any;
|
|
8518
|
+
}[];
|
|
8519
|
+
};
|
|
8520
|
+
revertibleContractDeploymentData: {
|
|
8521
|
+
privateLogs: {
|
|
8522
|
+
fields: string[];
|
|
8523
|
+
emittedLength: number;
|
|
8524
|
+
}[];
|
|
8525
|
+
contractClassLogs: {
|
|
8526
|
+
fields: {
|
|
8527
|
+
fields: string[];
|
|
8528
|
+
};
|
|
8529
|
+
emittedLength: number;
|
|
8530
|
+
contractAddress?: any;
|
|
8531
|
+
}[];
|
|
8532
|
+
};
|
|
7552
8533
|
setupEnqueuedCalls: any[];
|
|
7553
8534
|
appLogicEnqueuedCalls: any[];
|
|
7554
8535
|
gasUsedByPrivate: {
|
|
@@ -7569,22 +8550,30 @@ export declare class AvmCircuitInputs {
|
|
|
7569
8550
|
masterOutgoingViewingPublicKey: string;
|
|
7570
8551
|
masterTaggingPublicKey: string;
|
|
7571
8552
|
};
|
|
8553
|
+
hintKey: number;
|
|
7572
8554
|
deployer?: any;
|
|
7573
8555
|
address?: any;
|
|
7574
8556
|
}[];
|
|
7575
8557
|
contractClasses: {
|
|
7576
|
-
classId: string;
|
|
7577
8558
|
artifactHash: string;
|
|
7578
|
-
privateFunctionsRoot: string;
|
|
7579
8559
|
packedBytecode: string | {
|
|
7580
8560
|
type: "Buffer";
|
|
7581
8561
|
data: number[];
|
|
7582
8562
|
};
|
|
8563
|
+
privateFunctionsRoot: string;
|
|
8564
|
+
hintKey: number;
|
|
8565
|
+
classId: string;
|
|
7583
8566
|
}[];
|
|
7584
8567
|
bytecodeCommitments: {
|
|
8568
|
+
hintKey: number;
|
|
7585
8569
|
classId: string;
|
|
7586
8570
|
commitment: string;
|
|
7587
8571
|
}[];
|
|
8572
|
+
debugFunctionNames: {
|
|
8573
|
+
name: string;
|
|
8574
|
+
selector: string;
|
|
8575
|
+
address?: any;
|
|
8576
|
+
}[];
|
|
7588
8577
|
startingTreeRoots: {
|
|
7589
8578
|
noteHashTree: {
|
|
7590
8579
|
root: string;
|
|
@@ -7691,6 +8680,7 @@ export declare class AvmCircuitInputs {
|
|
|
7691
8680
|
};
|
|
7692
8681
|
lowLeavesWitnessData: {
|
|
7693
8682
|
path: string[];
|
|
8683
|
+
index: string | number | bigint;
|
|
7694
8684
|
leaf: {
|
|
7695
8685
|
leaf: {
|
|
7696
8686
|
nullifier: string;
|
|
@@ -7705,10 +8695,10 @@ export declare class AvmCircuitInputs {
|
|
|
7705
8695
|
nextKey: string;
|
|
7706
8696
|
nextIndex: string | number | bigint;
|
|
7707
8697
|
};
|
|
7708
|
-
index: string | number | bigint;
|
|
7709
8698
|
};
|
|
7710
8699
|
insertionWitnessData: {
|
|
7711
8700
|
path: string[];
|
|
8701
|
+
index: string | number | bigint;
|
|
7712
8702
|
leaf: {
|
|
7713
8703
|
leaf: {
|
|
7714
8704
|
nullifier: string;
|
|
@@ -7723,7 +8713,6 @@ export declare class AvmCircuitInputs {
|
|
|
7723
8713
|
nextKey: string;
|
|
7724
8714
|
nextIndex: string | number | bigint;
|
|
7725
8715
|
};
|
|
7726
|
-
index: string | number | bigint;
|
|
7727
8716
|
};
|
|
7728
8717
|
}[];
|
|
7729
8718
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -7744,6 +8733,7 @@ export declare class AvmCircuitInputs {
|
|
|
7744
8733
|
};
|
|
7745
8734
|
lowLeavesWitnessData: {
|
|
7746
8735
|
path: string[];
|
|
8736
|
+
index: string | number | bigint;
|
|
7747
8737
|
leaf: {
|
|
7748
8738
|
leaf: {
|
|
7749
8739
|
nullifier: string;
|
|
@@ -7758,10 +8748,10 @@ export declare class AvmCircuitInputs {
|
|
|
7758
8748
|
nextKey: string;
|
|
7759
8749
|
nextIndex: string | number | bigint;
|
|
7760
8750
|
};
|
|
7761
|
-
index: string | number | bigint;
|
|
7762
8751
|
};
|
|
7763
8752
|
insertionWitnessData: {
|
|
7764
8753
|
path: string[];
|
|
8754
|
+
index: string | number | bigint;
|
|
7765
8755
|
leaf: {
|
|
7766
8756
|
leaf: {
|
|
7767
8757
|
nullifier: string;
|
|
@@ -7776,7 +8766,6 @@ export declare class AvmCircuitInputs {
|
|
|
7776
8766
|
nextKey: string;
|
|
7777
8767
|
nextIndex: string | number | bigint;
|
|
7778
8768
|
};
|
|
7779
|
-
index: string | number | bigint;
|
|
7780
8769
|
};
|
|
7781
8770
|
}[];
|
|
7782
8771
|
appendLeavesHints: {
|
|
@@ -7842,6 +8831,21 @@ export declare class AvmCircuitInputs {
|
|
|
7842
8831
|
};
|
|
7843
8832
|
};
|
|
7844
8833
|
}[];
|
|
8834
|
+
contractDBCreateCheckpointHints: {
|
|
8835
|
+
actionCounter: number;
|
|
8836
|
+
oldCheckpointId: number;
|
|
8837
|
+
newCheckpointId: number;
|
|
8838
|
+
}[];
|
|
8839
|
+
contractDBCommitCheckpointHints: {
|
|
8840
|
+
actionCounter: number;
|
|
8841
|
+
oldCheckpointId: number;
|
|
8842
|
+
newCheckpointId: number;
|
|
8843
|
+
}[];
|
|
8844
|
+
contractDBRevertCheckpointHints: {
|
|
8845
|
+
actionCounter: number;
|
|
8846
|
+
oldCheckpointId: number;
|
|
8847
|
+
newCheckpointId: number;
|
|
8848
|
+
}[];
|
|
7845
8849
|
}>;
|
|
7846
8850
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
7847
8851
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -8244,14 +9248,14 @@ export declare class AvmCircuitInputs {
|
|
|
8244
9248
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
8245
9249
|
content: z.ZodType<Fr, any, string>;
|
|
8246
9250
|
}, "strip", z.ZodTypeAny, {
|
|
8247
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8248
9251
|
content: Fr;
|
|
9252
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8249
9253
|
}, {
|
|
8250
|
-
recipient: string;
|
|
8251
9254
|
content: string;
|
|
8252
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8253
9255
|
recipient: string;
|
|
9256
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8254
9257
|
content: string;
|
|
9258
|
+
recipient: string;
|
|
8255
9259
|
}>;
|
|
8256
9260
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
8257
9261
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8259,14 +9263,14 @@ export declare class AvmCircuitInputs {
|
|
|
8259
9263
|
contractAddress: AztecAddress;
|
|
8260
9264
|
}, {
|
|
8261
9265
|
message: {
|
|
8262
|
-
recipient: string;
|
|
8263
9266
|
content: string;
|
|
9267
|
+
recipient: string;
|
|
8264
9268
|
};
|
|
8265
9269
|
contractAddress?: any;
|
|
8266
9270
|
}>, ScopedL2ToL1Message, {
|
|
8267
9271
|
message: {
|
|
8268
|
-
recipient: string;
|
|
8269
9272
|
content: string;
|
|
9273
|
+
recipient: string;
|
|
8270
9274
|
};
|
|
8271
9275
|
contractAddress?: any;
|
|
8272
9276
|
}>, "many">;
|
|
@@ -8279,8 +9283,8 @@ export declare class AvmCircuitInputs {
|
|
|
8279
9283
|
nullifiers: string[];
|
|
8280
9284
|
l2ToL1Msgs: {
|
|
8281
9285
|
message: {
|
|
8282
|
-
recipient: string;
|
|
8283
9286
|
content: string;
|
|
9287
|
+
recipient: string;
|
|
8284
9288
|
};
|
|
8285
9289
|
contractAddress?: any;
|
|
8286
9290
|
}[];
|
|
@@ -8289,8 +9293,8 @@ export declare class AvmCircuitInputs {
|
|
|
8289
9293
|
nullifiers: string[];
|
|
8290
9294
|
l2ToL1Msgs: {
|
|
8291
9295
|
message: {
|
|
8292
|
-
recipient: string;
|
|
8293
9296
|
content: string;
|
|
9297
|
+
recipient: string;
|
|
8294
9298
|
};
|
|
8295
9299
|
contractAddress?: any;
|
|
8296
9300
|
}[];
|
|
@@ -8303,14 +9307,14 @@ export declare class AvmCircuitInputs {
|
|
|
8303
9307
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
8304
9308
|
content: z.ZodType<Fr, any, string>;
|
|
8305
9309
|
}, "strip", z.ZodTypeAny, {
|
|
8306
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8307
9310
|
content: Fr;
|
|
9311
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8308
9312
|
}, {
|
|
8309
|
-
recipient: string;
|
|
8310
9313
|
content: string;
|
|
8311
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8312
9314
|
recipient: string;
|
|
9315
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8313
9316
|
content: string;
|
|
9317
|
+
recipient: string;
|
|
8314
9318
|
}>;
|
|
8315
9319
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
8316
9320
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8318,14 +9322,14 @@ export declare class AvmCircuitInputs {
|
|
|
8318
9322
|
contractAddress: AztecAddress;
|
|
8319
9323
|
}, {
|
|
8320
9324
|
message: {
|
|
8321
|
-
recipient: string;
|
|
8322
9325
|
content: string;
|
|
9326
|
+
recipient: string;
|
|
8323
9327
|
};
|
|
8324
9328
|
contractAddress?: any;
|
|
8325
9329
|
}>, ScopedL2ToL1Message, {
|
|
8326
9330
|
message: {
|
|
8327
|
-
recipient: string;
|
|
8328
9331
|
content: string;
|
|
9332
|
+
recipient: string;
|
|
8329
9333
|
};
|
|
8330
9334
|
contractAddress?: any;
|
|
8331
9335
|
}>, "many">;
|
|
@@ -8338,8 +9342,8 @@ export declare class AvmCircuitInputs {
|
|
|
8338
9342
|
nullifiers: string[];
|
|
8339
9343
|
l2ToL1Msgs: {
|
|
8340
9344
|
message: {
|
|
8341
|
-
recipient: string;
|
|
8342
9345
|
content: string;
|
|
9346
|
+
recipient: string;
|
|
8343
9347
|
};
|
|
8344
9348
|
contractAddress?: any;
|
|
8345
9349
|
}[];
|
|
@@ -8348,8 +9352,8 @@ export declare class AvmCircuitInputs {
|
|
|
8348
9352
|
nullifiers: string[];
|
|
8349
9353
|
l2ToL1Msgs: {
|
|
8350
9354
|
message: {
|
|
8351
|
-
recipient: string;
|
|
8352
9355
|
content: string;
|
|
9356
|
+
recipient: string;
|
|
8353
9357
|
};
|
|
8354
9358
|
contractAddress?: any;
|
|
8355
9359
|
}[];
|
|
@@ -8489,14 +9493,14 @@ export declare class AvmCircuitInputs {
|
|
|
8489
9493
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
8490
9494
|
content: z.ZodType<Fr, any, string>;
|
|
8491
9495
|
}, "strip", z.ZodTypeAny, {
|
|
8492
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8493
9496
|
content: Fr;
|
|
9497
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
8494
9498
|
}, {
|
|
8495
|
-
recipient: string;
|
|
8496
9499
|
content: string;
|
|
8497
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8498
9500
|
recipient: string;
|
|
9501
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
8499
9502
|
content: string;
|
|
9503
|
+
recipient: string;
|
|
8500
9504
|
}>;
|
|
8501
9505
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
8502
9506
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8504,14 +9508,14 @@ export declare class AvmCircuitInputs {
|
|
|
8504
9508
|
contractAddress: AztecAddress;
|
|
8505
9509
|
}, {
|
|
8506
9510
|
message: {
|
|
8507
|
-
recipient: string;
|
|
8508
9511
|
content: string;
|
|
9512
|
+
recipient: string;
|
|
8509
9513
|
};
|
|
8510
9514
|
contractAddress?: any;
|
|
8511
9515
|
}>, ScopedL2ToL1Message, {
|
|
8512
9516
|
message: {
|
|
8513
|
-
recipient: string;
|
|
8514
9517
|
content: string;
|
|
9518
|
+
recipient: string;
|
|
8515
9519
|
};
|
|
8516
9520
|
contractAddress?: any;
|
|
8517
9521
|
}>, "many">;
|
|
@@ -8540,8 +9544,8 @@ export declare class AvmCircuitInputs {
|
|
|
8540
9544
|
nullifiers: string[];
|
|
8541
9545
|
l2ToL1Msgs: {
|
|
8542
9546
|
message: {
|
|
8543
|
-
recipient: string;
|
|
8544
9547
|
content: string;
|
|
9548
|
+
recipient: string;
|
|
8545
9549
|
};
|
|
8546
9550
|
contractAddress?: any;
|
|
8547
9551
|
}[];
|
|
@@ -8555,8 +9559,8 @@ export declare class AvmCircuitInputs {
|
|
|
8555
9559
|
nullifiers: string[];
|
|
8556
9560
|
l2ToL1Msgs: {
|
|
8557
9561
|
message: {
|
|
8558
|
-
recipient: string;
|
|
8559
9562
|
content: string;
|
|
9563
|
+
recipient: string;
|
|
8560
9564
|
};
|
|
8561
9565
|
contractAddress?: any;
|
|
8562
9566
|
}[];
|
|
@@ -8692,8 +9696,8 @@ export declare class AvmCircuitInputs {
|
|
|
8692
9696
|
nullifiers: string[];
|
|
8693
9697
|
l2ToL1Msgs: {
|
|
8694
9698
|
message: {
|
|
8695
|
-
recipient: string;
|
|
8696
9699
|
content: string;
|
|
9700
|
+
recipient: string;
|
|
8697
9701
|
};
|
|
8698
9702
|
contractAddress?: any;
|
|
8699
9703
|
}[];
|
|
@@ -8703,8 +9707,8 @@ export declare class AvmCircuitInputs {
|
|
|
8703
9707
|
nullifiers: string[];
|
|
8704
9708
|
l2ToL1Msgs: {
|
|
8705
9709
|
message: {
|
|
8706
|
-
recipient: string;
|
|
8707
9710
|
content: string;
|
|
9711
|
+
recipient: string;
|
|
8708
9712
|
};
|
|
8709
9713
|
contractAddress?: any;
|
|
8710
9714
|
}[];
|
|
@@ -8742,8 +9746,8 @@ export declare class AvmCircuitInputs {
|
|
|
8742
9746
|
nullifiers: string[];
|
|
8743
9747
|
l2ToL1Msgs: {
|
|
8744
9748
|
message: {
|
|
8745
|
-
recipient: string;
|
|
8746
9749
|
content: string;
|
|
9750
|
+
recipient: string;
|
|
8747
9751
|
};
|
|
8748
9752
|
contractAddress?: any;
|
|
8749
9753
|
}[];
|
|
@@ -8856,8 +9860,8 @@ export declare class AvmCircuitInputs {
|
|
|
8856
9860
|
nullifiers: string[];
|
|
8857
9861
|
l2ToL1Msgs: {
|
|
8858
9862
|
message: {
|
|
8859
|
-
recipient: string;
|
|
8860
9863
|
content: string;
|
|
9864
|
+
recipient: string;
|
|
8861
9865
|
};
|
|
8862
9866
|
contractAddress?: any;
|
|
8863
9867
|
}[];
|
|
@@ -8867,8 +9871,8 @@ export declare class AvmCircuitInputs {
|
|
|
8867
9871
|
nullifiers: string[];
|
|
8868
9872
|
l2ToL1Msgs: {
|
|
8869
9873
|
message: {
|
|
8870
|
-
recipient: string;
|
|
8871
9874
|
content: string;
|
|
9875
|
+
recipient: string;
|
|
8872
9876
|
};
|
|
8873
9877
|
contractAddress?: any;
|
|
8874
9878
|
}[];
|
|
@@ -8906,8 +9910,8 @@ export declare class AvmCircuitInputs {
|
|
|
8906
9910
|
nullifiers: string[];
|
|
8907
9911
|
l2ToL1Msgs: {
|
|
8908
9912
|
message: {
|
|
8909
|
-
recipient: string;
|
|
8910
9913
|
content: string;
|
|
9914
|
+
recipient: string;
|
|
8911
9915
|
};
|
|
8912
9916
|
contractAddress?: any;
|
|
8913
9917
|
}[];
|
|
@@ -9025,8 +10029,8 @@ export declare class AvmCircuitInputs {
|
|
|
9025
10029
|
nullifiers: string[];
|
|
9026
10030
|
l2ToL1Msgs: {
|
|
9027
10031
|
message: {
|
|
9028
|
-
recipient: string;
|
|
9029
10032
|
content: string;
|
|
10033
|
+
recipient: string;
|
|
9030
10034
|
};
|
|
9031
10035
|
contractAddress?: any;
|
|
9032
10036
|
}[];
|
|
@@ -9036,8 +10040,8 @@ export declare class AvmCircuitInputs {
|
|
|
9036
10040
|
nullifiers: string[];
|
|
9037
10041
|
l2ToL1Msgs: {
|
|
9038
10042
|
message: {
|
|
9039
|
-
recipient: string;
|
|
9040
10043
|
content: string;
|
|
10044
|
+
recipient: string;
|
|
9041
10045
|
};
|
|
9042
10046
|
contractAddress?: any;
|
|
9043
10047
|
}[];
|
|
@@ -9075,8 +10079,8 @@ export declare class AvmCircuitInputs {
|
|
|
9075
10079
|
nullifiers: string[];
|
|
9076
10080
|
l2ToL1Msgs: {
|
|
9077
10081
|
message: {
|
|
9078
|
-
recipient: string;
|
|
9079
10082
|
content: string;
|
|
10083
|
+
recipient: string;
|
|
9080
10084
|
};
|
|
9081
10085
|
contractAddress?: any;
|
|
9082
10086
|
}[];
|
|
@@ -9131,8 +10135,8 @@ export declare class AvmCircuitInputs {
|
|
|
9131
10135
|
nullifiers: string[];
|
|
9132
10136
|
l2ToL1Messages: {
|
|
9133
10137
|
message: {
|
|
9134
|
-
recipient: string;
|
|
9135
10138
|
content: string;
|
|
10139
|
+
recipient: string;
|
|
9136
10140
|
};
|
|
9137
10141
|
contractAddress?: any;
|
|
9138
10142
|
}[];
|
|
@@ -9142,8 +10146,8 @@ export declare class AvmCircuitInputs {
|
|
|
9142
10146
|
nullifiers: string[];
|
|
9143
10147
|
l2ToL1Messages: {
|
|
9144
10148
|
message: {
|
|
9145
|
-
recipient: string;
|
|
9146
10149
|
content: string;
|
|
10150
|
+
recipient: string;
|
|
9147
10151
|
};
|
|
9148
10152
|
contractAddress?: any;
|
|
9149
10153
|
}[];
|
|
@@ -9152,6 +10156,32 @@ export declare class AvmCircuitInputs {
|
|
|
9152
10156
|
feePerDaGas: string | number | bigint;
|
|
9153
10157
|
feePerL2Gas: string | number | bigint;
|
|
9154
10158
|
};
|
|
10159
|
+
nonRevertibleContractDeploymentData: {
|
|
10160
|
+
privateLogs: {
|
|
10161
|
+
fields: string[];
|
|
10162
|
+
emittedLength: number;
|
|
10163
|
+
}[];
|
|
10164
|
+
contractClassLogs: {
|
|
10165
|
+
fields: {
|
|
10166
|
+
fields: string[];
|
|
10167
|
+
};
|
|
10168
|
+
emittedLength: number;
|
|
10169
|
+
contractAddress?: any;
|
|
10170
|
+
}[];
|
|
10171
|
+
};
|
|
10172
|
+
revertibleContractDeploymentData: {
|
|
10173
|
+
privateLogs: {
|
|
10174
|
+
fields: string[];
|
|
10175
|
+
emittedLength: number;
|
|
10176
|
+
}[];
|
|
10177
|
+
contractClassLogs: {
|
|
10178
|
+
fields: {
|
|
10179
|
+
fields: string[];
|
|
10180
|
+
};
|
|
10181
|
+
emittedLength: number;
|
|
10182
|
+
contractAddress?: any;
|
|
10183
|
+
}[];
|
|
10184
|
+
};
|
|
9155
10185
|
setupEnqueuedCalls: any[];
|
|
9156
10186
|
appLogicEnqueuedCalls: any[];
|
|
9157
10187
|
gasUsedByPrivate: {
|
|
@@ -9172,22 +10202,30 @@ export declare class AvmCircuitInputs {
|
|
|
9172
10202
|
masterOutgoingViewingPublicKey: string;
|
|
9173
10203
|
masterTaggingPublicKey: string;
|
|
9174
10204
|
};
|
|
10205
|
+
hintKey: number;
|
|
9175
10206
|
deployer?: any;
|
|
9176
10207
|
address?: any;
|
|
9177
10208
|
}[];
|
|
9178
10209
|
contractClasses: {
|
|
9179
|
-
classId: string;
|
|
9180
10210
|
artifactHash: string;
|
|
9181
|
-
privateFunctionsRoot: string;
|
|
9182
10211
|
packedBytecode: string | {
|
|
9183
10212
|
type: "Buffer";
|
|
9184
10213
|
data: number[];
|
|
9185
10214
|
};
|
|
10215
|
+
privateFunctionsRoot: string;
|
|
10216
|
+
hintKey: number;
|
|
10217
|
+
classId: string;
|
|
9186
10218
|
}[];
|
|
9187
10219
|
bytecodeCommitments: {
|
|
10220
|
+
hintKey: number;
|
|
9188
10221
|
classId: string;
|
|
9189
10222
|
commitment: string;
|
|
9190
10223
|
}[];
|
|
10224
|
+
debugFunctionNames: {
|
|
10225
|
+
name: string;
|
|
10226
|
+
selector: string;
|
|
10227
|
+
address?: any;
|
|
10228
|
+
}[];
|
|
9191
10229
|
startingTreeRoots: {
|
|
9192
10230
|
noteHashTree: {
|
|
9193
10231
|
root: string;
|
|
@@ -9294,6 +10332,7 @@ export declare class AvmCircuitInputs {
|
|
|
9294
10332
|
};
|
|
9295
10333
|
lowLeavesWitnessData: {
|
|
9296
10334
|
path: string[];
|
|
10335
|
+
index: string | number | bigint;
|
|
9297
10336
|
leaf: {
|
|
9298
10337
|
leaf: {
|
|
9299
10338
|
nullifier: string;
|
|
@@ -9308,10 +10347,10 @@ export declare class AvmCircuitInputs {
|
|
|
9308
10347
|
nextKey: string;
|
|
9309
10348
|
nextIndex: string | number | bigint;
|
|
9310
10349
|
};
|
|
9311
|
-
index: string | number | bigint;
|
|
9312
10350
|
};
|
|
9313
10351
|
insertionWitnessData: {
|
|
9314
10352
|
path: string[];
|
|
10353
|
+
index: string | number | bigint;
|
|
9315
10354
|
leaf: {
|
|
9316
10355
|
leaf: {
|
|
9317
10356
|
nullifier: string;
|
|
@@ -9326,7 +10365,6 @@ export declare class AvmCircuitInputs {
|
|
|
9326
10365
|
nextKey: string;
|
|
9327
10366
|
nextIndex: string | number | bigint;
|
|
9328
10367
|
};
|
|
9329
|
-
index: string | number | bigint;
|
|
9330
10368
|
};
|
|
9331
10369
|
}[];
|
|
9332
10370
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -9347,6 +10385,7 @@ export declare class AvmCircuitInputs {
|
|
|
9347
10385
|
};
|
|
9348
10386
|
lowLeavesWitnessData: {
|
|
9349
10387
|
path: string[];
|
|
10388
|
+
index: string | number | bigint;
|
|
9350
10389
|
leaf: {
|
|
9351
10390
|
leaf: {
|
|
9352
10391
|
nullifier: string;
|
|
@@ -9361,10 +10400,10 @@ export declare class AvmCircuitInputs {
|
|
|
9361
10400
|
nextKey: string;
|
|
9362
10401
|
nextIndex: string | number | bigint;
|
|
9363
10402
|
};
|
|
9364
|
-
index: string | number | bigint;
|
|
9365
10403
|
};
|
|
9366
10404
|
insertionWitnessData: {
|
|
9367
10405
|
path: string[];
|
|
10406
|
+
index: string | number | bigint;
|
|
9368
10407
|
leaf: {
|
|
9369
10408
|
leaf: {
|
|
9370
10409
|
nullifier: string;
|
|
@@ -9379,7 +10418,6 @@ export declare class AvmCircuitInputs {
|
|
|
9379
10418
|
nextKey: string;
|
|
9380
10419
|
nextIndex: string | number | bigint;
|
|
9381
10420
|
};
|
|
9382
|
-
index: string | number | bigint;
|
|
9383
10421
|
};
|
|
9384
10422
|
}[];
|
|
9385
10423
|
appendLeavesHints: {
|
|
@@ -9445,6 +10483,21 @@ export declare class AvmCircuitInputs {
|
|
|
9445
10483
|
};
|
|
9446
10484
|
};
|
|
9447
10485
|
}[];
|
|
10486
|
+
contractDBCreateCheckpointHints: {
|
|
10487
|
+
actionCounter: number;
|
|
10488
|
+
oldCheckpointId: number;
|
|
10489
|
+
newCheckpointId: number;
|
|
10490
|
+
}[];
|
|
10491
|
+
contractDBCommitCheckpointHints: {
|
|
10492
|
+
actionCounter: number;
|
|
10493
|
+
oldCheckpointId: number;
|
|
10494
|
+
newCheckpointId: number;
|
|
10495
|
+
}[];
|
|
10496
|
+
contractDBRevertCheckpointHints: {
|
|
10497
|
+
actionCounter: number;
|
|
10498
|
+
oldCheckpointId: number;
|
|
10499
|
+
newCheckpointId: number;
|
|
10500
|
+
}[];
|
|
9448
10501
|
};
|
|
9449
10502
|
}>, AvmCircuitInputs, {
|
|
9450
10503
|
publicInputs: {
|
|
@@ -9548,8 +10601,8 @@ export declare class AvmCircuitInputs {
|
|
|
9548
10601
|
nullifiers: string[];
|
|
9549
10602
|
l2ToL1Msgs: {
|
|
9550
10603
|
message: {
|
|
9551
|
-
recipient: string;
|
|
9552
10604
|
content: string;
|
|
10605
|
+
recipient: string;
|
|
9553
10606
|
};
|
|
9554
10607
|
contractAddress?: any;
|
|
9555
10608
|
}[];
|
|
@@ -9559,8 +10612,8 @@ export declare class AvmCircuitInputs {
|
|
|
9559
10612
|
nullifiers: string[];
|
|
9560
10613
|
l2ToL1Msgs: {
|
|
9561
10614
|
message: {
|
|
9562
|
-
recipient: string;
|
|
9563
10615
|
content: string;
|
|
10616
|
+
recipient: string;
|
|
9564
10617
|
};
|
|
9565
10618
|
contractAddress?: any;
|
|
9566
10619
|
}[];
|
|
@@ -9598,8 +10651,8 @@ export declare class AvmCircuitInputs {
|
|
|
9598
10651
|
nullifiers: string[];
|
|
9599
10652
|
l2ToL1Msgs: {
|
|
9600
10653
|
message: {
|
|
9601
|
-
recipient: string;
|
|
9602
10654
|
content: string;
|
|
10655
|
+
recipient: string;
|
|
9603
10656
|
};
|
|
9604
10657
|
contractAddress?: any;
|
|
9605
10658
|
}[];
|
|
@@ -9654,8 +10707,8 @@ export declare class AvmCircuitInputs {
|
|
|
9654
10707
|
nullifiers: string[];
|
|
9655
10708
|
l2ToL1Messages: {
|
|
9656
10709
|
message: {
|
|
9657
|
-
recipient: string;
|
|
9658
10710
|
content: string;
|
|
10711
|
+
recipient: string;
|
|
9659
10712
|
};
|
|
9660
10713
|
contractAddress?: any;
|
|
9661
10714
|
}[];
|
|
@@ -9665,8 +10718,8 @@ export declare class AvmCircuitInputs {
|
|
|
9665
10718
|
nullifiers: string[];
|
|
9666
10719
|
l2ToL1Messages: {
|
|
9667
10720
|
message: {
|
|
9668
|
-
recipient: string;
|
|
9669
10721
|
content: string;
|
|
10722
|
+
recipient: string;
|
|
9670
10723
|
};
|
|
9671
10724
|
contractAddress?: any;
|
|
9672
10725
|
}[];
|
|
@@ -9675,6 +10728,32 @@ export declare class AvmCircuitInputs {
|
|
|
9675
10728
|
feePerDaGas: string | number | bigint;
|
|
9676
10729
|
feePerL2Gas: string | number | bigint;
|
|
9677
10730
|
};
|
|
10731
|
+
nonRevertibleContractDeploymentData: {
|
|
10732
|
+
privateLogs: {
|
|
10733
|
+
fields: string[];
|
|
10734
|
+
emittedLength: number;
|
|
10735
|
+
}[];
|
|
10736
|
+
contractClassLogs: {
|
|
10737
|
+
fields: {
|
|
10738
|
+
fields: string[];
|
|
10739
|
+
};
|
|
10740
|
+
emittedLength: number;
|
|
10741
|
+
contractAddress?: any;
|
|
10742
|
+
}[];
|
|
10743
|
+
};
|
|
10744
|
+
revertibleContractDeploymentData: {
|
|
10745
|
+
privateLogs: {
|
|
10746
|
+
fields: string[];
|
|
10747
|
+
emittedLength: number;
|
|
10748
|
+
}[];
|
|
10749
|
+
contractClassLogs: {
|
|
10750
|
+
fields: {
|
|
10751
|
+
fields: string[];
|
|
10752
|
+
};
|
|
10753
|
+
emittedLength: number;
|
|
10754
|
+
contractAddress?: any;
|
|
10755
|
+
}[];
|
|
10756
|
+
};
|
|
9678
10757
|
setupEnqueuedCalls: any[];
|
|
9679
10758
|
appLogicEnqueuedCalls: any[];
|
|
9680
10759
|
gasUsedByPrivate: {
|
|
@@ -9695,22 +10774,30 @@ export declare class AvmCircuitInputs {
|
|
|
9695
10774
|
masterOutgoingViewingPublicKey: string;
|
|
9696
10775
|
masterTaggingPublicKey: string;
|
|
9697
10776
|
};
|
|
10777
|
+
hintKey: number;
|
|
9698
10778
|
deployer?: any;
|
|
9699
10779
|
address?: any;
|
|
9700
10780
|
}[];
|
|
9701
10781
|
contractClasses: {
|
|
9702
|
-
classId: string;
|
|
9703
10782
|
artifactHash: string;
|
|
9704
|
-
privateFunctionsRoot: string;
|
|
9705
10783
|
packedBytecode: string | {
|
|
9706
10784
|
type: "Buffer";
|
|
9707
10785
|
data: number[];
|
|
9708
10786
|
};
|
|
10787
|
+
privateFunctionsRoot: string;
|
|
10788
|
+
hintKey: number;
|
|
10789
|
+
classId: string;
|
|
9709
10790
|
}[];
|
|
9710
10791
|
bytecodeCommitments: {
|
|
10792
|
+
hintKey: number;
|
|
9711
10793
|
classId: string;
|
|
9712
10794
|
commitment: string;
|
|
9713
10795
|
}[];
|
|
10796
|
+
debugFunctionNames: {
|
|
10797
|
+
name: string;
|
|
10798
|
+
selector: string;
|
|
10799
|
+
address?: any;
|
|
10800
|
+
}[];
|
|
9714
10801
|
startingTreeRoots: {
|
|
9715
10802
|
noteHashTree: {
|
|
9716
10803
|
root: string;
|
|
@@ -9817,6 +10904,7 @@ export declare class AvmCircuitInputs {
|
|
|
9817
10904
|
};
|
|
9818
10905
|
lowLeavesWitnessData: {
|
|
9819
10906
|
path: string[];
|
|
10907
|
+
index: string | number | bigint;
|
|
9820
10908
|
leaf: {
|
|
9821
10909
|
leaf: {
|
|
9822
10910
|
nullifier: string;
|
|
@@ -9831,10 +10919,10 @@ export declare class AvmCircuitInputs {
|
|
|
9831
10919
|
nextKey: string;
|
|
9832
10920
|
nextIndex: string | number | bigint;
|
|
9833
10921
|
};
|
|
9834
|
-
index: string | number | bigint;
|
|
9835
10922
|
};
|
|
9836
10923
|
insertionWitnessData: {
|
|
9837
10924
|
path: string[];
|
|
10925
|
+
index: string | number | bigint;
|
|
9838
10926
|
leaf: {
|
|
9839
10927
|
leaf: {
|
|
9840
10928
|
nullifier: string;
|
|
@@ -9849,7 +10937,6 @@ export declare class AvmCircuitInputs {
|
|
|
9849
10937
|
nextKey: string;
|
|
9850
10938
|
nextIndex: string | number | bigint;
|
|
9851
10939
|
};
|
|
9852
|
-
index: string | number | bigint;
|
|
9853
10940
|
};
|
|
9854
10941
|
}[];
|
|
9855
10942
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -9870,6 +10957,7 @@ export declare class AvmCircuitInputs {
|
|
|
9870
10957
|
};
|
|
9871
10958
|
lowLeavesWitnessData: {
|
|
9872
10959
|
path: string[];
|
|
10960
|
+
index: string | number | bigint;
|
|
9873
10961
|
leaf: {
|
|
9874
10962
|
leaf: {
|
|
9875
10963
|
nullifier: string;
|
|
@@ -9884,10 +10972,10 @@ export declare class AvmCircuitInputs {
|
|
|
9884
10972
|
nextKey: string;
|
|
9885
10973
|
nextIndex: string | number | bigint;
|
|
9886
10974
|
};
|
|
9887
|
-
index: string | number | bigint;
|
|
9888
10975
|
};
|
|
9889
10976
|
insertionWitnessData: {
|
|
9890
10977
|
path: string[];
|
|
10978
|
+
index: string | number | bigint;
|
|
9891
10979
|
leaf: {
|
|
9892
10980
|
leaf: {
|
|
9893
10981
|
nullifier: string;
|
|
@@ -9902,7 +10990,6 @@ export declare class AvmCircuitInputs {
|
|
|
9902
10990
|
nextKey: string;
|
|
9903
10991
|
nextIndex: string | number | bigint;
|
|
9904
10992
|
};
|
|
9905
|
-
index: string | number | bigint;
|
|
9906
10993
|
};
|
|
9907
10994
|
}[];
|
|
9908
10995
|
appendLeavesHints: {
|
|
@@ -9968,11 +11055,876 @@ export declare class AvmCircuitInputs {
|
|
|
9968
11055
|
};
|
|
9969
11056
|
};
|
|
9970
11057
|
}[];
|
|
11058
|
+
contractDBCreateCheckpointHints: {
|
|
11059
|
+
actionCounter: number;
|
|
11060
|
+
oldCheckpointId: number;
|
|
11061
|
+
newCheckpointId: number;
|
|
11062
|
+
}[];
|
|
11063
|
+
contractDBCommitCheckpointHints: {
|
|
11064
|
+
actionCounter: number;
|
|
11065
|
+
oldCheckpointId: number;
|
|
11066
|
+
newCheckpointId: number;
|
|
11067
|
+
}[];
|
|
11068
|
+
contractDBRevertCheckpointHints: {
|
|
11069
|
+
actionCounter: number;
|
|
11070
|
+
oldCheckpointId: number;
|
|
11071
|
+
newCheckpointId: number;
|
|
11072
|
+
}[];
|
|
9971
11073
|
};
|
|
9972
11074
|
}>;
|
|
9973
11075
|
serializeWithMessagePack(): Buffer;
|
|
9974
11076
|
toBuffer(): Buffer;
|
|
9975
11077
|
static fromBuffer(buf: Buffer): AvmCircuitInputs;
|
|
9976
11078
|
}
|
|
11079
|
+
export declare class AvmFastSimulationInputs {
|
|
11080
|
+
readonly wsRevision: WorldStateRevision;
|
|
11081
|
+
tx: AvmTxHint;
|
|
11082
|
+
globalVariables: GlobalVariables;
|
|
11083
|
+
protocolContracts: ProtocolContracts;
|
|
11084
|
+
constructor(wsRevision: WorldStateRevision, tx: AvmTxHint, globalVariables: GlobalVariables, protocolContracts: ProtocolContracts);
|
|
11085
|
+
static empty(): AvmFastSimulationInputs;
|
|
11086
|
+
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
11087
|
+
wsRevision: z.ZodEffects<z.ZodObject<{
|
|
11088
|
+
forkId: z.ZodNumber;
|
|
11089
|
+
blockNumber: z.ZodNumber;
|
|
11090
|
+
includeUncommitted: z.ZodBoolean;
|
|
11091
|
+
}, "strip", z.ZodTypeAny, {
|
|
11092
|
+
blockNumber: number;
|
|
11093
|
+
forkId: number;
|
|
11094
|
+
includeUncommitted: boolean;
|
|
11095
|
+
}, {
|
|
11096
|
+
blockNumber: number;
|
|
11097
|
+
forkId: number;
|
|
11098
|
+
includeUncommitted: boolean;
|
|
11099
|
+
}>, WorldStateRevision, {
|
|
11100
|
+
blockNumber: number;
|
|
11101
|
+
forkId: number;
|
|
11102
|
+
includeUncommitted: boolean;
|
|
11103
|
+
}>;
|
|
11104
|
+
tx: z.ZodEffects<z.ZodObject<{
|
|
11105
|
+
hash: z.ZodString;
|
|
11106
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
11107
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
11108
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11109
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11110
|
+
}, "strip", z.ZodTypeAny, {
|
|
11111
|
+
daGas: number;
|
|
11112
|
+
l2Gas: number;
|
|
11113
|
+
}, {
|
|
11114
|
+
daGas: string | number | bigint;
|
|
11115
|
+
l2Gas: string | number | bigint;
|
|
11116
|
+
}>, Gas, {
|
|
11117
|
+
daGas: string | number | bigint;
|
|
11118
|
+
l2Gas: string | number | bigint;
|
|
11119
|
+
}>;
|
|
11120
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
11121
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11122
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11123
|
+
}, "strip", z.ZodTypeAny, {
|
|
11124
|
+
daGas: number;
|
|
11125
|
+
l2Gas: number;
|
|
11126
|
+
}, {
|
|
11127
|
+
daGas: string | number | bigint;
|
|
11128
|
+
l2Gas: string | number | bigint;
|
|
11129
|
+
}>, Gas, {
|
|
11130
|
+
daGas: string | number | bigint;
|
|
11131
|
+
l2Gas: string | number | bigint;
|
|
11132
|
+
}>;
|
|
11133
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
11134
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11135
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11136
|
+
}, "strip", z.ZodTypeAny, {
|
|
11137
|
+
feePerDaGas: bigint;
|
|
11138
|
+
feePerL2Gas: bigint;
|
|
11139
|
+
}, {
|
|
11140
|
+
feePerDaGas: string | number | bigint;
|
|
11141
|
+
feePerL2Gas: string | number | bigint;
|
|
11142
|
+
}>, GasFees, {
|
|
11143
|
+
feePerDaGas: string | number | bigint;
|
|
11144
|
+
feePerL2Gas: string | number | bigint;
|
|
11145
|
+
}>;
|
|
11146
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
11147
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11148
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11149
|
+
}, "strip", z.ZodTypeAny, {
|
|
11150
|
+
feePerDaGas: bigint;
|
|
11151
|
+
feePerL2Gas: bigint;
|
|
11152
|
+
}, {
|
|
11153
|
+
feePerDaGas: string | number | bigint;
|
|
11154
|
+
feePerL2Gas: string | number | bigint;
|
|
11155
|
+
}>, GasFees, {
|
|
11156
|
+
feePerDaGas: string | number | bigint;
|
|
11157
|
+
feePerL2Gas: string | number | bigint;
|
|
11158
|
+
}>;
|
|
11159
|
+
}, "strip", z.ZodTypeAny, {
|
|
11160
|
+
gasLimits: Gas;
|
|
11161
|
+
teardownGasLimits: Gas;
|
|
11162
|
+
maxFeesPerGas: GasFees;
|
|
11163
|
+
maxPriorityFeesPerGas: GasFees;
|
|
11164
|
+
}, {
|
|
11165
|
+
gasLimits: {
|
|
11166
|
+
daGas: string | number | bigint;
|
|
11167
|
+
l2Gas: string | number | bigint;
|
|
11168
|
+
};
|
|
11169
|
+
teardownGasLimits: {
|
|
11170
|
+
daGas: string | number | bigint;
|
|
11171
|
+
l2Gas: string | number | bigint;
|
|
11172
|
+
};
|
|
11173
|
+
maxFeesPerGas: {
|
|
11174
|
+
feePerDaGas: string | number | bigint;
|
|
11175
|
+
feePerL2Gas: string | number | bigint;
|
|
11176
|
+
};
|
|
11177
|
+
maxPriorityFeesPerGas: {
|
|
11178
|
+
feePerDaGas: string | number | bigint;
|
|
11179
|
+
feePerL2Gas: string | number | bigint;
|
|
11180
|
+
};
|
|
11181
|
+
}>, GasSettings, {
|
|
11182
|
+
gasLimits: {
|
|
11183
|
+
daGas: string | number | bigint;
|
|
11184
|
+
l2Gas: string | number | bigint;
|
|
11185
|
+
};
|
|
11186
|
+
teardownGasLimits: {
|
|
11187
|
+
daGas: string | number | bigint;
|
|
11188
|
+
l2Gas: string | number | bigint;
|
|
11189
|
+
};
|
|
11190
|
+
maxFeesPerGas: {
|
|
11191
|
+
feePerDaGas: string | number | bigint;
|
|
11192
|
+
feePerL2Gas: string | number | bigint;
|
|
11193
|
+
};
|
|
11194
|
+
maxPriorityFeesPerGas: {
|
|
11195
|
+
feePerDaGas: string | number | bigint;
|
|
11196
|
+
feePerL2Gas: string | number | bigint;
|
|
11197
|
+
};
|
|
11198
|
+
}>;
|
|
11199
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
11200
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11201
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11202
|
+
}, "strip", z.ZodTypeAny, {
|
|
11203
|
+
feePerDaGas: bigint;
|
|
11204
|
+
feePerL2Gas: bigint;
|
|
11205
|
+
}, {
|
|
11206
|
+
feePerDaGas: string | number | bigint;
|
|
11207
|
+
feePerL2Gas: string | number | bigint;
|
|
11208
|
+
}>, GasFees, {
|
|
11209
|
+
feePerDaGas: string | number | bigint;
|
|
11210
|
+
feePerL2Gas: string | number | bigint;
|
|
11211
|
+
}>;
|
|
11212
|
+
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
11213
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11214
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11215
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
11216
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11217
|
+
}, "strip", z.ZodTypeAny, {
|
|
11218
|
+
fields: Fr[];
|
|
11219
|
+
}, {
|
|
11220
|
+
fields: string[];
|
|
11221
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
11222
|
+
fields: string[];
|
|
11223
|
+
}>;
|
|
11224
|
+
emittedLength: z.ZodNumber;
|
|
11225
|
+
}, "strip", z.ZodTypeAny, {
|
|
11226
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
11227
|
+
contractAddress: AztecAddress;
|
|
11228
|
+
emittedLength: number;
|
|
11229
|
+
}, {
|
|
11230
|
+
fields: {
|
|
11231
|
+
fields: string[];
|
|
11232
|
+
};
|
|
11233
|
+
emittedLength: number;
|
|
11234
|
+
contractAddress?: any;
|
|
11235
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
11236
|
+
fields: {
|
|
11237
|
+
fields: string[];
|
|
11238
|
+
};
|
|
11239
|
+
emittedLength: number;
|
|
11240
|
+
contractAddress?: any;
|
|
11241
|
+
}>, "many">;
|
|
11242
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11243
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11244
|
+
emittedLength: z.ZodNumber;
|
|
11245
|
+
}, "strict", z.ZodTypeAny, {
|
|
11246
|
+
fields: Fr[];
|
|
11247
|
+
emittedLength: number;
|
|
11248
|
+
}, {
|
|
11249
|
+
fields: string[];
|
|
11250
|
+
emittedLength: number;
|
|
11251
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
11252
|
+
fields: string[];
|
|
11253
|
+
emittedLength: number;
|
|
11254
|
+
}>, "many">;
|
|
11255
|
+
}, "strip", z.ZodTypeAny, {
|
|
11256
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
11257
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
11258
|
+
}, {
|
|
11259
|
+
privateLogs: {
|
|
11260
|
+
fields: string[];
|
|
11261
|
+
emittedLength: number;
|
|
11262
|
+
}[];
|
|
11263
|
+
contractClassLogs: {
|
|
11264
|
+
fields: {
|
|
11265
|
+
fields: string[];
|
|
11266
|
+
};
|
|
11267
|
+
emittedLength: number;
|
|
11268
|
+
contractAddress?: any;
|
|
11269
|
+
}[];
|
|
11270
|
+
}>, ContractDeploymentData, {
|
|
11271
|
+
privateLogs: {
|
|
11272
|
+
fields: string[];
|
|
11273
|
+
emittedLength: number;
|
|
11274
|
+
}[];
|
|
11275
|
+
contractClassLogs: {
|
|
11276
|
+
fields: {
|
|
11277
|
+
fields: string[];
|
|
11278
|
+
};
|
|
11279
|
+
emittedLength: number;
|
|
11280
|
+
contractAddress?: any;
|
|
11281
|
+
}[];
|
|
11282
|
+
}>;
|
|
11283
|
+
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
11284
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11285
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11286
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
11287
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11288
|
+
}, "strip", z.ZodTypeAny, {
|
|
11289
|
+
fields: Fr[];
|
|
11290
|
+
}, {
|
|
11291
|
+
fields: string[];
|
|
11292
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
11293
|
+
fields: string[];
|
|
11294
|
+
}>;
|
|
11295
|
+
emittedLength: z.ZodNumber;
|
|
11296
|
+
}, "strip", z.ZodTypeAny, {
|
|
11297
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
11298
|
+
contractAddress: AztecAddress;
|
|
11299
|
+
emittedLength: number;
|
|
11300
|
+
}, {
|
|
11301
|
+
fields: {
|
|
11302
|
+
fields: string[];
|
|
11303
|
+
};
|
|
11304
|
+
emittedLength: number;
|
|
11305
|
+
contractAddress?: any;
|
|
11306
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
11307
|
+
fields: {
|
|
11308
|
+
fields: string[];
|
|
11309
|
+
};
|
|
11310
|
+
emittedLength: number;
|
|
11311
|
+
contractAddress?: any;
|
|
11312
|
+
}>, "many">;
|
|
11313
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11314
|
+
fields: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11315
|
+
emittedLength: z.ZodNumber;
|
|
11316
|
+
}, "strict", z.ZodTypeAny, {
|
|
11317
|
+
fields: Fr[];
|
|
11318
|
+
emittedLength: number;
|
|
11319
|
+
}, {
|
|
11320
|
+
fields: string[];
|
|
11321
|
+
emittedLength: number;
|
|
11322
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
11323
|
+
fields: string[];
|
|
11324
|
+
emittedLength: number;
|
|
11325
|
+
}>, "many">;
|
|
11326
|
+
}, "strip", z.ZodTypeAny, {
|
|
11327
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
11328
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
11329
|
+
}, {
|
|
11330
|
+
privateLogs: {
|
|
11331
|
+
fields: string[];
|
|
11332
|
+
emittedLength: number;
|
|
11333
|
+
}[];
|
|
11334
|
+
contractClassLogs: {
|
|
11335
|
+
fields: {
|
|
11336
|
+
fields: string[];
|
|
11337
|
+
};
|
|
11338
|
+
emittedLength: number;
|
|
11339
|
+
contractAddress?: any;
|
|
11340
|
+
}[];
|
|
11341
|
+
}>, ContractDeploymentData, {
|
|
11342
|
+
privateLogs: {
|
|
11343
|
+
fields: string[];
|
|
11344
|
+
emittedLength: number;
|
|
11345
|
+
}[];
|
|
11346
|
+
contractClassLogs: {
|
|
11347
|
+
fields: {
|
|
11348
|
+
fields: string[];
|
|
11349
|
+
};
|
|
11350
|
+
emittedLength: number;
|
|
11351
|
+
contractAddress?: any;
|
|
11352
|
+
}[];
|
|
11353
|
+
}>;
|
|
11354
|
+
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
11355
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11356
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11357
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11358
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
11359
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
11360
|
+
content: z.ZodType<Fr, any, string>;
|
|
11361
|
+
}, "strip", z.ZodTypeAny, {
|
|
11362
|
+
content: Fr;
|
|
11363
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
11364
|
+
}, {
|
|
11365
|
+
content: string;
|
|
11366
|
+
recipient: string;
|
|
11367
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
11368
|
+
content: string;
|
|
11369
|
+
recipient: string;
|
|
11370
|
+
}>;
|
|
11371
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11372
|
+
}, "strip", z.ZodTypeAny, {
|
|
11373
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
11374
|
+
contractAddress: AztecAddress;
|
|
11375
|
+
}, {
|
|
11376
|
+
message: {
|
|
11377
|
+
content: string;
|
|
11378
|
+
recipient: string;
|
|
11379
|
+
};
|
|
11380
|
+
contractAddress?: any;
|
|
11381
|
+
}>, ScopedL2ToL1Message, {
|
|
11382
|
+
message: {
|
|
11383
|
+
content: string;
|
|
11384
|
+
recipient: string;
|
|
11385
|
+
};
|
|
11386
|
+
contractAddress?: any;
|
|
11387
|
+
}>, "many">;
|
|
11388
|
+
}, "strip", z.ZodTypeAny, {
|
|
11389
|
+
noteHashes: Fr[];
|
|
11390
|
+
nullifiers: Fr[];
|
|
11391
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11392
|
+
}, {
|
|
11393
|
+
noteHashes: string[];
|
|
11394
|
+
nullifiers: string[];
|
|
11395
|
+
l2ToL1Messages: {
|
|
11396
|
+
message: {
|
|
11397
|
+
content: string;
|
|
11398
|
+
recipient: string;
|
|
11399
|
+
};
|
|
11400
|
+
contractAddress?: any;
|
|
11401
|
+
}[];
|
|
11402
|
+
}>;
|
|
11403
|
+
revertibleAccumulatedData: z.ZodObject<{
|
|
11404
|
+
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11405
|
+
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
11406
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11407
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
11408
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
11409
|
+
content: z.ZodType<Fr, any, string>;
|
|
11410
|
+
}, "strip", z.ZodTypeAny, {
|
|
11411
|
+
content: Fr;
|
|
11412
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
11413
|
+
}, {
|
|
11414
|
+
content: string;
|
|
11415
|
+
recipient: string;
|
|
11416
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
11417
|
+
content: string;
|
|
11418
|
+
recipient: string;
|
|
11419
|
+
}>;
|
|
11420
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11421
|
+
}, "strip", z.ZodTypeAny, {
|
|
11422
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
11423
|
+
contractAddress: AztecAddress;
|
|
11424
|
+
}, {
|
|
11425
|
+
message: {
|
|
11426
|
+
content: string;
|
|
11427
|
+
recipient: string;
|
|
11428
|
+
};
|
|
11429
|
+
contractAddress?: any;
|
|
11430
|
+
}>, ScopedL2ToL1Message, {
|
|
11431
|
+
message: {
|
|
11432
|
+
content: string;
|
|
11433
|
+
recipient: string;
|
|
11434
|
+
};
|
|
11435
|
+
contractAddress?: any;
|
|
11436
|
+
}>, "many">;
|
|
11437
|
+
}, "strip", z.ZodTypeAny, {
|
|
11438
|
+
noteHashes: Fr[];
|
|
11439
|
+
nullifiers: Fr[];
|
|
11440
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11441
|
+
}, {
|
|
11442
|
+
noteHashes: string[];
|
|
11443
|
+
nullifiers: string[];
|
|
11444
|
+
l2ToL1Messages: {
|
|
11445
|
+
message: {
|
|
11446
|
+
content: string;
|
|
11447
|
+
recipient: string;
|
|
11448
|
+
};
|
|
11449
|
+
contractAddress?: any;
|
|
11450
|
+
}[];
|
|
11451
|
+
}>;
|
|
11452
|
+
setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
11453
|
+
appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
11454
|
+
teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>>;
|
|
11455
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
11456
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11457
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11458
|
+
}, "strip", z.ZodTypeAny, {
|
|
11459
|
+
daGas: number;
|
|
11460
|
+
l2Gas: number;
|
|
11461
|
+
}, {
|
|
11462
|
+
daGas: string | number | bigint;
|
|
11463
|
+
l2Gas: string | number | bigint;
|
|
11464
|
+
}>, Gas, {
|
|
11465
|
+
daGas: string | number | bigint;
|
|
11466
|
+
l2Gas: string | number | bigint;
|
|
11467
|
+
}>;
|
|
11468
|
+
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11469
|
+
}, "strip", z.ZodTypeAny, {
|
|
11470
|
+
hash: string;
|
|
11471
|
+
gasSettings: GasSettings;
|
|
11472
|
+
nonRevertibleAccumulatedData: {
|
|
11473
|
+
noteHashes: Fr[];
|
|
11474
|
+
nullifiers: Fr[];
|
|
11475
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11476
|
+
};
|
|
11477
|
+
revertibleAccumulatedData: {
|
|
11478
|
+
noteHashes: Fr[];
|
|
11479
|
+
nullifiers: Fr[];
|
|
11480
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11481
|
+
};
|
|
11482
|
+
feePayer: AztecAddress;
|
|
11483
|
+
effectiveGasFees: GasFees;
|
|
11484
|
+
nonRevertibleContractDeploymentData: ContractDeploymentData;
|
|
11485
|
+
revertibleContractDeploymentData: ContractDeploymentData;
|
|
11486
|
+
setupEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
11487
|
+
appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
|
|
11488
|
+
teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
11489
|
+
gasUsedByPrivate: Gas;
|
|
11490
|
+
}, {
|
|
11491
|
+
hash: string;
|
|
11492
|
+
gasSettings: {
|
|
11493
|
+
gasLimits: {
|
|
11494
|
+
daGas: string | number | bigint;
|
|
11495
|
+
l2Gas: string | number | bigint;
|
|
11496
|
+
};
|
|
11497
|
+
teardownGasLimits: {
|
|
11498
|
+
daGas: string | number | bigint;
|
|
11499
|
+
l2Gas: string | number | bigint;
|
|
11500
|
+
};
|
|
11501
|
+
maxFeesPerGas: {
|
|
11502
|
+
feePerDaGas: string | number | bigint;
|
|
11503
|
+
feePerL2Gas: string | number | bigint;
|
|
11504
|
+
};
|
|
11505
|
+
maxPriorityFeesPerGas: {
|
|
11506
|
+
feePerDaGas: string | number | bigint;
|
|
11507
|
+
feePerL2Gas: string | number | bigint;
|
|
11508
|
+
};
|
|
11509
|
+
};
|
|
11510
|
+
nonRevertibleAccumulatedData: {
|
|
11511
|
+
noteHashes: string[];
|
|
11512
|
+
nullifiers: string[];
|
|
11513
|
+
l2ToL1Messages: {
|
|
11514
|
+
message: {
|
|
11515
|
+
content: string;
|
|
11516
|
+
recipient: string;
|
|
11517
|
+
};
|
|
11518
|
+
contractAddress?: any;
|
|
11519
|
+
}[];
|
|
11520
|
+
};
|
|
11521
|
+
revertibleAccumulatedData: {
|
|
11522
|
+
noteHashes: string[];
|
|
11523
|
+
nullifiers: string[];
|
|
11524
|
+
l2ToL1Messages: {
|
|
11525
|
+
message: {
|
|
11526
|
+
content: string;
|
|
11527
|
+
recipient: string;
|
|
11528
|
+
};
|
|
11529
|
+
contractAddress?: any;
|
|
11530
|
+
}[];
|
|
11531
|
+
};
|
|
11532
|
+
effectiveGasFees: {
|
|
11533
|
+
feePerDaGas: string | number | bigint;
|
|
11534
|
+
feePerL2Gas: string | number | bigint;
|
|
11535
|
+
};
|
|
11536
|
+
nonRevertibleContractDeploymentData: {
|
|
11537
|
+
privateLogs: {
|
|
11538
|
+
fields: string[];
|
|
11539
|
+
emittedLength: number;
|
|
11540
|
+
}[];
|
|
11541
|
+
contractClassLogs: {
|
|
11542
|
+
fields: {
|
|
11543
|
+
fields: string[];
|
|
11544
|
+
};
|
|
11545
|
+
emittedLength: number;
|
|
11546
|
+
contractAddress?: any;
|
|
11547
|
+
}[];
|
|
11548
|
+
};
|
|
11549
|
+
revertibleContractDeploymentData: {
|
|
11550
|
+
privateLogs: {
|
|
11551
|
+
fields: string[];
|
|
11552
|
+
emittedLength: number;
|
|
11553
|
+
}[];
|
|
11554
|
+
contractClassLogs: {
|
|
11555
|
+
fields: {
|
|
11556
|
+
fields: string[];
|
|
11557
|
+
};
|
|
11558
|
+
emittedLength: number;
|
|
11559
|
+
contractAddress?: any;
|
|
11560
|
+
}[];
|
|
11561
|
+
};
|
|
11562
|
+
setupEnqueuedCalls: any[];
|
|
11563
|
+
appLogicEnqueuedCalls: any[];
|
|
11564
|
+
gasUsedByPrivate: {
|
|
11565
|
+
daGas: string | number | bigint;
|
|
11566
|
+
l2Gas: string | number | bigint;
|
|
11567
|
+
};
|
|
11568
|
+
feePayer?: any;
|
|
11569
|
+
teardownEnqueuedCall?: any;
|
|
11570
|
+
}>, AvmTxHint, {
|
|
11571
|
+
hash: string;
|
|
11572
|
+
gasSettings: {
|
|
11573
|
+
gasLimits: {
|
|
11574
|
+
daGas: string | number | bigint;
|
|
11575
|
+
l2Gas: string | number | bigint;
|
|
11576
|
+
};
|
|
11577
|
+
teardownGasLimits: {
|
|
11578
|
+
daGas: string | number | bigint;
|
|
11579
|
+
l2Gas: string | number | bigint;
|
|
11580
|
+
};
|
|
11581
|
+
maxFeesPerGas: {
|
|
11582
|
+
feePerDaGas: string | number | bigint;
|
|
11583
|
+
feePerL2Gas: string | number | bigint;
|
|
11584
|
+
};
|
|
11585
|
+
maxPriorityFeesPerGas: {
|
|
11586
|
+
feePerDaGas: string | number | bigint;
|
|
11587
|
+
feePerL2Gas: string | number | bigint;
|
|
11588
|
+
};
|
|
11589
|
+
};
|
|
11590
|
+
nonRevertibleAccumulatedData: {
|
|
11591
|
+
noteHashes: string[];
|
|
11592
|
+
nullifiers: string[];
|
|
11593
|
+
l2ToL1Messages: {
|
|
11594
|
+
message: {
|
|
11595
|
+
content: string;
|
|
11596
|
+
recipient: string;
|
|
11597
|
+
};
|
|
11598
|
+
contractAddress?: any;
|
|
11599
|
+
}[];
|
|
11600
|
+
};
|
|
11601
|
+
revertibleAccumulatedData: {
|
|
11602
|
+
noteHashes: string[];
|
|
11603
|
+
nullifiers: string[];
|
|
11604
|
+
l2ToL1Messages: {
|
|
11605
|
+
message: {
|
|
11606
|
+
content: string;
|
|
11607
|
+
recipient: string;
|
|
11608
|
+
};
|
|
11609
|
+
contractAddress?: any;
|
|
11610
|
+
}[];
|
|
11611
|
+
};
|
|
11612
|
+
effectiveGasFees: {
|
|
11613
|
+
feePerDaGas: string | number | bigint;
|
|
11614
|
+
feePerL2Gas: string | number | bigint;
|
|
11615
|
+
};
|
|
11616
|
+
nonRevertibleContractDeploymentData: {
|
|
11617
|
+
privateLogs: {
|
|
11618
|
+
fields: string[];
|
|
11619
|
+
emittedLength: number;
|
|
11620
|
+
}[];
|
|
11621
|
+
contractClassLogs: {
|
|
11622
|
+
fields: {
|
|
11623
|
+
fields: string[];
|
|
11624
|
+
};
|
|
11625
|
+
emittedLength: number;
|
|
11626
|
+
contractAddress?: any;
|
|
11627
|
+
}[];
|
|
11628
|
+
};
|
|
11629
|
+
revertibleContractDeploymentData: {
|
|
11630
|
+
privateLogs: {
|
|
11631
|
+
fields: string[];
|
|
11632
|
+
emittedLength: number;
|
|
11633
|
+
}[];
|
|
11634
|
+
contractClassLogs: {
|
|
11635
|
+
fields: {
|
|
11636
|
+
fields: string[];
|
|
11637
|
+
};
|
|
11638
|
+
emittedLength: number;
|
|
11639
|
+
contractAddress?: any;
|
|
11640
|
+
}[];
|
|
11641
|
+
};
|
|
11642
|
+
setupEnqueuedCalls: any[];
|
|
11643
|
+
appLogicEnqueuedCalls: any[];
|
|
11644
|
+
gasUsedByPrivate: {
|
|
11645
|
+
daGas: string | number | bigint;
|
|
11646
|
+
l2Gas: string | number | bigint;
|
|
11647
|
+
};
|
|
11648
|
+
feePayer?: any;
|
|
11649
|
+
teardownEnqueuedCall?: any;
|
|
11650
|
+
}>;
|
|
11651
|
+
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
11652
|
+
chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
11653
|
+
version: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
11654
|
+
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11655
|
+
slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
11656
|
+
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11657
|
+
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
11658
|
+
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
11659
|
+
gasFees: z.ZodEffects<z.ZodObject<{
|
|
11660
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11661
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11662
|
+
}, "strip", z.ZodTypeAny, {
|
|
11663
|
+
feePerDaGas: bigint;
|
|
11664
|
+
feePerL2Gas: bigint;
|
|
11665
|
+
}, {
|
|
11666
|
+
feePerDaGas: string | number | bigint;
|
|
11667
|
+
feePerL2Gas: string | number | bigint;
|
|
11668
|
+
}>, GasFees, {
|
|
11669
|
+
feePerDaGas: string | number | bigint;
|
|
11670
|
+
feePerL2Gas: string | number | bigint;
|
|
11671
|
+
}>;
|
|
11672
|
+
}, "strip", z.ZodTypeAny, {
|
|
11673
|
+
chainId: Fr;
|
|
11674
|
+
version: Fr;
|
|
11675
|
+
blockNumber: number;
|
|
11676
|
+
slotNumber: Fr;
|
|
11677
|
+
timestamp: bigint;
|
|
11678
|
+
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
11679
|
+
feeRecipient: AztecAddress;
|
|
11680
|
+
gasFees: GasFees;
|
|
11681
|
+
}, {
|
|
11682
|
+
blockNumber: string | number | bigint;
|
|
11683
|
+
timestamp: string | number | bigint;
|
|
11684
|
+
gasFees: {
|
|
11685
|
+
feePerDaGas: string | number | bigint;
|
|
11686
|
+
feePerL2Gas: string | number | bigint;
|
|
11687
|
+
};
|
|
11688
|
+
chainId?: any;
|
|
11689
|
+
version?: any;
|
|
11690
|
+
slotNumber?: any;
|
|
11691
|
+
coinbase?: any;
|
|
11692
|
+
feeRecipient?: any;
|
|
11693
|
+
}>, GlobalVariables, {
|
|
11694
|
+
blockNumber: string | number | bigint;
|
|
11695
|
+
timestamp: string | number | bigint;
|
|
11696
|
+
gasFees: {
|
|
11697
|
+
feePerDaGas: string | number | bigint;
|
|
11698
|
+
feePerL2Gas: string | number | bigint;
|
|
11699
|
+
};
|
|
11700
|
+
chainId?: any;
|
|
11701
|
+
version?: any;
|
|
11702
|
+
slotNumber?: any;
|
|
11703
|
+
coinbase?: any;
|
|
11704
|
+
feeRecipient?: any;
|
|
11705
|
+
}>;
|
|
11706
|
+
protocolContracts: z.ZodEffects<z.ZodObject<{
|
|
11707
|
+
derivedAddresses: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<AztecAddress>, "many">;
|
|
11708
|
+
}, "strip", z.ZodTypeAny, {
|
|
11709
|
+
derivedAddresses: AztecAddress[];
|
|
11710
|
+
}, {
|
|
11711
|
+
derivedAddresses: any[];
|
|
11712
|
+
}>, ProtocolContracts, {
|
|
11713
|
+
derivedAddresses: any[];
|
|
11714
|
+
}>;
|
|
11715
|
+
}, "strip", z.ZodTypeAny, {
|
|
11716
|
+
globalVariables: GlobalVariables;
|
|
11717
|
+
protocolContracts: ProtocolContracts;
|
|
11718
|
+
tx: AvmTxHint;
|
|
11719
|
+
wsRevision: WorldStateRevision;
|
|
11720
|
+
}, {
|
|
11721
|
+
globalVariables: {
|
|
11722
|
+
blockNumber: string | number | bigint;
|
|
11723
|
+
timestamp: string | number | bigint;
|
|
11724
|
+
gasFees: {
|
|
11725
|
+
feePerDaGas: string | number | bigint;
|
|
11726
|
+
feePerL2Gas: string | number | bigint;
|
|
11727
|
+
};
|
|
11728
|
+
chainId?: any;
|
|
11729
|
+
version?: any;
|
|
11730
|
+
slotNumber?: any;
|
|
11731
|
+
coinbase?: any;
|
|
11732
|
+
feeRecipient?: any;
|
|
11733
|
+
};
|
|
11734
|
+
protocolContracts: {
|
|
11735
|
+
derivedAddresses: any[];
|
|
11736
|
+
};
|
|
11737
|
+
tx: {
|
|
11738
|
+
hash: string;
|
|
11739
|
+
gasSettings: {
|
|
11740
|
+
gasLimits: {
|
|
11741
|
+
daGas: string | number | bigint;
|
|
11742
|
+
l2Gas: string | number | bigint;
|
|
11743
|
+
};
|
|
11744
|
+
teardownGasLimits: {
|
|
11745
|
+
daGas: string | number | bigint;
|
|
11746
|
+
l2Gas: string | number | bigint;
|
|
11747
|
+
};
|
|
11748
|
+
maxFeesPerGas: {
|
|
11749
|
+
feePerDaGas: string | number | bigint;
|
|
11750
|
+
feePerL2Gas: string | number | bigint;
|
|
11751
|
+
};
|
|
11752
|
+
maxPriorityFeesPerGas: {
|
|
11753
|
+
feePerDaGas: string | number | bigint;
|
|
11754
|
+
feePerL2Gas: string | number | bigint;
|
|
11755
|
+
};
|
|
11756
|
+
};
|
|
11757
|
+
nonRevertibleAccumulatedData: {
|
|
11758
|
+
noteHashes: string[];
|
|
11759
|
+
nullifiers: string[];
|
|
11760
|
+
l2ToL1Messages: {
|
|
11761
|
+
message: {
|
|
11762
|
+
content: string;
|
|
11763
|
+
recipient: string;
|
|
11764
|
+
};
|
|
11765
|
+
contractAddress?: any;
|
|
11766
|
+
}[];
|
|
11767
|
+
};
|
|
11768
|
+
revertibleAccumulatedData: {
|
|
11769
|
+
noteHashes: string[];
|
|
11770
|
+
nullifiers: string[];
|
|
11771
|
+
l2ToL1Messages: {
|
|
11772
|
+
message: {
|
|
11773
|
+
content: string;
|
|
11774
|
+
recipient: string;
|
|
11775
|
+
};
|
|
11776
|
+
contractAddress?: any;
|
|
11777
|
+
}[];
|
|
11778
|
+
};
|
|
11779
|
+
effectiveGasFees: {
|
|
11780
|
+
feePerDaGas: string | number | bigint;
|
|
11781
|
+
feePerL2Gas: string | number | bigint;
|
|
11782
|
+
};
|
|
11783
|
+
nonRevertibleContractDeploymentData: {
|
|
11784
|
+
privateLogs: {
|
|
11785
|
+
fields: string[];
|
|
11786
|
+
emittedLength: number;
|
|
11787
|
+
}[];
|
|
11788
|
+
contractClassLogs: {
|
|
11789
|
+
fields: {
|
|
11790
|
+
fields: string[];
|
|
11791
|
+
};
|
|
11792
|
+
emittedLength: number;
|
|
11793
|
+
contractAddress?: any;
|
|
11794
|
+
}[];
|
|
11795
|
+
};
|
|
11796
|
+
revertibleContractDeploymentData: {
|
|
11797
|
+
privateLogs: {
|
|
11798
|
+
fields: string[];
|
|
11799
|
+
emittedLength: number;
|
|
11800
|
+
}[];
|
|
11801
|
+
contractClassLogs: {
|
|
11802
|
+
fields: {
|
|
11803
|
+
fields: string[];
|
|
11804
|
+
};
|
|
11805
|
+
emittedLength: number;
|
|
11806
|
+
contractAddress?: any;
|
|
11807
|
+
}[];
|
|
11808
|
+
};
|
|
11809
|
+
setupEnqueuedCalls: any[];
|
|
11810
|
+
appLogicEnqueuedCalls: any[];
|
|
11811
|
+
gasUsedByPrivate: {
|
|
11812
|
+
daGas: string | number | bigint;
|
|
11813
|
+
l2Gas: string | number | bigint;
|
|
11814
|
+
};
|
|
11815
|
+
feePayer?: any;
|
|
11816
|
+
teardownEnqueuedCall?: any;
|
|
11817
|
+
};
|
|
11818
|
+
wsRevision: {
|
|
11819
|
+
blockNumber: number;
|
|
11820
|
+
forkId: number;
|
|
11821
|
+
includeUncommitted: boolean;
|
|
11822
|
+
};
|
|
11823
|
+
}>, AvmFastSimulationInputs, {
|
|
11824
|
+
globalVariables: {
|
|
11825
|
+
blockNumber: string | number | bigint;
|
|
11826
|
+
timestamp: string | number | bigint;
|
|
11827
|
+
gasFees: {
|
|
11828
|
+
feePerDaGas: string | number | bigint;
|
|
11829
|
+
feePerL2Gas: string | number | bigint;
|
|
11830
|
+
};
|
|
11831
|
+
chainId?: any;
|
|
11832
|
+
version?: any;
|
|
11833
|
+
slotNumber?: any;
|
|
11834
|
+
coinbase?: any;
|
|
11835
|
+
feeRecipient?: any;
|
|
11836
|
+
};
|
|
11837
|
+
protocolContracts: {
|
|
11838
|
+
derivedAddresses: any[];
|
|
11839
|
+
};
|
|
11840
|
+
tx: {
|
|
11841
|
+
hash: string;
|
|
11842
|
+
gasSettings: {
|
|
11843
|
+
gasLimits: {
|
|
11844
|
+
daGas: string | number | bigint;
|
|
11845
|
+
l2Gas: string | number | bigint;
|
|
11846
|
+
};
|
|
11847
|
+
teardownGasLimits: {
|
|
11848
|
+
daGas: string | number | bigint;
|
|
11849
|
+
l2Gas: string | number | bigint;
|
|
11850
|
+
};
|
|
11851
|
+
maxFeesPerGas: {
|
|
11852
|
+
feePerDaGas: string | number | bigint;
|
|
11853
|
+
feePerL2Gas: string | number | bigint;
|
|
11854
|
+
};
|
|
11855
|
+
maxPriorityFeesPerGas: {
|
|
11856
|
+
feePerDaGas: string | number | bigint;
|
|
11857
|
+
feePerL2Gas: string | number | bigint;
|
|
11858
|
+
};
|
|
11859
|
+
};
|
|
11860
|
+
nonRevertibleAccumulatedData: {
|
|
11861
|
+
noteHashes: string[];
|
|
11862
|
+
nullifiers: string[];
|
|
11863
|
+
l2ToL1Messages: {
|
|
11864
|
+
message: {
|
|
11865
|
+
content: string;
|
|
11866
|
+
recipient: string;
|
|
11867
|
+
};
|
|
11868
|
+
contractAddress?: any;
|
|
11869
|
+
}[];
|
|
11870
|
+
};
|
|
11871
|
+
revertibleAccumulatedData: {
|
|
11872
|
+
noteHashes: string[];
|
|
11873
|
+
nullifiers: string[];
|
|
11874
|
+
l2ToL1Messages: {
|
|
11875
|
+
message: {
|
|
11876
|
+
content: string;
|
|
11877
|
+
recipient: string;
|
|
11878
|
+
};
|
|
11879
|
+
contractAddress?: any;
|
|
11880
|
+
}[];
|
|
11881
|
+
};
|
|
11882
|
+
effectiveGasFees: {
|
|
11883
|
+
feePerDaGas: string | number | bigint;
|
|
11884
|
+
feePerL2Gas: string | number | bigint;
|
|
11885
|
+
};
|
|
11886
|
+
nonRevertibleContractDeploymentData: {
|
|
11887
|
+
privateLogs: {
|
|
11888
|
+
fields: string[];
|
|
11889
|
+
emittedLength: number;
|
|
11890
|
+
}[];
|
|
11891
|
+
contractClassLogs: {
|
|
11892
|
+
fields: {
|
|
11893
|
+
fields: string[];
|
|
11894
|
+
};
|
|
11895
|
+
emittedLength: number;
|
|
11896
|
+
contractAddress?: any;
|
|
11897
|
+
}[];
|
|
11898
|
+
};
|
|
11899
|
+
revertibleContractDeploymentData: {
|
|
11900
|
+
privateLogs: {
|
|
11901
|
+
fields: string[];
|
|
11902
|
+
emittedLength: number;
|
|
11903
|
+
}[];
|
|
11904
|
+
contractClassLogs: {
|
|
11905
|
+
fields: {
|
|
11906
|
+
fields: string[];
|
|
11907
|
+
};
|
|
11908
|
+
emittedLength: number;
|
|
11909
|
+
contractAddress?: any;
|
|
11910
|
+
}[];
|
|
11911
|
+
};
|
|
11912
|
+
setupEnqueuedCalls: any[];
|
|
11913
|
+
appLogicEnqueuedCalls: any[];
|
|
11914
|
+
gasUsedByPrivate: {
|
|
11915
|
+
daGas: string | number | bigint;
|
|
11916
|
+
l2Gas: string | number | bigint;
|
|
11917
|
+
};
|
|
11918
|
+
feePayer?: any;
|
|
11919
|
+
teardownEnqueuedCall?: any;
|
|
11920
|
+
};
|
|
11921
|
+
wsRevision: {
|
|
11922
|
+
blockNumber: number;
|
|
11923
|
+
forkId: number;
|
|
11924
|
+
includeUncommitted: boolean;
|
|
11925
|
+
};
|
|
11926
|
+
}>;
|
|
11927
|
+
serializeWithMessagePack(): Buffer;
|
|
11928
|
+
}
|
|
9977
11929
|
export {};
|
|
9978
11930
|
//# sourceMappingURL=avm.d.ts.map
|