forked from cerc-io/plugeth
rebase with zelig/frontier/registrar
This commit is contained in:
parent
7e6c1f8024
commit
3791831081
@ -27,8 +27,7 @@ web3._extend({
|
|||||||
name: 'sleepBlocks',
|
name: 'sleepBlocks',
|
||||||
call: 'admin_sleepBlocks',
|
call: 'admin_sleepBlocks',
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [web3._extend.utils.formatInputInt,web3._extend.utils.formatInputInt],
|
inputFormatter: [null, null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputInt
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'verbosity',
|
name: 'verbosity',
|
||||||
@ -51,58 +50,50 @@ web3._extend({
|
|||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'stopRPC',
|
name: 'stopRPC',
|
||||||
call: 'admin_stopRPC',
|
call: 'admin_stopRPC',
|
||||||
params: 2,
|
params: 0,
|
||||||
inputFormatter: [],
|
inputFormatter: []
|
||||||
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'setGlobalRegistrar',
|
name: 'setGlobalRegistrar',
|
||||||
call: 'admin_setGlobalRegistrar',
|
call: 'admin_setGlobalRegistrar',
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
inputFormatter: [null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputString
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'setHashReg',
|
name: 'setHashReg',
|
||||||
call: 'admin_setHashReg',
|
call: 'admin_setHashReg',
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
inputFormatter: [null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputString
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'setUrlHint',
|
name: 'setUrlHint',
|
||||||
call: 'admin_setUrlHint',
|
call: 'admin_setUrlHint',
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
inputFormatter: [null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputString
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'saveInfo',
|
name: 'saveInfo',
|
||||||
call: 'admin_saveInfo',
|
call: 'admin_saveInfo',
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [function(obj) { return obj; },web3._extend.utils.formatInputString],
|
inputFormatter: [null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputString
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'register',
|
name: 'register',
|
||||||
call: 'admin_register',
|
call: 'admin_register',
|
||||||
params: 3,
|
params: 3,
|
||||||
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
inputFormatter: [null,null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'registerUrl',
|
name: 'registerUrl',
|
||||||
call: 'admin_registerUrl',
|
call: 'admin_registerUrl',
|
||||||
params: 3,
|
params: 3,
|
||||||
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
inputFormatter: [null,null,null]
|
||||||
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'startNatSpec',
|
name: 'startNatSpec',
|
||||||
call: 'admin_startNatSpec',
|
call: 'admin_startNatSpec',
|
||||||
params: 0,
|
params: 0,
|
||||||
inputFormatter: [],
|
inputFormatter: []
|
||||||
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
||||||
}),
|
}),
|
||||||
new web3._extend.Method({
|
new web3._extend.Method({
|
||||||
name: 'stopNatSpec',
|
name: 'stopNatSpec',
|
||||||
@ -122,7 +113,6 @@ web3._extend({
|
|||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [null, null]
|
inputFormatter: [null, null]
|
||||||
})
|
})
|
||||||
|
|
||||||
],
|
],
|
||||||
properties:
|
properties:
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user