-
Notifications
You must be signed in to change notification settings - Fork 1
/
price-feeder.config.toml
69 lines (58 loc) · 1.23 KB
/
price-feeder.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
67
68
69
# Ref: https://github.com/umee-network/umee/blob/46139010fcf73b3c54ce18d6c4e425bb4ad529ec/price-feeder/price-feeder.example.toml#L1
gas_adjustment = 1.5
provider_timeout = "5s"
[server]
listen_addr = "localhost:7171"
read_timeout = "20s"
verbose_cors = true
write_timeout = "20s"
[[deviation_thresholds]]
base = "USDT"
threshold = "2"
[[currency_pairs]]
base = "ATOM"
providers = [
"mock",
]
quote = "USDT"
[[currency_pairs]]
base = "ATOM"
providers = [
"mock",
]
quote = "USD"
[[currency_pairs]]
base = "UMEE"
providers = [
"mock",
]
quote = "USDT"
[[currency_pairs]]
base = "USDT"
providers = [
"mock",
]
quote = "USD"
[account]
address = "umee1y6xz2ggfc0pcsmyjlekh0j9pxh6hk87ymc9due"
chain_id = "local-test-umee"
validator = "umeevaloper1y6xz2ggfc0pcsmyjlekh0j9pxh6hk87ymuzzdn"
[keyring]
backend = "test"
dir = "/root/.umee"
[rpc]
grpc_endpoint = "umeed:9090"
rpc_timeout = "100ms"
tmrpc_endpoint = "http://umeed:26657"
[telemetry]
enable_hostname = true
enable_hostname_label = true
enable_service_label = true
enabled = false
global_labels = [["chain-id", "local-test-umee"]]
service_name = "price-feeder"
type = "prometheus"
[[provider_endpoints]]
name = "binance"
rest = "https://api1.binance.com"
websocket = "stream.binance.com:9443"