4
0
mirror of git://holbrook.no/eth-monitor.git synced 2024-11-27 05:36:46 +01:00
eth-monitor/eth_monitor/cli/rules.py

21 lines
320 B
Python

rules_address_args = [
'input',
'output',
'exec',
'address',
]
rules_data_args = [
'data',
'data_in',
]
rules_txhash_args = [
'txhash',
]
def to_config_names(v):
v = v.upper()
return ('ETHMONITOR_' + v, 'ETHMONITOR_X_' + v)