from typing import Optional

from pydantic import condecimal
from sqlalchemy.orm import declared_attr
from sqlmodel import Field, SQLModel


class Reward(SQLModel, table=True):
    tx_hash: Optional[str] = 