Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
akremstudy committed Jul 27, 2023
1 parent 83a4afc commit d334f43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/telliot_feeds/sources/sweth_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ async def get_price(self, asset: str, currency: str) -> OptionalDataPoint[float]

@dataclass
class swETHSpotPriceSource(PriceSource):
"""Gets data from swETH contract"""
asset: str = ""
currency: str = ""
service: swETHSpotPriceService = field(default_factory=swETHSpotPriceService, init=False)
Expand All @@ -88,6 +89,7 @@ def __post_init__(self) -> None:

@dataclass
class swETHMaverickSpotPriceSource(PriceSource):
"""Gets data from Maverick AMM"""
asset: str = ""
currency: str = ""
service: swETHSpotPriceService = field(default_factory=swETHSpotPriceService)
Expand Down

0 comments on commit d334f43

Please sign in to comment.