The backend component to interface with the smart contract.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 maanden geleden
12345678910111213141516171819
  1. from pydantic import BaseModel
  2. class User(BaseModel):
  3. session_id: str
  4. auth_date: int
  5. username: str
  6. first_name: str
  7. last_name: str
  8. photo_url: str
  9. class AuthenticationRequest(BaseModel):
  10. id: int
  11. auth_date: int
  12. username: str
  13. first_name: str
  14. last_name: str
  15. photo_url: str