Implement getStateKeyVal for JS bindings.

Gives JS the option to 'loop' over contract key/val storage
This commit is contained in:
Maran
2014-06-04 15:54:33 +02:00
parent 307fe4a3cd
commit 7843390ecd
4 changed files with 18 additions and 3 deletions

View File

@@ -32,6 +32,10 @@ window.eth = {
postData({call: "getStorage", args: [address, storageAddress]}, cb);
},
getStateKeyVals: function(address, cb){
postData({call: "getStateKeyVals", args: [address]}, cb);
},
getKey: function(cb) {
postData({call: "getKey"}, cb);
},