aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web3ext/web3ext.go')
-rw-r--r--internal/web3ext/web3ext.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index dd325100f..ac79398b9 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -30,10 +30,8 @@ var Modules = map[string]string{
"shh": Shh_JS,
"swarmfs": SWARMFS_JS,
"txpool": TxPool_JS,
-
}
-
const Chequebook_JS = `
web3._extend({
property: 'chequebook',
@@ -77,6 +75,11 @@ web3._extend({
params: 1,
inputFormatter: [null]
}),
+ new web3._extend.Method({
+ name: 'getSnapshotAtHash',
+ call: 'clique_getSnapshotAtHash',
+ params: 1
+ }),
new web3._extend.Method({
name: 'getSigners',
call: 'clique_getSigners',
@@ -84,6 +87,11 @@ web3._extend({
inputFormatter: [null]
}),
new web3._extend.Method({
+ name: 'getSignersAtHash',
+ call: 'clique_getSignersAtHash',
+ params: 1
+ }),
+ new web3._extend.Method({
name: 'propose',
call: 'clique_propose',
params: 2