Function spl_governance::state::governance::try_get_governance_v2_type_for_v1
source · pub fn try_get_governance_v2_type_for_v1(
account_type: &GovernanceAccountType
) -> Option<GovernanceAccountType>
Expand description
Returns GovernanceV2 type for given GovernanceV1 type or None if the given account type is not GovernanceV1