Module spl_governance::state::vote_record[][src]

Expand description

Proposal Vote Record Account

Structs

Voter choice for a proposal option In the current version only 1) Single choice and 2) Multiple choices proposals are supported In the future versions we can add support for 1) Quadratic voting, 2) Ranked choice voting and 3) Weighted voting

Proposal VoteRecord

Enums

User’s vote

Functions

Returns VoteRecord PDA address

Returns VoteRecord PDA seeds

Deserializes VoteRecord account and checks owner program

Deserializes VoteRecord and checks it belongs to the provided Proposal and Governing Token Owner