aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-11 16:06:35 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-11 16:06:35 +0800
commit3b2a0063c034fe29e550b1073c0b79b810f3dcc6 (patch)
treebfb0d8d7fd543eb94c3267143c0e0e084d8c70e6
parentaf5b12b249908d20989878c91c01483718112aa5 (diff)
downloaddexon-solidity-3b2a0063c034fe29e550b1073c0b79b810f3dcc6.tar.gz
dexon-solidity-3b2a0063c034fe29e550b1073c0b79b810f3dcc6.tar.zst
dexon-solidity-3b2a0063c034fe29e550b1073c0b79b810f3dcc6.zip
contract create and contract call working
-rw-r--r--webthreestubclient.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index cf749aac..3ef657a7 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -191,7 +191,7 @@ p.append(param3);
}
- std::string eth_contractCall(const std::string& param1, const std::string& param2, const Json::Value& param3) throw (jsonrpc::JsonRpcException)
+ std::string eth_contractCall(const std::string& param1, const int& param2, const Json::Value& param3) throw (jsonrpc::JsonRpcException)
{
Json::Value p;
p.append(param1);
@@ -206,11 +206,10 @@ p.append(param3);
}
- std::string eth_contractCreate(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException)
+ std::string eth_contractCreate(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;
p.append(param1);
-p.append(param2);
Json::Value result = this->client->CallMethod("eth_contractCreate",p);
if (result.isString())