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

#include <tags_plugin.hpp>

Inheritance diagram for golos::tags::author_tag_stats_object:

Public Member Functions

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

Public Attributes

id_type id
 
account_object::id_type author
 
tag_name_type tag
 
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 487 of file tags_plugin.hpp.

Constructor & Destructor Documentation

◆ author_tag_stats_object()

template<typename Constructor , typename Allocator >
golos::tags::author_tag_stats_object::author_tag_stats_object ( Constructor &&  c,
allocator< Allocator >   
)
inline

Definition at line 490 of file tags_plugin.hpp.

Member Data Documentation

◆ author

account_object::id_type golos::tags::author_tag_stats_object::author

Definition at line 495 of file tags_plugin.hpp.

◆ id

id_type golos::tags::author_tag_stats_object::id

Definition at line 494 of file tags_plugin.hpp.

◆ tag

tag_name_type golos::tags::author_tag_stats_object::tag

Definition at line 496 of file tags_plugin.hpp.

◆ total_posts

uint32_t golos::tags::author_tag_stats_object::total_posts = 0

Definition at line 498 of file tags_plugin.hpp.

◆ total_rewards

asset<0, 17, 0> golos::tags::author_tag_stats_object::total_rewards = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)

Definition at line 497 of file tags_plugin.hpp.


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