aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/webapp.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
committerobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
commita8409b0a8bfa7f8434ede495094fd8d892c28c91 (patch)
treef9ed41441280ad919da8be7d82a522209c30995b /ethereal/assets/qml/webapp.qml
parent5ae3deea86a4916eee07b30195da280957e2fd2f (diff)
downloadgo-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.gz
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.bz2
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.lz
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.xz
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.zst
go-tangerine-a8409b0a8bfa7f8434ede495094fd8d892c28c91.zip
Implementing new wallet views
Diffstat (limited to 'ethereal/assets/qml/webapp.qml')
-rw-r--r--ethereal/assets/qml/webapp.qml26
1 files changed, 13 insertions, 13 deletions
diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml
index 22e404cc8..ca6860036 100644
--- a/ethereal/assets/qml/webapp.qml
+++ b/ethereal/assets/qml/webapp.qml
@@ -142,39 +142,39 @@ ApplicationWindow {
try {
switch(data.call) {
case "getCoinBase":
- postData(data._seed, eth.getCoinBase())
+ postData(data._seed, eth.coinBase())
break
case "getIsListening":
- postData(data._seed, eth.getIsListening())
+ postData(data._seed, eth.isListening())
break
case "getIsMining":
- postData(data._seed, eth.getIsMining())
+ postData(data._seed, eth.isMining())
break
case "getPeerCount":
- postData(data._seed, eth.getPeerCount())
+ postData(data._seed, eth.peerCount())
break
case "getTxCountAt":
require(1)
- postData(data._seed, eth.getTxCountAt(data.args[0]))
+ postData(data._seed, eth.txCountAt(data.args[0]))
break
case "getBlockByNumber":
- var block = eth.getBlockByNumber(data.args[0])
+ var block = eth.blockByNumber(data.args[0])
postData(data._seed, block)
break
case "getBlockByHash":
- var block = eth.getBlockByHash(data.args[0])
+ var block = eth.blockByHash(data.args[0])
postData(data._seed, block)
break
@@ -190,22 +190,22 @@ ApplicationWindow {
case "getStorage":
require(2);
- var stateObject = eth.getStateObject(data.args[0])
- var storage = stateObject.getStorage(data.args[1])
+ var stateObject = eth.stateObject(data.args[0])
+ var storage = stateObject.storageAt(data.args[1])
postData(data._seed, storage)
break
case "getEachStorage":
require(1);
- var storage = JSON.parse(eth.getEachStorage(data.args[0]))
+ var storage = JSON.parse(eth.eachStorage(data.args[0]))
postData(data._seed, storage)
break
case "getTransactionsFor":
require(1);
- var txs = eth.getTransactionsFor(data.args[0], true)
+ var txs = eth.transactionsFor(data.args[0], true)
postData(data._seed, txs)
break
@@ -213,12 +213,12 @@ ApplicationWindow {
case "getBalance":
require(1);
- postData(data._seed, eth.getStateObject(data.args[0]).value());
+ postData(data._seed, eth.stateObject(data.args[0]).value());
break
case "getKey":
- var key = eth.getKey().privateKey;
+ var key = eth.key().privateKey;
postData(data._seed, key)
break