@aztec/stdlib 3.0.0-nightly.20251109 → 3.0.0-nightly.20251111
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 +3 -18
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/avm/avm.d.ts +844 -665
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +13 -36
- package/dest/avm/avm_accumulated_data.d.ts +6 -6
- package/dest/avm/avm_circuit_public_inputs.d.ts +27 -27
- package/dest/avm/avm_proving_request.d.ts +299 -176
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/public_data_write.d.ts +2 -2
- package/dest/aztec-address/index.d.ts.map +1 -1
- package/dest/aztec-address/index.js +8 -2
- package/dest/block/l2_block.d.ts +1 -1
- package/dest/block/l2_block_info.d.ts +3 -3
- package/dest/block/proposal/attestations_and_signers.d.ts +1 -1
- package/dest/block/proposal/committee_attestation.d.ts +1 -1
- package/dest/block/published_l2_block.d.ts +2 -2
- package/dest/block/validate_block_result.d.ts +12 -12
- package/dest/contract/contract_deployment_data.d.ts +2 -2
- package/dest/contract/interfaces/contract_class.d.ts +38 -119
- package/dest/contract/interfaces/contract_class.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance.d.ts +200 -32
- package/dest/contract/interfaces/contract_instance.d.ts.map +1 -1
- package/dest/database-version/version_manager.d.ts +1 -1
- package/dest/interfaces/aztec-node-admin.d.ts +5 -5
- package/dest/interfaces/proving-job.d.ts +305 -182
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/slasher.d.ts +3 -3
- package/dest/interfaces/validator.d.ts +4 -4
- package/dest/kernel/private_kernel_prover_output.d.ts +6 -6
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +4 -4
- package/dest/kernel/public_call_request.d.ts +1 -1
- package/dest/keys/public_keys.d.ts +84 -12
- package/dest/keys/public_keys.d.ts.map +1 -1
- package/dest/logs/contract_class_log.d.ts +2 -2
- package/dest/logs/directional_app_tagging_secret.d.ts +1 -1
- package/dest/logs/pre_tag.d.ts +1 -1
- package/dest/logs/private_log.d.ts +1 -1
- package/dest/logs/tx_scoped_l2_log.d.ts +1 -1
- package/dest/messaging/l2_to_l1_message.d.ts +8 -8
- package/dest/noir/index.d.ts +6 -6
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/noir/index.js +7 -6
- package/dest/note/note.d.ts +1 -16
- package/dest/note/note.d.ts.map +1 -1
- package/dest/p2p/consensus_payload.d.ts +5 -5
- package/dest/p2p/gossipable.d.ts +1 -1
- package/dest/p2p/gossipable.d.ts.map +1 -1
- package/dest/p2p/gossipable.js +1 -1
- package/dest/proofs/recursive_proof.d.ts +1 -16
- package/dest/proofs/recursive_proof.d.ts.map +1 -1
- package/dest/schemas/schemas.d.ts +2 -13
- package/dest/schemas/schemas.d.ts.map +1 -1
- package/dest/schemas/schemas.js +2 -0
- package/dest/snapshots/types.d.ts +2 -2
- package/dest/trees/append_only_tree_snapshot.d.ts +1 -1
- package/dest/trees/nullifier_leaf.d.ts +4 -4
- package/dest/trees/nullifier_membership_witness.d.ts +5 -29
- package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.d.ts +7 -7
- package/dest/trees/public_data_witness.d.ts +6 -30
- package/dest/trees/public_data_witness.d.ts.map +1 -1
- package/dest/tx/content_commitment.d.ts +3 -3
- package/dest/tx/partial_state_reference.d.ts +3 -3
- package/dest/tx/private_execution_result.d.ts +3 -24
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/simulated_tx.d.ts +148 -28
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/state_reference.d.ts +4 -4
- package/dest/tx/tree_snapshots.d.ts +4 -4
- package/dest/tx/tx.d.ts.map +1 -1
- package/dest/tx/tx.js +2 -2
- package/dest/tx/tx_context.d.ts +2 -2
- package/dest/validators/schemas.d.ts +3 -3
- package/package.json +8 -8
- package/src/avm/avm.ts +11 -28
- package/src/aztec-address/index.ts +8 -2
- package/src/noir/index.ts +7 -6
- package/src/p2p/gossipable.ts +1 -1
- package/src/schemas/schemas.ts +3 -0
- package/src/tx/tx.ts +2 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,KAAK,MAAM,EAAgC,MAAM,2BAA2B,CAAC;AAEtF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC;;;KAGK;AACL,eAAO,MAAM,OAAO;IAClB,4BAA4B;gBACgB,MAAM,CAAC,UAAU,CAAC;IAE9D,4BAA4B;QACA,MAAM,CAAC,EAAE,CAAC;IAEtC,4BAA4B;QACA,MAAM,CAAC,EAAE,CAAC;IAEtC,yCAAyC;WACP,MAAM,CAAC,KAAK,CAAC;IAE/C,mCAAmC;;IAGnC,2CAA2C;;IAG3C,+BAA+B;;IAG/B,+CAA+C;cACP,MAAM,CAAC,QAAQ,CAAC;IAExD,oGAAoG
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","source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AgB,EAAE,MAAM,CAAC,UAAU,CAM9C,CAAC;AAGH,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,CAAC,GAAG,CAAC,sEAAoD,CAAC;AAE3G,OAAO,EACL,KAAK,MAAM,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,eAAe,EACf,KAAK,YAAY,EACjB,QAAQ,EACR,SAAS,EACT,cAAc,GACf,MAAM,2BAA2B,CAAC"}
|
package/dest/schemas/schemas.js
CHANGED
|
@@ -39,4 +39,6 @@ export const AbiDecodedSchema = z.union([
|
|
|
39
39
|
z.array(z.lazy(()=>AbiDecodedSchema)),
|
|
40
40
|
z.record(z.lazy(()=>AbiDecodedSchema))
|
|
41
41
|
]);
|
|
42
|
+
// C++ only supports null values, which we want to convert to undefined.
|
|
43
|
+
export const NullishToUndefined = (schema)=>schema.nullish().transform((x)=>x ?? undefined);
|
|
42
44
|
export { bufferSchema, hexSchema, hexSchemaFor, bufferSchemaFor, optional, mapSchema, pickFromSchema } from '@aztec/foundation/schemas';
|
|
@@ -26,7 +26,7 @@ export type UploadSnapshotMetadata = Pick<SnapshotMetadata, 'l2BlockNumber' | 'l
|
|
|
26
26
|
export declare const SnapshotsIndexSchema: z.ZodObject<{
|
|
27
27
|
l1ChainId: z.ZodNumber;
|
|
28
28
|
rollupVersion: z.ZodNumber;
|
|
29
|
-
rollupAddress: z.ZodType<EthAddress, any, string>;
|
|
29
|
+
rollupAddress: z.ZodUnion<[z.ZodType<EthAddress, any, string>, z.ZodEffects<z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>, EthAddress, string>]>;
|
|
30
30
|
snapshots: z.ZodArray<z.ZodObject<{
|
|
31
31
|
l2BlockNumber: z.ZodNumber;
|
|
32
32
|
l2BlockHash: z.ZodString;
|
|
@@ -101,7 +101,7 @@ export declare const UploadSnapshotMetadataSchema: z.ZodObject<{
|
|
|
101
101
|
l1BlockNumber: z.ZodNumber;
|
|
102
102
|
l1ChainId: z.ZodNumber;
|
|
103
103
|
rollupVersion: z.ZodNumber;
|
|
104
|
-
rollupAddress: z.ZodType<EthAddress, any, string>;
|
|
104
|
+
rollupAddress: z.ZodUnion<[z.ZodType<EthAddress, any, string>, z.ZodEffects<z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>, EthAddress, string>]>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
rollupVersion: number;
|
|
107
107
|
rollupAddress: EthAddress;
|
|
@@ -40,7 +40,7 @@ export declare class AppendOnlyTreeSnapshot {
|
|
|
40
40
|
*/
|
|
41
41
|
nextAvailableLeafIndex: UInt32);
|
|
42
42
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
43
|
-
root: z.ZodType<Fr, any, string>;
|
|
43
|
+
root: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
44
44
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
root: Fr;
|
|
@@ -34,7 +34,7 @@ export declare class NullifierLeafPreimage implements IndexedTreeLeafPreimage {
|
|
|
34
34
|
nextIndex: bigint);
|
|
35
35
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
36
36
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
37
|
-
nullifier: z.ZodType<Fr, any, string>;
|
|
37
|
+
nullifier: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
nullifier: Fr;
|
|
40
40
|
}, {
|
|
@@ -42,7 +42,7 @@ export declare class NullifierLeafPreimage implements IndexedTreeLeafPreimage {
|
|
|
42
42
|
}>, NullifierLeaf, {
|
|
43
43
|
nullifier: string;
|
|
44
44
|
}>;
|
|
45
|
-
nextKey: z.ZodType<Fr, any, string>;
|
|
45
|
+
nextKey: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
46
46
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
leaf: NullifierLeaf;
|
|
@@ -62,7 +62,7 @@ export declare class NullifierLeafPreimage implements IndexedTreeLeafPreimage {
|
|
|
62
62
|
nextIndex: string | number | bigint;
|
|
63
63
|
}>;
|
|
64
64
|
static get leafSchema(): z.ZodEffects<z.ZodObject<{
|
|
65
|
-
nullifier: z.ZodType<Fr, any, string>;
|
|
65
|
+
nullifier: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
nullifier: Fr;
|
|
68
68
|
}, {
|
|
@@ -108,7 +108,7 @@ export declare class NullifierLeaf implements IndexedTreeLeaf {
|
|
|
108
108
|
static buildDummy(key: bigint): NullifierLeaf;
|
|
109
109
|
static fromBuffer(buf: Buffer | BufferReader): NullifierLeaf;
|
|
110
110
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
111
|
-
nullifier: z.ZodType<Fr, any, string>;
|
|
111
|
+
nullifier: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
nullifier: Fr;
|
|
114
114
|
}, {
|
|
@@ -39,7 +39,7 @@ export declare class NullifierMembershipWitness {
|
|
|
39
39
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
40
40
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
41
41
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
42
|
-
nullifier: z.ZodType<Fr, any, string>;
|
|
42
|
+
nullifier: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
nullifier: Fr;
|
|
45
45
|
}, {
|
|
@@ -47,7 +47,7 @@ export declare class NullifierMembershipWitness {
|
|
|
47
47
|
}>, import("./nullifier_leaf.js").NullifierLeaf, {
|
|
48
48
|
nullifier: string;
|
|
49
49
|
}>;
|
|
50
|
-
nextKey: z.ZodType<Fr, any, string>;
|
|
50
|
+
nextKey: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
51
51
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
leaf: import("./nullifier_leaf.js").NullifierLeaf;
|
|
@@ -66,25 +66,7 @@ export declare class NullifierMembershipWitness {
|
|
|
66
66
|
nextKey: string;
|
|
67
67
|
nextIndex: string | number | bigint;
|
|
68
68
|
}>;
|
|
69
|
-
siblingPath: z.ZodEffects<z.ZodEffects<
|
|
70
|
-
type: import("zod").ZodLiteral<"Buffer">;
|
|
71
|
-
data: import("zod").ZodArray<import("zod").ZodNumber, "many">;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
type: "Buffer";
|
|
74
|
-
data: number[];
|
|
75
|
-
}, {
|
|
76
|
-
type: "Buffer";
|
|
77
|
-
data: number[];
|
|
78
|
-
}>, Buffer<ArrayBuffer>, {
|
|
79
|
-
type: "Buffer";
|
|
80
|
-
data: number[];
|
|
81
|
-
}>]>, SiblingPath<42>, string | {
|
|
82
|
-
type: "Buffer";
|
|
83
|
-
data: number[];
|
|
84
|
-
}>, SiblingPath<42>, string | {
|
|
85
|
-
type: "Buffer";
|
|
86
|
-
data: number[];
|
|
87
|
-
}>;
|
|
69
|
+
siblingPath: z.ZodEffects<z.ZodEffects<import("../schemas/index.js").ZodFor<Buffer<ArrayBufferLike>>, SiblingPath<42>, any>, SiblingPath<42>, any>;
|
|
88
70
|
}, "strip", z.ZodTypeAny, {
|
|
89
71
|
index: bigint;
|
|
90
72
|
leafPreimage: NullifierLeafPreimage;
|
|
@@ -98,10 +80,7 @@ export declare class NullifierMembershipWitness {
|
|
|
98
80
|
nextKey: string;
|
|
99
81
|
nextIndex: string | number | bigint;
|
|
100
82
|
};
|
|
101
|
-
siblingPath
|
|
102
|
-
type: "Buffer";
|
|
103
|
-
data: number[];
|
|
104
|
-
};
|
|
83
|
+
siblingPath?: any;
|
|
105
84
|
}>, NullifierMembershipWitness, {
|
|
106
85
|
index: string | number | bigint;
|
|
107
86
|
leafPreimage: {
|
|
@@ -111,10 +90,7 @@ export declare class NullifierMembershipWitness {
|
|
|
111
90
|
nextKey: string;
|
|
112
91
|
nextIndex: string | number | bigint;
|
|
113
92
|
};
|
|
114
|
-
siblingPath
|
|
115
|
-
type: "Buffer";
|
|
116
|
-
data: number[];
|
|
117
|
-
};
|
|
93
|
+
siblingPath?: any;
|
|
118
94
|
}>;
|
|
119
95
|
static random(): NullifierMembershipWitness;
|
|
120
96
|
withoutPreimage(): MembershipWitness<typeof NULLIFIER_TREE_HEIGHT>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nullifier_membership_witness.d.ts","sourceRoot":"","sources":["../../src/trees/nullifier_membership_witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,0BAA0B;IAEnC;;OAEG;aACa,KAAK,EAAE,MAAM;IAC7B;;OAEG;aACa,YAAY,EAAE,qBAAqB;IACnD;;OAEG;aACa,WAAW,EAAE,WAAW,CAAC,OAAO,qBAAqB,CAAC;;IAXtE;;OAEG;IACa,KAAK,EAAE,MAAM;IAC7B;;OAEG;IACa,YAAY,EAAE,qBAAqB;IACnD;;OAEG;IACa,WAAW,EAAE,WAAW,CAAC,OAAO,qBAAqB,CAAC;IAGxE,MAAM,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"nullifier_membership_witness.d.ts","sourceRoot":"","sources":["../../src/trees/nullifier_membership_witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,0BAA0B;IAEnC;;OAEG;aACa,KAAK,EAAE,MAAM;IAC7B;;OAEG;aACa,YAAY,EAAE,qBAAqB;IACnD;;OAEG;aACa,WAAW,EAAE,WAAW,CAAC,OAAO,qBAAqB,CAAC;;IAXtE;;OAEG;IACa,KAAK,EAAE,MAAM;IAC7B;;OAEG;IACa,YAAY,EAAE,qBAAqB;IACnD;;OAEG;IACa,WAAW,EAAE,WAAW,CAAC,OAAO,qBAAqB,CAAC;IAGxE,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAUhB;IAED,MAAM,CAAC,MAAM;IAQN,eAAe,IAAI,iBAAiB,CAAC,OAAO,qBAAqB,CAAC;IAIzE;;;OAGG;IACI,QAAQ,IAAI,EAAE,EAAE;IAIvB;;OAEG;IACI,oBAAoB,IAAI,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE;CAQrD"}
|
|
@@ -34,8 +34,8 @@ export declare class PublicDataTreeLeafPreimage implements IndexedTreeLeafPreima
|
|
|
34
34
|
nextIndex: bigint);
|
|
35
35
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
36
36
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
37
|
-
slot: z.ZodType<Fr, any, string>;
|
|
38
|
-
value: z.ZodType<Fr, any, string>;
|
|
37
|
+
slot: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
38
|
+
value: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
value: Fr;
|
|
41
41
|
slot: Fr;
|
|
@@ -46,7 +46,7 @@ export declare class PublicDataTreeLeafPreimage implements IndexedTreeLeafPreima
|
|
|
46
46
|
value: string;
|
|
47
47
|
slot: string;
|
|
48
48
|
}>;
|
|
49
|
-
nextKey: z.ZodType<Fr, any, string>;
|
|
49
|
+
nextKey: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
50
50
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
leaf: PublicDataTreeLeaf;
|
|
@@ -68,8 +68,8 @@ export declare class PublicDataTreeLeafPreimage implements IndexedTreeLeafPreima
|
|
|
68
68
|
nextIndex: string | number | bigint;
|
|
69
69
|
}>;
|
|
70
70
|
static get leafSchema(): z.ZodEffects<z.ZodObject<{
|
|
71
|
-
slot: z.ZodType<Fr, any, string>;
|
|
72
|
-
value: z.ZodType<Fr, any, string>;
|
|
71
|
+
slot: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
72
|
+
value: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
value: Fr;
|
|
75
75
|
slot: Fr;
|
|
@@ -126,8 +126,8 @@ export declare class PublicDataTreeLeaf implements IndexedTreeLeaf {
|
|
|
126
126
|
static buildDummy(key: bigint): PublicDataTreeLeaf;
|
|
127
127
|
static empty(): PublicDataTreeLeaf;
|
|
128
128
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
129
|
-
slot: z.ZodType<Fr, any, string>;
|
|
130
|
-
value: z.ZodType<Fr, any, string>;
|
|
129
|
+
slot: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
130
|
+
value: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
value: Fr;
|
|
133
133
|
slot: Fr;
|
|
@@ -42,8 +42,8 @@ export declare class PublicDataWitness {
|
|
|
42
42
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
43
43
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
44
44
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
45
|
-
slot: z.ZodType<Fr, any, string>;
|
|
46
|
-
value: z.ZodType<Fr, any, string>;
|
|
45
|
+
slot: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
46
|
+
value: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
value: Fr;
|
|
49
49
|
slot: Fr;
|
|
@@ -54,7 +54,7 @@ export declare class PublicDataWitness {
|
|
|
54
54
|
value: string;
|
|
55
55
|
slot: string;
|
|
56
56
|
}>;
|
|
57
|
-
nextKey: z.ZodType<Fr, any, string>;
|
|
57
|
+
nextKey: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
58
58
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
leaf: import("./public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -75,25 +75,7 @@ export declare class PublicDataWitness {
|
|
|
75
75
|
nextKey: string;
|
|
76
76
|
nextIndex: string | number | bigint;
|
|
77
77
|
}>;
|
|
78
|
-
siblingPath: z.ZodEffects<z.ZodEffects<
|
|
79
|
-
type: import("zod").ZodLiteral<"Buffer">;
|
|
80
|
-
data: import("zod").ZodArray<import("zod").ZodNumber, "many">;
|
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
type: "Buffer";
|
|
83
|
-
data: number[];
|
|
84
|
-
}, {
|
|
85
|
-
type: "Buffer";
|
|
86
|
-
data: number[];
|
|
87
|
-
}>, Buffer<ArrayBuffer>, {
|
|
88
|
-
type: "Buffer";
|
|
89
|
-
data: number[];
|
|
90
|
-
}>]>, SiblingPath<40>, string | {
|
|
91
|
-
type: "Buffer";
|
|
92
|
-
data: number[];
|
|
93
|
-
}>, SiblingPath<40>, string | {
|
|
94
|
-
type: "Buffer";
|
|
95
|
-
data: number[];
|
|
96
|
-
}>;
|
|
78
|
+
siblingPath: z.ZodEffects<z.ZodEffects<import("../schemas/schemas.js").ZodFor<Buffer<ArrayBufferLike>>, SiblingPath<40>, any>, SiblingPath<40>, any>;
|
|
97
79
|
}, "strip", z.ZodTypeAny, {
|
|
98
80
|
index: bigint;
|
|
99
81
|
leafPreimage: PublicDataTreeLeafPreimage;
|
|
@@ -108,10 +90,7 @@ export declare class PublicDataWitness {
|
|
|
108
90
|
nextKey: string;
|
|
109
91
|
nextIndex: string | number | bigint;
|
|
110
92
|
};
|
|
111
|
-
siblingPath
|
|
112
|
-
type: "Buffer";
|
|
113
|
-
data: number[];
|
|
114
|
-
};
|
|
93
|
+
siblingPath?: any;
|
|
115
94
|
}>, PublicDataWitness, {
|
|
116
95
|
index: string | number | bigint;
|
|
117
96
|
leafPreimage: {
|
|
@@ -122,10 +101,7 @@ export declare class PublicDataWitness {
|
|
|
122
101
|
nextKey: string;
|
|
123
102
|
nextIndex: string | number | bigint;
|
|
124
103
|
};
|
|
125
|
-
siblingPath
|
|
126
|
-
type: "Buffer";
|
|
127
|
-
data: number[];
|
|
128
|
-
};
|
|
104
|
+
siblingPath?: any;
|
|
129
105
|
}>;
|
|
130
106
|
/**
|
|
131
107
|
* Returns a field array representation of a public data witness.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_data_witness.d.ts","sourceRoot":"","sources":["../../src/trees/public_data_witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAqB,MAAM,6BAA6B,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAEnE;;;;;GAKG;AACH,qBAAa,iBAAiB;IAE1B;;OAEG;aACa,KAAK,EAAE,MAAM;IAC7B;;;OAGG;aACa,YAAY,EAAE,0BAA0B;IACxD;;OAEG;aACa,WAAW,EAAE,WAAW,CAAC,OAAO,uBAAuB,CAAC;;IAZxE;;OAEG;IACa,KAAK,EAAE,MAAM;IAC7B;;;OAGG;IACa,YAAY,EAAE,0BAA0B;IACxD;;OAEG;IACa,WAAW,EAAE,WAAW,CAAC,OAAO,uBAAuB,CAAC;IAG1E,MAAM,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"public_data_witness.d.ts","sourceRoot":"","sources":["../../src/trees/public_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declare class ContentCommitment {
|
|
|
9
9
|
outHash: Fr;
|
|
10
10
|
constructor(blobsHash: Fr, inHash: Fr, outHash: Fr);
|
|
11
11
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
12
|
-
blobsHash: z.ZodType<Fr, any, string>;
|
|
13
|
-
inHash: z.ZodType<Fr, any, string>;
|
|
14
|
-
outHash: z.ZodType<Fr, any, string>;
|
|
12
|
+
blobsHash: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
13
|
+
inHash: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
14
|
+
outHash: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
blobsHash: Fr;
|
|
17
17
|
inHash: Fr;
|
|
@@ -22,7 +22,7 @@ export declare class PartialStateReference {
|
|
|
22
22
|
publicDataTree: AppendOnlyTreeSnapshot);
|
|
23
23
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
24
24
|
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
25
|
-
root: z.ZodType<Fr, any, string>;
|
|
25
|
+
root: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
26
26
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
root: Fr;
|
|
@@ -35,7 +35,7 @@ export declare class PartialStateReference {
|
|
|
35
35
|
nextAvailableLeafIndex: string | number | bigint;
|
|
36
36
|
}>;
|
|
37
37
|
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
38
|
-
root: z.ZodType<Fr, any, string>;
|
|
38
|
+
root: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
39
39
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
root: Fr;
|
|
@@ -48,7 +48,7 @@ export declare class PartialStateReference {
|
|
|
48
48
|
nextAvailableLeafIndex: string | number | bigint;
|
|
49
49
|
}>;
|
|
50
50
|
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
51
|
-
root: z.ZodType<Fr, any, string>;
|
|
51
|
+
root: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
52
52
|
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
root: Fr;
|
|
@@ -29,22 +29,7 @@ export declare class NoteAndSlot {
|
|
|
29
29
|
/** The note type identifier. */
|
|
30
30
|
noteTypeId: NoteSelector);
|
|
31
31
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
32
|
-
note: z.ZodEffects<
|
|
33
|
-
type: z.ZodLiteral<"Buffer">;
|
|
34
|
-
data: z.ZodArray<z.ZodNumber, "many">;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
type: "Buffer";
|
|
37
|
-
data: number[];
|
|
38
|
-
}, {
|
|
39
|
-
type: "Buffer";
|
|
40
|
-
data: number[];
|
|
41
|
-
}>, Buffer<ArrayBuffer>, {
|
|
42
|
-
type: "Buffer";
|
|
43
|
-
data: number[];
|
|
44
|
-
}>]>, Note, string | {
|
|
45
|
-
type: "Buffer";
|
|
46
|
-
data: number[];
|
|
47
|
-
}>;
|
|
32
|
+
note: z.ZodEffects<ZodFor<Buffer<ArrayBufferLike>>, Note, any>;
|
|
48
33
|
storageSlot: ZodFor<Fr>;
|
|
49
34
|
noteTypeId: z.ZodType<NoteSelector, any, string>;
|
|
50
35
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -52,19 +37,13 @@ export declare class NoteAndSlot {
|
|
|
52
37
|
note: Note;
|
|
53
38
|
noteTypeId: NoteSelector;
|
|
54
39
|
}, {
|
|
55
|
-
note: string | {
|
|
56
|
-
type: "Buffer";
|
|
57
|
-
data: number[];
|
|
58
|
-
};
|
|
59
40
|
noteTypeId: string;
|
|
60
41
|
storageSlot?: any;
|
|
42
|
+
note?: any;
|
|
61
43
|
}>, NoteAndSlot, {
|
|
62
|
-
note: string | {
|
|
63
|
-
type: "Buffer";
|
|
64
|
-
data: number[];
|
|
65
|
-
};
|
|
66
44
|
noteTypeId: string;
|
|
67
45
|
storageSlot?: any;
|
|
46
|
+
note?: any;
|
|
68
47
|
}>;
|
|
69
48
|
static from(fields: FieldsOf<NoteAndSlot>): NoteAndSlot;
|
|
70
49
|
static random(): NoteAndSlot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_execution_result.d.ts","sourceRoot":"","sources":["../../src/tx/private_execution_result.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAsB,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAA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AAA;SAAE,CAAC,CAAA;KAAE;CAC9F"}
|
|
@@ -26,25 +26,97 @@ export declare class SimulationOverrides {
|
|
|
26
26
|
originalContractClassId: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
27
27
|
initializationHash: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
28
28
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
29
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
30
|
+
x: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
31
|
+
y: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
x: import("@aztec/foundation/schemas").Fr;
|
|
34
|
+
y: import("@aztec/foundation/schemas").Fr;
|
|
35
|
+
}, {
|
|
36
|
+
x: string;
|
|
37
|
+
y: string;
|
|
38
|
+
}>, import("@aztec/foundation/schemas").Point, {
|
|
39
|
+
x: string;
|
|
40
|
+
y: string;
|
|
41
|
+
}>]>;
|
|
42
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
43
|
+
x: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
44
|
+
y: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
x: import("@aztec/foundation/schemas").Fr;
|
|
47
|
+
y: import("@aztec/foundation/schemas").Fr;
|
|
48
|
+
}, {
|
|
49
|
+
x: string;
|
|
50
|
+
y: string;
|
|
51
|
+
}>, import("@aztec/foundation/schemas").Point, {
|
|
52
|
+
x: string;
|
|
53
|
+
y: string;
|
|
54
|
+
}>]>;
|
|
55
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
56
|
+
x: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
57
|
+
y: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
x: import("@aztec/foundation/schemas").Fr;
|
|
60
|
+
y: import("@aztec/foundation/schemas").Fr;
|
|
61
|
+
}, {
|
|
62
|
+
x: string;
|
|
63
|
+
y: string;
|
|
64
|
+
}>, import("@aztec/foundation/schemas").Point, {
|
|
65
|
+
x: string;
|
|
66
|
+
y: string;
|
|
67
|
+
}>]>;
|
|
68
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
69
|
+
x: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
70
|
+
y: z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
x: import("@aztec/foundation/schemas").Fr;
|
|
73
|
+
y: import("@aztec/foundation/schemas").Fr;
|
|
74
|
+
}, {
|
|
75
|
+
x: string;
|
|
76
|
+
y: string;
|
|
77
|
+
}>, import("@aztec/foundation/schemas").Point, {
|
|
78
|
+
x: string;
|
|
79
|
+
y: string;
|
|
80
|
+
}>]>;
|
|
33
81
|
}, "strip", z.ZodTypeAny, {
|
|
34
82
|
masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
|
|
35
83
|
masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
|
|
36
84
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
|
|
37
85
|
masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
|
|
38
86
|
}, {
|
|
39
|
-
masterNullifierPublicKey: string
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
87
|
+
masterNullifierPublicKey: string | {
|
|
88
|
+
x: string;
|
|
89
|
+
y: string;
|
|
90
|
+
};
|
|
91
|
+
masterIncomingViewingPublicKey: string | {
|
|
92
|
+
x: string;
|
|
93
|
+
y: string;
|
|
94
|
+
};
|
|
95
|
+
masterOutgoingViewingPublicKey: string | {
|
|
96
|
+
x: string;
|
|
97
|
+
y: string;
|
|
98
|
+
};
|
|
99
|
+
masterTaggingPublicKey: string | {
|
|
100
|
+
x: string;
|
|
101
|
+
y: string;
|
|
102
|
+
};
|
|
43
103
|
}>, import("../keys/public_keys.js").PublicKeys, {
|
|
44
|
-
masterNullifierPublicKey: string
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
104
|
+
masterNullifierPublicKey: string | {
|
|
105
|
+
x: string;
|
|
106
|
+
y: string;
|
|
107
|
+
};
|
|
108
|
+
masterIncomingViewingPublicKey: string | {
|
|
109
|
+
x: string;
|
|
110
|
+
y: string;
|
|
111
|
+
};
|
|
112
|
+
masterOutgoingViewingPublicKey: string | {
|
|
113
|
+
x: string;
|
|
114
|
+
y: string;
|
|
115
|
+
};
|
|
116
|
+
masterTaggingPublicKey: string | {
|
|
117
|
+
x: string;
|
|
118
|
+
y: string;
|
|
119
|
+
};
|
|
48
120
|
}>;
|
|
49
121
|
}, "strip", z.ZodTypeAny, {
|
|
50
122
|
version: 1;
|
|
@@ -57,10 +129,22 @@ export declare class SimulationOverrides {
|
|
|
57
129
|
}, {
|
|
58
130
|
version: 1;
|
|
59
131
|
publicKeys: {
|
|
60
|
-
masterNullifierPublicKey: string
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
132
|
+
masterNullifierPublicKey: string | {
|
|
133
|
+
x: string;
|
|
134
|
+
y: string;
|
|
135
|
+
};
|
|
136
|
+
masterIncomingViewingPublicKey: string | {
|
|
137
|
+
x: string;
|
|
138
|
+
y: string;
|
|
139
|
+
};
|
|
140
|
+
masterOutgoingViewingPublicKey: string | {
|
|
141
|
+
x: string;
|
|
142
|
+
y: string;
|
|
143
|
+
};
|
|
144
|
+
masterTaggingPublicKey: string | {
|
|
145
|
+
x: string;
|
|
146
|
+
y: string;
|
|
147
|
+
};
|
|
64
148
|
};
|
|
65
149
|
salt?: any;
|
|
66
150
|
deployer?: any;
|
|
@@ -92,10 +176,22 @@ export declare class SimulationOverrides {
|
|
|
92
176
|
instance: {
|
|
93
177
|
version: 1;
|
|
94
178
|
publicKeys: {
|
|
95
|
-
masterNullifierPublicKey: string
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
179
|
+
masterNullifierPublicKey: string | {
|
|
180
|
+
x: string;
|
|
181
|
+
y: string;
|
|
182
|
+
};
|
|
183
|
+
masterIncomingViewingPublicKey: string | {
|
|
184
|
+
x: string;
|
|
185
|
+
y: string;
|
|
186
|
+
};
|
|
187
|
+
masterOutgoingViewingPublicKey: string | {
|
|
188
|
+
x: string;
|
|
189
|
+
y: string;
|
|
190
|
+
};
|
|
191
|
+
masterTaggingPublicKey: string | {
|
|
192
|
+
x: string;
|
|
193
|
+
y: string;
|
|
194
|
+
};
|
|
99
195
|
};
|
|
100
196
|
salt?: any;
|
|
101
197
|
deployer?: any;
|
|
@@ -127,10 +223,22 @@ export declare class SimulationOverrides {
|
|
|
127
223
|
instance: {
|
|
128
224
|
version: 1;
|
|
129
225
|
publicKeys: {
|
|
130
|
-
masterNullifierPublicKey: string
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
226
|
+
masterNullifierPublicKey: string | {
|
|
227
|
+
x: string;
|
|
228
|
+
y: string;
|
|
229
|
+
};
|
|
230
|
+
masterIncomingViewingPublicKey: string | {
|
|
231
|
+
x: string;
|
|
232
|
+
y: string;
|
|
233
|
+
};
|
|
234
|
+
masterOutgoingViewingPublicKey: string | {
|
|
235
|
+
x: string;
|
|
236
|
+
y: string;
|
|
237
|
+
};
|
|
238
|
+
masterTaggingPublicKey: string | {
|
|
239
|
+
x: string;
|
|
240
|
+
y: string;
|
|
241
|
+
};
|
|
134
242
|
};
|
|
135
243
|
salt?: any;
|
|
136
244
|
deployer?: any;
|
|
@@ -147,10 +255,22 @@ export declare class SimulationOverrides {
|
|
|
147
255
|
instance: {
|
|
148
256
|
version: 1;
|
|
149
257
|
publicKeys: {
|
|
150
|
-
masterNullifierPublicKey: string
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
258
|
+
masterNullifierPublicKey: string | {
|
|
259
|
+
x: string;
|
|
260
|
+
y: string;
|
|
261
|
+
};
|
|
262
|
+
masterIncomingViewingPublicKey: string | {
|
|
263
|
+
x: string;
|
|
264
|
+
y: string;
|
|
265
|
+
};
|
|
266
|
+
masterOutgoingViewingPublicKey: string | {
|
|
267
|
+
x: string;
|
|
268
|
+
y: string;
|
|
269
|
+
};
|
|
270
|
+
masterTaggingPublicKey: string | {
|
|
271
|
+
x: string;
|
|
272
|
+
y: string;
|
|
273
|
+
};
|
|
154
274
|
};
|
|
155
275
|
salt?: any;
|
|
156
276
|
deployer?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulated_tx.d.ts","sourceRoot":"","sources":["../../src/tx/simulated_tx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAY,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,gBAAgB,EAA0B,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