aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-31 23:01:41 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-31 23:01:41 +0800
commit688030ecb615cbf97c428cf1dd2e337380079168 (patch)
treead9b4f831ddad9ea3917aa74a02f162a024d9723 /example
parent589c4fb30f2e68972b898c5ce084cda5b0831266 (diff)
downloaddexon-688030ecb615cbf97c428cf1dd2e337380079168.tar
dexon-688030ecb615cbf97c428cf1dd2e337380079168.tar.gz
dexon-688030ecb615cbf97c428cf1dd2e337380079168.tar.bz2
dexon-688030ecb615cbf97c428cf1dd2e337380079168.tar.lz
dexon-688030ecb615cbf97c428cf1dd2e337380079168.tar.xz
dexon-688030ecb615cbf97c428cf1dd2e337380079168.tar.zst
dexon-688030ecb615cbf97c428cf1dd2e337380079168.zip
eth.filter next param optional
Diffstat (limited to 'example')
-rw-r--r--example/event.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/example/event.html b/example/event.html
index 239813268..84d302437 100644
--- a/example/event.html
+++ b/example/event.html
@@ -75,7 +75,13 @@
});
};
+ function test8() {
+ // "{"topic":["0x83c9849c","000000000000000000000000000000000000000000000000000000000000001e"],"max":100,"address":"0x01"}"
+ web3.eth.watch(contract.Event, {a: 30}, {max: 100}).changed(function (res) {
+ });
+ };
+
// not valid
// function testX() {
// web3.eth.watch([contract.Event, contract.Event2]).changed(function (res) {
@@ -107,5 +113,8 @@
<div>
<button type="button" onClick="test7();">test7</button>
</div>
+ <div>
+ <button type="button" onClick="test8();">test8</button>
+ </div>
</body>
</html>