Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::comment_reward_operation Struct Reference

#include <scorum_virtual_operations.hpp>

Inheritance diagram for scorum::protocol::comment_reward_operation:
scorum::protocol::virtual_operation scorum::protocol::base_operation

Public Member Functions

 comment_reward_operation ()
 
 comment_reward_operation (const account_name_type &a, const std::string &pl, const asset &fund_reward, const asset &total_payout, const asset &author_payout, const asset &curators_payout, const asset &from_children_payout, const asset &to_parent_payout, const asset &beneficiaries_payout)
 
- Public Member Functions inherited from scorum::protocol::virtual_operation
bool is_virtual () const
 
void validate () const
 
- Public Member Functions inherited from scorum::protocol::base_operation
void get_required_authorities (std::vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_name_type > &) const
 
void get_required_posting_authorities (flat_set< account_name_type > &) const
 
void get_required_owner_authorities (flat_set< account_name_type > &) const
 
bool is_virtual () const
 
void validate () const
 

Public Attributes

account_name_type author
 
std::string permlink
 
asset fund_reward
 reward accrued from fund More...
 
asset total_payout
 reward distributed within comment across author, beneficiaries and curators (excluding reward to parent) More...
 
asset author_payout
 reward for comment author (including from_children_payout) More...
 
asset curators_payout
 reward for curators (voters) More...
 
asset from_children_payout
 reward received from children comments as parent reward More...
 
asset to_parent_payout
 reward sent to parent as parent reward More...
 
asset beneficiaries_payout
 reward for beneficiaries More...
 

Detailed Description

Definition at line 51 of file scorum_virtual_operations.hpp.

Constructor & Destructor Documentation

◆ comment_reward_operation() [1/2]

scorum::protocol::comment_reward_operation::comment_reward_operation ( )
inline

Definition at line 53 of file scorum_virtual_operations.hpp.

◆ comment_reward_operation() [2/2]

scorum::protocol::comment_reward_operation::comment_reward_operation ( const account_name_type a,
const std::string &  pl,
const asset fund_reward,
const asset total_payout,
const asset author_payout,
const asset curators_payout,
const asset from_children_payout,
const asset to_parent_payout,
const asset beneficiaries_payout 
)
inline

Definition at line 56 of file scorum_virtual_operations.hpp.

Member Data Documentation

◆ author

account_name_type scorum::protocol::comment_reward_operation::author

Definition at line 77 of file scorum_virtual_operations.hpp.

◆ author_payout

asset scorum::protocol::comment_reward_operation::author_payout

reward for comment author (including from_children_payout)

Definition at line 87 of file scorum_virtual_operations.hpp.

◆ beneficiaries_payout

asset scorum::protocol::comment_reward_operation::beneficiaries_payout

reward for beneficiaries

Definition at line 99 of file scorum_virtual_operations.hpp.

◆ curators_payout

asset scorum::protocol::comment_reward_operation::curators_payout

reward for curators (voters)

Definition at line 90 of file scorum_virtual_operations.hpp.

◆ from_children_payout

asset scorum::protocol::comment_reward_operation::from_children_payout

reward received from children comments as parent reward

Definition at line 93 of file scorum_virtual_operations.hpp.

◆ fund_reward

asset scorum::protocol::comment_reward_operation::fund_reward

reward accrued from fund

Definition at line 81 of file scorum_virtual_operations.hpp.

◆ permlink

std::string scorum::protocol::comment_reward_operation::permlink

Definition at line 78 of file scorum_virtual_operations.hpp.

◆ to_parent_payout

asset scorum::protocol::comment_reward_operation::to_parent_payout

reward sent to parent as parent reward

Definition at line 96 of file scorum_virtual_operations.hpp.

◆ total_payout

asset scorum::protocol::comment_reward_operation::total_payout

reward distributed within comment across author, beneficiaries and curators (excluding reward to parent)

Definition at line 84 of file scorum_virtual_operations.hpp.


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