TARAXA
|
Classes | |
struct | EVMChainConfig |
struct | ValidatorInfo |
struct | DPOSConfig |
struct | Config |
struct | Opts |
struct | OptsDB |
class | StateAPI |
struct | TaraxaEVMError |
struct | ErrFutureBlock |
struct | EVMBlock |
struct | EVMTransaction |
struct | UncleBlock |
struct | LogRecord |
struct | ExecutionResult |
struct | TransactionsExecutionResult |
struct | RewardsDistributionResult |
struct | Account |
struct | StateDescriptor |
struct | Tracing |
struct | ValidatorStake |
struct | ValidatorVoteCount |
class | ErrorHandler |
Typedefs | |
using | BalanceMap = std::map< addr_t, u256 > |
Functions | |
Json::Value | enc_json (const EVMChainConfig &obj) |
void | dec_json (const Json::Value &json, uint64_t chain_id, EVMChainConfig &obj) |
Json::Value | enc_json (const BalanceMap &obj) |
void | dec_json (const Json::Value &json, BalanceMap &obj) |
Json::Value | enc_json (const ValidatorInfo &obj) |
void | dec_json (const Json::Value &json, ValidatorInfo &obj) |
Json::Value | enc_json (const DPOSConfig &obj) |
void | dec_json (const Json::Value &json, DPOSConfig &obj) |
void | append_json (Json::Value &json, const Config &obj) |
void | dec_json (const Json::Value &json, Config &obj) |
bytesConstRef | map_bytes (const taraxa_evm_Bytes &b) |
taraxa_evm_Bytes | map_bytes (const bytes &b) |
template<typename Result > | |
void | from_rlp (taraxa_evm_Bytes b, Result &result) |
void | to_str (taraxa_evm_Bytes b, string &result) |
void | to_bytes (taraxa_evm_Bytes b, bytes &result) |
void | to_u256 (taraxa_evm_Bytes b, u256 &result) |
void | to_h256 (taraxa_evm_Bytes b, h256 &result) |
template<typename Result , void(*)(taraxa_evm_Bytes, Result &) decode> | |
taraxa_evm_BytesCallback | decoder_cb_c (Result &res) |
template<typename Result , void(*)(taraxa_evm_Bytes, Result &) decode, void(*)(taraxa_evm_state_API_ptr, taraxa_evm_Bytes, taraxa_evm_BytesCallback, taraxa_evm_BytesCallback) fn, typename... Params> | |
void | c_method_args_rlp (taraxa_evm_state_API_ptr this_c, dev::RLPStream &encoding, Result &ret, const Params &... args) |
template<typename Result , void(*)(taraxa_evm_Bytes, Result &) decode, void(*)(taraxa_evm_state_API_ptr, taraxa_evm_Bytes, taraxa_evm_BytesCallback, taraxa_evm_BytesCallback) fn, typename... Params> | |
Result | c_method_args_rlp (taraxa_evm_state_API_ptr this_c, const Params &... args) |
template<void(*)(taraxa_evm_state_API_ptr, taraxa_evm_Bytes, taraxa_evm_BytesCallback) fn, typename... Params> | |
void | c_method_args_rlp (taraxa_evm_state_API_ptr this_c, const Params &... args) |
Variables | |
static constexpr auto | BlockNumberNIL = std::numeric_limits<EthBlockNumber>::max() |
struct taraxa::state_api::Account | ZeroAccount |
struct taraxa::state_api::ValidatorInfo |
Class Members | ||
---|---|---|
addr_t | address | |
uint16_t | commission | |
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 | |
uint16_t | commission_change_delta | |
uint32_t | commission_change_frequency | |
uint16_t | dag_proposers_reward | |
uint32_t | delegation_delay | |
uint32_t | delegation_locking_period | |
u256 | eligibility_balance_threshold | |
vector< ValidatorInfo > | initial_validators | |
uint16_t | max_block_author_reward | |
u256 | minimum_deposit | |
u256 | validator_maximum_stake | |
u256 | vote_eligibility_balance_step | |
uint16_t | yield_percentage |
struct taraxa::state_api::Opts |
struct taraxa::state_api::OptsDB |
Class Members | ||
---|---|---|
string | db_path | |
bool | disable_most_recent_trie_value_views |
using taraxa::state_api::BalanceMap = typedef std::map<addr_t, u256> |
void taraxa::state_api::append_json | ( | Json::Value & | json, |
const Config & | obj | ||
) |
Result taraxa::state_api::c_method_args_rlp | ( | taraxa_evm_state_API_ptr | this_c, |
const Params &... | args | ||
) |
void taraxa::state_api::c_method_args_rlp | ( | taraxa_evm_state_API_ptr | this_c, |
const Params &... | args | ||
) |
void taraxa::state_api::c_method_args_rlp | ( | taraxa_evm_state_API_ptr | this_c, |
dev::RLPStream & | encoding, | ||
Result & | ret, | ||
const Params &... | args | ||
) |
void taraxa::state_api::dec_json | ( | const Json::Value & | json, |
BalanceMap & | obj | ||
) |
void taraxa::state_api::dec_json | ( | const Json::Value & | json, |
Config & | obj | ||
) |
void taraxa::state_api::dec_json | ( | const Json::Value & | json, |
DPOSConfig & | obj | ||
) |
void taraxa::state_api::dec_json | ( | const Json::Value & | json, |
uint64_t | chain_id, | ||
EVMChainConfig & | obj | ||
) |
void taraxa::state_api::dec_json | ( | const Json::Value & | json, |
ValidatorInfo & | obj | ||
) |
taraxa_evm_BytesCallback taraxa::state_api::decoder_cb_c | ( | Result & | res | ) |
Json::Value taraxa::state_api::enc_json | ( | const BalanceMap & | obj | ) |
Json::Value taraxa::state_api::enc_json | ( | const DPOSConfig & | obj | ) |
Json::Value taraxa::state_api::enc_json | ( | const EVMChainConfig & | obj | ) |
Json::Value taraxa::state_api::enc_json | ( | const ValidatorInfo & | obj | ) |
void taraxa::state_api::from_rlp | ( | taraxa_evm_Bytes | b, |
Result & | result | ||
) |
taraxa_evm_Bytes taraxa::state_api::map_bytes | ( | const bytes & | b | ) |
bytesConstRef taraxa::state_api::map_bytes | ( | const taraxa_evm_Bytes & | b | ) |
void taraxa::state_api::to_bytes | ( | taraxa_evm_Bytes | b, |
bytes & | result | ||
) |
void taraxa::state_api::to_h256 | ( | taraxa_evm_Bytes | b, |
h256 & | result | ||
) |
void taraxa::state_api::to_str | ( | taraxa_evm_Bytes | b, |
string & | result | ||
) |
void taraxa::state_api::to_u256 | ( | taraxa_evm_Bytes | b, |
u256 & | result | ||
) |
|
staticconstexpr |