- Make app/domains/auth/ and app/core/redis.py mypy-clean under strict. - Add mypy-gate.ini and Makefile mypy-gate target; promote typecheck-gate in CI. - Consolidate domains into app/domains/: bulletin, admin, intelligence, markets. - Extract referral domain incl. DeFi partner DEX ref links; keep Telegram bot wired. - Move app/mcp/ package and app/api/v1/mcp/router into app/domains/mcp/. - Archive dead app/mcp_router.py.
31 lines
657 B
Python
31 lines
657 B
Python
"""Referral domain - public API.
|
|
|
|
Phase 4 domain consolidation: extracted from telegram/rugmunchbot/bot.py.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from app.domains.referral.core import (
|
|
MILESTONES,
|
|
REFERRAL_BONUS_SCANS,
|
|
apply_referral_code,
|
|
generate_referral_link,
|
|
get_referral_stats,
|
|
)
|
|
from app.domains.referral.partners import (
|
|
DEX_REF_LINKS,
|
|
PARTNER_CODES,
|
|
dex_buttons,
|
|
format_dex_url,
|
|
)
|
|
|
|
__all__ = [
|
|
"DEX_REF_LINKS",
|
|
"MILESTONES",
|
|
"PARTNER_CODES",
|
|
"REFERRAL_BONUS_SCANS",
|
|
"apply_referral_code",
|
|
"dex_buttons",
|
|
"format_dex_url",
|
|
"generate_referral_link",
|
|
"get_referral_stats",
|
|
]
|