Function spl_governance::instruction::create_realm
source · [−]pub fn create_realm(
program_id: &Pubkey,
realm_authority: &Pubkey,
community_token_mint: &Pubkey,
payer: &Pubkey,
council_token_mint: Option<Pubkey>,
community_voter_weight_addin: Option<Pubkey>,
max_community_voter_weight_addin: Option<Pubkey>,
name: String,
min_community_weight_to_create_governance: u64,
community_mint_max_vote_weight_source: MintMaxVoteWeightSource
) -> Instruction
Expand description
Creates CreateRealm instruction