28 #include <graphene/chain/hardfork.hpp> 30 namespace graphene {
namespace chain {
36 account_create_buyback_incorrect_issuer,
"Incorrect asset issuer specified in buyback_account_options", (
"asset", a)(
"bbo", bbo) );
38 account_create_buyback_already_exists,
"Cannot create buyback for asset which already has buyback", (
"asset", a)(
"bbo", bbo) );
41 account_create_buyback_too_many_markets,
"Too many buyback markets", (
"asset", a)(
"bbo", bbo) );
void evaluate_buyback_account_options(const database &db, const buyback_account_options &bbo)
#define GRAPHENE_DEFAULT_MAX_BUYBACK_MARKETS
tracks the blockchain state in an extensible manner
optional< account_id_type > buyback_account
account_id_type issuer
ID of the account which issued this asset.
flat_set< asset_id_type > markets
account_id_type asset_to_buy_issuer
tracks the parameters of an assetAll assets have a globally unique symbol name that controls how they...
asset_id_type asset_to_buy
#define GRAPHENE_ASSERT(expr, exc_type, FORMAT,...)