-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathprod.toml
122 lines (104 loc) · 3.82 KB
/
prod.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
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
112
113
114
115
116
117
118
119
120
121
creators_whitelist = []
validators_whitelist = []
[limits]
channels_find = 512
campaigns_find = 512
spendable_find = 512
msgs_find = 10
analytics_find = 5000
# 2h
ip_rate_limit = { type = 'ip', timeframe = 7200000 }
[limits.units_for_slot]
# The maximum number of campaigns a publisher can earn from
# This will limit the returned Campaigns to the set number
max_campaigns_earning_from = 25
# 0.00001 (UnifiedNum) per 1 impression
# 1_000 / 10^8 = 0.00001
global_min_impression_price = '1000'
[sentry]
# in milliseconds
analytics_maxtime = 15000
# Galya (for analytics)
admins = ['0x5d6A3F1AD7b124ecDFDf4841D9bB246eD5fBF04c']
[sentry.platform]
# This should be changed for tests and use the wiremock url
url = "https://platform.adex.network"
# 20 minutes in milliseconds
keep_alive_interval = 1200000
[worker]
# Maximum number of channels to return per request
max_channels = 512
wait_time = 40000
heartbeat_time = 60000
health_threshold_promilles = 970
health_unsignable_promilles = 770
[worker.timeouts]
propagation = 3000
fetch = 10000
all_campaigns = 10000
channel_tick = 10000
[chain."Ethereum Mainnet"]
chain_id = 1
rpc = 'https://mainnet.infura.io/v3/' # todo
outpace = '0x0000000000000000000000000000000000000000' # todo
[chain."Ethereum Mainnet".token."DAI"]
address = '0x6b175474e89094c44da98b954eedeac495271d0f' # checked
precision = 18
# 1 * 10^18 = 1.0000 TOKEN
min_campaign_budget = '1000000000000000000' # todo
# multiplier = 10^12 - 10^18 (token precision) = 10^-6
# 1 * 10^-6 = 0.000_001
min_validator_fee = '1000000000000' # todo
[chain."Ethereum Mainnet".token."SAI"]
address = '0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359' # checked
precision = 18
# multiplier = 10^8 - 10^18 (token precision) = 10^-10
# 1 * 10^-10 = 0.0_000_000_001
min_campaign_budget = '100000000' # todo
# multiplier = 10^8 - 10^18 (token precision) = 10^-10
# 1 * 10^-10 = 0.0_000_000_001
min_validator_fee = '100000000' # todo
[chain."Ethereum Mainnet".token."USDT"]
address = '0xdac17f958d2ee523a2206206994597c13d831ec7' # checked
precision = 6
# 1 * 10^6 = 1.0000 TOKEN
min_campaign_budget = '1000000' # todo
# 1 * 10^-6 = 0.000_001
min_validator_fee = '1' # todo
[chain."Ethereum Mainnet".token."USDC"]
# Polygon: https://polygonscan.com/token/0x2791bca1f2de4661ed88a30c99a7a9449aa84174
address = '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' # checked
precision = 6
# 1 * 10^6 = 1.0000 TOKEN
min_campaign_budget = '1000000' # todo
# 1 * (10^3 - 10^6) = 0.001
min_validator_fee = '1000' # todo
[chain."Polygon Mainnet"]
chain_id = 137
rpc = 'https://rpc-mainnet.maticvigil.com/' # todo
outpace = '0x0000000000000000000000000000000000000000' # todo
[chain."Polygon Mainnet".token."DAI"]
# https://polygonscan.com/token/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063
address = '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063' # checked
precision = 18
# 1 * 10^18 = 1.0000 TOKEN
min_campaign_budget = '1000000000000000000' # todo
# multiplier = 10^12 - 10^18 (token precision) = 10^-6
# 1 * 10^-6 = 0.000_001
min_validator_fee = '1000000000000' # todo
[chain."Polygon Mainnet".token."USDT"]
# https://polygonscan.com/token/0xc2132d05d31c914a87c6611c10748aeb04b58e8f
address = '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' # checked
precision = 6
# 1 * 10^6 = 1.0000 TOKEN
min_campaign_budget = '1000000' # todo
# 1 * 10^-6 = 0.000_001
min_validator_fee = '1' # todo
[chain."Polygon Mainnet".token."USDC"]
# https://polygonscan.com/token/0x2791bca1f2de4661ed88a30c99a7a9449aa84174
address = '0x2791bca1f2de4661ed88a30c99a7a9449aa84174' # checked
precision = 6
# 1 * 10^6 = 1.0000 TOKEN
min_campaign_budget = '1000000' # todo
# 1 * (10^3 - 10^6) = 0.001
min_validator_fee = '1000' # todo