Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedSplGovernanceInstruction<TProgram>

    ParsedSplGovernanceInstruction:
        | { instructionType: typeof SplGovernanceInstruction.CreateRealm } & ParsedCreateRealmInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.DepositGoverningTokens;
        } & ParsedDepositGoverningTokensInstruction<TProgram>
        | {
            instructionType: typeof SplGovernanceInstruction.WithdrawGoverningTokens;
        } & ParsedWithdrawGoverningTokensInstruction<TProgram>
        | {
            instructionType: typeof SplGovernanceInstruction.SetGovernanceDelegate;
        } & ParsedSetGovernanceDelegateInstruction<TProgram>
        | { instructionType: typeof SplGovernanceInstruction.CreateGovernance } & ParsedCreateGovernanceInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.CreateProgramGovernance;
        } & ParsedCreateProgramGovernanceInstruction<TProgram>
        | { instructionType: typeof SplGovernanceInstruction.CreateProposal } & ParsedCreateProposalInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.AddSignatory } & ParsedAddSignatoryInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.Legacy1 } & ParsedLegacy1Instruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.InsertTransaction } & ParsedInsertTransactionInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.RemoveTransaction } & ParsedRemoveTransactionInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.CancelProposal } & ParsedCancelProposalInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.SignOffProposal } & ParsedSignOffProposalInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.CastVote } & ParsedCastVoteInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.FinalizeVote } & ParsedFinalizeVoteInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.RelinquishVote } & ParsedRelinquishVoteInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.ExecuteTransaction } & ParsedExecuteTransactionInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.CreateMintGovernance } & ParsedCreateMintGovernanceInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.CreateTokenGovernance;
        } & ParsedCreateTokenGovernanceInstruction<TProgram>
        | { instructionType: typeof SplGovernanceInstruction.SetGovernanceConfig } & ParsedSetGovernanceConfigInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.FlagTransactionError } & ParsedFlagTransactionErrorInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.SetRealmAuthority } & ParsedSetRealmAuthorityInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.SetRealmConfig } & ParsedSetRealmConfigInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.CreateTokenOwnerRecord;
        } & ParsedCreateTokenOwnerRecordInstruction<TProgram>
        | {
            instructionType: typeof SplGovernanceInstruction.UpdateProgramMetadata;
        } & ParsedUpdateProgramMetadataInstruction<TProgram>
        | { instructionType: typeof SplGovernanceInstruction.CreateNativeTreasury } & ParsedCreateNativeTreasuryInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.RevokeGoverningTokens;
        } & ParsedRevokeGoverningTokensInstruction<TProgram>
        | {
            instructionType: typeof SplGovernanceInstruction.RefundProposalDeposit;
        } & ParsedRefundProposalDepositInstruction<TProgram>
        | { instructionType: typeof SplGovernanceInstruction.CompleteProposal } & ParsedCompleteProposalInstruction<
            TProgram,
        >
        | { instructionType: typeof SplGovernanceInstruction.AddRequiredSignatory } & ParsedAddRequiredSignatoryInstruction<
            TProgram,
        >
        | {
            instructionType: typeof SplGovernanceInstruction.RemoveRequiredSignatory;
        } & ParsedRemoveRequiredSignatoryInstruction<TProgram>

    Type Parameters

    • TProgram extends string = "GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"