Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
get_contract_instance.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 declaration
11
class
MemoryInterface;
12
13
class
GetContractInstanceInterface
{
14
public
:
15
virtual
~GetContractInstanceInterface
() =
default
;
16
virtual
void
get_contract_instance
(
MemoryInterface
&
memory
,
17
const
AztecAddress
&
contract_address
,
18
MemoryAddress
dst_offset,
19
uint8_t member_enum) = 0;
20
};
21
22
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::GetContractInstanceInterface
Definition
get_contract_instance.hpp:13
bb::avm2::simulation::GetContractInstanceInterface::~GetContractInstanceInterface
virtual ~GetContractInstanceInterface()=default
bb::avm2::simulation::GetContractInstanceInterface::get_contract_instance
virtual void get_contract_instance(MemoryInterface &memory, const AztecAddress &contract_address, MemoryAddress dst_offset, uint8_t member_enum)=0
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
contract_address
AztecAddress contract_address
Definition
written_public_data_slots_tree_check.test.cpp:97
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::AztecAddress
FF AztecAddress
Definition
aztec_types.hpp:12
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
src
barretenberg
vm2
simulation
interfaces
get_contract_instance.hpp
Generated by
1.9.8