Scorum
Classes | Public Member Functions | List of all members
scorum::app::advertising_api Class Reference

#include <advertising_api.hpp>

Classes

class  impl
 

Public Member Functions

 advertising_api (const api_context &ctx)
 
 ~advertising_api ()
 
void on_api_startup ()
 
Public API
fc::optional< account_api_objget_moderator () const
 Get Advertising budgets moderator if exists. More...
 
std::vector< budget_api_objget_user_budgets (const std::string &user) const
 Get all advertising budgets which belong to provided user. Newer first. More...
 
fc::optional< budget_api_objget_budget (uuid_type uuid, budget_type type) const
 Get advertising budget. More...
 
std::vector< budget_api_objget_current_winners (budget_type type) const
 Get winners for particular budget type. More...
 
std::vector< percent_typeget_auction_coefficients (budget_type type) const
 Get winners for particular budget type. More...
 

Detailed Description

Definition at line 16 of file advertising_api.hpp.

Constructor & Destructor Documentation

◆ advertising_api()

scorum::app::advertising_api::advertising_api ( const api_context ctx)

Definition at line 7 of file advertising_api.cpp.

◆ ~advertising_api()

scorum::app::advertising_api::~advertising_api ( )
default

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