57 std::vector<chain::public_key_type>
keys;
85 std::unique_ptr<struct account_query_db_impl> _impl;
98 if (
a.permission.empty()) {
99 v =
a.actor.to_string();
102 (
"actor",
a.actor.to_string())
103 (
"permission",
a.permission.to_string());
119 if(vo.contains(
"actor"))
122 SYS_THROW(sysio::chain::invalid_http_request,
"Missing Actor field");
124 if(vo.contains(
"permission") && vo.size() == 2)
126 else if (vo.size() == 1)
129 SYS_THROW(sysio::chain::invalid_http_request,
"Unrecognized fields in account");
#define SYS_THROW(exc_type, FORMAT,...)
An order-preserving dictionary of variants.
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
variant_object & get_object()
get_accounts_by_authorizers_result get_accounts_by_authorizers(const get_accounts_by_authorizers_params &args) const
account_query_db & operator=(account_query_db &&)
account_query_db(account_query_db &&)
account_query_db(const class sysio::chain::controller &chain)
void commit_block(const chain::block_state_ptr &block)
void cache_transaction_trace(const chain::transaction_trace_ptr &trace)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
std::shared_ptr< transaction_trace > transaction_trace_ptr
std::shared_ptr< block_state > block_state_ptr
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Immutable except for fc::from_variant.
std::vector< chain::public_key_type > keys
std::vector< permission_level > accounts
chain::weight_type weight
std::optional< chain::public_key_type > authorizing_key
chain::name permission_name
std::optional< chain::permission_level > authorizing_account
std::vector< account_result > accounts