Kagome
Polkadot Runtime Engine in C++17
transaction_payment_api.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_RUNTIME_IMPL_TRANSACTION_PAYMENT_API_HPP
7 #define KAGOME_RUNTIME_IMPL_TRANSACTION_PAYMENT_API_HPP
8 
10 
11 namespace kagome::runtime {
12 
13  class Executor;
14 
16  public:
17  explicit TransactionPaymentApiImpl(std::shared_ptr<Executor> executor);
18 
19  outcome::result<primitives::RuntimeDispatchInfo> query_info(
20  const primitives::BlockHash &block,
21  const primitives::Extrinsic &ext,
22  uint32_t len) override;
23 
24  private:
25  std::shared_ptr<Executor> executor_;
26  };
27 
28 } // namespace kagome::runtime
29 
30 #endif // KAGOME_TRANSACTION_PAYMENT_API_HPP
outcome::result< primitives::RuntimeDispatchInfo > query_info(const primitives::BlockHash &block, const primitives::Extrinsic &ext, uint32_t len) override
TransactionPaymentApiImpl(std::shared_ptr< Executor > executor)
Extrinsic class represents extrinsic.
Definition: extrinsic.hpp:24