Skip to content

sgns::runtime::binaryen::CoreFactoryImpl

#include <core_factory_impl.hpp>

Inherits from sgns::runtime::CoreFactory

Public Functions

Name
CoreFactoryImpl(std::shared_ptr< RuntimeManager > runtime_manager, std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker, std::shared_ptr< blockchain::BlockHeaderRepository > header_repo)
~CoreFactoryImpl() override =default
virtual std::unique_ptr< Core > createWithCode(std::shared_ptr< WasmProvider > wasm_provider) override

Additional inherited members

Public Functions inherited from sgns::runtime::CoreFactory

Name
virtual ~CoreFactory() =default

Public Functions Documentation

function CoreFactoryImpl

CoreFactoryImpl(
    std::shared_ptr< RuntimeManager > runtime_manager,
    std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker,
    std::shared_ptr< blockchain::BlockHeaderRepository > header_repo
)

function ~CoreFactoryImpl

~CoreFactoryImpl() override =default

function createWithCode

virtual std::unique_ptr< Core > createWithCode(
    std::shared_ptr< WasmProvider > wasm_provider
) override

Reimplements: sgns::runtime::CoreFactory::createWithCode

Creates a Core API object backed by the code that

  • wasm_provider serves

Updated on 2026-03-04 at 13:10:43 -0800