diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 19:16:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 19:16:07 +0800 |
commit | a6c4543c575b52b943ff54f74c9d650d73175fe0 (patch) | |
tree | 23473e3076be6b394db680a5149cb8006f00a9db /ethereal/assets/qml | |
parent | c362172567e7bd499ea0d0bcf84c54a9b7788614 (diff) | |
download | dexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.tar.gz dexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.tar.zst dexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.zip |
Moving over to ethpipe
Diffstat (limited to 'ethereal/assets/qml')
-rw-r--r-- | ethereal/assets/qml/views/info.qml | 2 | ||||
-rw-r--r-- | ethereal/assets/qml/views/transaction.qml | 2 | ||||
-rw-r--r-- | ethereal/assets/qml/webapp.qml | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ethereal/assets/qml/views/info.qml b/ethereal/assets/qml/views/info.qml index fcddd46e2..3335a306a 100644 --- a/ethereal/assets/qml/views/info.qml +++ b/ethereal/assets/qml/views/info.qml @@ -28,7 +28,7 @@ Rectangle { text: "Address" } TextField { - text: pub.getKey().address + text: eth.getKey().address width: 500 } diff --git a/ethereal/assets/qml/views/transaction.qml b/ethereal/assets/qml/views/transaction.qml index 80e1670f8..ac38ebe0c 100644 --- a/ethereal/assets/qml/views/transaction.qml +++ b/ethereal/assets/qml/views/transaction.qml @@ -169,7 +169,7 @@ Rectangle { onClicked: { var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros; var gasPrice = txGasPrice.text + denomModel.get(gasDenom.currentIndex).zeros; - var res = gui.create(txFuelRecipient.text, value, txGas.text, gasPrice, codeView.text) + var res = gui.transact(txFuelRecipient.text, value, txGas.text, gasPrice, codeView.text) if(res[1]) { txResult.text = "Your contract <b>could not</b> be sent over the network:\n<b>" txResult.text += res[1].error() diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml index 5faf50e91..ac48e32a1 100644 --- a/ethereal/assets/qml/webapp.qml +++ b/ethereal/assets/qml/webapp.qml @@ -165,13 +165,13 @@ ApplicationWindow { break case "getBlockByNumber": - var block = eth.getBlock(data.args[0]) + var block = eth.getBlockByNumber(data.args[0]) postData(data._seed, block) break case "getBlockByHash": - var block = eth.getBlock(data.args[0]) + var block = eth.getBlockByHash(data.args[0]) postData(data._seed, block) break @@ -195,8 +195,8 @@ ApplicationWindow { case "getEachStorage": require(1); - var stateObject = eth.getStateObject(data.args[0]).stateKeyVal(true) - postData(data._seed,stateObject) + var storage = eth.getEachStorage(data.args[0]) + postData(data._seed, storage) break |