|
TARAXA
|
Classes | |
| struct | Account |
| struct | Config |
| struct | DPOSConfig |
| struct | ErrFutureBlock |
| class | ErrorHandler |
| struct | EVMBlock |
| struct | EVMChainConfig |
| struct | EVMTransaction |
| struct | ExecutionResult |
| struct | LogRecord |
| struct | Opts |
| struct | OptsDB |
| struct | RewardsDistributionResult |
| class | StateAPI |
| struct | StateDescriptor |
| struct | TaraxaEVMError |
| struct | Tracing |
| struct | TransactionsExecutionResult |
| struct | UncleBlock |
| struct | ValidatorInfo |
| struct | ValidatorStake |
| struct | ValidatorVoteCount |
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, std::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::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 |
| struct taraxa::state_api::OptsDB |
| 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 | |
| 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, |
| std::string & | result | ||
| ) |
| void taraxa::state_api::to_u256 | ( | taraxa_evm_Bytes | b, |
| u256 & | result | ||
| ) |
|
staticconstexpr |