aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-17 21:04:57 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-17 21:04:57 +0800
commit7b30c14deddbcb63e618eb8bb5e1c024dc4fa758 (patch)
tree939ea79ac84e3191ac3e5a872d06c9ea537c83c5
parent109f57c75f585e5d1e5dc410bba171d88569a274 (diff)
downloaddexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.gz
dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.zst
dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.zip
ethereum.js not minified, serpent compiler, jsonrpc handles compilers exceptions
-rw-r--r--webthreestubclient.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index 2636d172..162c84b4 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -328,6 +328,19 @@ p.append(param3);
}
+ std::string eth_serpent(const std::string& param1) throw (jsonrpc::JsonRpcException)
+ {
+ Json::Value p;
+ p.append(param1);
+
+ Json::Value result = this->client->CallMethod("eth_serpent",p);
+ if (result.isString())
+ return result.asString();
+ else
+ throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
+
+ }
+
bool eth_setCoinbase(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;