-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.toml
66 lines (54 loc) · 1.52 KB
/
config.toml
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
62
63
64
65
66
# This file serves as a template for the configuration file. Copy it and edit the values as needed.
# Use --config parameter to specify the path to the configuration file.
[indexer]
start_index = 0
new_block_check_millis = 1000
batch_size = 1000
num_parallel_req = 10
log_range = 10
[[indexer.collect_transactions]]
contract_address = "22474d350ec2da53d717e30b96e9a2b7628ede5b"
func_sig = "f14fcbc8"
status = true
collect_events = true
[[indexer.collect_transactions]]
contract_address = "22474d350ec2da53d717e30b96e9a2b7628ede5b"
func_sig = "4369af80"
status = true
collect_events = true
[[indexer.collect_transactions]]
contract_address = "22474d350ec2da53d717e30b96e9a2b7628ede5b"
func_sig = "46f073cf"
status = true
collect_events = true
[[indexer.collect_transactions]]
contract_address = "22474d350ec2da53d717e30b96e9a2b7628ede5b"
func_sig = "901d0e19"
status = true
collect_events = true
[[indexer.collect_transactions]]
contract_address = "b682deef4f8e298d86bfc3e21f50c675151fb974"
func_sig = "2636434d"
status = true
collect_events = true
[[indexer.collect_logs]]
contract_address = "b682deef4f8e298d86bfc3e21f50c675151fb974"
topic = "undefined"
[db]
host = "localhost"
port = 3306
database = "flare_ftso_indexer"
username = "root"
password = "root"
log_queries = false
history_drop = 604800 # 7 days
drop_table_at_start = true
[logger]
level = "INFO"
file = "./logger/logs/flare-ftso-indexer.log"
console = true
[chain]
node_url = "http://127.0.0.1:8545/"
[timeout]
backoff_max_elapsed_time_seconds = 300
timeout_milis = 1000