Scorum
|
Provide api for advertising budgets. More...
Classes | |
class | scorum::chain::adv_budget_object< budget_type_v > |
class | scorum::app::budget_api_obj |
Functions | |
void | scorum::app::advertising_api::on_api_startup () |
Public API | |
fc::optional< account_api_obj > | scorum::app::advertising_api::get_moderator () const |
Get Advertising budgets moderator if exists. More... | |
std::vector< budget_api_obj > | scorum::app::advertising_api::get_user_budgets (const std::string &user) const |
Get all advertising budgets which belong to provided user. Newer first. More... | |
fc::optional< budget_api_obj > | scorum::app::advertising_api::get_budget (uuid_type uuid, budget_type type) const |
Get advertising budget. More... | |
std::vector< budget_api_obj > | scorum::app::advertising_api::get_current_winners (budget_type type) const |
Get winners for particular budget type. More... | |
std::vector< percent_type > | scorum::app::advertising_api::get_auction_coefficients (budget_type type) const |
Get winners for particular budget type. More... | |
Provide api for advertising budgets.
std::vector< percent_type > scorum::app::advertising_api::get_auction_coefficients | ( | budget_type | type | ) | const |
Get winners for particular budget type.
Definition at line 35 of file advertising_api.cpp.
fc::optional< budget_api_obj > scorum::app::advertising_api::get_budget | ( | uuid_type | uuid, |
budget_type | type | ||
) | const |
Get advertising budget.
Definition at line 25 of file advertising_api.cpp.
std::vector< budget_api_obj > scorum::app::advertising_api::get_current_winners | ( | budget_type | type | ) | const |
Get winners for particular budget type.
Definition at line 30 of file advertising_api.cpp.
fc::optional< account_api_obj > scorum::app::advertising_api::get_moderator | ( | ) | const |
Get Advertising budgets moderator if exists.
Definition at line 15 of file advertising_api.cpp.
std::vector< budget_api_obj > scorum::app::advertising_api::get_user_budgets | ( | const std::string & | user | ) | const |
Get all advertising budgets which belong to provided user. Newer first.
Definition at line 20 of file advertising_api.cpp.
void scorum::app::advertising_api::on_api_startup | ( | ) |
Definition at line 40 of file advertising_api.cpp.