| 
    TARAXA
    
   | 
 
#include <string>#include "common/encoding_rlp.hpp"#include "common/types.hpp"#include "common/vrf_wrapper.hpp"#include "config/hardfork.hpp"
Go to the source code of this file.
Classes | |
| struct | taraxa::state_api::EVMChainConfig | 
| struct | taraxa::state_api::ValidatorInfo | 
| struct | taraxa::state_api::DPOSConfig | 
| struct | taraxa::state_api::Config | 
| struct | taraxa::state_api::Opts | 
| struct | taraxa::state_api::OptsDB | 
Namespaces | |
| namespace | taraxa | 
| namespace | taraxa::state_api | 
Typedefs | |
| using | taraxa::state_api::BalanceMap = std::map< addr_t, u256 > | 
Functions | |
| Json::Value | taraxa::state_api::enc_json (const EVMChainConfig &obj) | 
| void | taraxa::state_api::dec_json (const Json::Value &json, uint64_t chain_id, EVMChainConfig &obj) | 
| Json::Value | taraxa::state_api::enc_json (const BalanceMap &obj) | 
| void | taraxa::state_api::dec_json (const Json::Value &json, BalanceMap &obj) | 
| Json::Value | taraxa::state_api::enc_json (const ValidatorInfo &obj) | 
| void | taraxa::state_api::dec_json (const Json::Value &json, ValidatorInfo &obj) | 
| Json::Value | taraxa::state_api::enc_json (const DPOSConfig &obj) | 
| void | taraxa::state_api::dec_json (const Json::Value &json, DPOSConfig &obj) | 
| void | taraxa::state_api::append_json (Json::Value &json, const Config &obj) | 
| void | taraxa::state_api::dec_json (const Json::Value &json, Config &obj) | 
Variables | |
| static constexpr auto | taraxa::state_api::BlockNumberNIL = std::numeric_limits<EthBlockNumber>::max() | 
| struct taraxa::state_api::ValidatorInfo | 

| Class Members | ||
|---|---|---|
| addr_t | address | |
| uint16_t | commission = 0 | |
| BalanceMap | delegations | |
| string | description | |
| string | endpoint | |
| addr_t | owner | |
| vrf_pk_t | vrf_key | |
| struct taraxa::state_api::DPOSConfig | 

| Class Members | ||
|---|---|---|
| uint32_t | blocks_per_year = 0 | |
| uint16_t | commission_change_delta = 0 | |
| uint32_t | commission_change_frequency = 0 | |
| uint16_t | dag_proposers_reward = 0 | |
| uint32_t | delegation_delay = 5 | |
| uint32_t | delegation_locking_period = 5 | |
| u256 | eligibility_balance_threshold | |
| vector< ValidatorInfo > | initial_validators | |
| uint16_t | max_block_author_reward = 0 | |
| u256 | minimum_deposit | |
| u256 | validator_maximum_stake | |
| u256 | vote_eligibility_balance_step | |
| uint16_t | yield_percentage = 0 | |
| struct taraxa::state_api::Opts |