Livoa LogoLivoa
VotingApp


-app: Flask

+init_db()

+run()

Admin


-username: str

+manage_candidates()

+view_stats()

Candidate


-name: str

-partyName: str

-photo: str

+add_candidate()

Voter


-name: str

-email: str

-username: str

-faceEncoding: str

+register()

+login()

+face_login()

Vote


-username: str

-candidate: str

+submit_vote()

FaceUtils


+get_face_encoding()

+compare_encodings()

Blockchain


-chain: list

+add_transaction()

+is_chain_valid()

Block


-transactions: list

-hash: str

+mine_block()

n

by savi

0
0 uses