Implement getStateKeyVal for JS bindings.
Gives JS the option to 'loop' over contract key/val storage
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
Reference in New Issue
Block a user