Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
contract_instance_manager.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <optional>
4
5
#include "
barretenberg/vm2/common/aztec_types.hpp
"
6
#include "
barretenberg/vm2/common/field.hpp
"
7
8
namespace
bb::avm2::simulation
{
9
17
class
ContractInstanceManagerInterface
{
18
public
:
19
virtual
~ContractInstanceManagerInterface
() =
default
;
20
26
virtual
std::optional<ContractInstance>
get_contract_instance
(
const
FF
&
contract_address
) = 0;
27
};
28
29
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::simulation::ContractInstanceManagerInterface
Core shared component for contract instance retrieval and validation.
Definition
contract_instance_manager.hpp:17
bb::avm2::simulation::ContractInstanceManagerInterface::~ContractInstanceManagerInterface
virtual ~ContractInstanceManagerInterface()=default
bb::avm2::simulation::ContractInstanceManagerInterface::get_contract_instance
virtual std::optional< ContractInstance > get_contract_instance(const FF &contract_address)=0
Retrieve and validate a contract instance.
contract_address
AztecAddress contract_address
Definition
written_public_data_slots_tree_check.test.cpp:97
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
field.hpp
src
barretenberg
vm2
simulation
interfaces
contract_instance_manager.hpp
Generated by
1.9.8