"""
Fixed referral program rules.
"""
from decimal import Decimal

MINIMUM_QUALIFYING_DEPOSIT = Decimal('300.00')
MAXIMUM_QUALIFYING_DEPOSIT = Decimal('5000.00')
REFERRER_BONUS_PERCENTAGE = Decimal('10.00')
REFERRED_USER_BONUS_PERCENTAGE = Decimal('5.00')

TEAM_LEVELS = (
    {'level': 1, 'required_members': 5, 'bonus_amount': Decimal('250.00')},
    {'level': 2, 'required_members': 25, 'bonus_amount': Decimal('500.00')},
    {'level': 3, 'required_members': 100, 'bonus_amount': Decimal('1000.00')},
    {'level': 4, 'required_members': 200, 'bonus_amount': Decimal('2000.00')},
    {'level': 5, 'required_members': 500, 'bonus_amount': Decimal('5000.00')},
)
