Scorum
Public Member Functions | Public Attributes | List of all members
scorum::app::account_api_obj Struct Reference

#include <scorum_api_objects.hpp>

Inheritance diagram for scorum::app::account_api_obj:
scorum::app::extended_account

Public Member Functions

 account_api_obj (const chain::account_object &a, const chain::database &db)
 
 account_api_obj ()
 

Public Attributes

account_id_type id
 
account_name_type name
 
authority owner
 
authority active
 
authority posting
 
public_key_type memo_key
 
std::string json_metadata
 
account_name_type proxy
 
time_point_sec last_owner_update
 
time_point_sec last_account_update
 
time_point_sec created
 
bool created_by_genesis = false
 
bool owner_challenged = false
 
bool active_challenged = false
 
time_point_sec last_owner_proved
 
time_point_sec last_active_proved
 
account_name_type recovery_account
 
time_point_sec last_account_recovery
 
bool can_vote = false
 
uint16_t voting_power = 0
 
time_point_sec last_vote_time
 
asset balance = asset(0, SCORUM_SYMBOL)
 
asset scorumpower = asset(0, SP_SYMBOL)
 
asset delegated_scorumpower = asset(0, SP_SYMBOL)
 
asset received_scorumpower = asset(0, SP_SYMBOL)
 
std::vector< share_typeproxied_vsf_votes
 
uint16_t witnesses_voted_for
 
share_type average_bandwidth = 0
 
share_type lifetime_bandwidth = 0
 
time_point_sec last_bandwidth_update
 
share_type average_market_bandwidth = 0
 
share_type lifetime_market_bandwidth = 0
 
time_point_sec last_market_bandwidth_update
 
time_point_sec last_post
 
time_point_sec last_root_post
 
uint32_t post_count = 0
 
uint32_t comment_count = 0
 
uint32_t vote_count = 0
 
asset curation_rewards_scr = asset(0, SCORUM_SYMBOL)
 
asset curation_rewards_sp = asset(0, SP_SYMBOL)
 
asset posting_rewards_scr = asset(0, SCORUM_SYMBOL)
 
asset posting_rewards_sp = asset(0, SP_SYMBOL)
 
time_point_sec active_sp_holders_cashout_time = fc::time_point_sec::maximum()
 
asset active_sp_holders_pending_scr_reward = asset(0, SCORUM_SYMBOL)
 
asset active_sp_holders_pending_sp_reward = asset(0, SP_SYMBOL)
 
asset nft_spend_scorumpower
 

Detailed Description

Definition at line 77 of file scorum_api_objects.hpp.

Constructor & Destructor Documentation

◆ account_api_obj() [1/2]

scorum::app::account_api_obj::account_api_obj ( const chain::account_object &  a,
const chain::database db 
)

Definition at line 20 of file scorum_api_objects.cpp.

◆ account_api_obj() [2/2]

scorum::app::account_api_obj::account_api_obj ( )
inline

Definition at line 81 of file scorum_api_objects.hpp.

Member Data Documentation

◆ active

authority scorum::app::account_api_obj::active

Definition at line 89 of file scorum_api_objects.hpp.

◆ active_challenged

bool scorum::app::account_api_obj::active_challenged = false

Definition at line 101 of file scorum_api_objects.hpp.

◆ active_sp_holders_cashout_time

time_point_sec scorum::app::account_api_obj::active_sp_holders_cashout_time = fc::time_point_sec::maximum()

Definition at line 141 of file scorum_api_objects.hpp.

◆ active_sp_holders_pending_scr_reward

asset scorum::app::account_api_obj::active_sp_holders_pending_scr_reward = asset(0, SCORUM_SYMBOL)

Definition at line 142 of file scorum_api_objects.hpp.

◆ active_sp_holders_pending_sp_reward

asset scorum::app::account_api_obj::active_sp_holders_pending_sp_reward = asset(0, SP_SYMBOL)

Definition at line 143 of file scorum_api_objects.hpp.

◆ average_bandwidth

share_type scorum::app::account_api_obj::average_bandwidth = 0

Definition at line 121 of file scorum_api_objects.hpp.

◆ average_market_bandwidth

share_type scorum::app::account_api_obj::average_market_bandwidth = 0

Definition at line 125 of file scorum_api_objects.hpp.

◆ balance

asset scorum::app::account_api_obj::balance = asset(0, SCORUM_SYMBOL)

Definition at line 111 of file scorum_api_objects.hpp.

◆ can_vote

bool scorum::app::account_api_obj::can_vote = false

Definition at line 107 of file scorum_api_objects.hpp.

◆ comment_count

uint32_t scorum::app::account_api_obj::comment_count = 0

Definition at line 133 of file scorum_api_objects.hpp.

◆ created

time_point_sec scorum::app::account_api_obj::created

Definition at line 98 of file scorum_api_objects.hpp.

◆ created_by_genesis

bool scorum::app::account_api_obj::created_by_genesis = false

Definition at line 99 of file scorum_api_objects.hpp.

◆ curation_rewards_scr

asset scorum::app::account_api_obj::curation_rewards_scr = asset(0, SCORUM_SYMBOL)

Definition at line 136 of file scorum_api_objects.hpp.

