Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::languages::author_language_stats_object Class Reference

#include <languages_plugin.hpp>

Inheritance diagram for golos::languages::author_language_stats_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 author_language_stats_object (Constructor &&c, allocator< Allocator >)

Public Attributes

id_type id
account_object::id_type author
language_name_type language
asset< 0, 17, 0 > total_rewards = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)
uint32_t total_posts = 0

Detailed Description

This purpose of this object is to maintain stats about which tags an author uses, how frequnetly, and how many total earnings of all posts by author in tag. It also allows us to answer the question of which authors earn the most in each tag category. This helps users to discover the best bloggers to follow for particular tags.

Definition at line 464 of file languages_plugin.hpp.

Constructor & Destructor Documentation

◆ author_language_stats_object()

template<typename Constructor , typename Allocator >
golos::languages::author_language_stats_object::author_language_stats_object ( Constructor &&  c,
allocator< Allocator >   

Definition at line 468 of file languages_plugin.hpp.

Member Data Documentation

◆ author

account_object::id_type golos::languages::author_language_stats_object::author

Definition at line 473 of file languages_plugin.hpp.

◆ id

id_type golos::languages::author_language_stats_object::id

Definition at line 472 of file languages_plugin.hpp.

◆ language

language_name_type golos::languages::author_language_stats_object::language

Definition at line 474 of file languages_plugin.hpp.

◆ total_posts

uint32_t golos::languages::author_language_stats_object::total_posts = 0

Definition at line 476 of file languages_plugin.hpp.

◆ total_rewards

asset<0, 17, 0> golos::languages::author_language_stats_object::total_rewards = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)

Definition at line 475 of file languages_plugin.hpp.

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