@@ -27,8 +27,7 @@ web3._extend({
27
27
name: 'sleepBlocks',
28
28
call: 'admin_sleepBlocks',
29
29
params: 2,
30
- inputFormatter: [web3._extend.utils.formatInputInt,web3._extend.utils.formatInputInt],
31
- outputFormatter: web3._extend.formatters.formatOutputInt
30
+ inputFormatter: [null, null]
32
31
}),
33
32
new web3._extend.Method({
34
33
name: 'verbosity',
@@ -51,58 +50,50 @@ web3._extend({
51
50
new web3._extend.Method({
52
51
name: 'stopRPC',
53
52
call: 'admin_stopRPC',
54
- params: 2,
55
- inputFormatter: [],
56
- outputFormatter: web3._extend.formatters.formatOutputBool
53
+ params: 0,
54
+ inputFormatter: []
57
55
}),
58
56
new web3._extend.Method({
59
57
name: 'setGlobalRegistrar',
60
58
call: 'admin_setGlobalRegistrar',
61
59
params: 2,
62
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
63
- outputFormatter: web3._extend.formatters.formatOutputString
60
+ inputFormatter: [null,null]
64
61
}),
65
62
new web3._extend.Method({
66
63
name: 'setHashReg',
67
64
call: 'admin_setHashReg',
68
65
params: 2,
69
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
70
- outputFormatter: web3._extend.formatters.formatOutputString
66
+ inputFormatter: [null,null]
71
67
}),
72
68
new web3._extend.Method({
73
69
name: 'setUrlHint',
74
70
call: 'admin_setUrlHint',
75
71
params: 2,
76
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
77
- outputFormatter: web3._extend.formatters.formatOutputString
72
+ inputFormatter: [null,null]
78
73
}),
79
74
new web3._extend.Method({
80
75
name: 'saveInfo',
81
76
call: 'admin_saveInfo',
82
77
params: 2,
83
- inputFormatter: [function(obj) { return obj; },web3._extend.utils.formatInputString],
84
- outputFormatter: web3._extend.formatters.formatOutputString
78
+ inputFormatter: [null,null]
85
79
}),
86
80
new web3._extend.Method({
87
81
name: 'register',
88
82
call: 'admin_register',
89
83
params: 3,
90
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
91
- outputFormatter: web3._extend.formatters.formatOutputBool
84
+ inputFormatter: [null,null,null]
92
85
}),
93
86
new web3._extend.Method({
94
87
name: 'registerUrl',
95
88
call: 'admin_registerUrl',
96
89
params: 3,
97
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
98
- outputFormatter: web3._extend.formatters.formatOutputBool
90
+ inputFormatter: [null,null,null]
99
91
}),
100
92
new web3._extend.Method({
101
93
name: 'startNatSpec',
102
94
call: 'admin_startNatSpec',
103
95
params: 0,
104
- inputFormatter: [],
105
- outputFormatter: web3._extend.formatters.formatOutputBool
96
+ inputFormatter: []
106
97
}),
107
98
new web3._extend.Method({
108
99
name: 'stopNatSpec',
@@ -122,7 +113,6 @@ web3._extend({
122
113
params: 2,
123
114
inputFormatter: [null, null]
124
115
})
125
-
126
116
],
127
117
properties:
128
118
[
0 commit comments