List of all items[−]
Structs
- state::governance::Governance
- state::governance::GovernanceConfig
- state::proposal::Proposal
- state::proposal_instruction::AccountMetaData
- state::proposal_instruction::InstructionData
- state::proposal_instruction::ProposalInstruction
- state::realm::Realm
- state::realm::RealmConfig
- state::realm::RealmConfigArgs
- state::signatory_record::SignatoryRecord
- state::token_owner_record::TokenOwnerRecord
- state::vote_record::VoteRecord
Enums
- error::GovernanceError
- instruction::GovernanceInstruction
- instruction::Vote
- state::enums::GovernanceAccountType
- state::enums::InstructionExecutionFlags
- state::enums::InstructionExecutionStatus
- state::enums::MintMaxVoteWeightSource
- state::enums::ProposalState
- state::enums::VoteThresholdPercentage
- state::enums::VoteWeight
- state::enums::VoteWeightSource
Traits
Functions
- instruction::add_signatory
- instruction::cancel_proposal
- instruction::cast_vote
- instruction::create_account_governance
- instruction::create_mint_governance
- instruction::create_program_governance
- instruction::create_proposal
- instruction::create_realm
- instruction::create_token_governance
- instruction::deposit_governing_tokens
- instruction::execute_instruction
- instruction::finalize_vote
- instruction::flag_instruction_error
- instruction::insert_instruction
- instruction::relinquish_vote
- instruction::remove_instruction
- instruction::remove_signatory
- instruction::set_governance_config
- instruction::set_governance_delegate
- instruction::set_realm_authority
- instruction::set_realm_config
- instruction::sign_off_proposal
- instruction::withdraw_governing_tokens
- processor::process_instruction
- state::governance::assert_is_valid_governance_config
- state::governance::assert_valid_create_governance_args
- state::governance::get_account_governance_address
- state::governance::get_account_governance_address_seeds
- state::governance::get_governance_data
- state::governance::get_governance_data_for_realm
- state::governance::get_mint_governance_address
- state::governance::get_mint_governance_address_seeds
- state::governance::get_program_governance_address
- state::governance::get_program_governance_address_seeds
- state::governance::get_token_governance_address
- state::governance::get_token_governance_address_seeds
- state::proposal::get_proposal_address
- state::proposal::get_proposal_address_seeds
- state::proposal::get_proposal_data
- state::proposal::get_proposal_data_for_governance
- state::proposal::get_proposal_data_for_governance_and_governing_mint
- state::proposal_instruction::assert_proposal_instruction_for_proposal
- state::proposal_instruction::get_proposal_instruction_address
- state::proposal_instruction::get_proposal_instruction_address_seeds
- state::proposal_instruction::get_proposal_instruction_data
- state::proposal_instruction::get_proposal_instruction_data_for_proposal
- state::realm::assert_is_valid_realm
- state::realm::assert_valid_realm_config_args
- state::realm::get_governing_token_holding_address
- state::realm::get_governing_token_holding_address_seeds
- state::realm::get_realm_address
- state::realm::get_realm_address_seeds
- state::realm::get_realm_data
- state::realm::get_realm_data_for_authority
- state::realm::get_realm_data_for_governing_token_mint
- state::signatory_record::get_signatory_record_address
- state::signatory_record::get_signatory_record_address_seeds
- state::signatory_record::get_signatory_record_data
- state::signatory_record::get_signatory_record_data_for_seeds
- state::token_owner_record::get_token_owner_record_address
- state::token_owner_record::get_token_owner_record_address_seeds
- state::token_owner_record::get_token_owner_record_data
- state::token_owner_record::get_token_owner_record_data_for_proposal_owner
- state::token_owner_record::get_token_owner_record_data_for_realm
- state::token_owner_record::get_token_owner_record_data_for_realm_and_governing_mint
- state::token_owner_record::get_token_owner_record_data_for_seeds
- state::vote_record::get_vote_record_address
- state::vote_record::get_vote_record_address_seeds
- state::vote_record::get_vote_record_data
- state::vote_record::get_vote_record_data_for_proposal_and_token_owner
- tools::account::assert_is_valid_account
- tools::account::create_and_serialize_account_signed
- tools::account::dispose_account
- tools::account::get_account_data
- tools::bpf_loader_upgradeable::assert_program_upgrade_authority_is_signer
- tools::bpf_loader_upgradeable::get_program_data_address
- tools::bpf_loader_upgradeable::get_program_upgrade_authority
- tools::bpf_loader_upgradeable::set_program_upgrade_authority
- tools::pack::unpack_coption_pubkey
- tools::spl_token::assert_is_valid_spl_token_account
- tools::spl_token::assert_is_valid_spl_token_mint
- tools::spl_token::assert_spl_token_mint_authority_is_signer
- tools::spl_token::assert_spl_token_owner_is_signer
- tools::spl_token::create_spl_token_account_signed
- tools::spl_token::get_spl_token_amount
- tools::spl_token::get_spl_token_mint
- tools::spl_token::get_spl_token_mint_authority
- tools::spl_token::get_spl_token_mint_supply
- tools::spl_token::get_spl_token_owner
- tools::spl_token::set_spl_token_mint_authority
- tools::spl_token::set_spl_token_owner
- tools::spl_token::transfer_spl_tokens
- tools::spl_token::transfer_spl_tokens_signed