Function spl_governance::state::token_owner_record::get_token_owner_record_data_for_realm [−][src]
pub fn get_token_owner_record_data_for_realm(
program_id: &Pubkey,
token_owner_record_info: &AccountInfo<'_>,
realm: &Pubkey
) -> Result<TokenOwnerRecord, ProgramError>
Expand description
Deserializes TokenOwnerRecord account and asserts it belongs to the given realm