◆ curation_rewards_sp

asset scorum::app::account_api_obj::curation_rewards_sp = asset(0, SP_SYMBOL)

Definition at line 137 of file scorum_api_objects.hpp.

◆ delegated_scorumpower

asset scorum::app::account_api_obj::delegated_scorumpower = asset(0, SP_SYMBOL)

Definition at line 114 of file scorum_api_objects.hpp.

◆ id

account_id_type scorum::app::account_api_obj::id

Definition at line 85 of file scorum_api_objects.hpp.

◆ json_metadata

std::string scorum::app::account_api_obj::json_metadata

Definition at line 92 of file scorum_api_objects.hpp.

◆ last_account_recovery

time_point_sec scorum::app::account_api_obj::last_account_recovery

Definition at line 105 of file scorum_api_objects.hpp.

◆ last_account_update

time_point_sec scorum::app::account_api_obj::last_account_update

Definition at line 96 of file scorum_api_objects.hpp.

◆ last_active_proved

time_point_sec scorum::app::account_api_obj::last_active_proved

Definition at line 103 of file scorum_api_objects.hpp.

◆ last_bandwidth_update

time_point_sec scorum::app::account_api_obj::last_bandwidth_update

Definition at line 123 of file scorum_api_objects.hpp.

◆ last_market_bandwidth_update

time_point_sec scorum::app::account_api_obj::last_market_bandwidth_update

Definition at line 127 of file scorum_api_objects.hpp.

◆ last_owner_proved

time_point_sec scorum::app::account_api_obj::last_owner_proved

Definition at line 102 of file scorum_api_objects.hpp.

◆ last_owner_update

time_point_sec scorum::app::account_api_obj::last_owner_update

Definition at line 95 of file scorum_api_objects.hpp.

◆ last_post

time_point_sec scorum::app::account_api_obj::last_post

Definition at line 129 of file scorum_api_objects.hpp.

◆ last_root_post

time_point_sec scorum::app::account_api_obj::last_root_post

Definition at line 130 of file scorum_api_objects.hpp.

◆ last_vote_time

time_point_sec scorum::app::account_api_obj::last_vote_time

Definition at line 109 of file scorum_api_objects.hpp.

◆ lifetime_bandwidth

share_type scorum::app::account_api_obj::lifetime_bandwidth = 0

Definition at line 122 of file scorum_api_objects.hpp.

◆ lifetime_market_bandwidth

share_type scorum::app::account_api_obj::lifetime_market_bandwidth = 0

Definition at line 126 of file scorum_api_objects.hpp.

◆ memo_key

public_key_type scorum::app::account_api_obj::memo_key

Definition at line 91 of file scorum_api_objects.hpp.

◆ name

account_name_type scorum::app::account_api_obj::name

Definition at line 87 of file scorum_api_objects.hpp.

◆ nft_spend_scorumpower

asset scorum::app::account_api_obj::nft_spend_scorumpower

Definition at line 145 of file scorum_api_objects.hpp.

◆ owner

authority scorum::app::account_api_obj::owner

Definition at line 88 of file scorum_api_objects.hpp.

◆ owner_challenged

bool scorum::app::account_api_obj::owner_challenged = false

Definition at line 100 of file scorum_api_objects.hpp.

◆ post_count

uint32_t scorum::app::account_api_obj::post_count = 0

Definition at line 132 of file scorum_api_objects.hpp.

◆ posting

authority scorum::app::account_api_obj::posting

Definition at line 90 of file scorum_api_objects.hpp.

◆ posting_rewards_scr

asset scorum::app::account_api_obj::posting_rewards_scr = asset(0, SCORUM_SYMBOL)

Definition at line 138 of file scorum_api_objects.hpp.

◆ posting_rewards_sp

asset scorum::app::account_api_obj::posting_rewards_sp = asset(0, SP_SYMBOL)

Definition at line 139 of file scorum_api_objects.hpp.

◆ proxied_vsf_votes

std::vector<share_type> scorum::app::account_api_obj::proxied_vsf_votes

Definition at line 117 of file scorum_api_objects.hpp.

◆ proxy

account_name_type scorum::app::account_api_obj::proxy

Definition at line 93 of file scorum_api_objects.hpp.

◆ received_scorumpower

asset scorum::app::account_api_obj::received_scorumpower = asset(0, SP_SYMBOL)

Definition at line 115 of file scorum_api_objects.hpp.

◆ recovery_account

account_name_type scorum::app::account_api_obj::recovery_account

Definition at line 104 of file scorum_api_objects.hpp.

◆ scorumpower

asset scorum::app::account_api_obj::scorumpower = asset(0, SP_SYMBOL)

Definition at line 113 of file scorum_api_objects.hpp.

◆ vote_count

uint32_t scorum::app::account_api_obj::vote_count = 0

Definition at line 134 of file scorum_api_objects.hpp.

◆ voting_power

uint16_t scorum::app::account_api_obj::voting_power = 0

Definition at line 108 of file scorum_api_objects.hpp.

◆ witnesses_voted_for

uint16_t scorum::app::account_api_obj::witnesses_voted_for

Definition at line 119 of file scorum_api_objects.hpp.


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