Kagome
Polkadot Runtime Engine in C++17
kagome::api::author::request::InsertKey Class Referencefinal

#include <insert_key.hpp>

Inheritance diagram for kagome::api::author::request::InsertKey:
Collaboration diagram for kagome::api::author::request::InsertKey:

Public Member Functions

 InsertKey (std::shared_ptr< AuthorApi > api)
 
outcome::result< Returnexecute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< void, std::string, std::string, std::string >
 RequestType ()=default
 
 RequestType (const RequestType &)=delete
 
 RequestType (RequestType &&)=delete
 
virtual ~RequestType ()=default
 
RequestTypeoperator= (const RequestType &)=delete
 
RequestTypeoperator= (RequestType &&)=delete
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
auto getParam () -> typename std::tuple_element< I, decltype(params_)>::type &
 

Private Attributes

std::shared_ptr< AuthorApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< void, std::string, std::string, std::string >
using Params = std::tuple< ArgumentTypes... >
 
using Return = void
 

Detailed Description

Definition at line 17 of file insert_key.hpp.

Constructor & Destructor Documentation

kagome::api::author::request::InsertKey::InsertKey ( std::shared_ptr< AuthorApi api)
inlineexplicit

Definition at line 21 of file insert_key.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::author::request::InsertKey::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<AuthorApi> kagome::api::author::request::InsertKey::api_
private

Definition at line 34 of file insert_key.hpp.


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