TARAXA
|
Classes | |
struct | Eth |
class | EthImpl |
struct | EthParams |
struct | ExtendedTransactionLocation |
struct | LocalisedLogEntry |
struct | LocalisedTransaction |
struct | LocalisedTransactionReceipt |
struct | LogFilter |
struct | placeholder_t |
struct | SyncStatus |
struct | TransactionLocationWithBlockHash |
struct | TransactionSkeleton |
class | Watches |
class | WatchGroup |
struct | WatchGroupConfig |
Typedefs | |
using | time_point = std::chrono::system_clock::time_point |
using | WatchesConfig = std::array< WatchGroupConfig, WatchType::COUNT > |
using | WatchID = uint64_t |
Enumerations | |
enum | WatchType { new_blocks , new_transactions , logs , COUNT } |
Functions | |
void | add (Json::Value &obj, const std::optional< TransactionLocationWithBlockHash > &info) |
void | add (Json::Value &obj, const ExtendedTransactionLocation &info) |
Json::Value | toJson (const final_chain::BlockHeader &obj) |
Json::Value | toJson (const Transaction &trx, const std::optional< TransactionLocationWithBlockHash > &loc) |
Json::Value | toJson (const LocalisedTransaction <) |
Json::Value | toJson (const LocalisedLogEntry &lle) |
Json::Value | toJson (const LocalisedTransactionReceipt <r) |
Json::Value | toJson (const SyncStatus &obj) |
template<typename T > | |
Json::Value | toJson (const T &t) |
template<typename T > | |
Json::Value | toJsonArray (const std::vector< T > &_es) |
template<typename T > | |
Json::Value | toJsonArray (std::shared_ptr< const std::vector< T > > _es) |
template<typename T > | |
Json::Value | toJson (const std::optional< T > &t) |
void | add (Json::Value &obj, const optional< TransactionLocationWithBlockHash > &info) |
Json::Value | toJson (const Transaction &trx, const optional< TransactionLocationWithBlockHash > &loc) |
DEV_SIMPLE_EXCEPTION (InvalidAddress) | |
Address | toAddress (const std::string &s) |
shared_ptr< Eth > | NewEth (EthParams &&prerequisites) |
AddressSet | parse_addresses (const Json::Value &json) |
LogFilter::Topics | parse_topics (const Json::Value &json) |
GLOBAL_CONST_DEF (watch_id_type_mask_bits, WatchType(ceil(log2(float(COUNT))))) Watches | |
DEV_SIMPLE_EXCEPTION (WatchLimitExceeded) | |
GLOBAL_CONST (WatchType, watch_id_type_mask_bits) | |
Variables | |
const int | CALL_EXCEPTION = 3 |
struct taraxa::net::rpc::eth::LocalisedLogEntry |
Class Members | ||
---|---|---|
LogEntry | le | |
uint64_t | position_in_receipt = 0 | |
ExtendedTransactionLocation | trx_loc |
struct taraxa::net::rpc::eth::LocalisedTransaction |
Class Members | ||
---|---|---|
shared_ptr< Transaction > | trx | |
optional< TransactionLocationWithBlockHash > | trx_loc {} |
struct taraxa::net::rpc::eth::LocalisedTransactionReceipt |
Class Members | ||
---|---|---|
TransactionReceipt | r | |
addr_t | trx_from | |
ExtendedTransactionLocation | trx_loc | |
optional< addr_t > | trx_to |
struct taraxa::net::rpc::eth::placeholder_t |
struct taraxa::net::rpc::eth::SyncStatus |
Class Members | ||
---|---|---|
EthBlockNumber | current_block = 0 | |
EthBlockNumber | highest_block = 0 | |
EthBlockNumber | starting_block = 0 |
struct taraxa::net::rpc::eth::TransactionSkeleton |
Class Members | ||
---|---|---|
bytes | data | |
Address | from | |
optional< uint64_t > | gas | |
optional< u256 > | gas_price | |
optional< trx_nonce_t > | nonce | |
optional< Address > | to | |
u256 | value |
struct taraxa::net::rpc::eth::WatchGroupConfig |
using taraxa::net::rpc::eth::time_point = typedef std::chrono::system_clock::time_point |
using taraxa::net::rpc::eth::WatchesConfig = typedef std::array<WatchGroupConfig, WatchType::COUNT> |
using taraxa::net::rpc::eth::WatchID = typedef uint64_t |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const ExtendedTransactionLocation & | info | ||
) |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const optional< TransactionLocationWithBlockHash > & | info | ||
) |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const std::optional< TransactionLocationWithBlockHash > & | info | ||
) |
taraxa::net::rpc::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidAddress | ) |
taraxa::net::rpc::eth::DEV_SIMPLE_EXCEPTION | ( | WatchLimitExceeded | ) |
taraxa::net::rpc::eth::GLOBAL_CONST | ( | WatchType | , |
watch_id_type_mask_bits | |||
) |
taraxa::net::rpc::eth::GLOBAL_CONST_DEF | ( | watch_id_type_mask_bits | , |
WatchType(ceil(log2(float(COUNT)))) | |||
) |
AddressSet taraxa::net::rpc::eth::parse_addresses | ( | const Json::Value & | json | ) |
LogFilter::Topics taraxa::net::rpc::eth::parse_topics | ( | const Json::Value & | json | ) |
Address taraxa::net::rpc::eth::toAddress | ( | const std::string & | s | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const final_chain::BlockHeader & | obj | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedLogEntry & | lle | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedTransaction & | lt | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedTransactionReceipt & | ltr | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const std::optional< T > & | t | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const SyncStatus & | obj | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const T & | t | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const Transaction & | trx, |
const optional< TransactionLocationWithBlockHash > & | loc | ||
) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const Transaction & | trx, |
const std::optional< TransactionLocationWithBlockHash > & | loc | ||
) |
Json::Value taraxa::net::rpc::eth::toJsonArray | ( | const std::vector< T > & | _es | ) |
Json::Value taraxa::net::rpc::eth::toJsonArray | ( | std::shared_ptr< const std::vector< T > > | _es | ) |
const int taraxa::net::rpc::eth::CALL_EXCEPTION = 3 |