@aztec/stdlib 3.0.0-nightly.20251013 → 3.0.0-nightly.20251015
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/abi/abi.d.ts +8 -8
- package/dest/abi/abi.js +1 -1
- package/dest/abi/contract_artifact.js +3 -0
- package/dest/abi/function_call.d.ts +7 -2
- package/dest/abi/function_call.d.ts.map +1 -1
- package/dest/abi/function_call.js +6 -2
- package/dest/avm/avm.d.ts +54 -54
- package/dest/avm/avm_proving_request.d.ts +30 -30
- package/dest/contract/interfaces/contract_instance.d.ts +2 -2
- package/dest/interfaces/proving-job.d.ts +30 -30
- package/dest/kernel/private_call_data.d.ts +1 -1
- package/dest/kernel/private_circuit_public_inputs.d.ts +1 -1
- package/dest/kernel/private_to_public_accumulated_data.d.ts +1 -1
- package/dest/kernel/private_to_rollup_accumulated_data.d.ts +1 -1
- package/dest/keys/derivation.d.ts +0 -2
- package/dest/keys/derivation.d.ts.map +1 -1
- package/dest/keys/derivation.js +1 -21
- package/dest/logs/directional_app_tagging_secret.d.ts +40 -0
- package/dest/logs/directional_app_tagging_secret.d.ts.map +1 -0
- package/dest/logs/directional_app_tagging_secret.js +64 -0
- package/dest/logs/index.d.ts +1 -0
- package/dest/logs/index.d.ts.map +1 -1
- package/dest/logs/index.js +1 -0
- package/dest/logs/indexed_tagging_secret.d.ts +32 -26
- package/dest/logs/indexed_tagging_secret.d.ts.map +1 -1
- package/dest/logs/indexed_tagging_secret.js +7 -50
- package/dest/noir/index.d.ts +2 -0
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/rollup/base_rollup_hints.d.ts +2 -2
- package/dest/rollup/block_root_rollup_private_inputs.d.ts +5 -5
- package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +1 -0
- package/dest/rollup/checkpoint_rollup_public_inputs.d.ts.map +1 -1
- package/dest/rollup/checkpoint_rollup_public_inputs.js +3 -0
- package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts +1 -1
- package/dest/rollup/tree_snapshot_diff_hints.d.ts +1 -1
- package/dest/tests/factories.d.ts +2 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +15 -9
- package/dest/tests/mocks.d.ts +3 -1
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +4 -2
- package/dest/trees/merkle_tree_id.d.ts +4 -4
- package/dest/trees/nullifier_membership_witness.d.ts +3 -3
- package/dest/tx/private_execution_result.d.ts +5 -0
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/private_execution_result.js +7 -3
- package/dest/tx/simulated_tx.d.ts +3 -3
- package/package.json +8 -8
- package/src/abi/abi.ts +1 -1
- package/src/abi/contract_artifact.ts +3 -0
- package/src/abi/function_call.ts +5 -1
- package/src/keys/derivation.ts +1 -26
- package/src/logs/directional_app_tagging_secret.ts +78 -0
- package/src/logs/index.ts +1 -0
- package/src/logs/indexed_tagging_secret.ts +21 -44
- package/src/noir/index.ts +2 -0
- package/src/rollup/checkpoint_rollup_public_inputs.ts +4 -0
- package/src/tests/factories.ts +11 -4
- package/src/tests/mocks.ts +5 -0
- package/src/tx/private_execution_result.ts +6 -0
package/dest/abi/abi.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare const FunctionAbiSchema: z.ZodObject<{
|
|
|
165
165
|
visibility: "public" | "private" | "databus";
|
|
166
166
|
}>, "many">;
|
|
167
167
|
returnTypes: z.ZodArray<z.ZodType<AbiType, z.ZodTypeDef, AbiType>, "many">;
|
|
168
|
-
errorTypes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
168
|
+
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
169
169
|
error_kind: z.ZodLiteral<"string">;
|
|
170
170
|
string: z.ZodString;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -192,7 +192,7 @@ export declare const FunctionAbiSchema: z.ZodObject<{
|
|
|
192
192
|
error_kind: "custom";
|
|
193
193
|
}, {
|
|
194
194
|
error_kind: "custom";
|
|
195
|
-
}>, z.ZodType<AbiType, z.ZodTypeDef, AbiType>>]
|
|
195
|
+
}>, z.ZodType<AbiType, z.ZodTypeDef, AbiType>>]>>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
name: string;
|
|
198
198
|
parameters: {
|
|
@@ -214,7 +214,7 @@ export declare const FunctionAbiSchema: z.ZodObject<{
|
|
|
214
214
|
item_types: AbiType[];
|
|
215
215
|
} | ({
|
|
216
216
|
error_kind: "custom";
|
|
217
|
-
} & AbiType)>;
|
|
217
|
+
} & AbiType) | undefined>;
|
|
218
218
|
}, {
|
|
219
219
|
name: string;
|
|
220
220
|
parameters: {
|
|
@@ -236,7 +236,7 @@ export declare const FunctionAbiSchema: z.ZodObject<{
|
|
|
236
236
|
item_types: AbiType[];
|
|
237
237
|
} | ({
|
|
238
238
|
error_kind: "custom";
|
|
239
|
-
} & AbiType)>;
|
|
239
|
+
} & AbiType) | undefined>;
|
|
240
240
|
}>;
|
|
241
241
|
/** Debug metadata for a function. */
|
|
242
242
|
export interface FunctionDebugMetadata {
|
|
@@ -438,7 +438,7 @@ export declare const FunctionArtifactSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
438
438
|
visibility: "public" | "private" | "databus";
|
|
439
439
|
}>, "many">;
|
|
440
440
|
returnTypes: z.ZodArray<z.ZodType<AbiType, z.ZodTypeDef, AbiType>, "many">;
|
|
441
|
-
errorTypes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
441
|
+
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
442
442
|
error_kind: z.ZodLiteral<"string">;
|
|
443
443
|
string: z.ZodString;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -465,7 +465,7 @@ export declare const FunctionArtifactSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
465
465
|
error_kind: "custom";
|
|
466
466
|
}, {
|
|
467
467
|
error_kind: "custom";
|
|
468
|
-
}>, z.ZodType<AbiType, z.ZodTypeDef, AbiType>>]
|
|
468
|
+
}>, z.ZodType<AbiType, z.ZodTypeDef, AbiType>>]>>>;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
470
|
name: string;
|
|
471
471
|
parameters: {
|
|
@@ -487,7 +487,7 @@ export declare const FunctionArtifactSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
487
487
|
item_types: AbiType[];
|
|
488
488
|
} | ({
|
|
489
489
|
error_kind: "custom";
|
|
490
|
-
} & AbiType)>;
|
|
490
|
+
} & AbiType) | undefined>;
|
|
491
491
|
}, {
|
|
492
492
|
name: string;
|
|
493
493
|
parameters: {
|
|
@@ -509,7 +509,7 @@ export declare const FunctionArtifactSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
509
509
|
item_types: AbiType[];
|
|
510
510
|
} | ({
|
|
511
511
|
error_kind: "custom";
|
|
512
|
-
} & AbiType)>;
|
|
512
|
+
} & AbiType) | undefined>;
|
|
513
513
|
}>, z.ZodObject<{
|
|
514
514
|
bytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
|
|
515
515
|
type: z.ZodLiteral<"Buffer">;
|
package/dest/abi/abi.js
CHANGED
|
@@ -113,7 +113,7 @@ export const FunctionAbiSchema = z.object({
|
|
|
113
113
|
visibility: z.enum(ABIParameterVisibility)
|
|
114
114
|
})),
|
|
115
115
|
returnTypes: z.array(AbiTypeSchema),
|
|
116
|
-
errorTypes: z.record(AbiErrorTypeSchema)
|
|
116
|
+
errorTypes: z.record(z.string(), AbiErrorTypeSchema.optional())
|
|
117
117
|
});
|
|
118
118
|
export const FunctionDebugMetadataSchema = z.object({
|
|
119
119
|
debugSymbols: z.object({
|
|
@@ -220,6 +220,9 @@ function getFunctionType(fn) {
|
|
|
220
220
|
* @returns Aztec contract build artifact.
|
|
221
221
|
*/ function generateContractArtifact(contract) {
|
|
222
222
|
try {
|
|
223
|
+
if (!contract.transpiled) {
|
|
224
|
+
throw new Error("Contract's public bytecode has not been transpiled");
|
|
225
|
+
}
|
|
223
226
|
return ContractArtifactSchema.parse({
|
|
224
227
|
name: contract.name,
|
|
225
228
|
functions: contract.functions.filter((f)=>retainBytecode(f)).map((f)=>generateFunctionArtifact(f, contract)),
|
|
@@ -3,7 +3,7 @@ import type { FieldsOf } from '@aztec/foundation/types';
|
|
|
3
3
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
4
4
|
import { type AbiType, FunctionType } from './abi.js';
|
|
5
5
|
import { FunctionSelector } from './function_selector.js';
|
|
6
|
-
/** A request to call a function on a contract
|
|
6
|
+
/** A request to call a function on a contract. */
|
|
7
7
|
export declare class FunctionCall {
|
|
8
8
|
/** The name of the function to call */
|
|
9
9
|
name: string;
|
|
@@ -13,6 +13,8 @@ export declare class FunctionCall {
|
|
|
13
13
|
selector: FunctionSelector;
|
|
14
14
|
/** Type of the function */
|
|
15
15
|
type: FunctionType;
|
|
16
|
+
/** Only applicable for enqueued public function calls. `hideMsgSender = true` will set the msg_sender field (the caller's address) to "null", meaning the public function (and observers around the world) won't know which smart contract address made the call. */
|
|
17
|
+
hideMsgSender: boolean;
|
|
16
18
|
/** Whether this call can make modifications to state or not */
|
|
17
19
|
isStatic: boolean;
|
|
18
20
|
/** The encoded args */
|
|
@@ -28,13 +30,15 @@ export declare class FunctionCall {
|
|
|
28
30
|
selector: FunctionSelector,
|
|
29
31
|
/** Type of the function */
|
|
30
32
|
type: FunctionType,
|
|
33
|
+
/** Only applicable for enqueued public function calls. `hideMsgSender = true` will set the msg_sender field (the caller's address) to "null", meaning the public function (and observers around the world) won't know which smart contract address made the call. */
|
|
34
|
+
hideMsgSender: boolean,
|
|
31
35
|
/** Whether this call can make modifications to state or not */
|
|
32
36
|
isStatic: boolean,
|
|
33
37
|
/** The encoded args */
|
|
34
38
|
args: Fr[],
|
|
35
39
|
/** The return type for decoding */
|
|
36
40
|
returnTypes: AbiType[]);
|
|
37
|
-
static getFields(fields: FieldsOf<FunctionCall>): readonly [string, AztecAddress, FunctionSelector, FunctionType, boolean, Fr[], AbiType[]];
|
|
41
|
+
static getFields(fields: FieldsOf<FunctionCall>): readonly [string, AztecAddress, FunctionSelector, FunctionType, boolean, boolean, Fr[], AbiType[]];
|
|
38
42
|
static from(fields: FieldsOf<FunctionCall>): FunctionCall;
|
|
39
43
|
/**
|
|
40
44
|
* Creates an empty function call.
|
|
@@ -45,6 +49,7 @@ export declare class FunctionCall {
|
|
|
45
49
|
to: AztecAddress;
|
|
46
50
|
selector: FunctionSelector;
|
|
47
51
|
type: FunctionType;
|
|
52
|
+
hideMsgSender: boolean;
|
|
48
53
|
isStatic: boolean;
|
|
49
54
|
args: never[];
|
|
50
55
|
returnTypes: never[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function_call.d.ts","sourceRoot":"","sources":["../../src/abi/function_call.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,
|
|
1
|
+
{"version":3,"file":"function_call.d.ts","sourceRoot":"","sources":["../../src/abi/function_call.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,kDAAkD;AAClD,qBAAa,YAAY;IAErB,uCAAuC;IAChC,IAAI,EAAE,MAAM;IACnB,6BAA6B;IACtB,EAAE,EAAE,YAAY;IACvB,gCAAgC;IACzB,QAAQ,EAAE,gBAAgB;IACjC,2BAA2B;IACpB,IAAI,EAAE,YAAY;IACzB,qQAAqQ;IAC9P,aAAa,EAAE,OAAO;IAC7B,+DAA+D;IACxD,QAAQ,EAAE,OAAO;IACxB,uBAAuB;IAChB,IAAI,EAAE,EAAE,EAAE;IACjB,mCAAmC;IAC5B,WAAW,EAAE,OAAO,EAAE;;IAf7B,uCAAuC;IAChC,IAAI,EAAE,MAAM;IACnB,6BAA6B;IACtB,EAAE,EAAE,YAAY;IACvB,gCAAgC;IACzB,QAAQ,EAAE,gBAAgB;IACjC,2BAA2B;IACpB,IAAI,EAAE,YAAY;IACzB,qQAAqQ;IAC9P,aAAa,EAAE,OAAO;IAC7B,+DAA+D;IACxD,QAAQ,EAAE,OAAO;IACxB,uBAAuB;IAChB,IAAI,EAAE,EAAE,EAAE;IACjB,mCAAmC;IAC5B,WAAW,EAAE,OAAO,EAAE;IAG/B,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;IAa/C,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,YAAY;IAIzD;;;OAGG;WACW,KAAK;;;;;;;;;;CAYpB"}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
2
2
|
import { FunctionType } from './abi.js';
|
|
3
3
|
import { FunctionSelector } from './function_selector.js';
|
|
4
|
-
/** A request to call a function on a contract
|
|
4
|
+
/** A request to call a function on a contract. */ export class FunctionCall {
|
|
5
5
|
name;
|
|
6
6
|
to;
|
|
7
7
|
selector;
|
|
8
8
|
type;
|
|
9
|
+
hideMsgSender;
|
|
9
10
|
isStatic;
|
|
10
11
|
args;
|
|
11
12
|
returnTypes;
|
|
12
|
-
constructor(/** The name of the function to call */ name, /** The recipient contract */ to, /** The function being called */ selector, /** Type of the function */ type, /** Whether this call can make modifications to state or not */ isStatic, /** The encoded args */ args, /** The return type for decoding */ returnTypes){
|
|
13
|
+
constructor(/** The name of the function to call */ name, /** The recipient contract */ to, /** The function being called */ selector, /** Type of the function */ type, /** Only applicable for enqueued public function calls. `hideMsgSender = true` will set the msg_sender field (the caller's address) to "null", meaning the public function (and observers around the world) won't know which smart contract address made the call. */ hideMsgSender, /** Whether this call can make modifications to state or not */ isStatic, /** The encoded args */ args, /** The return type for decoding */ returnTypes){
|
|
13
14
|
this.name = name;
|
|
14
15
|
this.to = to;
|
|
15
16
|
this.selector = selector;
|
|
16
17
|
this.type = type;
|
|
18
|
+
this.hideMsgSender = hideMsgSender;
|
|
17
19
|
this.isStatic = isStatic;
|
|
18
20
|
this.args = args;
|
|
19
21
|
this.returnTypes = returnTypes;
|
|
@@ -24,6 +26,7 @@ import { FunctionSelector } from './function_selector.js';
|
|
|
24
26
|
fields.to,
|
|
25
27
|
fields.selector,
|
|
26
28
|
fields.type,
|
|
29
|
+
fields.hideMsgSender,
|
|
27
30
|
fields.isStatic,
|
|
28
31
|
fields.args,
|
|
29
32
|
fields.returnTypes
|
|
@@ -41,6 +44,7 @@ import { FunctionSelector } from './function_selector.js';
|
|
|
41
44
|
to: AztecAddress.ZERO,
|
|
42
45
|
selector: FunctionSelector.empty(),
|
|
43
46
|
type: FunctionType.PUBLIC,
|
|
47
|
+
hideMsgSender: false,
|
|
44
48
|
isStatic: false,
|
|
45
49
|
args: [],
|
|
46
50
|
returnTypes: []
|
package/dest/avm/avm.d.ts
CHANGED
|
@@ -115,38 +115,38 @@ export declare class AvmContractInstanceHint {
|
|
|
115
115
|
}>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
salt: Fr;
|
|
118
|
-
publicKeys: PublicKeys;
|
|
119
|
-
address: AztecAddress;
|
|
120
118
|
deployer: AztecAddress;
|
|
121
119
|
currentContractClassId: Fr;
|
|
122
120
|
originalContractClassId: Fr;
|
|
123
121
|
initializationHash: Fr;
|
|
122
|
+
publicKeys: PublicKeys;
|
|
123
|
+
address: AztecAddress;
|
|
124
124
|
}, {
|
|
125
125
|
salt: string;
|
|
126
|
+
currentContractClassId: string;
|
|
127
|
+
originalContractClassId: string;
|
|
128
|
+
initializationHash: string;
|
|
126
129
|
publicKeys: {
|
|
127
130
|
masterNullifierPublicKey: string;
|
|
128
131
|
masterIncomingViewingPublicKey: string;
|
|
129
132
|
masterOutgoingViewingPublicKey: string;
|
|
130
133
|
masterTaggingPublicKey: string;
|
|
131
134
|
};
|
|
132
|
-
currentContractClassId: string;
|
|
133
|
-
originalContractClassId: string;
|
|
134
|
-
initializationHash: string;
|
|
135
|
-
address?: any;
|
|
136
135
|
deployer?: any;
|
|
136
|
+
address?: any;
|
|
137
137
|
}>, AvmContractInstanceHint, {
|
|
138
138
|
salt: string;
|
|
139
|
+
currentContractClassId: string;
|
|
140
|
+
originalContractClassId: string;
|
|
141
|
+
initializationHash: string;
|
|
139
142
|
publicKeys: {
|
|
140
143
|
masterNullifierPublicKey: string;
|
|
141
144
|
masterIncomingViewingPublicKey: string;
|
|
142
145
|
masterOutgoingViewingPublicKey: string;
|
|
143
146
|
masterTaggingPublicKey: string;
|
|
144
147
|
};
|
|
145
|
-
currentContractClassId: string;
|
|
146
|
-
originalContractClassId: string;
|
|
147
|
-
initializationHash: string;
|
|
148
|
-
address?: any;
|
|
149
148
|
deployer?: any;
|
|
149
|
+
address?: any;
|
|
150
150
|
}>;
|
|
151
151
|
}
|
|
152
152
|
export declare class AvmGetSiblingPathHint {
|
|
@@ -2568,38 +2568,38 @@ export declare class AvmExecutionHints {
|
|
|
2568
2568
|
}>;
|
|
2569
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2570
2570
|
salt: Fr;
|
|
2571
|
-
publicKeys: PublicKeys;
|
|
2572
|
-
address: AztecAddress;
|
|
2573
2571
|
deployer: AztecAddress;
|
|
2574
2572
|
currentContractClassId: Fr;
|
|
2575
2573
|
originalContractClassId: Fr;
|
|
2576
2574
|
initializationHash: Fr;
|
|
2575
|
+
publicKeys: PublicKeys;
|
|
2576
|
+
address: AztecAddress;
|
|
2577
2577
|
}, {
|
|
2578
2578
|
salt: string;
|
|
2579
|
+
currentContractClassId: string;
|
|
2580
|
+
originalContractClassId: string;
|
|
2581
|
+
initializationHash: string;
|
|
2579
2582
|
publicKeys: {
|
|
2580
2583
|
masterNullifierPublicKey: string;
|
|
2581
2584
|
masterIncomingViewingPublicKey: string;
|
|
2582
2585
|
masterOutgoingViewingPublicKey: string;
|
|
2583
2586
|
masterTaggingPublicKey: string;
|
|
2584
2587
|
};
|
|
2585
|
-
currentContractClassId: string;
|
|
2586
|
-
originalContractClassId: string;
|
|
2587
|
-
initializationHash: string;
|
|
2588
|
-
address?: any;
|
|
2589
2588
|
deployer?: any;
|
|
2589
|
+
address?: any;
|
|
2590
2590
|
}>, AvmContractInstanceHint, {
|
|
2591
2591
|
salt: string;
|
|
2592
|
+
currentContractClassId: string;
|
|
2593
|
+
originalContractClassId: string;
|
|
2594
|
+
initializationHash: string;
|
|
2592
2595
|
publicKeys: {
|
|
2593
2596
|
masterNullifierPublicKey: string;
|
|
2594
2597
|
masterIncomingViewingPublicKey: string;
|
|
2595
2598
|
masterOutgoingViewingPublicKey: string;
|
|
2596
2599
|
masterTaggingPublicKey: string;
|
|
2597
2600
|
};
|
|
2598
|
-
currentContractClassId: string;
|
|
2599
|
-
originalContractClassId: string;
|
|
2600
|
-
initializationHash: string;
|
|
2601
|
-
address?: any;
|
|
2602
2601
|
deployer?: any;
|
|
2602
|
+
address?: any;
|
|
2603
2603
|
}>, "many">;
|
|
2604
2604
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2605
2605
|
classId: z.ZodType<Fr, any, string>;
|
|
@@ -4340,17 +4340,17 @@ export declare class AvmExecutionHints {
|
|
|
4340
4340
|
};
|
|
4341
4341
|
contractInstances: {
|
|
4342
4342
|
salt: string;
|
|
4343
|
+
currentContractClassId: string;
|
|
4344
|
+
originalContractClassId: string;
|
|
4345
|
+
initializationHash: string;
|
|
4343
4346
|
publicKeys: {
|
|
4344
4347
|
masterNullifierPublicKey: string;
|
|
4345
4348
|
masterIncomingViewingPublicKey: string;
|
|
4346
4349
|
masterOutgoingViewingPublicKey: string;
|
|
4347
4350
|
masterTaggingPublicKey: string;
|
|
4348
4351
|
};
|
|
4349
|
-
currentContractClassId: string;
|
|
4350
|
-
originalContractClassId: string;
|
|
4351
|
-
initializationHash: string;
|
|
4352
|
-
address?: any;
|
|
4353
4352
|
deployer?: any;
|
|
4353
|
+
address?: any;
|
|
4354
4354
|
}[];
|
|
4355
4355
|
contractClasses: {
|
|
4356
4356
|
classId: string;
|
|
@@ -4696,17 +4696,17 @@ export declare class AvmExecutionHints {
|
|
|
4696
4696
|
};
|
|
4697
4697
|
contractInstances: {
|
|
4698
4698
|
salt: string;
|
|
4699
|
+
currentContractClassId: string;
|
|
4700
|
+
originalContractClassId: string;
|
|
4701
|
+
initializationHash: string;
|
|
4699
4702
|
publicKeys: {
|
|
4700
4703
|
masterNullifierPublicKey: string;
|
|
4701
4704
|
masterIncomingViewingPublicKey: string;
|
|
4702
4705
|
masterOutgoingViewingPublicKey: string;
|
|
4703
4706
|
masterTaggingPublicKey: string;
|
|
4704
4707
|
};
|
|
4705
|
-
currentContractClassId: string;
|
|
4706
|
-
originalContractClassId: string;
|
|
4707
|
-
initializationHash: string;
|
|
4708
|
-
address?: any;
|
|
4709
4708
|
deployer?: any;
|
|
4709
|
+
address?: any;
|
|
4710
4710
|
}[];
|
|
4711
4711
|
contractClasses: {
|
|
4712
4712
|
classId: string;
|
|
@@ -5432,38 +5432,38 @@ export declare class AvmCircuitInputs {
|
|
|
5432
5432
|
}>;
|
|
5433
5433
|
}, "strip", z.ZodTypeAny, {
|
|
5434
5434
|
salt: Fr;
|
|
5435
|
-
publicKeys: PublicKeys;
|
|
5436
|
-
address: AztecAddress;
|
|
5437
5435
|
deployer: AztecAddress;
|
|
5438
5436
|
currentContractClassId: Fr;
|
|
5439
5437
|
originalContractClassId: Fr;
|
|
5440
5438
|
initializationHash: Fr;
|
|
5439
|
+
publicKeys: PublicKeys;
|
|
5440
|
+
address: AztecAddress;
|
|
5441
5441
|
}, {
|
|
5442
5442
|
salt: string;
|
|
5443
|
+
currentContractClassId: string;
|
|
5444
|
+
originalContractClassId: string;
|
|
5445
|
+
initializationHash: string;
|
|
5443
5446
|
publicKeys: {
|
|
5444
5447
|
masterNullifierPublicKey: string;
|
|
5445
5448
|
masterIncomingViewingPublicKey: string;
|
|
5446
5449
|
masterOutgoingViewingPublicKey: string;
|
|
5447
5450
|
masterTaggingPublicKey: string;
|
|
5448
5451
|
};
|
|
5449
|
-
currentContractClassId: string;
|
|
5450
|
-
originalContractClassId: string;
|
|
5451
|
-
initializationHash: string;
|
|
5452
|
-
address?: any;
|
|
5453
5452
|
deployer?: any;
|
|
5453
|
+
address?: any;
|
|
5454
5454
|
}>, AvmContractInstanceHint, {
|
|
5455
5455
|
salt: string;
|
|
5456
|
+
currentContractClassId: string;
|
|
5457
|
+
originalContractClassId: string;
|
|
5458
|
+
initializationHash: string;
|
|
5456
5459
|
publicKeys: {
|
|
5457
5460
|
masterNullifierPublicKey: string;
|
|
5458
5461
|
masterIncomingViewingPublicKey: string;
|
|
5459
5462
|
masterOutgoingViewingPublicKey: string;
|
|
5460
5463
|
masterTaggingPublicKey: string;
|
|
5461
5464
|
};
|
|
5462
|
-
currentContractClassId: string;
|
|
5463
|
-
originalContractClassId: string;
|
|
5464
|
-
initializationHash: string;
|
|
5465
|
-
address?: any;
|
|
5466
5465
|
deployer?: any;
|
|
5466
|
+
address?: any;
|
|
5467
5467
|
}>, "many">;
|
|
5468
5468
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5469
5469
|
classId: z.ZodType<Fr, any, string>;
|
|
@@ -7204,17 +7204,17 @@ export declare class AvmCircuitInputs {
|
|
|
7204
7204
|
};
|
|
7205
7205
|
contractInstances: {
|
|
7206
7206
|
salt: string;
|
|
7207
|
+
currentContractClassId: string;
|
|
7208
|
+
originalContractClassId: string;
|
|
7209
|
+
initializationHash: string;
|
|
7207
7210
|
publicKeys: {
|
|
7208
7211
|
masterNullifierPublicKey: string;
|
|
7209
7212
|
masterIncomingViewingPublicKey: string;
|
|
7210
7213
|
masterOutgoingViewingPublicKey: string;
|
|
7211
7214
|
masterTaggingPublicKey: string;
|
|
7212
7215
|
};
|
|
7213
|
-
currentContractClassId: string;
|
|
7214
|
-
originalContractClassId: string;
|
|
7215
|
-
initializationHash: string;
|
|
7216
|
-
address?: any;
|
|
7217
7216
|
deployer?: any;
|
|
7217
|
+
address?: any;
|
|
7218
7218
|
}[];
|
|
7219
7219
|
contractClasses: {
|
|
7220
7220
|
classId: string;
|
|
@@ -7560,17 +7560,17 @@ export declare class AvmCircuitInputs {
|
|
|
7560
7560
|
};
|
|
7561
7561
|
contractInstances: {
|
|
7562
7562
|
salt: string;
|
|
7563
|
+
currentContractClassId: string;
|
|
7564
|
+
originalContractClassId: string;
|
|
7565
|
+
initializationHash: string;
|
|
7563
7566
|
publicKeys: {
|
|
7564
7567
|
masterNullifierPublicKey: string;
|
|
7565
7568
|
masterIncomingViewingPublicKey: string;
|
|
7566
7569
|
masterOutgoingViewingPublicKey: string;
|
|
7567
7570
|
masterTaggingPublicKey: string;
|
|
7568
7571
|
};
|
|
7569
|
-
currentContractClassId: string;
|
|
7570
|
-
originalContractClassId: string;
|
|
7571
|
-
initializationHash: string;
|
|
7572
|
-
address?: any;
|
|
7573
7572
|
deployer?: any;
|
|
7573
|
+
address?: any;
|
|
7574
7574
|
}[];
|
|
7575
7575
|
contractClasses: {
|
|
7576
7576
|
classId: string;
|
|
@@ -9163,17 +9163,17 @@ export declare class AvmCircuitInputs {
|
|
|
9163
9163
|
};
|
|
9164
9164
|
contractInstances: {
|
|
9165
9165
|
salt: string;
|
|
9166
|
+
currentContractClassId: string;
|
|
9167
|
+
originalContractClassId: string;
|
|
9168
|
+
initializationHash: string;
|
|
9166
9169
|
publicKeys: {
|
|
9167
9170
|
masterNullifierPublicKey: string;
|
|
9168
9171
|
masterIncomingViewingPublicKey: string;
|
|
9169
9172
|
masterOutgoingViewingPublicKey: string;
|
|
9170
9173
|
masterTaggingPublicKey: string;
|
|
9171
9174
|
};
|
|
9172
|
-
currentContractClassId: string;
|
|
9173
|
-
originalContractClassId: string;
|
|
9174
|
-
initializationHash: string;
|
|
9175
|
-
address?: any;
|
|
9176
9175
|
deployer?: any;
|
|
9176
|
+
address?: any;
|
|
9177
9177
|
}[];
|
|
9178
9178
|
contractClasses: {
|
|
9179
9179
|
classId: string;
|
|
@@ -9686,17 +9686,17 @@ export declare class AvmCircuitInputs {
|
|
|
9686
9686
|
};
|
|
9687
9687
|
contractInstances: {
|
|
9688
9688
|
salt: string;
|
|
9689
|
+
currentContractClassId: string;
|
|
9690
|
+
originalContractClassId: string;
|
|
9691
|
+
initializationHash: string;
|
|
9689
9692
|
publicKeys: {
|
|
9690
9693
|
masterNullifierPublicKey: string;
|
|
9691
9694
|
masterIncomingViewingPublicKey: string;
|
|
9692
9695
|
masterOutgoingViewingPublicKey: string;
|
|
9693
9696
|
masterTaggingPublicKey: string;
|
|
9694
9697
|
};
|
|
9695
|
-
currentContractClassId: string;
|
|
9696
|
-
originalContractClassId: string;
|
|
9697
|
-
initializationHash: string;
|
|
9698
|
-
address?: any;
|
|
9699
9698
|
deployer?: any;
|
|
9699
|
+
address?: any;
|
|
9700
9700
|
}[];
|
|
9701
9701
|
contractClasses: {
|
|
9702
9702
|
classId: string;
|
|
@@ -451,38 +451,38 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
451
451
|
}>;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
453
|
salt: import("@aztec/foundation/schemas").Fr;
|
|
454
|
-
publicKeys: import("../keys/public_keys.js").PublicKeys;
|
|
455
|
-
address: import("../aztec-address/index.js").AztecAddress;
|
|
456
454
|
deployer: import("../aztec-address/index.js").AztecAddress;
|
|
457
455
|
currentContractClassId: import("@aztec/foundation/schemas").Fr;
|
|
458
456
|
originalContractClassId: import("@aztec/foundation/schemas").Fr;
|
|
459
457
|
initializationHash: import("@aztec/foundation/schemas").Fr;
|
|
458
|
+
publicKeys: import("../keys/public_keys.js").PublicKeys;
|
|
459
|
+
address: import("../aztec-address/index.js").AztecAddress;
|
|
460
460
|
}, {
|
|
461
461
|
salt: string;
|
|
462
|
+
currentContractClassId: string;
|
|
463
|
+
originalContractClassId: string;
|
|
464
|
+
initializationHash: string;
|
|
462
465
|
publicKeys: {
|
|
463
466
|
masterNullifierPublicKey: string;
|
|
464
467
|
masterIncomingViewingPublicKey: string;
|
|
465
468
|
masterOutgoingViewingPublicKey: string;
|
|
466
469
|
masterTaggingPublicKey: string;
|
|
467
470
|
};
|
|
468
|
-
currentContractClassId: string;
|
|
469
|
-
originalContractClassId: string;
|
|
470
|
-
initializationHash: string;
|
|
471
|
-
address?: any;
|
|
472
471
|
deployer?: any;
|
|
472
|
+
address?: any;
|
|
473
473
|
}>, import("./avm.js").AvmContractInstanceHint, {
|
|
474
474
|
salt: string;
|
|
475
|
+
currentContractClassId: string;
|
|
476
|
+
originalContractClassId: string;
|
|
477
|
+
initializationHash: string;
|
|
475
478
|
publicKeys: {
|
|
476
479
|
masterNullifierPublicKey: string;
|
|
477
480
|
masterIncomingViewingPublicKey: string;
|
|
478
481
|
masterOutgoingViewingPublicKey: string;
|
|
479
482
|
masterTaggingPublicKey: string;
|
|
480
483
|
};
|
|
481
|
-
currentContractClassId: string;
|
|
482
|
-
originalContractClassId: string;
|
|
483
|
-
initializationHash: string;
|
|
484
|
-
address?: any;
|
|
485
484
|
deployer?: any;
|
|
485
|
+
address?: any;
|
|
486
486
|
}>, "many">;
|
|
487
487
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
488
488
|
classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -2239,17 +2239,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2239
2239
|
};
|
|
2240
2240
|
contractInstances: {
|
|
2241
2241
|
salt: string;
|
|
2242
|
+
currentContractClassId: string;
|
|
2243
|
+
originalContractClassId: string;
|
|
2244
|
+
initializationHash: string;
|
|
2242
2245
|
publicKeys: {
|
|
2243
2246
|
masterNullifierPublicKey: string;
|
|
2244
2247
|
masterIncomingViewingPublicKey: string;
|
|
2245
2248
|
masterOutgoingViewingPublicKey: string;
|
|
2246
2249
|
masterTaggingPublicKey: string;
|
|
2247
2250
|
};
|
|
2248
|
-
currentContractClassId: string;
|
|
2249
|
-
originalContractClassId: string;
|
|
2250
|
-
initializationHash: string;
|
|
2251
|
-
address?: any;
|
|
2252
2251
|
deployer?: any;
|
|
2252
|
+
address?: any;
|
|
2253
2253
|
}[];
|
|
2254
2254
|
contractClasses: {
|
|
2255
2255
|
classId: string;
|
|
@@ -2595,17 +2595,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2595
2595
|
};
|
|
2596
2596
|
contractInstances: {
|
|
2597
2597
|
salt: string;
|
|
2598
|
+
currentContractClassId: string;
|
|
2599
|
+
originalContractClassId: string;
|
|
2600
|
+
initializationHash: string;
|
|
2598
2601
|
publicKeys: {
|
|
2599
2602
|
masterNullifierPublicKey: string;
|
|
2600
2603
|
masterIncomingViewingPublicKey: string;
|
|
2601
2604
|
masterOutgoingViewingPublicKey: string;
|
|
2602
2605
|
masterTaggingPublicKey: string;
|
|
2603
2606
|
};
|
|
2604
|
-
currentContractClassId: string;
|
|
2605
|
-
originalContractClassId: string;
|
|
2606
|
-
initializationHash: string;
|
|
2607
|
-
address?: any;
|
|
2608
2607
|
deployer?: any;
|
|
2608
|
+
address?: any;
|
|
2609
2609
|
}[];
|
|
2610
2610
|
contractClasses: {
|
|
2611
2611
|
classId: string;
|
|
@@ -4198,17 +4198,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4198
4198
|
};
|
|
4199
4199
|
contractInstances: {
|
|
4200
4200
|
salt: string;
|
|
4201
|
+
currentContractClassId: string;
|
|
4202
|
+
originalContractClassId: string;
|
|
4203
|
+
initializationHash: string;
|
|
4201
4204
|
publicKeys: {
|
|
4202
4205
|
masterNullifierPublicKey: string;
|
|
4203
4206
|
masterIncomingViewingPublicKey: string;
|
|
4204
4207
|
masterOutgoingViewingPublicKey: string;
|
|
4205
4208
|
masterTaggingPublicKey: string;
|
|
4206
4209
|
};
|
|
4207
|
-
currentContractClassId: string;
|
|
4208
|
-
originalContractClassId: string;
|
|
4209
|
-
initializationHash: string;
|
|
4210
|
-
address?: any;
|
|
4211
4210
|
deployer?: any;
|
|
4211
|
+
address?: any;
|
|
4212
4212
|
}[];
|
|
4213
4213
|
contractClasses: {
|
|
4214
4214
|
classId: string;
|
|
@@ -4721,17 +4721,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4721
4721
|
};
|
|
4722
4722
|
contractInstances: {
|
|
4723
4723
|
salt: string;
|
|
4724
|
+
currentContractClassId: string;
|
|
4725
|
+
originalContractClassId: string;
|
|
4726
|
+
initializationHash: string;
|
|
4724
4727
|
publicKeys: {
|
|
4725
4728
|
masterNullifierPublicKey: string;
|
|
4726
4729
|
masterIncomingViewingPublicKey: string;
|
|
4727
4730
|
masterOutgoingViewingPublicKey: string;
|
|
4728
4731
|
masterTaggingPublicKey: string;
|
|
4729
4732
|
};
|
|
4730
|
-
currentContractClassId: string;
|
|
4731
|
-
originalContractClassId: string;
|
|
4732
|
-
initializationHash: string;
|
|
4733
|
-
address?: any;
|
|
4734
4733
|
deployer?: any;
|
|
4734
|
+
address?: any;
|
|
4735
4735
|
}[];
|
|
4736
4736
|
contractClasses: {
|
|
4737
4737
|
classId: string;
|
|
@@ -5250,17 +5250,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5250
5250
|
};
|
|
5251
5251
|
contractInstances: {
|
|
5252
5252
|
salt: string;
|
|
5253
|
+
currentContractClassId: string;
|
|
5254
|
+
originalContractClassId: string;
|
|
5255
|
+
initializationHash: string;
|
|
5253
5256
|
publicKeys: {
|
|
5254
5257
|
masterNullifierPublicKey: string;
|
|
5255
5258
|
masterIncomingViewingPublicKey: string;
|
|
5256
5259
|
masterOutgoingViewingPublicKey: string;
|
|
5257
5260
|
masterTaggingPublicKey: string;
|
|
5258
5261
|
};
|
|
5259
|
-
currentContractClassId: string;
|
|
5260
|
-
originalContractClassId: string;
|
|
5261
|
-
initializationHash: string;
|
|
5262
|
-
address?: any;
|
|
5263
5262
|
deployer?: any;
|
|
5263
|
+
address?: any;
|
|
5264
5264
|
}[];
|
|
5265
5265
|
contractClasses: {
|
|
5266
5266
|
classId: string;
|
|
@@ -59,11 +59,11 @@ export declare const ContractInstanceSchema: z.ZodObject<{
|
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
version: 1;
|
|
61
61
|
salt: Fr;
|
|
62
|
-
publicKeys: PublicKeys;
|
|
63
62
|
deployer: AztecAddress;
|
|
64
63
|
currentContractClassId: Fr;
|
|
65
64
|
originalContractClassId: Fr;
|
|
66
65
|
initializationHash: Fr;
|
|
66
|
+
publicKeys: PublicKeys;
|
|
67
67
|
}, {
|
|
68
68
|
version: 1;
|
|
69
69
|
publicKeys: {
|
|
@@ -109,11 +109,11 @@ export declare const ContractInstanceWithAddressSchema: z.ZodIntersection<z.ZodO
|
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
version: 1;
|
|
111
111
|
salt: Fr;
|
|
112
|
-
publicKeys: PublicKeys;
|
|
113
112
|
deployer: AztecAddress;
|
|
114
113
|
currentContractClassId: Fr;
|
|
115
114
|
originalContractClassId: Fr;
|
|
116
115
|
initializationHash: Fr;
|
|
116
|
+
publicKeys: PublicKeys;
|
|
117
117
|
}, {
|
|
118
118
|
version: 1;
|
|
119
119
|
publicKeys: {
|