List of all items
Structs
- state::governance::GovernanceConfig
- state::governance::GovernanceV2
- state::legacy::GovernanceV1
- state::legacy::ProposalInstructionV1
- state::legacy::ProposalV1
- state::legacy::RealmV1
- state::legacy::SignatoryRecordV1
- state::legacy::TokenOwnerRecordV1
- state::legacy::VoteRecordV1
- state::native_treasury::NativeTreasury
- state::program_metadata::ProgramMetadata
- state::proposal::ProposalOption
- state::proposal::ProposalV2
- state::proposal_transaction::AccountMetaData
- state::proposal_transaction::InstructionData
- state::proposal_transaction::ProposalTransactionV2
- state::realm::RealmConfig
- state::realm::RealmConfigArgs
- state::realm::RealmV2
- state::realm_config::RealmConfigAccount
- state::signatory_record::SignatoryRecordV2
- state::token_owner_record::TokenOwnerRecordV2
- state::vote_record::VoteChoice
- state::vote_record::VoteRecordV2
Enums
- error::GovernanceError
- instruction::GovernanceInstruction
- state::enums::GovernanceAccountType
- state::enums::InstructionExecutionFlags
- state::enums::MintMaxVoteWeightSource
- state::enums::ProposalState
- state::enums::TransactionExecutionStatus
- state::enums::VoteThresholdPercentage
- state::enums::VoteTipping
- state::legacy::VoteWeightV1
- state::proposal::OptionVoteResult
- state::proposal::VoteType
- state::realm::SetRealmAuthorityAction
- state::vote_record::Vote
Functions
- addins::max_voter_weight::assert_is_valid_max_voter_weight
- addins::max_voter_weight::get_max_voter_weight_record_data
- addins::max_voter_weight::get_max_voter_weight_record_data_for_realm_and_governing_token_mint
- addins::voter_weight::assert_is_valid_voter_weight
- addins::voter_weight::get_voter_weight_record_data
- addins::voter_weight::get_voter_weight_record_data_for_token_owner_record
- instruction::add_signatory
- instruction::cancel_proposal
- instruction::cast_vote
- instruction::create_governance
- instruction::create_mint_governance
- instruction::create_native_treasury
- instruction::create_program_governance
- instruction::create_proposal
- instruction::create_realm
- instruction::create_token_governance
- instruction::create_token_owner_record
- instruction::deposit_governing_tokens
- instruction::execute_transaction
- instruction::finalize_vote
- instruction::flag_transaction_error
- instruction::insert_transaction
- instruction::relinquish_vote
- instruction::remove_signatory
- instruction::remove_transaction
- instruction::set_governance_config
- instruction::set_governance_delegate
- instruction::set_realm_authority
- instruction::set_realm_config
- instruction::sign_off_proposal
- instruction::upgrade_program_metadata
- instruction::with_realm_config_accounts
- instruction::withdraw_governing_tokens
- processor::process_instruction
- state::governance::assert_governance_for_realm
- state::governance::assert_is_valid_governance
- state::governance::assert_is_valid_governance_config
- state::governance::assert_valid_create_governance_args
- state::governance::get_governance_address
- state::governance::get_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::governance::is_governance_account_type
- state::governance::is_governance_v2_account_type
- state::legacy::is_governance_v1_account_type
- state::native_treasury::get_native_treasury_address
- state::native_treasury::get_native_treasury_address_seeds
- state::program_metadata::get_program_metadata_address
- state::program_metadata::get_program_metadata_data
- state::program_metadata::get_program_metadata_seeds
- state::proposal::assert_valid_proposal_options
- 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_transaction::get_proposal_transaction_address
- state::proposal_transaction::get_proposal_transaction_address_seeds
- state::proposal_transaction::get_proposal_transaction_data
- state::proposal_transaction::get_proposal_transaction_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::realm::is_realm_account_type
- state::realm_config::get_realm_config_address
- state::realm_config::get_realm_config_address_seeds
- state::realm_config::get_realm_config_data
- state::realm_config::get_realm_config_data_for_realm
- 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::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_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_account_authority
- tools::spl_token::transfer_spl_tokens
- tools::spl_token::transfer_spl_tokens_signed