# Production Configuration
# This file contains production-specific configuration values
# DO NOT commit actual production secrets to version control

# Network Configuration
network:
  chain_id: 138
  rpc_url: "https://rpc.d-bis.org"
  explorer_url: "https://explorer.d-bis.org"

# CCIP Configuration
ccip:
  router_address: ""  # Set after deployment
  link_token_address: ""  # Production LINK token address
  fee_token: "LINK"  # LINK or native
  base_fee: "1000000000000000000"  # 1 LINK in wei
  data_fee_per_byte: "1000"
  token_fee_per_token: "1000000000000000000"

# Oracle Configuration
oracle:
  aggregator_address: ""  # Set after deployment
  heartbeat: 60  # seconds
  deviation_threshold: 50  # basis points (0.5%)
  max_priority_fee: "2000000000"  # 2 gwei
  data_sources:
    - name: "source1"
      url: ""  # Production data source URL
      parser: "jsonpath"
      weight: 1.0
    - name: "source2"
      url: ""  # Production data source URL
      parser: "jsonpath"
      weight: 1.0

# Multi-Sig Configuration
multisig:
  wallet_address: ""  # Set after deployment
  owners:
    - ""  # Owner 1 address
    - ""  # Owner 2 address
    - ""  # Owner 3 address
  required_confirmations: 2

# Rate Limiting
rate_limits:
  default: 1200  # requests per minute
  eth_call: 600
  eth_getLogs: 300
  eth_getBlockByNumber: 600
  eth_estimateGas: 300

# Monitoring
monitoring:
  prometheus_url: "http://prometheus:9090"
  grafana_url: "http://grafana:3000"
  alertmanager_url: "http://alertmanager:9093"

# Security
security:
  waf_enabled: true
  cors_enabled: true
  ip_allowlist_enabled: true
  api_key_required: false  # Set to true for production

# Backup
backup:
  enabled: true
  frequency: "daily"
  retention_days: 30

