Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::binaryen::OneCodeProvider Class Referencefinal
Inheritance diagram for kagome::runtime::binaryen::OneCodeProvider:
Collaboration diagram for kagome::runtime::binaryen::OneCodeProvider:

Public Member Functions

 OneCodeProvider (gsl::span< const uint8_t > code)
 
virtual outcome::result< gsl::span< const uint8_t > > getCodeAt (const storage::trie::RootHash &) const
 
- Public Member Functions inherited from kagome::runtime::RuntimeCodeProvider
virtual ~RuntimeCodeProvider ()=default
 

Private Attributes

gsl::span< const uint8_t > code_
 

Detailed Description

Definition at line 52 of file core_api_factory_impl.cpp.

Constructor & Destructor Documentation

kagome::runtime::binaryen::OneCodeProvider::OneCodeProvider ( gsl::span< const uint8_t >  code)
inlineexplicit

Definition at line 54 of file core_api_factory_impl.cpp.

Member Function Documentation

virtual outcome::result<gsl::span<const uint8_t> > kagome::runtime::binaryen::OneCodeProvider::getCodeAt ( const storage::trie::RootHash ) const
inlinevirtual

Implements kagome::runtime::RuntimeCodeProvider.

Definition at line 56 of file core_api_factory_impl.cpp.

Member Data Documentation

gsl::span<const uint8_t> kagome::runtime::binaryen::OneCodeProvider::code_
private

Definition at line 62 of file core_api_factory_impl.cpp.


The documentation for this class was generated from the following file: