Kagome
Polkadot Runtime Engine in C++17
|
#include <module.hpp>
Public Member Functions | |
outcome::result< std::shared_ptr< ModuleInstance > > | instantiate () const override |
Public Member Functions inherited from kagome::runtime::Module | |
virtual | ~Module ()=default |
Static Public Member Functions | |
static std::unique_ptr< ModuleImpl > | compileFrom (std::shared_ptr< CompartmentWrapper > compartment, ModuleParams &module_params, std::shared_ptr< IntrinsicModule > intrinsic_module, std::shared_ptr< const InstanceEnvironmentFactory > env_factory, gsl::span< const uint8_t > code, const common::Hash256 &code_hash) |
Private Member Functions | |
ModuleImpl (std::shared_ptr< CompartmentWrapper > compartment, std::shared_ptr< const IntrinsicModule > intrinsic_module, std::shared_ptr< const InstanceEnvironmentFactory > env_factory, std::shared_ptr< WAVM::Runtime::Module > module, const common::Hash256 &code_hash) | |
WAVM::Runtime::ImportBindings | link (IntrinsicResolver &resolver) const |
Private Attributes | |
std::shared_ptr< const InstanceEnvironmentFactory > | env_factory_ |
std::shared_ptr< CompartmentWrapper > | compartment_ |
std::shared_ptr< const IntrinsicModule > | intrinsic_module_ |
std::shared_ptr< WAVM::Runtime::Module > | module_ |
const common::Hash256 | code_hash_ |
log::Logger | logger_ |
Definition at line 31 of file module.hpp.
|
private |
Definition at line 61 of file module.cpp.
|
static |
Definition at line 23 of file module.cpp.
|
overridevirtual |
Implements kagome::runtime::Module.
Definition at line 79 of file module.cpp.
|
private |
Definition at line 115 of file module.cpp.
|
private |
Definition at line 57 of file module.hpp.
|
private |
Definition at line 54 of file module.hpp.
|
private |
Definition at line 53 of file module.hpp.
|
private |
Definition at line 55 of file module.hpp.
|
private |
Definition at line 58 of file module.hpp.
|
private |
Definition at line 56 of file module.hpp.