|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <emit_public_log.hpp>
Public Member Functions | |
| EmitPublicLog (ExecutionIdManagerInterface &execution_id_manager, GreaterThanInterface &greater_than, EventEmitterInterface< EmitPublicLogEvent > &events) | |
| void | emit_public_log (MemoryInterface &memory, ContextInterface &context, const AztecAddress &contract_address, MemoryAddress log_offset, uint32_t log_size) override |
| Emit a public log from the current execution context. | |
| void | on_checkpoint_created () override |
| void | on_checkpoint_committed () override |
| void | on_checkpoint_reverted () override |
Public Member Functions inherited from bb::avm2::simulation::EmitPublicLogInterface | |
| virtual | ~EmitPublicLogInterface ()=default |
Public Member Functions inherited from bb::avm2::simulation::CheckpointNotifiable | |
| virtual | ~CheckpointNotifiable ()=default |
Private Attributes | |
| ExecutionIdManagerInterface & | execution_id_manager |
| GreaterThanInterface & | greater_than |
| EventEmitterInterface< EmitPublicLogEvent > & | events |
Definition at line 18 of file emit_public_log.hpp.
|
inline |
Definition at line 20 of file emit_public_log.hpp.
|
overridevirtual |
Emit a public log from the current execution context.
| memory | The memory interface to read log field values from. |
| context | The execution context providing side-effect tracking and static-call status. |
| contract_address | The address of the contract emitting the log. |
| log_address | The starting memory address of the log payload. |
| log_size | The number of fields in the log payload. |
Implements bb::avm2::simulation::EmitPublicLogInterface.
Definition at line 17 of file emit_public_log.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::CheckpointNotifiable.
Definition at line 91 of file emit_public_log.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::CheckpointNotifiable.
Definition at line 86 of file emit_public_log.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::CheckpointNotifiable.
Definition at line 96 of file emit_public_log.cpp.
|
private |
Definition at line 41 of file emit_public_log.hpp.
|
private |
Definition at line 39 of file emit_public_log.hpp.
|
private |
Definition at line 40 of file emit_public_log.hpp.