/** * This file is generated by jsonrpcstub, DO NOT CHANGE IT MANUALLY! */ #ifndef JSONRPC_CPP_STUB_ABSTRACTWEBTHREESTUBSERVER_H_ #define JSONRPC_CPP_STUB_ABSTRACTWEBTHREESTUBSERVER_H_ #include class AbstractWebThreeStubServer : public jsonrpc::AbstractServer { public: AbstractWebThreeStubServer(jsonrpc::AbstractServerConnector &conn, jsonrpc::serverVersion_t type = jsonrpc::JSONRPC_SERVER_V2) : jsonrpc::AbstractServer(conn, type) { this->bindAndAddMethod(jsonrpc::Procedure("web3_sha3", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::web3_sha3I); this->bindAndAddMethod(jsonrpc::Procedure("net_peerCount", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::net_peerCountI); this->bindAndAddMethod(jsonrpc::Procedure("net_listening", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, NULL), &AbstractWebThreeStubServer::net_listeningI); this->bindAndAddMethod(jsonrpc::Procedure("eth_coinbase", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_coinbaseI); this->bindAndAddMethod(jsonrpc::Procedure("eth_mining", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, NULL), &AbstractWebThreeStubServer::eth_miningI); this->bindAndAddMethod(jsonrpc::Procedure("eth_gasPrice", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_gasPriceI); this->bindAndAddMethod(jsonrpc::Procedure("eth_accounts", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, NULL), &AbstractWebThreeStubServer::eth_accountsI); this->bindAndAddMethod(jsonrpc::Procedure("eth_blockNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_blockNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getBalance", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getBalanceI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getStorage", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getStorageI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getStorageAt", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING,"param3",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getStorageAtI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getTransactionCount", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getTransactionCountI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getBlockTransactionCountByHash", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getBlockTransactionCountByHashI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getBlockTransactionCountByNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_getBlockTransactionCountByNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_uncleCountByHash", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_REAL, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_uncleCountByHashI); this->bindAndAddMethod(jsonrpc::Procedure("eth_uncleCountByNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_REAL, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_uncleCountByNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_codeAt", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_codeAtI); this->bindAndAddMethod(jsonrpc::Procedure("eth_transact", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::eth_transactI); this->bindAndAddMethod(jsonrpc::Procedure("eth_call", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::eth_callI); this->bindAndAddMethod(jsonrpc::Procedure("eth_flush", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, NULL), &AbstractWebThreeStubServer::eth_flushI); this->bindAndAddMethod(jsonrpc::Procedure("eth_blockByHash", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_blockByHashI); this->bindAndAddMethod(jsonrpc::Procedure("eth_blockByNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_blockByNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_transactionByHash", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_transactionByHashI); this->bindAndAddMethod(jsonrpc::Procedure("eth_transactionByNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_INTEGER,"param2",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_transactionByNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_uncleByHash", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_uncleByHashI); this->bindAndAddMethod(jsonrpc::Procedure("eth_uncleByNumber", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT, "param1",jsonrpc::JSON_INTEGER,"param2",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_uncleByNumberI); this->bindAndAddMethod(jsonrpc::Procedure("eth_compilers", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, NULL), &AbstractWebThreeStubServer::eth_compilersI); this->bindAndAddMethod(jsonrpc::Procedure("eth_lll", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_lllI); this->bindAndAddMethod(jsonrpc::Procedure("eth_solidity", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_solidityI); this->bindAndAddMethod(jsonrpc::Procedure("eth_serpent", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_serpentI); this->bindAndAddMethod(jsonrpc::Procedure("eth_newFilter", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_INTEGER, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::eth_newFilterI); this->bindAndAddMethod(jsonrpc::Procedure("eth_newFilterString", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_INTEGER, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_newFilterStringI); this->bindAndAddMethod(jsonrpc::Procedure("eth_uninstallFilter", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_uninstallFilterI); this->bindAndAddMethod(jsonrpc::Procedure("eth_changed", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_changedI); this->bindAndAddMethod(jsonrpc::Procedure("eth_filterLogs", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_filterLogsI); this->bindAndAddMethod(jsonrpc::Procedure("eth_logs", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::eth_logsI); this->bindAndAddMethod(jsonrpc::Procedure("eth_getWork", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, NULL), &AbstractWebThreeStubServer::eth_getWorkI); this->bindAndAddMethod(jsonrpc::Procedure("eth_submitWork", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_submitWorkI); this->bindAndAddMethod(jsonrpc::Procedure("eth_register", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_INTEGER, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::eth_registerI); this->bindAndAddMethod(jsonrpc::Procedure("eth_unregister", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_unregisterI); this->bindAndAddMethod(jsonrpc::Procedure("eth_queuedTransactions", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::eth_queuedTransactionsI); this->bindAndAddMethod(jsonrpc::Procedure("db_put", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING,"param3",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::db_putI); this->bindAndAddMethod(jsonrpc::Procedure("db_get", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::db_getI); this->bindAndAddMethod(jsonrpc::Procedure("db_putString", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING,"param3",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::db_putStringI); this->bindAndAddMethod(jsonrpc::Procedure("db_getString", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::db_getStringI); this->bindAndAddMethod(jsonrpc::Procedure("shh_post", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::shh_postI); this->bindAndAddMethod(jsonrpc::Procedure("shh_newIdentity", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::shh_newIdentityI); this->bindAndAddMethod(jsonrpc::Procedure("shh_haveIdentity", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::shh_haveIdentityI); this->bindAndAddMethod(jsonrpc::Procedure("shh_newGroup", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::shh_newGroupI); this->bindAndAddMethod(jsonrpc::Procedure("shh_addToGroup", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_STRING, "param1",jsonrpc::JSON_STRING,"param2",jsonrpc::JSON_STRING, NULL), &AbstractWebThreeStubServer::shh_addToGroupI); this->bindAndAddMethod(jsonrpc::Procedure("shh_newFilter", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_INTEGER, "param1",jsonrpc::JSON_OBJECT, NULL), &AbstractWebThreeStubServer::shh_newFilterI); this->bindAndAddMethod(jsonrpc::Procedure("shh_uninstallFilter", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::shh_uninstallFilterI); this->bindAndAddMethod(jsonrpc::Procedure("shh_changed", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::shh_changedI); this->bindAndAddMethod(jsonrpc::Procedure("shh_getMessages", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_ARRAY, "param1",jsonrpc::JSON_INTEGER, NULL), &AbstractWebThreeStubServer::shh_getMessagesI); } inline virtual void web3_sha3I(const Json::Value &request, Json::Value &response) { response = this->web3_sha3(request[0u].asString()); } inline virtual void net_peerCountI(const Json::Value &request, Json::Value &response) { (void)request; response = this->net_peerCount(); } inline virtual void net_listeningI(const Json::Value &request, Json::Value &response) { (void)request; response = this->net_listening(); } inline virtual void eth_coinbaseI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_coinbase(); } inline virtual void eth_miningI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_mining(); } inline virtual void eth_gasPriceI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_gasPrice(); } inline virtual void eth_accountsI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_accounts(); } inline virtual void eth_blockNumberI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_blockNumber(); } inline virtual void eth_getBalanceI(const Json::Value &request, Json::Value &response) { response = this->eth_getBalance(request[0u].asString(), request[1u].asString()); } inline virtual void eth_getStorageI(const Json::Value &request, Json::Value &response) { response = this->eth_getStorage(request[0u].asString(), request[1u].asString()); } inline virtual void eth_getStorageAtI(const Json::Value &request, Json::Value &response) { response = this->eth_getStorageAt(request[0u].asString(), request[1u].asString(), request[2u].asString()); } inline virtual void eth_getTransactionCountI(const Json::Value &request, Json::Value &response) { response = this->eth_getTransactionCount(request[0u].asString(), request[1u].asString()); } inline virtual void eth_getBlockTransactionCountByHashI(const Json::Value &request, Json::Value &response) { response = this->eth_getBlockTransactionCountByHash(request[0u].asString()); } inline virtual void eth_getBlockTransactionCountByNumberI(const Json::Value &request, Json::Value &response) { response = this->eth_getBlockTransactionCountByNumber(request[0u].asString()); } inline virtual void eth_uncleCountByHashI(const Json::Value &request, Json::Value &response) { response = this->eth_uncleCountByHash(request[0u].asString()); } inline virtual void eth_uncleCountByNumberI(const Json::Value &request, Json::Value &response) { response = this->eth_uncleCountByNumber(request[0u].asInt()); } inline virtual void eth_codeAtI(const Json::Value &request, Json::Value &response) { response = this->eth_codeAt(request[0u].asString()); } inline virtual void eth_transactI(const Json::Value &request, Json::Value &response) { response = this->eth_transact(request[0u]); } inline virtual void eth_callI(const Json::Value &request, Json::Value &response) { response = this->eth_call(request[0u]); } inline virtual void eth_flushI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_flush(); } inline virtual void eth_blockByHashI(const Json::Value &request, Json::Value &response) { response = this->eth_blockByHash(request[0u].asString()); } inline virtual void eth_blockByNumberI(const Json::Value &request, Json::Value &response) { response = this->eth_blockByNumber(request[0u].asInt()); } inline virtual void eth_transactionByHashI(const Json::Value &request, Json::Value &response) { response = this->eth_transactionByHash(request[0u].asString(), request[1u].asInt()); } inline virtual void eth_transactionByNumberI(const Json::Value &request, Json::Value &response) { response = this->eth_transactionByNumber(request[0u].asInt(), request[1u].asInt()); } inline virtual void eth_uncleByHashI(const Json::Value &request, Json::Value &response) { response = this->eth_uncleByHash(request[0u].asString(), request[1u].asInt()); } inline virtual void eth_uncleByNumberI(const Json::Value &request, Json::Value &response) { response = this->eth_uncleByNumber(request[0u].asInt(), request[1u].asInt()); } inline virtual void eth_compilersI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_compilers(); } inline virtual void eth_lllI(const Json::Value &request, Json::Value &response) { response = this->eth_lll(request[0u].asString()); } inline virtual void eth_solidityI(const Json::Value &request, Json::Value &response) { response = this->eth_solidity(request[0u].asString()); } inline virtual void eth_serpentI(const Json::Value &request, Json::Value &response) { response = this->eth_serpent(request[0u].asString()); } inline virtual void eth_newFilterI(const Json::Value &request, Json::Value &response) { response = this->eth_newFilter(request[0u]); } inline virtual void eth_newFilterStringI(const Json::Value &request, Json::Value &response) { response = this->eth_newFilterString(request[0u].asString()); } inline virtual void eth_uninstallFilterI(const Json::Value &request, Json::Value &response) { response = this->eth_uninstallFilter(request[0u].asInt()); } inline virtual void eth_changedI(const Json::Value &request, Json::Value &response) { response = this->eth_changed(request[0u].asInt()); } inline virtual void eth_filterLogsI(const Json::Value &request, Json::Value &response) { response = this->eth_filterLogs(request[0u].asInt()); } inline virtual void eth_logsI(const Json::Value &request, Json::Value &response) { response = this->eth_logs(request[0u]); } inline virtual void eth_getWorkI(const Json::Value &request, Json::Value &response) { (void)request; response = this->eth_getWork(); } inline virtual void eth_submitWorkI(const Json::Value &request, Json::Value &response) { response = this->eth_submitWork(request[0u].asString()); } inline virtual void eth_registerI(const Json::Value &request, Json::Value &response) { response = this->eth_register(request[0u].asString()); } inline virtual void eth_unregisterI(const Json::Value &request, Json::Value &response) { response = this->eth_unregister(request[0u].asInt()); } inline virtual void eth_queuedTransactionsI(const Json::Value &request, Json::Value &response) { response = this->eth_queuedTransactions(request[0u].asInt()); } inline virtual void db_putI(const Json::Value &request, Json::Value &response) { response = this->db_put(request[0u].asString(), request[1u].asString(), request[2u].asString()); } inline virtual void db_getI(const Json::Value &request, Json::Value &response) { response = this->db_get(request[0u].asString(), request[1u].asString()); } inline virtual void db_putStringI(const Json::Value &request, Json::Value &response) { response = this->db_putString(request[0u].asString(), request[1u].asString(), request[2u].asString()); } inline virtual void db_getStringI(const Json::Value &request, Json::Value &response) { response = this->db_getString(request[0u].asString(), request[1u].asString()); } inline virtual void shh_postI(const Json::Value &request, Json::Value &response) { response = this->shh_post(request[0u]); } inline virtual void shh_newIdentityI(const Json::Value &request, Json::Value &response) { (void)request; response = this->shh_newIdentity(); } inline virtual void shh_haveIdentityI(const Json::Value &request, Json::Value &response) { response = this->shh_haveIdentity(request[0u].asString()); } inline virtual void shh_newGroupI(const Json::Value &request, Json::Value &response) { response = this->shh_newGroup(request[0u].asString(), request[1u].asString()); } inline virtual void shh_addToGroupI(const Json::Value &request, Json::Value &response) { response = this->shh_addToGroup(request[0u].asString(), request[1u].asString()); } inline virtual void shh_newFilterI(const Json::Value &request, Json::Value &response) { response = this->shh_newFilter(request[0u]); } inline virtual void shh_uninstallFilterI(const Json::Value &request, Json::Value &response) { response = this->shh_uninstallFilter(request[0u].asInt()); } inline virtual void shh_changedI(const Json::Value &request, Json::Value &response) { response = this->shh_changed(request[0u].asInt()); } inline virtual void shh_getMessagesI(const Json::Value &request, Json::Value &response) { response = this->shh_getMessages(request[0u].asInt()); } virtual std::string web3_sha3(const std::string& param1) = 0; virtual std::string net_peerCount() = 0; virtual bool net_listening() = 0; virtual std::string eth_coinbase() = 0; virtual bool eth_mining() = 0; virtual std::string eth_gasPrice() = 0; virtual Json::Value eth_accounts() = 0; virtual std::string eth_blockNumber() = 0; virtual std::string eth_getBalance(const std::string& param1, const std::string& param2) = 0; virtual Json::Value eth_getStorage(const std::string& param1, const std::string& param2) = 0; virtual std::string eth_getStorageAt(const std::string& param1, const std::string& param2, const std::string& param3) = 0; virtual std::string eth_getTransactionCount(const std::string& param1, const std::string& param2) = 0; virtual std::string eth_getBlockTransactionCountByHash(const std::string& param1) = 0; virtual std::string eth_getBlockTransactionCountByNumber(const std::string& param1) = 0; virtual double eth_uncleCountByHash(const std::string& param1) = 0; virtual double eth_uncleCountByNumber(int param1) = 0; virtual std::string eth_codeAt(const std::string& param1) = 0; virtual std::string eth_transact(const Json::Value& param1) = 0; virtual std::string eth_call(const Json::Value& param1) = 0; virtual bool eth_flush() = 0; virtual Json::Value eth_blockByHash(const std::string& param1) = 0; virtual Json::Value eth_blockByNumber(int param1) = 0; virtual Json::Value eth_transactionByHash(const std::string& param1, int param2) = 0; virtual Json::Value eth_transactionByNumber(int param1, int param2) = 0; virtual Json::Value eth_uncleByHash(const std::string& param1, int param2) = 0; virtual Json::Value eth_uncleByNumber(int param1, int param2) = 0; virtual Json::Value eth_compilers() = 0; virtual std::string eth_lll(const std::string& param1) = 0; virtual std::string eth_solidity(const std::string& param1) = 0; virtual std::string eth_serpent(const std::string& param1) = 0; virtual int eth_newFilter(const Json::Value& param1) = 0; virtual int eth_newFilterString(const std::string& param1) = 0; virtual bool eth_uninstallFilter(int param1) = 0; virtual Json::Value eth_changed(int param1) = 0; virtual Json::Value eth_filterLogs(int param1) = 0; virtual Json::Value eth_logs(const Json::Value& param1) = 0; virtual Json::Value eth_getWork() = 0; virtual bool eth_submitWork(const std::string& param1) = 0; virtual int eth_register(const std::string& param1) = 0; virtual bool eth_unregister(int param1) = 0; virtual Json::Value eth_queuedTransactions(int param1) = 0; virtual bool db_put(const std::string& param1, const std::string& param2, const std::string& param3) = 0; virtual std::string db_get(const std::string& param1, const std::string& param2) = 0; virtual bool db_putString(const std::string& param1, const std::string& param2, const std::string& param3) = 0; virtual std::string db_getString(const std::string& param1, const std::string& param2) = 0; virtual bool shh_post(const Json::Value& param1) = 0; virtual std::string shh_newIdentity() = 0; virtual bool shh_haveIdentity(const std::string& param1) = 0; virtual std::string shh_newGroup(const std::string& param1, const std::string& param2) = 0; virtual std::string shh_addToGroup(const std::string& param1, const std::string& param2) = 0; virtual int shh_newFilter(const Json::Value& param1) = 0; virtual bool shh_uninstallFilter(int param1) = 0; virtual Json::Value shh_changed(int param1) = 0; virtual Json::Value shh_getMessages(int param1) = 0; }; #endif //JSONRPC_CPP_STUB_ABSTRACTWEBTHREESTUBSERVER_H_