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

#include <get_storage.hpp>

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

Public Member Functions

 GetStorage (GetStorage const &)=delete
 
GetStorageoperator= (GetStorage const &)=delete
 
 GetStorage (GetStorage &&)=default
 
GetStorageoperator= (GetStorage &&)=default
 
 GetStorage (std::shared_ptr< StateApi > api)
 
 ~GetStorage ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< std::optional< common::Buffer > > execute ()
 

Private Attributes

std::shared_ptr< StateApiapi_
 
common::Buffer key_
 
std::optional< kagome::primitives::BlockHashat_
 

Detailed Description

Definition at line 20 of file get_storage.hpp.

Constructor & Destructor Documentation

kagome::api::state::request::GetStorage::GetStorage ( GetStorage const &  )
delete
kagome::api::state::request::GetStorage::GetStorage ( GetStorage &&  )
default
kagome::api::state::request::GetStorage::GetStorage ( std::shared_ptr< StateApi api)
inlineexplicit

Definition at line 28 of file get_storage.hpp.

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

Member Function Documentation

outcome::result< std::optional< common::Buffer > > kagome::api::state::request::GetStorage::execute ( )

Definition at line 44 of file get_storage.cpp.

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

Definition at line 10 of file get_storage.cpp.

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

Member Data Documentation

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

Definition at line 36 of file get_storage.hpp.

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

Definition at line 38 of file get_storage.hpp.

common::Buffer kagome::api::state::request::GetStorage::key_
private

Definition at line 37 of file get_storage.hpp.


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