An entrypoint that executes voting for a bakers on this Bucket contract. Also it updates users' global rewards and the rewards of the user who votes.
type vote_t is [@layout:comb] record [
voter : address;
candidate : key_hash;
execute_voting : bool;
votes : nat;
A user who votes
Baker the user votes for
Flag that indicates: execute voting or not
Amount of votes that will be used for voting
412- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).