Wire Sysio Wire Sysion 1.0.0
|
Namespaces | |
namespace | block_info |
Classes | |
struct | abi_hash |
struct | authority |
struct | bid_refund |
struct | block_header |
struct | delegated_bandwidth |
struct | exchange_state |
struct | key_weight |
struct | limit_auth_change |
struct | name_bid |
class | native |
struct | pair_time_point_sec_int64 |
struct | permission_level_weight |
struct | powerup_config |
struct | powerup_config_resource |
struct | powerup_order |
struct | powerup_state |
struct | powerup_state_resource |
struct | producer_info |
struct | producer_info2 |
struct | refund_request |
struct | rex_balance |
struct | rex_fund |
struct | rex_loan |
struct | rex_order |
struct | rex_order_outcome |
struct | rex_pool |
struct | rex_return_buckets |
struct | rex_return_pool |
struct | sysio_global_state |
struct | sysio_global_state2 |
struct | sysio_global_state3 |
struct | sysio_global_state4 |
class | system_contract |
struct | user_resources |
struct | voter_info |
struct | wait_weight |
Typedefs | |
typedef sysio::multi_index< "rammarket"_n, exchange_state > | rammarket |
typedef sysio::multi_index<"limitauthchg"_n, limit_auth_change > | limit_auth_change_table |
using | blockchain_parameters_t = sysio::blockchain_parameters |
typedef sysio::multi_index< "namebids"_n, name_bid, indexed_by<"highbid"_n, const_mem_fun< name_bid, uint64_t, &name_bid::by_high_bid > > > | name_bid_table |
typedef sysio::multi_index< "bidrefunds"_n, bid_refund > | bid_refund_table |
typedef sysio::multi_index< "voters"_n, voter_info > | voters_table |
typedef sysio::multi_index< "producers"_n, producer_info, indexed_by<"prototalvote"_n, const_mem_fun< producer_info, double, &producer_info::by_votes > > > | producers_table |
typedef sysio::multi_index< "producers2"_n, producer_info2 > | producers_table2 |
typedef sysio::singleton< "global"_n, sysio_global_state > | global_state_singleton |
typedef sysio::singleton< "global2"_n, sysio_global_state2 > | global_state2_singleton |
typedef sysio::singleton< "global3"_n, sysio_global_state3 > | global_state3_singleton |
typedef sysio::singleton< "global4"_n, sysio_global_state4 > | global_state4_singleton |
typedef sysio::multi_index< "userres"_n, user_resources > | user_resources_table |
typedef sysio::multi_index< "delband"_n, delegated_bandwidth > | del_bandwidth_table |
typedef sysio::multi_index< "refunds"_n, refund_request > | refunds_table |
typedef sysio::multi_index< "rexpool"_n, rex_pool > | rex_pool_table |
typedef sysio::multi_index< "rexretpool"_n, rex_return_pool > | rex_return_pool_table |
typedef sysio::multi_index< "retbuckets"_n, rex_return_buckets > | rex_return_buckets_table |
typedef sysio::multi_index< "rexfund"_n, rex_fund > | rex_fund_table |
typedef sysio::multi_index< "rexbal"_n, rex_balance > | rex_balance_table |
typedef sysio::multi_index< "cpuloan"_n, rex_loan, indexed_by<"byexpr"_n, const_mem_fun< rex_loan, uint64_t, &rex_loan::by_expr > >, indexed_by<"byowner"_n, const_mem_fun< rex_loan, uint64_t, &rex_loan::by_owner > > > | rex_cpu_loan_table |
typedef sysio::multi_index< "netloan"_n, rex_loan, indexed_by<"byexpr"_n, const_mem_fun< rex_loan, uint64_t, &rex_loan::by_expr > >, indexed_by<"byowner"_n, const_mem_fun< rex_loan, uint64_t, &rex_loan::by_owner > > > | rex_net_loan_table |
typedef sysio::multi_index< "rexqueue"_n, rex_order, indexed_by<"bytime"_n, const_mem_fun< rex_order, uint64_t, &rex_order::by_time > > > | rex_order_table |
typedef sysio::singleton<"powup.state"_n, powerup_state > | powerup_state_singleton |
typedef sysio::multi_index< "powup.order"_n, powerup_order, indexed_by<"byowner"_n, const_mem_fun< powerup_order, uint64_t, &powerup_order::by_owner > >, indexed_by<"byexpires"_n, const_mem_fun< powerup_order, uint64_t, &powerup_order::by_expires > > > | powerup_order_table |
Functions | |
void | check_auth_change (name contract, name account, const binary_extension< name > &authorized_by) |
sysio::block_signing_authority | convert_to_block_signing_authority (const sysio::public_key &producer_key) |
void | validate_b1_vesting (int64_t stake) |
void | update_weight (time_point_sec now, powerup_state_resource &res, int64_t &delta_available) |
void | update_utilization (time_point_sec now, powerup_state_resource &res) |
int64_t | calc_powerup_fee (const powerup_state_resource &state, int64_t utilization_increase) |
double | get_continuous_rate (int64_t annual_rate) |
double | stake2vote (int64_t staked) |
Variables | |
constexpr int64_t | powerup_frac = 1'000'000'000'000'000ll |
typedef sysio::multi_index< "bidrefunds"_n, bid_refund > sysiosystem::bid_refund_table |
Definition at line 138 of file sysio.system.hpp.
using sysiosystem::blockchain_parameters_t = sysio::blockchain_parameters |
Definition at line 93 of file sysio.system.hpp.
typedef sysio::multi_index< "delband"_n, delegated_bandwidth > sysiosystem::del_bandwidth_table |
Definition at line 384 of file sysio.system.hpp.
typedef sysio::singleton< "global2"_n, sysio_global_state2 > sysiosystem::global_state2_singleton |
Definition at line 335 of file sysio.system.hpp.
typedef sysio::singleton< "global3"_n, sysio_global_state3 > sysiosystem::global_state3_singleton |
Definition at line 337 of file sysio.system.hpp.
typedef sysio::singleton< "global4"_n, sysio_global_state4 > sysiosystem::global_state4_singleton |
Definition at line 339 of file sysio.system.hpp.
typedef sysio::singleton< "global"_n, sysio_global_state > sysiosystem::global_state_singleton |
Definition at line 333 of file sysio.system.hpp.
typedef sysio::multi_index<"limitauthchg"_n, limit_auth_change> sysiosystem::limit_auth_change_table |
Definition at line 19 of file limit_auth_changes.hpp.
typedef sysio::multi_index< "namebids"_n, name_bid, indexed_by<"highbid"_n, const_mem_fun<name_bid, uint64_t, &name_bid::by_high_bid> > > sysiosystem::name_bid_table |
Definition at line 136 of file sysio.system.hpp.
typedef sysio::multi_index< "powup.order"_n, powerup_order, indexed_by<"byowner"_n, const_mem_fun<powerup_order, uint64_t, &powerup_order::by_owner> >, indexed_by<"byexpires"_n, const_mem_fun<powerup_order, uint64_t, &powerup_order::by_expires> > > sysiosystem::powerup_order_table |
Definition at line 663 of file sysio.system.hpp.
typedef sysio::singleton<"powup.state"_n, powerup_state> sysiosystem::powerup_state_singleton |
Definition at line 645 of file sysio.system.hpp.
typedef sysio::multi_index< "producers"_n, producer_info, indexed_by<"prototalvote"_n, const_mem_fun<producer_info, double, &producer_info::by_votes> > > sysiosystem::producers_table |
Definition at line 328 of file sysio.system.hpp.
typedef sysio::multi_index< "producers2"_n, producer_info2 > sysiosystem::producers_table2 |
Definition at line 330 of file sysio.system.hpp.
typedef sysio::multi_index< "rammarket"_n, exchange_state > sysiosystem::rammarket |
Definition at line 47 of file exchange_state.hpp.
typedef sysio::multi_index< "refunds"_n, refund_request > sysiosystem::refunds_table |
Definition at line 385 of file sysio.system.hpp.
typedef sysio::multi_index< "rexbal"_n, rex_balance > sysiosystem::rex_balance_table |
Definition at line 488 of file sysio.system.hpp.
typedef sysio::multi_index< "cpuloan"_n, rex_loan, indexed_by<"byexpr"_n, const_mem_fun<rex_loan, uint64_t, &rex_loan::by_expr> >, indexed_by<"byowner"_n, const_mem_fun<rex_loan, uint64_t, &rex_loan::by_owner> > > sysiosystem::rex_cpu_loan_table |
Definition at line 518 of file sysio.system.hpp.
typedef sysio::multi_index< "rexfund"_n, rex_fund > sysiosystem::rex_fund_table |
Definition at line 469 of file sysio.system.hpp.
typedef sysio::multi_index< "netloan"_n, rex_loan, indexed_by<"byexpr"_n, const_mem_fun<rex_loan, uint64_t, &rex_loan::by_expr> >, indexed_by<"byowner"_n, const_mem_fun<rex_loan, uint64_t, &rex_loan::by_owner> > > sysiosystem::rex_net_loan_table |
Definition at line 523 of file sysio.system.hpp.
typedef sysio::multi_index< "rexqueue"_n, rex_order, indexed_by<"bytime"_n, const_mem_fun<rex_order, uint64_t, &rex_order::by_time> > > sysiosystem::rex_order_table |
Definition at line 540 of file sysio.system.hpp.
typedef sysio::multi_index< "rexpool"_n, rex_pool > sysiosystem::rex_pool_table |
Definition at line 409 of file sysio.system.hpp.
typedef sysio::multi_index< "retbuckets"_n, rex_return_buckets > sysiosystem::rex_return_buckets_table |
Definition at line 455 of file sysio.system.hpp.
typedef sysio::multi_index< "rexretpool"_n, rex_return_pool > sysiosystem::rex_return_pool_table |
Definition at line 436 of file sysio.system.hpp.
typedef sysio::multi_index< "userres"_n, user_resources > sysiosystem::user_resources_table |
Definition at line 383 of file sysio.system.hpp.
typedef sysio::multi_index< "voters"_n, voter_info > sysiosystem::voters_table |
Definition at line 323 of file sysio.system.hpp.
int64_t sysiosystem::calc_powerup_fee | ( | const powerup_state_resource & | state, |
int64_t | utilization_increase ) |
Definition at line 262 of file powerup.cpp.
void sysiosystem::check_auth_change | ( | name | contract, |
name | account, | ||
const binary_extension< name > & | authorized_by ) |
Definition at line 37 of file limit_auth_changes.cpp.
|
inline |
Definition at line 200 of file sysio.system.hpp.
double sysiosystem::get_continuous_rate | ( | int64_t | annual_rate | ) |
Definition at line 14 of file sysio.system.cpp.
double sysiosystem::stake2vote | ( | int64_t | staked | ) |
TODO subtract 2080 brings the large numbers closer to this decade
Definition at line 145 of file voting.cpp.
void sysiosystem::update_utilization | ( | time_point_sec | now, |
powerup_state_resource & | res ) |
Definition at line 105 of file powerup.cpp.
void sysiosystem::update_weight | ( | time_point_sec | now, |
powerup_state_resource & | res, | ||
int64_t & | delta_available ) |
Definition at line 91 of file powerup.cpp.
void sysiosystem::validate_b1_vesting | ( | int64_t | stake | ) |
Friday, June 1, 2018 12:00:00 AM UTC
Tuesday, December 7, 2021 11:59:00 PM UTC
Definition at line 161 of file delegate_bandwidth.cpp.
|
inlineconstexpr |
Definition at line 44 of file sysio.system.hpp.