@aztec/pxe 0.0.1-commit.cd76b27 → 0.0.1-commit.d117d021b
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/config/index.d.ts +2 -2
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.d.ts +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.js +9 -9
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +5 -5
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -1
- package/dest/contract_function_simulator/execution_tagging_index_cache.js +3 -3
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +2 -3
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/event_validation_request.js +5 -4
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +1 -1
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +1 -3
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +2 -4
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/note_validation_request.js +3 -5
- package/dest/contract_function_simulator/oracle/interfaces.d.ts +48 -45
- package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/oracle.d.ts +43 -44
- package/dest/contract_function_simulator/oracle/oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/oracle.js +129 -91
- package/dest/contract_function_simulator/oracle/private_execution.js +1 -1
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +20 -34
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/private_execution_oracle.js +37 -64
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +36 -34
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +48 -50
- package/dest/contract_logging.d.ts +22 -0
- package/dest/contract_logging.d.ts.map +1 -0
- package/dest/contract_logging.js +23 -0
- package/dest/entrypoints/client/bundle/index.d.ts +2 -1
- package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/index.js +1 -0
- package/dest/entrypoints/client/lazy/index.d.ts +2 -1
- package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/index.js +1 -0
- package/dest/logs/log_service.d.ts +1 -1
- package/dest/logs/log_service.d.ts.map +1 -1
- package/dest/logs/log_service.js +4 -4
- package/dest/oracle_version.d.ts +2 -2
- package/dest/oracle_version.js +3 -3
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts +4 -3
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts.map +1 -1
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.js +125 -64
- package/dest/private_kernel/hints/test_utils.d.ts +122 -0
- package/dest/private_kernel/hints/test_utils.d.ts.map +1 -0
- package/dest/private_kernel/hints/test_utils.js +203 -0
- package/dest/private_kernel/private_kernel_execution_prover.d.ts +1 -1
- package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
- package/dest/private_kernel/private_kernel_execution_prover.js +13 -5
- package/dest/private_kernel/private_kernel_oracle.d.ts +6 -2
- package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -1
- package/dest/private_kernel/private_kernel_oracle.js +7 -3
- package/dest/pxe.d.ts +3 -2
- package/dest/pxe.d.ts.map +1 -1
- package/dest/pxe.js +24 -16
- package/dest/storage/contract_store/contract_store.d.ts +42 -15
- package/dest/storage/contract_store/contract_store.d.ts.map +1 -1
- package/dest/storage/contract_store/contract_store.js +140 -64
- package/dest/storage/tagging_store/recipient_tagging_store.d.ts +6 -6
- package/dest/storage/tagging_store/recipient_tagging_store.d.ts.map +1 -1
- package/dest/storage/tagging_store/sender_tagging_store.d.ts +5 -5
- package/dest/storage/tagging_store/sender_tagging_store.d.ts.map +1 -1
- package/dest/storage/tagging_store/sender_tagging_store.js +4 -4
- package/dest/tagging/index.d.ts +2 -2
- package/dest/tagging/index.d.ts.map +1 -1
- package/dest/tagging/index.js +1 -1
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts +4 -5
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts.map +1 -1
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.js +3 -3
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts +6 -7
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts.map +1 -1
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.js +12 -11
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts +4 -8
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts.map +1 -1
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.js +3 -6
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts +4 -7
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts.map +1 -1
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.js +14 -15
- package/package.json +16 -16
- package/src/config/index.ts +1 -1
- package/src/contract_function_simulator/contract_function_simulator.ts +15 -16
- package/src/contract_function_simulator/execution_tagging_index_cache.ts +5 -5
- package/src/contract_function_simulator/noir-structs/event_validation_request.ts +8 -5
- package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +1 -4
- package/src/contract_function_simulator/noir-structs/note_validation_request.ts +3 -6
- package/src/contract_function_simulator/oracle/interfaces.ts +48 -54
- package/src/contract_function_simulator/oracle/oracle.ts +136 -136
- package/src/contract_function_simulator/oracle/private_execution.ts +1 -1
- package/src/contract_function_simulator/oracle/private_execution_oracle.ts +42 -80
- package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +55 -59
- package/src/contract_logging.ts +39 -0
- package/src/entrypoints/client/bundle/index.ts +1 -0
- package/src/entrypoints/client/lazy/index.ts +1 -0
- package/src/logs/log_service.ts +10 -5
- package/src/oracle_version.ts +3 -3
- package/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts +157 -110
- package/src/private_kernel/hints/test_utils.ts +325 -0
- package/src/private_kernel/private_kernel_execution_prover.ts +13 -6
- package/src/private_kernel/private_kernel_oracle.ts +7 -7
- package/src/pxe.ts +23 -16
- package/src/storage/contract_store/contract_store.ts +170 -71
- package/src/storage/tagging_store/recipient_tagging_store.ts +9 -5
- package/src/storage/tagging_store/sender_tagging_store.ts +8 -8
- package/src/tagging/index.ts +1 -1
- package/src/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.ts +3 -6
- package/src/tagging/recipient_sync/utils/load_logs_for_range.ts +10 -15
- package/src/tagging/sender_sync/sync_sender_tagging_indexes.ts +4 -9
- package/src/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.ts +11 -20
|
@@ -4,9 +4,6 @@ import { EventSelector } from '@aztec/stdlib/abi';
|
|
|
4
4
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
5
5
|
import { TxHash } from '@aztec/stdlib/tx';
|
|
6
6
|
|
|
7
|
-
// TODO(#14617): should we compute this from constants? This value is aztec-nr specific.
|
|
8
|
-
const MAX_EVENT_SERIALIZED_LEN = 11;
|
|
9
|
-
|
|
10
7
|
/**
|
|
11
8
|
* Intermediate struct used to perform batch event validation by PXE. The `utilityValidateAndStoreEnqueuedNotesAndEvents` oracle
|
|
12
9
|
* expects for values of this type to be stored in a `CapsuleArray`.
|
|
@@ -22,7 +19,7 @@ export class EventValidationRequest {
|
|
|
22
19
|
public recipient: AztecAddress,
|
|
23
20
|
) {}
|
|
24
21
|
|
|
25
|
-
static fromFields(fields: Fr[]
|
|
22
|
+
static fromFields(fields: Fr[], maxEventSerializedLen: number): EventValidationRequest {
|
|
26
23
|
const reader = FieldReader.asReader(fields);
|
|
27
24
|
|
|
28
25
|
const contractAddress = AztecAddress.fromField(reader.readField());
|
|
@@ -30,7 +27,7 @@ export class EventValidationRequest {
|
|
|
30
27
|
|
|
31
28
|
const randomness = reader.readField();
|
|
32
29
|
|
|
33
|
-
const eventStorage = reader.readFieldArray(
|
|
30
|
+
const eventStorage = reader.readFieldArray(maxEventSerializedLen);
|
|
34
31
|
const eventLen = reader.readField().toNumber();
|
|
35
32
|
const serializedEvent = eventStorage.slice(0, eventLen);
|
|
36
33
|
|
|
@@ -38,6 +35,12 @@ export class EventValidationRequest {
|
|
|
38
35
|
const txHash = TxHash.fromField(reader.readField());
|
|
39
36
|
const recipient = AztecAddress.fromField(reader.readField());
|
|
40
37
|
|
|
38
|
+
if (reader.remainingFields() !== 0) {
|
|
39
|
+
throw new Error(
|
|
40
|
+
`Error converting array of fields to EventValidationRequest: expected ${reader.cursor} fields but received ${fields.length} (maxEventSerializedLen=${maxEventSerializedLen}).`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
41
44
|
return new EventValidationRequest(
|
|
42
45
|
contractAddress,
|
|
43
46
|
eventTypeId,
|
|
@@ -3,10 +3,7 @@ import { range } from '@aztec/foundation/array';
|
|
|
3
3
|
import { Fr } from '@aztec/foundation/curves/bn254';
|
|
4
4
|
import type { TxHash } from '@aztec/stdlib/tx';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const MAX_PUBLIC_LOG_LEN_FOR_NOTE_COMPLETION = MAX_NOTE_PACKED_LEN;
|
|
9
|
-
const MAX_LOG_CONTENT_LEN = Math.max(MAX_PUBLIC_LOG_LEN_FOR_NOTE_COMPLETION, PRIVATE_LOG_CIPHERTEXT_LEN);
|
|
6
|
+
const MAX_LOG_CONTENT_LEN = PRIVATE_LOG_CIPHERTEXT_LEN;
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* Intermediate struct used to perform batch log retrieval by PXE. The `utilityBulkRetrieveLogs` oracle stores values of this
|
|
@@ -3,9 +3,6 @@ import { FieldReader } from '@aztec/foundation/serialize';
|
|
|
3
3
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
4
4
|
import { TxHash } from '@aztec/stdlib/tx';
|
|
5
5
|
|
|
6
|
-
// TODO(#14617): should we compute this from constants? This value is aztec-nr specific.
|
|
7
|
-
export const MAX_NOTE_PACKED_LEN = 9;
|
|
8
|
-
|
|
9
6
|
/**
|
|
10
7
|
* Intermediate struct used to perform batch note validation by PXE. The `utilityValidateAndStoreEnqueuedNotesAndEvents` oracle
|
|
11
8
|
* expects for values of this type to be stored in a `CapsuleArray`.
|
|
@@ -24,7 +21,7 @@ export class NoteValidationRequest {
|
|
|
24
21
|
public recipient: AztecAddress,
|
|
25
22
|
) {}
|
|
26
23
|
|
|
27
|
-
static fromFields(fields: Fr[]
|
|
24
|
+
static fromFields(fields: Fr[], maxNotePackedLen: number): NoteValidationRequest {
|
|
28
25
|
const reader = FieldReader.asReader(fields);
|
|
29
26
|
|
|
30
27
|
const contractAddress = AztecAddress.fromField(reader.readField());
|
|
@@ -33,7 +30,7 @@ export class NoteValidationRequest {
|
|
|
33
30
|
const randomness = reader.readField();
|
|
34
31
|
const noteNonce = reader.readField();
|
|
35
32
|
|
|
36
|
-
const contentStorage = reader.readFieldArray(
|
|
33
|
+
const contentStorage = reader.readFieldArray(maxNotePackedLen);
|
|
37
34
|
const contentLen = reader.readField().toNumber();
|
|
38
35
|
const content = contentStorage.slice(0, contentLen);
|
|
39
36
|
|
|
@@ -44,7 +41,7 @@ export class NoteValidationRequest {
|
|
|
44
41
|
|
|
45
42
|
if (reader.remainingFields() !== 0) {
|
|
46
43
|
throw new Error(
|
|
47
|
-
`Error converting array of fields to NoteValidationRequest
|
|
44
|
+
`Error converting array of fields to NoteValidationRequest: expected ${reader.cursor} fields but received ${fields.length} (maxNotePackedLen=${maxNotePackedLen}).`,
|
|
48
45
|
);
|
|
49
46
|
}
|
|
50
47
|
|
|
@@ -6,8 +6,9 @@ import { MembershipWitness } from '@aztec/foundation/trees';
|
|
|
6
6
|
import type { FunctionSelector, NoteSelector } from '@aztec/stdlib/abi';
|
|
7
7
|
import type { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
8
8
|
import { BlockHash } from '@aztec/stdlib/block';
|
|
9
|
-
import type {
|
|
9
|
+
import type { ContractInstance, PartialAddress } from '@aztec/stdlib/contract';
|
|
10
10
|
import type { KeyValidationRequest } from '@aztec/stdlib/kernel';
|
|
11
|
+
import type { PublicKeys } from '@aztec/stdlib/keys';
|
|
11
12
|
import type { ContractClassLog, Tag } from '@aztec/stdlib/logs';
|
|
12
13
|
import type { Note, NoteStatus } from '@aztec/stdlib/note';
|
|
13
14
|
import { type NullifierMembershipWitness, PublicDataWitness } from '@aztec/stdlib/trees';
|
|
@@ -52,9 +53,9 @@ export interface NoteData {
|
|
|
52
53
|
export interface IMiscOracle {
|
|
53
54
|
isMisc: true;
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
getRandomField(): Fr;
|
|
57
|
+
assertCompatibleOracleVersion(version: number): void;
|
|
58
|
+
log(level: number, message: string, fields: Fr[]): Promise<void>;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
/**
|
|
@@ -64,30 +65,32 @@ export interface IMiscOracle {
|
|
|
64
65
|
export interface IUtilityExecutionOracle {
|
|
65
66
|
isUtility: true;
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
getUtilityContext(): UtilityContext;
|
|
69
|
+
getKeyValidationRequest(pkMHash: Fr): Promise<KeyValidationRequest>;
|
|
70
|
+
getContractInstance(address: AztecAddress): Promise<ContractInstance>;
|
|
71
|
+
getNoteHashMembershipWitness(
|
|
71
72
|
anchorBlockHash: BlockHash,
|
|
72
73
|
noteHash: Fr,
|
|
73
74
|
): Promise<MembershipWitness<typeof NOTE_HASH_TREE_HEIGHT> | undefined>;
|
|
74
|
-
|
|
75
|
+
getBlockHashMembershipWitness(
|
|
75
76
|
anchorBlockHash: BlockHash,
|
|
76
77
|
blockHash: BlockHash,
|
|
77
78
|
): Promise<MembershipWitness<typeof ARCHIVE_HEIGHT> | undefined>;
|
|
78
|
-
|
|
79
|
+
getNullifierMembershipWitness(
|
|
79
80
|
anchorBlockHash: BlockHash,
|
|
80
81
|
nullifier: Fr,
|
|
81
82
|
): Promise<NullifierMembershipWitness | undefined>;
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
getPublicDataWitness(anchorBlockHash: BlockHash, leafSlot: Fr): Promise<PublicDataWitness | undefined>;
|
|
84
|
+
getLowNullifierMembershipWitness(
|
|
84
85
|
anchorBlockHash: BlockHash,
|
|
85
86
|
nullifier: Fr,
|
|
86
87
|
): Promise<NullifierMembershipWitness | undefined>;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
getBlockHeader(blockNumber: BlockNumber): Promise<BlockHeader | undefined>;
|
|
89
|
+
tryGetPublicKeysAndPartialAddress(
|
|
90
|
+
account: AztecAddress,
|
|
91
|
+
): Promise<{ publicKeys: PublicKeys; partialAddress: PartialAddress } | undefined>;
|
|
92
|
+
getAuthWitness(messageHash: Fr): Promise<Fr[] | undefined>;
|
|
93
|
+
getNotes(
|
|
91
94
|
owner: AztecAddress | undefined,
|
|
92
95
|
storageSlot: Fr,
|
|
93
96
|
numSelects: number,
|
|
@@ -104,35 +107,37 @@ export interface IUtilityExecutionOracle {
|
|
|
104
107
|
offset: number,
|
|
105
108
|
status: NoteStatus,
|
|
106
109
|
): Promise<NoteData[]>;
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
checkNullifierExists(innerNullifier: Fr): Promise<boolean>;
|
|
111
|
+
getL1ToL2MembershipWitness(
|
|
109
112
|
contractAddress: AztecAddress,
|
|
110
113
|
messageHash: Fr,
|
|
111
114
|
secret: Fr,
|
|
112
115
|
): Promise<MessageLoadOracleInputs<typeof L1_TO_L2_MSG_TREE_HEIGHT>>;
|
|
113
|
-
|
|
116
|
+
storageRead(
|
|
114
117
|
anchorBlockHash: BlockHash,
|
|
115
118
|
contractAddress: AztecAddress,
|
|
116
119
|
startStorageSlot: Fr,
|
|
117
120
|
numberOfElements: number,
|
|
118
121
|
): Promise<Fr[]>;
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
fetchTaggedLogs(pendingTaggedLogArrayBaseSlot: Fr): Promise<void>;
|
|
123
|
+
validateAndStoreEnqueuedNotesAndEvents(
|
|
121
124
|
contractAddress: AztecAddress,
|
|
122
125
|
noteValidationRequestsArrayBaseSlot: Fr,
|
|
123
126
|
eventValidationRequestsArrayBaseSlot: Fr,
|
|
127
|
+
maxNotePackedLen: number,
|
|
128
|
+
maxEventSerializedLen: number,
|
|
124
129
|
): Promise<void>;
|
|
125
|
-
|
|
130
|
+
bulkRetrieveLogs(
|
|
126
131
|
contractAddress: AztecAddress,
|
|
127
132
|
logRetrievalRequestsArrayBaseSlot: Fr,
|
|
128
133
|
logRetrievalResponsesArrayBaseSlot: Fr,
|
|
129
134
|
): Promise<void>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
storeCapsule(contractAddress: AztecAddress, key: Fr, capsule: Fr[]): Promise<void>;
|
|
136
|
+
loadCapsule(contractAddress: AztecAddress, key: Fr): Promise<Fr[] | null>;
|
|
137
|
+
deleteCapsule(contractAddress: AztecAddress, key: Fr): Promise<void>;
|
|
138
|
+
copyCapsule(contractAddress: AztecAddress, srcKey: Fr, dstKey: Fr, numEntries: number): Promise<void>;
|
|
139
|
+
aes128Decrypt(ciphertext: Buffer, iv: Buffer, symKey: Buffer): Promise<Buffer>;
|
|
140
|
+
getSharedSecret(address: AztecAddress, ephPk: Point): Promise<Point>;
|
|
136
141
|
}
|
|
137
142
|
|
|
138
143
|
/**
|
|
@@ -142,9 +147,9 @@ export interface IUtilityExecutionOracle {
|
|
|
142
147
|
export interface IPrivateExecutionOracle {
|
|
143
148
|
isPrivate: true;
|
|
144
149
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
storeInExecutionCache(values: Fr[], hash: Fr): void;
|
|
151
|
+
loadFromExecutionCache(hash: Fr): Promise<Fr[]>;
|
|
152
|
+
notifyCreatedNote(
|
|
148
153
|
owner: AztecAddress,
|
|
149
154
|
storageSlot: Fr,
|
|
150
155
|
randomness: Fr,
|
|
@@ -153,33 +158,22 @@ export interface IPrivateExecutionOracle {
|
|
|
153
158
|
noteHash: Fr,
|
|
154
159
|
counter: number,
|
|
155
160
|
): void;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
notifyNullifiedNote(innerNullifier: Fr, noteHash: Fr, counter: number): Promise<void>;
|
|
162
|
+
notifyCreatedNullifier(innerNullifier: Fr): Promise<void>;
|
|
163
|
+
isNullifierPending(innerNullifier: Fr, contractAddress: AztecAddress): Promise<boolean>;
|
|
164
|
+
notifyCreatedContractClassLog(log: ContractClassLog, counter: number): void;
|
|
165
|
+
callPrivateFunction(
|
|
161
166
|
targetContractAddress: AztecAddress,
|
|
162
167
|
functionSelector: FunctionSelector,
|
|
163
168
|
argsHash: Fr,
|
|
164
169
|
sideEffectCounter: number,
|
|
165
170
|
isStaticCall: boolean,
|
|
166
171
|
): Promise<{ endSideEffectCounter: Fr; returnsHash: Fr }>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
): Promise<
|
|
173
|
-
|
|
174
|
-
targetContractAddress: AztecAddress,
|
|
175
|
-
calldataHash: Fr,
|
|
176
|
-
sideEffectCounter: number,
|
|
177
|
-
isStaticCall: boolean,
|
|
178
|
-
): Promise<void>;
|
|
179
|
-
privateNotifySetMinRevertibleSideEffectCounter(minRevertibleSideEffectCounter: number): Promise<void>;
|
|
180
|
-
privateIsSideEffectCounterRevertible(sideEffectCounter: number): Promise<boolean>;
|
|
181
|
-
privateGetSenderForTags(): Promise<AztecAddress | undefined>;
|
|
182
|
-
privateSetSenderForTags(senderForTags: AztecAddress): Promise<void>;
|
|
183
|
-
privateGetNextAppTagAsSender(sender: AztecAddress, recipient: AztecAddress): Promise<Tag>;
|
|
184
|
-
utilityEmitOffchainEffect(data: Fr[]): Promise<void>;
|
|
172
|
+
validatePublicCalldata(calldataHash: Fr): Promise<void>;
|
|
173
|
+
notifyRevertiblePhaseStart(minRevertibleSideEffectCounter: number): Promise<void>;
|
|
174
|
+
inRevertiblePhase(sideEffectCounter: number): Promise<boolean>;
|
|
175
|
+
getSenderForTags(): Promise<AztecAddress | undefined>;
|
|
176
|
+
setSenderForTags(senderForTags: AztecAddress): Promise<void>;
|
|
177
|
+
getNextAppTagAsSender(sender: AztecAddress, recipient: AztecAddress): Promise<Tag>;
|
|
178
|
+
emitOffchainEffect(data: Fr[]): Promise<void>;
|
|
185
179
|
}
|