Kagome
Polkadot Runtime Engine in C++17
kagome::api::child_state::request::GetStorageHash Class Referencefinal

#include <get_storage_hash.hpp>

Collaboration diagram for kagome::api::child_state::request::GetStorageHash:

Public Member Functions

 GetStorageHash (GetStorageHash const &)=delete
 
GetStorageHashoperator= (GetStorageHash const &)=delete
 
 GetStorageHash (GetStorageHash &&)=default
 
GetStorageHashoperator= (GetStorageHash &&)=default
 
 GetStorageHash (std::shared_ptr< ChildStateApi > api)
 
 ~GetStorageHash ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< std::optional< kagome::primitives::BlockHash > > execute ()
 

Private Attributes

std::shared_ptr< ChildStateApiapi_
 
common::Buffer child_storage_key_
 
common::Buffer key_
 
std::optional< kagome::primitives::BlockHashat_
 

Detailed Description

Definition at line 20 of file get_storage_hash.hpp.

Constructor & Destructor Documentation

kagome::api::child_state::request::GetStorageHash::GetStorageHash ( GetStorageHash const &  )
delete
kagome::api::child_state::request::GetStorageHash::GetStorageHash ( GetStorageHash &&  )
default
kagome::api::child_state::request::GetStorageHash::GetStorageHash ( std::shared_ptr< ChildStateApi api)
inlineexplicit

Definition at line 28 of file get_storage_hash.hpp.

kagome::api::child_state::request::GetStorageHash::~GetStorageHash ( )
default

Member Function Documentation

outcome::result< std::optional< primitives::BlockHash > > kagome::api::child_state::request::GetStorageHash::execute ( )

Definition at line 55 of file get_storage_hash.cpp.

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

Definition at line 10 of file get_storage_hash.cpp.

GetStorageHash& kagome::api::child_state::request::GetStorageHash::operator= ( GetStorageHash const &  )
delete
GetStorageHash& kagome::api::child_state::request::GetStorageHash::operator= ( GetStorageHash &&  )
default

Member Data Documentation

std::shared_ptr<ChildStateApi> kagome::api::child_state::request::GetStorageHash::api_
private

Definition at line 37 of file get_storage_hash.hpp.

std::optional<kagome::primitives::BlockHash> kagome::api::child_state::request::GetStorageHash::at_
private

Definition at line 40 of file get_storage_hash.hpp.

common::Buffer kagome::api::child_state::request::GetStorageHash::child_storage_key_
private

Definition at line 38 of file get_storage_hash.hpp.

common::Buffer kagome::api::child_state::request::GetStorageHash::key_
private

Definition at line 39 of file get_storage_hash.hpp.


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