Kagome
Polkadot Runtime Engine in C++17
kagome::api::PaymentApiImpl Class Reference

#include <payment_api_impl.hpp>

Inheritance diagram for kagome::api::PaymentApiImpl:
Collaboration diagram for kagome::api::PaymentApiImpl:

Public Member Functions

 PaymentApiImpl (std::shared_ptr< runtime::TransactionPaymentApi > api, std::shared_ptr< const blockchain::BlockTree > block_tree)
 
 ~PaymentApiImpl () override=default
 
outcome::result< primitives::RuntimeDispatchInfoqueryInfo (const primitives::Extrinsic &extrinsic, uint32_t len, OptionalHashRef at) const override
 
- Public Member Functions inherited from kagome::api::PaymentApi
virtual ~PaymentApi ()=default
 

Private Attributes

std::shared_ptr< runtime::TransactionPaymentApiapi_
 
std::shared_ptr< const blockchain::BlockTreeblock_tree_
 

Additional Inherited Members

- Public Types inherited from kagome::api::PaymentApi
using OptionalHashRef = std::optional< std::reference_wrapper< const common::Hash256 >>
 

Detailed Description

Definition at line 21 of file payment_api_impl.hpp.

Constructor & Destructor Documentation

kagome::api::PaymentApiImpl::PaymentApiImpl ( std::shared_ptr< runtime::TransactionPaymentApi api,
std::shared_ptr< const blockchain::BlockTree block_tree 
)

Definition at line 14 of file payment_api_impl.cpp.

kagome::api::PaymentApiImpl::~PaymentApiImpl ( )
overridedefault

Member Function Documentation

outcome::result< primitives::RuntimeDispatchInfo > kagome::api::PaymentApiImpl::queryInfo ( const primitives::Extrinsic extrinsic,
uint32_t  len,
OptionalHashRef  at 
) const
overridevirtual

Implements kagome::api::PaymentApi.

Definition at line 22 of file payment_api_impl.cpp.

Member Data Documentation

std::shared_ptr<runtime::TransactionPaymentApi> kagome::api::PaymentApiImpl::api_
private

Definition at line 33 of file payment_api_impl.hpp.

std::shared_ptr<const blockchain::BlockTree> kagome::api::PaymentApiImpl::block_tree_
private

Definition at line 34 of file payment_api_impl.hpp.


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