Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Attributes | Static Public Attributes | List of all members
graphene::chain::buyback_object Class Reference

#include <buyback_object.hpp>

Inheritance diagram for graphene::chain::buyback_object:

Public Attributes

asset_id_type asset_to_buy
 

Static Public Attributes

static const uint8_t space_id = implementation_ids
 
static const uint8_t type_id = impl_buyback_object_type
 

Detailed Description

buyback_authority_object only exists to help with a specific indexing problem. We want to be able to iterate over all assets that have a buyback program. However, assets which have a buyback program are very rare. So rather than indexing asset_object by the buyback field (requiring additional bookkeeping for every asset), we instead maintain a buyback_object pointing to each asset which has buyback (requiring additional bookkeeping only for every asset which has buyback).

This class is an implementation detail.

Definition at line 44 of file buyback_object.hpp.

Member Data Documentation

◆ asset_to_buy

asset_id_type graphene::chain::buyback_object::asset_to_buy

Definition at line 50 of file buyback_object.hpp.

◆ space_id

const uint8_t graphene::chain::buyback_object::space_id = implementation_ids
static

Definition at line 47 of file buyback_object.hpp.

◆ type_id

const uint8_t graphene::chain::buyback_object::type_id = impl_buyback_object_type
static

Definition at line 48 of file buyback_object.hpp.


The documentation for this class was generated from the following file: