8#include <spdlog/spdlog.h>
20 asio::awaitable<std::expected<chain::Address, pt::PTDeployError>>
deployConnector(
23 ConnectorRecord connector,
24 const std::filesystem::path & storage_path,
25 bool persist_json =
true);
29 TransformationRecord transformation,
30 const std::filesystem::path & storage_path,
31 bool persist_json =
true);
32 asio::awaitable<std::expected<chain::Address, pt::PTDeployError>>
deployCondition(
35 ConditionRecord condition,
36 const std::filesystem::path & storage_path,
37 bool persist_json =
true);
42 const std::filesystem::path & storage_path);
47 const std::string & name,
48 const std::filesystem::path & storage_path);
52 const std::string & name,
53 const std::filesystem::path & storage_path);
57 const std::string & name,
58 const std::filesystem::path & storage_path);
64 const std::filesystem::path & storage_path);
68 const std::filesystem::path & storage_path);
72 const std::filesystem::path & storage_path);
Definition registry.hpp:42
asio::awaitable< bool > ensureTransformationDeployed(evm::EVM &evm, registry::Registry ®istry, const std::string &name, const std::filesystem::path &storage_path)
Definition loader.cpp:945
asio::awaitable< bool > loadStoredConnectors(evm::EVM &evm, registry::Registry ®istry, const std::filesystem::path &storage_path)
Definition loader.cpp:791
asio::awaitable< bool > loadStoredConditions(evm::EVM &evm, registry::Registry ®istry, const std::filesystem::path &storage_path)
Definition loader.cpp:907
asio::awaitable< std::expected< chain::Address, pt::PTDeployError > > deployConnector(evm::EVM &evm, registry::Registry ®istry, ConnectorRecord connector, const std::filesystem::path &storage_path, bool persist_json=true)
Definition loader.cpp:737
asio::awaitable< std::expected< chain::Address, pt::PTDeployError > > deployCondition(evm::EVM &evm, registry::Registry ®istry, ConditionRecord condition, const std::filesystem::path &storage_path, bool persist_json=true)
Definition loader.cpp:773
asio::awaitable< bool > ensureConnectorDeployed(evm::EVM &evm, registry::Registry ®istry, const std::string &name, const std::filesystem::path &storage_path)
Definition loader.cpp:1046
bool ensurePTBuildVersion(const std::filesystem::path &storage_path)
Definition loader.cpp:317
asio::awaitable< bool > loadStoredTransformations(evm::EVM &evm, registry::Registry ®istry, const std::filesystem::path &storage_path)
Definition loader.cpp:869
asio::awaitable< std::expected< chain::Address, pt::PTDeployError > > deployTransformation(evm::EVM &evm, registry::Registry ®istry, TransformationRecord transformation, const std::filesystem::path &storage_path, bool persist_json=true)
Definition loader.cpp:755
asio::awaitable< bool > ensureConditionDeployed(evm::EVM &evm, registry::Registry ®istry, const std::string &name, const std::filesystem::path &storage_path)
Definition loader.cpp:996
asio::awaitable< bool > importJsonStorageToDatabase(evm::EVM &evm, registry::Registry ®istry, const std::filesystem::path &storage_path)
Definition loader.cpp:1057
Definition registry.hpp:23