Coverage for src/stable_yield_lab/core/constants.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2025-10-04 20:38 +0000

1"""Core constants shared across StableYieldLab modules.""" 

2 

3from __future__ import annotations 

4 

5# Common stablecoins recognised by StableYieldLab data adapters. 

6# 

7# The list intentionally focuses on major dollar- and euro-pegged tokens to 

8# filter protocols when sourcing pools from aggregators such as DefiLlama or 

9# Morpho. Keeping the canonical symbols in :mod:`stable_yield_lab.core` 

10# avoids circular imports when consumers only need the lightweight data model 

11# layer. 

12STABLE_TOKENS = { 

13 "USDC", 

14 "USDT", 

15 "DAI", 

16 "FRAX", 

17 "LUSD", 

18 "GUSD", 

19 "TUSD", 

20 "USDP", 

21 "USDD", 

22 "USDR", 

23 "USDf", 

24 "USDF", 

25 "MAI", 

26 "SUSD", 

27 "EURS", 

28 "EUROE", 

29 "CRVUSD", 

30 "GHO", 

31 "USDC.E", 

32 "USDT.E", 

33} 

34 

35__all__ = ["STABLE_TOKENS"]