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
10
11namespace bb::avm2::simulation {
12
13struct ContractInstanceNotFoundError : public std::runtime_error {
15 : std::runtime_error(message)
17 {}
18
20};
21
40
56
57} // namespace bb::avm2::simulation
EventEmitterInterface< ContractInstanceRetrievalEvent > & event_emitter
Core shared component for contract instance retrieval and validation.
virtual std::optional< ContractInstance > get_contract_instance(const FF &contract_address)=0
Retrieve and validate a contract instance.
AvmFlavorSettings::FF FF
Definition field.hpp:10
STL namespace.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
ContractInstanceNotFoundError(AztecAddress address, const std::string &message)