Function spl_governance::instruction::with_realm_config_accounts
source · pub fn with_realm_config_accounts(
program_id: &Pubkey,
accounts: &mut Vec<AccountMeta>,
realm: &Pubkey,
voter_weight_record: Option<Pubkey>,
max_voter_weight_record: Option<Pubkey>
)
Expand description
Adds realm config account and accounts referenced by the config
- VoterWeightRecord
- MaxVoterWeightRecord