Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
binaryen
common
runtime_api
impl
account_nonce_api.cpp
account_nonce_api.hpp
authority_discovery_api.cpp
authority_discovery_api.hpp
babe_api.cpp
babe_api.hpp
block_builder.cpp
block_builder.hpp
core.cpp
core.hpp
grandpa_api.cpp
grandpa_api.hpp
metadata.cpp
metadata.hpp
offchain_worker_api.cpp
offchain_worker_api.hpp
parachain_host.cpp
parachain_host.hpp
parachain_host_types_serde.cpp
parachain_host_types_serde.hpp
runtime_properties_cache_impl.cpp
runtime_properties_cache_impl.hpp
session_keys_api.cpp
session_keys_api.hpp
tagged_transaction_queue.cpp
tagged_transaction_queue.hpp
transaction_payment_api.cpp
transaction_payment_api.hpp
account_nonce_api.hpp
authority_discovery_api.hpp
babe_api.hpp
block_builder.hpp
core.hpp
grandpa_api.hpp
metadata.hpp
offchain_worker_api.hpp
parachain_host.hpp
parachain_host_types.hpp
session_keys_api.hpp
tagged_transaction_queue.hpp
transaction_payment_api.hpp
wavm
core_api_factory.hpp
instance_environment.hpp
memory.hpp
memory_provider.hpp
module.hpp
module_factory.hpp
module_instance.hpp
module_repository.hpp
persistent_result.hpp
ptr_size.hpp
raw_executor.hpp
runtime_code_provider.hpp
runtime_environment_factory.hpp
runtime_properties_cache.hpp
runtime_upgrade_tracker.hpp
trie_storage_provider.hpp
types.hpp
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
transaction_payment_api.cpp
Go to the documentation of this file.
1
6
#include "
runtime/runtime_api/impl/transaction_payment_api.hpp
"
7
8
#include "
runtime/common/executor.hpp
"
9
10
namespace
kagome::runtime
{
11
12
TransactionPaymentApiImpl::TransactionPaymentApiImpl
(
13
std::shared_ptr<Executor> executor)
14
: executor_{std::move(executor)} {
15
BOOST_ASSERT(
executor_
);
16
}
17
18
outcome::result<primitives::RuntimeDispatchInfo>
19
TransactionPaymentApiImpl::query_info
(
const
primitives::BlockHash
&block,
20
const
primitives::Extrinsic
&ext,
21
uint32_t len) {
22
return
executor_
->callAt<
primitives::RuntimeDispatchInfo
>(
23
block,
"TransactionPaymentApi_query_info"
, ext, len);
24
}
25
26
}
// namespace kagome::runtime
executor.hpp
kagome::common::Blob< 32 >
kagome::runtime
Definition:
author_api_impl.hpp:43
kagome::runtime::TransactionPaymentApiImpl::executor_
std::shared_ptr< Executor > executor_
Definition:
transaction_payment_api.hpp:25
kagome::runtime::TransactionPaymentApiImpl::query_info
outcome::result< primitives::RuntimeDispatchInfo > query_info(const primitives::BlockHash &block, const primitives::Extrinsic &ext, uint32_t len) override
Definition:
transaction_payment_api.cpp:19
transaction_payment_api.hpp
kagome::primitives::RuntimeDispatchInfo
Definition:
runtime_dispatch_info.hpp:14
kagome::runtime::TransactionPaymentApiImpl::TransactionPaymentApiImpl
TransactionPaymentApiImpl(std::shared_ptr< Executor > executor)
Definition:
transaction_payment_api.cpp:12
kagome::primitives::Extrinsic
Extrinsic class represents extrinsic.
Definition:
extrinsic.hpp:24
core
runtime
runtime_api
impl
transaction_payment_api.cpp
Generated by
1.8.11