forked from BarnBridge/meminero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.yml
111 lines (92 loc) · 2.83 KB
/
config-sample.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# database fields
db:
# Database host
host: "meminero-postgres"
# Database port
port: 5432
# Database sslmode
sslmode: "disable"
# Database name
dbname: "barnbridge"
# Database user (also allowed via PG_USER env var)
user: "barnbridge"
password: "password"
automigrate: true
migrations-path: db/migrations
# ethereum-related fields
eth:
client:
# HTTP endpoint of a web3-compatible node (mandatory)
http: "http://localhost:8545"
# Websockets endpoint of JSON-RPC enabled node (optional)
# if this is present, the task manager will use a newHeads subscription to watch for new blocks
# if not present, the task manager will use polling to get the highest block
ws: "ws://localhost:8546"
# The interval at which the task manager will poll the node for best block (default:"15s")
# optional, only used if `ws` url is not specified
poll-interval: "15s"
# Maximum JSON-RPC requests to batch together
max-batch: 100
ethtypes:
# Folder containing ABI JSONs
abi-folder: ethtypes/_source
# Path where to generate packages. Final folder represents package name
package-path: ethtypes
# feature flags
feature:
integrity:
# Enable/disable the integrity checker
enabled: true
queuekeeper:
enabled: true
lag: 10
# Enable this if the scraper should replace existing blocks instead of skipping them
replace-blocks: false
# Control what to be logged using format "module=level,module=level"; `*` means all other modules
logging: "*=info"
metrics:
# Port on which to serve Prometheus metrics
port: 9909
# redis-related fields
redis:
# URL of redis server (default:"localhost:6379")
server: "meminero-redis:6379"
# The name of the redis list the scraper will use for task management (default: "todo")
list: "todo"
password: ""
#storables
storable:
accountERC20Transfers:
enabled: true
barn:
enabled: true
address: "0x10e138877df69Ca44Fdc68655f86c88CDe142D7F"
notifications: true
erc20transfers:
enabled: true
governance:
enabled: true
address: "0x4cAE362D7F227e3d306f70ce4878E245563F3069"
notifications: true
smartexposure:
enabled: true
epoolhelperaddress: "0x8a63822d8c1be5590bbf72fb58e69285a776a5df"
epoolperipheryaddress: "0x33c8d6f8271675eda1a0e72558d4904c96c7a888"
etokenfactoryaddress: "0x3E2f548954A7F8169486936e2Bb616aabCe979E9"
smartyield:
enabled: true
notifications: true
rewards:
factories: "0x2e93403C675Ccb9C564edf2dC6001233d0650582,0x27FE2BFBb6be96D64Db0e741078A1f29Aa20226B,0x53a44A97cD2E9fb9d92ADe742a3C284695A4d72e"
tokenprices:
enabled: true
yieldfarming:
address: "0xb0fa2beee3cf36a7ac7e99b885b48538ab364853"
enabled: true
syncer:
# The datasets to sync
datasets: [ ]
# The network to sync
network: "mainnet"
# Path to sync files folder
path: "./sync-files"