3 #include <fc/fixed_string.hpp>
4 #include <fc/shared_string.hpp>
5 #include <fc/uint128.hpp>
10 #include <boost/multi_index/composite_key.hpp>
11 #include <boost/multi_index/hashed_index.hpp>
18 class nft_object :
public object<nft_object_type, nft_object>
45 fc::shared_string
vrf;
56 ordered_unique<tag<by_id>, member<nft_object, nft_id_type, &nft_object::id>>,
57 hashed_unique<tag<by_uuid>, member<nft_object, uuid_type, &nft_object::uuid>>,
58 hashed_unique<tag<by_name>, member<nft_object, account_name_type, &nft_object::name>>
63 ordered_unique<tag<by_id>, member<game_round_object, game_round_id_type, &game_round_object::id>>,
64 hashed_unique<tag<by_uuid>, member<game_round_object, uuid_type, &game_round_object::uuid>>
CHAINBASE_DEFAULT_DYNAMIC_CONSTRUCTOR(game_round_object,(seed)(verification_key)(vrf)(proof))
fc::shared_string verification_key
fc::shared_string json_metadata
CHAINBASE_DEFAULT_DYNAMIC_CONSTRUCTOR(nft_object,(json_metadata))
FC_REFLECT(appender_args,(appender)(stream)) FC_REFLECT_DERIVED(file_appender_args
shared_multi_index_container< nft_object, indexed_by< ordered_unique< tag< by_id >, member< nft_object, nft_id_type, &nft_object::id > >, hashed_unique< tag< by_uuid >, member< nft_object, uuid_type, &nft_object::uuid > >, hashed_unique< tag< by_name >, member< nft_object, account_name_type, &nft_object::name > > > > nft_index
shared_multi_index_container< game_round_object, indexed_by< ordered_unique< tag< by_id >, member< game_round_object, game_round_id_type, &game_round_object::id > >, hashed_unique< tag< by_uuid >, member< game_round_object, uuid_type, &game_round_object::uuid > > > > game_round_index
fc::safe< share_value_type > share_type
fc::fixed_string_16 account_name_type
boost::uuids::uuid uuid_type