Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysiosystem::voter_info Struct Reference

#include <sysio.system.hpp>

Collaboration diagram for sysiosystem::voter_info:

Public Types

enum class  flags1_fields : uint32_t { ram_managed = 1 , net_managed = 2 , cpu_managed = 4 }
 

Public Member Functions

uint64_t primary_key () const
 

Public Attributes

name owner
 
name proxy
 the voter
 
std::vector< nameproducers
 the proxy set by the voter, if any
 
int64_t staked = 0
 the producers approved by this voter if no proxy set
 
double last_vote_weight = 0
 
double proxied_vote_weight = 0
 the vote weight cast the last time the vote was updated
 
bool is_proxy = 0
 the total vote weight delegated to this voter as a proxy
 
uint32_t flags1 = 0
 whether the voter is a proxy for others
 
uint32_t reserved2 = 0
 
sysio::asset reserved3
 

Detailed Description

Definition at line 290 of file sysio.system.hpp.

Member Enumeration Documentation

◆ flags1_fields

Enumerator
ram_managed 
net_managed 
cpu_managed 

Definition at line 312 of file sysio.system.hpp.

Member Function Documentation

◆ primary_key()

uint64_t sysiosystem::voter_info::primary_key ( ) const
inline

Definition at line 310 of file sysio.system.hpp.

310{ return owner.value; }

Member Data Documentation

◆ flags1

uint32_t sysiosystem::voter_info::flags1 = 0

Definition at line 306 of file sysio.system.hpp.

◆ is_proxy

bool sysiosystem::voter_info::is_proxy = 0

Definition at line 303 of file sysio.system.hpp.

◆ last_vote_weight

double sysiosystem::voter_info::last_vote_weight = 0

Definition at line 299 of file sysio.system.hpp.

◆ owner

name sysiosystem::voter_info::owner

Definition at line 291 of file sysio.system.hpp.

◆ producers

std::vector<name> sysiosystem::voter_info::producers

Definition at line 293 of file sysio.system.hpp.

◆ proxied_vote_weight

double sysiosystem::voter_info::proxied_vote_weight = 0

Definition at line 302 of file sysio.system.hpp.

◆ proxy

name sysiosystem::voter_info::proxy

Definition at line 292 of file sysio.system.hpp.

◆ reserved2

uint32_t sysiosystem::voter_info::reserved2 = 0

Definition at line 307 of file sysio.system.hpp.

◆ reserved3

sysio::asset sysiosystem::voter_info::reserved3

Definition at line 308 of file sysio.system.hpp.

◆ staked

int64_t sysiosystem::voter_info::staked = 0

Definition at line 294 of file sysio.system.hpp.


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