Module spl_governance::state::token_owner_record [−][src]
Expand description
Token Owner Record Account
Structs
Governance Token Owner Record Account PDA seeds: [‘governance’, realm, token_mint, token_owner ]
Functions
Returns TokenOwnerRecord PDA address
Returns TokenOwnerRecord PDA seeds
Deserializes TokenOwnerRecord account and checks owner program
Deserializes TokenOwnerRecord account and checks its address is the give proposal_owner
Deserializes TokenOwnerRecord account and asserts it belongs to the given realm
Deserializes TokenOwnerRecord account and asserts it belongs to the given realm and is for the given governing mint
Deserializes TokenOwnerRecord account and checks its PDA against the provided seeds