Function spl_governance::state::realm::get_realm_data_for_authority
source · [−]pub fn get_realm_data_for_authority(
program_id: &Pubkey,
realm_info: &AccountInfo<'_>,
realm_authority: &Pubkey
) -> Result<RealmV2, ProgramError>
Expand description
Deserializes account and checks the given authority is Realm’s authority