Kagome
Polkadot Runtime Engine in C++17
|
#include <host_api_factory.hpp>
Public Member Functions | |
virtual | ~HostApiFactory ()=default |
virtual std::unique_ptr< HostApi > | make (std::shared_ptr< const runtime::CoreApiFactory > core_provider, std::shared_ptr< const runtime::MemoryProvider > memory_provider, std::shared_ptr< runtime::TrieStorageProvider > storage_provider) const =0 |
Creates extension containing provided wasm memory
Definition at line 22 of file host_api_factory.hpp.
|
virtualdefault |
|
pure virtual |
Takes
memory | and creates |
Implemented in kagome::host_api::HostApiFactoryImpl.