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

#include <sysio.system.hpp>

Collaboration diagram for sysiosystem::powerup_state_resource:

Public Attributes

uint8_t version = 0
 
int64_t weight = 0
 
int64_t weight_ratio = 0
 
int64_t assumed_stake_weight = 0
 
int64_t initial_weight_ratio = powerup_frac
 
int64_t target_weight_ratio = powerup_frac / 100
 
time_point_sec initial_timestamp = {}
 
time_point_sec target_timestamp = {}
 
double exponent = default_exponent
 
uint32_t decay_secs = default_decay_secs
 
asset min_price = {}
 
asset max_price = {}
 
int64_t utilization = 0
 
int64_t adjusted_utilization = 0
 
time_point_sec utilization_timestamp = {}
 

Static Public Attributes

static constexpr double default_exponent = 2.0
 
static constexpr uint32_t default_decay_secs = 1 * seconds_per_day
 

Detailed Description

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

Member Data Documentation

◆ adjusted_utilization

int64_t sysiosystem::powerup_state_resource::adjusted_utilization = 0

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

◆ assumed_stake_weight

int64_t sysiosystem::powerup_state_resource::assumed_stake_weight = 0

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

◆ decay_secs

uint32_t sysiosystem::powerup_state_resource::decay_secs = default_decay_secs

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

◆ default_decay_secs

uint32_t sysiosystem::powerup_state_resource::default_decay_secs = 1 * seconds_per_day
staticconstexpr

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

◆ default_exponent

double sysiosystem::powerup_state_resource::default_exponent = 2.0
staticconstexpr

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

◆ exponent

double sysiosystem::powerup_state_resource::exponent = default_exponent

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

◆ initial_timestamp

time_point_sec sysiosystem::powerup_state_resource::initial_timestamp = {}

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

616{}; // When weight_ratio shrinkage started

◆ initial_weight_ratio

int64_t sysiosystem::powerup_state_resource::initial_weight_ratio = powerup_frac

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

◆ max_price

asset sysiosystem::powerup_state_resource::max_price = {}

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

624{}; // Fee needed to reserve the entire resource market weight at

◆ min_price

asset sysiosystem::powerup_state_resource::min_price = {}

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

622{}; // Fee needed to reserve the entire resource market weight at

◆ target_timestamp

time_point_sec sysiosystem::powerup_state_resource::target_timestamp = {}

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

617{}; // Stop automatic weight_ratio shrinkage at this time. Once this

◆ target_weight_ratio

int64_t sysiosystem::powerup_state_resource::target_weight_ratio = powerup_frac / 100

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

◆ utilization

int64_t sysiosystem::powerup_state_resource::utilization = 0

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

◆ utilization_timestamp

time_point_sec sysiosystem::powerup_state_resource::utilization_timestamp = {}

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

630{}; // When adjusted_utilization was last updated

◆ version

uint8_t sysiosystem::powerup_state_resource::version = 0

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

◆ weight

int64_t sysiosystem::powerup_state_resource::weight = 0

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

◆ weight_ratio

int64_t sysiosystem::powerup_state_resource::weight_ratio = 0

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


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