Module spl_governance::instruction
source · Expand description
Program instructions
Enums§
- Enum to specify the authority by which the instruction should add a signatory
- Instructions supported by the Governance program
Functions§
- Creates AddRequiredSignatory instruction
- Creates AddSignatory instruction
- Creates CancelProposal instruction
- Creates CastVote instruction
- Creates CompleteProposal instruction to move proposal from Succeeded to Completed
- Creates CreateGovernance instruction using optional voter weight addin
- Creates CreateMintGovernance
- Creates CreateNativeTreasury instruction
- Creates CreateProgramGovernance instruction
- Creates CreateProposal instruction
- Creates CreateRealm instruction
- Creates CreateTokenGovernance instruction
- Creates CreateTokenOwnerRecord instruction
- Creates DepositGoverningTokens instruction
- Creates ExecuteTransaction instruction
- Creates FinalizeVote instruction
- Creates FlagTransactionError instruction
- Creates InsertTransaction instruction
- Creates RefundProposalDeposit instruction
- Creates RelinquishVote instruction
- Creates RemoveRequiredSignatory instruction
- Creates RemoveTransaction instruction
- Creates RevokeGoverningTokens instruction
- Creates SetGovernanceConfig instruction
- Creates SetGovernanceDelegate instruction
- Creates SetRealmAuthority instruction
- Creates SetRealmConfig instruction
- Creates SignOffProposal instruction
- Creates UpdateProgramMetadata instruction
- Adds accounts specified by GoverningTokenConfigAccountArgs and returns GoverningTokenConfigArgs
- Adds realm config account and accounts referenced by the config
- Creates WithdrawGoverningTokens instruction