Skip to content

Commit

Permalink
fix: add mev method to console
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolly23 committed May 18, 2024
1 parent f45305b commit 3c91cd1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,30 @@ web3._extend({
name: 'stopWS',
call: 'admin_stopWS'
}),
new web3._extend.Method({
name: 'mevRunning',
call: 'admin_mevRunning'
}),
new web3._extend.Method({
name: 'startMev',
call: 'admin_startMev'
}),
new web3._extend.Method({
name: 'stopMev',
call: 'admin_stopMev'
}),
new web3._extend.Method({
name: 'addBuilder',
call: 'admin_addBuilder',
params: 2,
inputFormatter: [web3._extend.formatters.inputAddressFormatter, null]
}),
new web3._extend.Method({
name: 'removeBuilder',
call: 'admin_removeBuilder',
params: 1,
inputFormatter: [web3._extend.formatters.inputAddressFormatter]
}),
],
properties: [
new web3._extend.Property({
Expand Down

0 comments on commit 3c91cd1

Please sign in to comment.