Module txe_oracles
Structs
- The context of the last top-level call into TXE, as captured by the call executor. Refreshed on every top-level call.
- The side effects of a single transaction, as surfaced by
get_last_tx_effects.
Type aliases
- Note hashes emitted by a single transaction, as surfaced by
get_last_tx_effects. - Nullifiers emitted by a single transaction, as surfaced by
get_last_tx_effects. - A single private log's
log_dataas surfaced byget_last_tx_effects: the first field is the kernel-siloed tag and the remainder is the ciphertext payload. - Private logs emitted by a single transaction, in emission order, as surfaced by
get_last_tx_effects.
Functions
- Asserts that the TXE oracle interface version is compatible.
- Returns the context of the last top-level call into TXE. See
TXECallContext. - Returns the raw offchain effect payloads emitted by the last top-level call into TXE. Each effect is a variable-length field array (e.g. offchain messages have a different size than authwit authorization requests).
- Returns the effects of the last transaction included by the TXE.
Globals
- The TXE oracle version constants are used to check that the oracle interface used for tests is in sync between TXE and Aztec.nr. This is separate from the contract oracle version in
oracle::version, which covers oracles used during contract execution by PXE.