* feat: add new alembic migration Signed-off-by: Luca Georges Francois <luca@quartz.technology> * feat: add method to store total profits in bulk Signed-off-by: Luca Georges Francois <luca@quartz.technology> Signed-off-by: Luca Georges Francois <luca@quartz.technology>
11 lines
202 B
Python
11 lines
202 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class TotalProfits(BaseModel):
|
|
block_number: int
|
|
transaction_hash: str
|
|
token_debt: str
|
|
amount_debt: int
|
|
token_received: str
|
|
amount_received: int
|