Change price to float

This commit is contained in:
Gui Heise 2022-01-13 11:17:48 -05:00
parent 2a1da33752
commit 7af515d1ac

View File

@ -47,7 +47,7 @@ TOKEN_NAME_BY_ADDRESS = {
class Price(BaseModel):
token_address: str
usd_price: int
usd_price: float
timestamp: datetime
@validator("token_address")