Wire Sysio Wire Sysion 1.0.0
|
Functions | |
fc::sha256 | operator""_h (const char *input, std::size_t) |
chain::name | operator""_n (const char *input, std::size_t) |
chain::asset | operator""_t (const char *input, std::size_t) |
auto | get_private_key (chain::name keyname, std::string role="owner") |
auto | get_public_key (chain::name keyname, std::string role="owner") |
chain::bytes | make_transfer_data (chain::name from, chain::name to, chain::asset quantity, std::string &&memo) |
auto | make_block_state (chain::block_id_type previous, uint32_t height, uint32_t slot, chain::name producer, std::vector< chain::packed_transaction > trxs) |
void | to_kv_helper (const fc::variant &v, std::function< void(const std::string &, const std::string &)> &&append) |
auto | to_kv (const fc::variant &v) |
Utilities that make writing tests easier
auto sysio::trace_api::test_common::get_private_key | ( | chain::name | keyname, |
std::string | role = "owner" ) |
Definition at line 34 of file test_common.hpp.
auto sysio::trace_api::test_common::get_public_key | ( | chain::name | keyname, |
std::string | role = "owner" ) |
Definition at line 39 of file test_common.hpp.
auto sysio::trace_api::test_common::make_block_state | ( | chain::block_id_type | previous, |
uint32_t | height, | ||
uint32_t | slot, | ||
chain::name | producer, | ||
std::vector< chain::packed_transaction > | trxs ) |
Definition at line 55 of file test_common.hpp.
chain::bytes sysio::trace_api::test_common::make_transfer_data | ( | chain::name | from, |
chain::name | to, | ||
chain::asset | quantity, | ||
std::string && | memo ) |
Definition at line 43 of file test_common.hpp.
fc::sha256 sysio::trace_api::test_common::operator""_h | ( | const char * | input, |
std::size_t | ) |
Definition at line 22 of file test_common.hpp.
chain::name sysio::trace_api::test_common::operator""_n | ( | const char * | input, |
std::size_t | ) |
Definition at line 26 of file test_common.hpp.
chain::asset sysio::trace_api::test_common::operator""_t | ( | const char * | input, |
std::size_t | ) |
Definition at line 30 of file test_common.hpp.
auto sysio::trace_api::test_common::to_kv | ( | const fc::variant & | v | ) |
Definition at line 132 of file test_common.hpp.
void sysio::trace_api::test_common::to_kv_helper | ( | const fc::variant & | v, |
std::function< void(const std::string &, const std::string &)> && | append ) |
Definition at line 109 of file test_common.hpp.