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

#include <get_keys.hpp>

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

Public Member Functions

 GetKeys (GetKeys const &)=delete
 
GetKeysoperator= (GetKeys const &)=delete
 
 GetKeys (GetKeys &&)=default
 
GetKeysoperator= (GetKeys &&)=default
 
 GetKeys (std::shared_ptr< ChildStateApi > api)
 
 ~GetKeys ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< std::vector< common::Buffer > > execute ()
 

Private Attributes

std::shared_ptr< ChildStateApiapi_
 
common::Buffer child_storage_key_
 
std::optional< common::Bufferprefix_
 
std::optional< primitives::BlockHashat_
 

Detailed Description

Request processor for childstate_GetKeys RPC: https://github.com/w3f/PSPs/blob/master/PSPs/drafts/psp-6.md#1121-childstate_getkeys

Definition at line 22 of file get_keys.hpp.

Constructor & Destructor Documentation

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

Definition at line 30 of file get_keys.hpp.

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

Member Function Documentation

outcome::result< std::vector< common::Buffer > > kagome::api::child_state::request::GetKeys::execute ( )

Definition at line 64 of file get_keys.cpp.

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

Definition at line 12 of file get_keys.cpp.

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

Member Data Documentation

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

Definition at line 41 of file get_keys.hpp.

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

Definition at line 44 of file get_keys.hpp.

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

Definition at line 42 of file get_keys.hpp.

std::optional<common::Buffer> kagome::api::child_state::request::GetKeys::prefix_
private

Definition at line 43 of file get_keys.hpp.


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