pub fn create_governance(
    program_id: &Pubkey,
    realm: &Pubkey,
    governed_account: Option<&Pubkey>,
    token_owner_record: &Pubkey,
    payer: &Pubkey,
    create_authority: &Pubkey,
    voter_weight_record: Option<Pubkey>,
    config: GovernanceConfig
) -> Instruction
Expand description

Creates CreateGovernance instruction using optional voter weight addin