Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
emit_public_log.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
barretenberg/vm2/common/aztec_types.hpp
"
6
#include "
barretenberg/vm2/common/memory_types.hpp
"
7
8
namespace
bb::avm2::simulation
{
9
10
// Forward declarations
11
class
ContextInterface;
12
class
MemoryInterface;
13
14
class
EmitPublicLogInterface
{
15
public
:
16
virtual
~EmitPublicLogInterface
() =
default
;
17
virtual
void
emit_public_log
(
MemoryInterface
&
memory
,
18
ContextInterface
&
context
,
19
const
AztecAddress
& contract_address,
20
MemoryAddress
log_offset,
21
uint32_t log_size) = 0;
22
};
23
24
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::context
Definition
context.hpp:37
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::ContextInterface
Definition
context.hpp:21
bb::avm2::simulation::EmitPublicLogInterface
Definition
emit_public_log.hpp:14
bb::avm2::simulation::EmitPublicLogInterface::~EmitPublicLogInterface
virtual ~EmitPublicLogInterface()=default
bb::avm2::simulation::EmitPublicLogInterface::emit_public_log
virtual void emit_public_log(MemoryInterface &memory, ContextInterface &context, const AztecAddress &contract_address, MemoryAddress log_offset, uint32_t log_size)=0
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
memory_types.hpp
bb::avm2::simulation
AVM range check gadget for witness generation.
Definition
address_derivation_event.hpp:6
bb::avm2::AztecAddress
FF AztecAddress
Definition
aztec_types.hpp:16
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
src
barretenberg
vm2
simulation
interfaces
emit_public_log.hpp
Generated by
1.9.8