Kagome
Polkadot Runtime Engine in C++17
kagome::api::state::request::GetRuntimeVersion Class Referencefinal

#include <get_runtime_version.hpp>

Collaboration diagram for kagome::api::state::request::GetRuntimeVersion:

Public Member Functions

 GetRuntimeVersion (const GetRuntimeVersion &)=delete
 
GetRuntimeVersionoperator= (const GetRuntimeVersion &)=delete
 
 GetRuntimeVersion (GetRuntimeVersion &&)=default
 
GetRuntimeVersionoperator= (GetRuntimeVersion &&)=default
 
 GetRuntimeVersion (std::shared_ptr< StateApi > api)
 
 ~GetRuntimeVersion ()=default
 
outcome::result< void > init (jsonrpc::Request::Parameters const &params)
 
outcome::result< primitives::Versionexecute ()
 

Private Attributes

std::shared_ptr< StateApiapi_
 
std::optional< primitives::BlockHashat_
 

Detailed Description

Definition at line 18 of file get_runtime_version.hpp.

Constructor & Destructor Documentation

kagome::api::state::request::GetRuntimeVersion::GetRuntimeVersion ( const GetRuntimeVersion )
delete
kagome::api::state::request::GetRuntimeVersion::GetRuntimeVersion ( GetRuntimeVersion &&  )
default
kagome::api::state::request::GetRuntimeVersion::GetRuntimeVersion ( std::shared_ptr< StateApi api)
explicit

Definition at line 10 of file get_runtime_version.cpp.

kagome::api::state::request::GetRuntimeVersion::~GetRuntimeVersion ( )
default

Member Function Documentation

outcome::result< primitives::Version > kagome::api::state::request::GetRuntimeVersion::execute ( )

Definition at line 40 of file get_runtime_version.cpp.

outcome::result< void > kagome::api::state::request::GetRuntimeVersion::init ( jsonrpc::Request::Parameters const &  params)

Definition at line 15 of file get_runtime_version.cpp.

GetRuntimeVersion& kagome::api::state::request::GetRuntimeVersion::operator= ( const GetRuntimeVersion )
delete
GetRuntimeVersion& kagome::api::state::request::GetRuntimeVersion::operator= ( GetRuntimeVersion &&  )
default

Member Data Documentation

std::shared_ptr<StateApi> kagome::api::state::request::GetRuntimeVersion::api_
private

Definition at line 33 of file get_runtime_version.hpp.

std::optional<primitives::BlockHash> kagome::api::state::request::GetRuntimeVersion::at_
private

Definition at line 34 of file get_runtime_version.hpp.


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