Module spl_governance::addins::voter_weight
source · Expand description
VoterWeight Addin interface
Functions§
- Asserts the VoterWeightRecord hasn’t expired and matches the given action and target if specified
- Deserializes VoterWeightRecord account and checks owner program
- Deserializes VoterWeightRecord account, checks owner program and asserts it’s for the same realm, mint and token owner as the provided TokenOwnerRecord