-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.sample
72 lines (66 loc) · 2.44 KB
/
.env.sample
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
########################
# SHARED ENV VARIABLES #
########################
PORT=3001
DB_HOST=postgres
DB_PORT=5432
DB_USERNAME=scraperapi
DB_PASSWORD=scraperapipassword
DB_DATABASE_NAME=scraperapi
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=password
JWT_SECRET=secret
# MerkleDistributor overrides
MERKLE_DISTRIBUTOR_CHAIN_ID=
MERKLE_DISTRIBUTOR_ADDRESS=
# set the list of operation modes ("normal", "test", "scraper")
RUN_MODES=normal
OP_REWARDS_MERKLE_DISTRIBUTOR_CHAIN_ID=
OP_REWARDS_MERKLE_DISTRIBUTOR_ADDRESS=
OP_REWARDS_MERKLE_DISTRIBUTOR_BLOCK_NUMBER=
# Optional OP rebates program related env vars.
OP_REBATES_REWARD_TOKEN_ADDRESS=
OP_REBATES_REWARD_TOKEN_CHAIN_ID=
OP_REBATES_REWARD_PROGRAM_ENABLED=
# ISO 8601 date format
OP_REBATES_REWARD_PROGRAM_START_DATE=
# ISO 8601 date format
OP_REBATES_REWARD_PROGRAM_END_DATE=
########################
# NORMAL ENV VARIABLES #
########################
DISTRIBUTOR_PROOFS_CACHE_SECONDS_DURATION=
REFERRALS_SUMMARY_CACHE_SECONDS_DURATION=
# the Discord app's credentials obtained from https://discord.com/developers/applications.
DISCORD_CLIENT_ID=clientId
DISCORD_CLIENT_SECRET=clientSecret
# the url accessed after the Discord authorization processed is fulfilled
DISCORD_REDIRECT_URI=http://localhost
AMPLITUDE_API_KEY=
#########################
# SCRAPER ENV VARIABLES #
#########################
WEB3_NODE_URL_1=https://mainnet.infura.io/v3/
WEB3_NODE_URL_10=https://optimism-mainnet.infura.io/v3/
WEB3_NODE_URL_288=https://boba-mainnet.gateway.pokt.network/v1/lb/
WEB3_NODE_URL_42161=https://arbitrum-mainnet.infura.io/v3/
WEB3_NODE_URL_137=https://polygon-mainnet.infura.io/v3/
WEB3_NODE_URL_5=https://goerli.infura.io/v3/
# the timestamp after which the referral address is extracted using the delimiter
REFERRAL_DELIMITER_START_TIMESTAMP=1657290720
# enable fetching SpokePool events from the contracts
ENABLE_SPOKE_POOLS_EVENTS_PROCESSING=false
# enable fetching MerkleDistributor events from the contracts
ENABLE_MERKLE_DISTRIBUTOR_EVENTS_PROCESSING=false
# enable the refresh of the referrals materialized view.
ENABLE_REFERRALS_MATERIALIZED_VIEW_REFRESH=false
# specify the strategy used for updating sticky referrals. Valid options: queue | cron | disable
STICKY_REFERRAL_ADDRESSES_MECHANISM=queue
# Following distances in blocks to guarantee finality on each chain. Format should be a map chainId -> blocks.
# E.g. { "137": 100 }
FOLLOWING_DISTANCES=
DISABLE_CRONS=true
# Slack bot
ENABLE_SLACK_BOT=false
SLACK_WEBHOOK_URL=