10namespace sysio {
namespace chain {
29 SYS_ASSERT( abi.size() != 0, abi_not_found_exception,
"No ABI set on account ${n}", (
"n",
name) );
42 ordered_unique<tag<by_id>, member<account_object, account_object::id_type, &account_object::id>>,
43 ordered_unique<tag<by_name>, member<account_object, account_name, &account_object::name>>
67 bool is_privileged()
const {
return has_field(
flags, flags_fields::privileged ); }
69 void set_privileged(
bool privileged ) {
70 flags = set_field(
flags, flags_fields::privileged, privileged );
78 ordered_unique<tag<by_id>, member<account_metadata_object, account_metadata_object::id_type, &account_metadata_object::id>>,
79 ordered_unique<tag<by_name>, member<account_metadata_object, account_name, &account_metadata_object::name>>
96 ordered_unique<tag<by_id>, member<account_ram_correction_object, account_ram_correction_object::id_type, &account_ram_correction_object::id>>,
97 ordered_unique<tag<by_name>, member<account_ram_correction_object, account_name, &account_ram_correction_object::name>>
109 (code_hash)(last_code_update)(
flags)(vm_type)(vm_version))
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
void resize_and_fill(std::size_t new_size, F &&f)
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
void unpack(Stream &s, std::deque< T > &value)
void pack(Stream &s, const std::deque< T > &value)
size_t pack_size(const T &v)
chainbase::shared_multi_index_container< account_object, indexed_by< ordered_unique< tag< by_id >, member< account_object, account_object::id_type, &account_object::id > >, ordered_unique< tag< by_name >, member< account_object, account_name, &account_object::name > > > > account_index
chainbase::shared_multi_index_container< account_ram_correction_object, indexed_by< ordered_unique< tag< by_id >, member< account_ram_correction_object, account_ram_correction_object::id_type, &account_ram_correction_object::id > >, ordered_unique< tag< by_name >, member< account_ram_correction_object, account_name, &account_ram_correction_object::name > > > > account_ram_correction_index
chainbase::shared_multi_index_container< account_metadata_object, indexed_by< ordered_unique< tag< by_id >, member< account_metadata_object, account_metadata_object::id_type, &account_metadata_object::id > >, ordered_unique< tag< by_name >, member< account_metadata_object, account_name, &account_metadata_object::name > > > > account_metadata_index
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
unsigned __int64 uint64_t
oid< account_object > id_type
Immutable except for fc::from_variant.