BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Typedefs | Enumerations
ticket_object.hpp File Reference
#include <graphene/chain/types.hpp>
#include <graphene/db/generic_index.hpp>
#include <graphene/protocol/asset.hpp>
#include <graphene/protocol/ticket.hpp>
#include <boost/multi_index/composite_key.hpp>

Go to the source code of this file.

Classes

class  graphene::chain::ticket_object
 a ticket for governance voting More...
 

Namespaces

 graphene
 
 graphene::chain
 

Typedefs

typedef multi_index_container< ticket_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_next_update >, composite_key< ticket_object, member< ticket_object, time_point_sec, &ticket_object::next_auto_update_time >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account >, composite_key< ticket_object, member< ticket_object, account_id_type, &ticket_object::account >, member< object, object_id_type, &object::id > > > >> graphene::chain::ticket_multi_index_type
 
typedef generic_index< ticket_object, ticket_multi_index_type > graphene::chain::ticket_index
 

Enumerations

enum  graphene::chain::ticket_status { graphene::chain::charging, graphene::chain::stable, graphene::chain::withdrawing, graphene::chain::TICKET_STATUS_COUNT }
 Status of a ticket. More...
 
enum  graphene::chain::ticket_version { graphene::chain::ticket_v1 = 1, graphene::chain::ticket_v2 = 2 }
 Version of a ticket. More...