forked from nttcom/metemcyber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tx_monitor.conf.tmpl
61 lines (61 loc) · 2.16 KB
/
tx_monitor.conf.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"dumper": {
"endpoint": "https://rpc.metemcyber.ntt.com",
"db_filepath_raw": "tx_shelf.raw.db",
"start_block": 0,
"print_blocknum": true,
"exit_on_head": true},
"decoder": {
"db_filepath_raw": "tx_shelf.raw.db",
"db_filepath_decoded": "tx_shelf.db",
"start_block": 0,
"exit_on_head": true,
"print_blocknum": true,
"print_decoded": true},
"metadata_manager": {
"db_filepath_decoded": "tx_shelf.db",
"db_filepath_meta": "tx_shelf.meta.db",
"start_block": 0,
"exit_on_head": true,
"print_blocknum": true},
"counter": {
"db_filepath_decoded": "tx_shelf.db",
"db_filepath_meta": "tx_shelf.meta.db"},
"slack_notifier": {
"webhook": "Your IncommingWebhook URL. ex) https://hooks.slack.com/services/T01FJ...",
"channel": "Channel name to post. ex) #dev",
"appname": "Metembot"},
"queries": [
{
"class": "Waixu",
"options": {
"waixu_filter": {
"include_catalogs": [
"0xBcb4b84cdaB65C6e6Efe1697CC41a46D0AEaCA61",
"0x168DD95472cEaF5c28447C8b07A593e205E92A12"],
"exclude_catalogs": [],
"include_brokers": [],
"exclude_brokers": []
},
"date_format": "%Y-%m-%dT%H:%M:%S",
"start": "2021-04-01T09:00:00",
"end": "2021-08-01T09:00:00"}},
{
"class": "Simple",
"disable": 1,
"options": {
"generic_filter": {
"include_to": [],
"exclude_to": [],
"include_from": [],
"exclude_from": []
},
"date_format": "%c",
"start": "Sun Apr 01 09:00:00 2021",
"end": "Sun Aug 01 09:00:00 2021",
"another_format_sample": {
"date_format": "%Y-%m-%d %H:%M:%S %z",
"start": "2021-01-01 12:34:56 +0900"},
"reverted": "yes"}}
]
}