Change price to float
This commit is contained in:
parent
2a1da33752
commit
7af515d1ac
@ -47,7 +47,7 @@ TOKEN_NAME_BY_ADDRESS = {
|
|||||||
|
|
||||||
class Price(BaseModel):
|
class Price(BaseModel):
|
||||||
token_address: str
|
token_address: str
|
||||||
usd_price: int
|
usd_price: float
|
||||||
timestamp: datetime
|
timestamp: datetime
|
||||||
|
|
||||||
@validator("token_address")
|
@validator("token_address")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user