-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml.example
More file actions
61 lines (52 loc) · 2.1 KB
/
config.toml.example
File metadata and controls
61 lines (52 loc) · 2.1 KB
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
# Rewards Eligibility Oracle Configuration
# This file separates sensitive secrets from non-sensitive configuration values
# =============================================================================
# NON-SENSITIVE CONFIGURATION
# =============================================================================
[bigquery]
BIGQUERY_LOCATION_ID = "US"
BIGQUERY_PROJECT_ID = "graph-mainnet"
BIGQUERY_DATASET_ID = "internal_metrics"
BIGQUERY_TABLE_ID = "metrics_indexer_attempts"
BIGQUERY_CURATION_TABLE_ID = "metrics_curator_signals"
BIGQUERY_CURATOR_MAINNET_TABLE_ID = "curator_name_signal_dimensions_daily"
BIGQUERY_CURATOR_ARBITRUM_TABLE_ID = "curator_name_signal_dimensions_arbitrum_daily"
BIGQUERY_SUBGRAPH_LOOKUP_TABLE_ID = "subgraph_version_id_lookup"
[blockchain]
BLOCKCHAIN_CONTRACT_ADDRESS = "0x62c2305739cc75f19a3a6d52387ceb3690d99a99"
BLOCKCHAIN_FUNCTION_NAME = "renewIndexerEligibility"
BLOCKCHAIN_CHAIN_ID = 421614
BLOCKCHAIN_RPC_URLS = [
"https://arbitrum-sepolia.drpc.org",
"https://sepolia-rollup.arbitrum.io/rpc",
"https://api.zan.top/arb-sepolia",
"https://arbitrum-sepolia.gateway.tenderly.co"
]
BLOCK_EXPLORER_URL = "https://sepolia.arbiscan.io"
TX_TIMEOUT_SECONDS = "30"
[scheduling]
SCHEDULED_RUN_TIME = "10:00"
[processing]
BATCH_SIZE = 125
MAX_AGE_BEFORE_DELETION = 120
BIGQUERY_ANALYSIS_PERIOD_DAYS = "28"
[caching]
# Maximum age in minutes for cached data to be considered fresh
CACHE_MAX_AGE_MINUTES = "30"
# Force BigQuery refresh even if fresh cached data exists (true/false)
FORCE_BIGQUERY_REFRESH = "false"
[eligibility_criteria]
MIN_ONLINE_DAYS = "5"
MIN_SUBGRAPHS = "1"
MAX_LATENCY_MS = "5000"
MAX_BLOCKS_BEHIND = "50000"
# =============================================================================
# SENSITIVE CONFIGURATION
# =============================================================================
[secrets]
GOOGLE_APPLICATION_CREDENTIALS = "$GOOGLE_APPLICATION_CREDENTIALS"
BLOCKCHAIN_PRIVATE_KEY = "$BLOCKCHAIN_PRIVATE_KEY"
ETHERSCAN_API_KEY = "$ETHERSCAN_API_KEY"
ARBITRUM_API_KEY = "$ARBITRUM_API_KEY"
SLACK_WEBHOOK_URL = "$SLACK_WEBHOOK_URL"
OPSGENIE_API_KEY = "$OPSGENIE_API_KEY"