-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.yml
105 lines (82 loc) · 2.5 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
# api-related fields
api:
# The port on which the API will be exposed (default:3001)
port: 3001
# Enable/disable development CORS
dev-cors: true
# Allowed hosts for HTTP API development CORS
dev-cors-host: "*"
# Dashboard-related fields
dashboard:
# The port on which the Dashboard will be exposed (default:3000)
# WARNING: it must not be the same as api.port!
port: 3000
config-management:
enabled: true
# database fields
db:
# Database host
host: "kek-postgres"
# Database port
port: 5432
# Database sslmode
sslmode: "disable"
# Database name
dbname: "kek"
# Database user (also allowed via PG_USER env var)
user: "kek"
# 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"
# feature flags
feature:
# Backfilling
backfill:
# Enable/disable the backfilling feature
enabled: false
# Lag feature
lag:
# Enable/disable the lag feature
enabled: true
# The amount of blocks to lag behind the tip of the chain if the lag feature is enabled
value: 10
# Automatic migrations
automigrate:
# Enable/disable the automatic migrations
enabled: true
#slack notify service
slack:
webhook: ""
# Control what to be logged using format "module=level,module=level"; `*` means all other modules
logging: "*=info"
# redis-related fields
redis:
# URL of redis server (default:"localhost:6379")
server: "kek-redis:6379"
# The name of the redis list the scraper will use for task management (default: "todo")
list: "todo"
abi-path: "./abis"
storable:
kek:
address: "0x0391D2021f89DC339F60Fff84546EA23E337750f"
supernova:
address: "0x10e138877df69Ca44Fdc68655f86c88CDe142D7F"
notifications: false
governance:
address: "0x4cAE362D7F227e3d306f70ce4878E245563F3069"
notifications: false
yieldFarming:
address : "0xb0fa2beee3cf36a7ac7e99b885b48538ab364853"
action:
address : "0x879D4f77150f8c46953626cE667AE8f222b7c3aF"
universe:
address : "0xc7ec916D12fB0Dd388a33225d93B864C8F91fcB7"