Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-governance
SplGovernancePluginInstructions
Type Alias SplGovernancePluginInstructions
type
SplGovernancePluginInstructions
=
{
addRequiredSignatory
:
(
input
:
MakeOptional
<
AddRequiredSignatoryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getAddRequiredSignatoryInstruction
>
&
SelfPlanAndSendFunctions
;
addSignatory
:
(
input
:
MakeOptional
<
AddSignatoryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getAddSignatoryInstruction
>
&
SelfPlanAndSendFunctions
;
cancelProposal
:
(
input
:
CancelProposalInput
,
)
=>
ReturnType
<
typeof
getCancelProposalInstruction
>
&
SelfPlanAndSendFunctions
;
castVote
:
(
input
:
MakeOptional
<
CastVoteInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCastVoteInstruction
>
&
SelfPlanAndSendFunctions
;
completeProposal
:
(
input
:
CompleteProposalInput
,
)
=>
ReturnType
<
typeof
getCompleteProposalInstruction
>
&
SelfPlanAndSendFunctions
;
createGovernance
:
(
input
:
MakeOptional
<
CreateGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateGovernanceInstruction
>
&
SelfPlanAndSendFunctions
;
createMintGovernance
:
(
input
:
MakeOptional
<
CreateMintGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateMintGovernanceInstruction
>
&
SelfPlanAndSendFunctions
;
createNativeTreasury
:
(
input
:
MakeOptional
<
CreateNativeTreasuryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateNativeTreasuryInstruction
>
&
SelfPlanAndSendFunctions
;
createProgramGovernance
:
(
input
:
MakeOptional
<
CreateProgramGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateProgramGovernanceInstruction
>
&
SelfPlanAndSendFunctions
;
createProposal
:
(
input
:
MakeOptional
<
CreateProposalInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateProposalInstruction
>
&
SelfPlanAndSendFunctions
;
createRealm
:
(
input
:
MakeOptional
<
CreateRealmInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateRealmInstruction
>
&
SelfPlanAndSendFunctions
;
createTokenGovernance
:
(
input
:
MakeOptional
<
CreateTokenGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateTokenGovernanceInstruction
>
&
SelfPlanAndSendFunctions
;
createTokenOwnerRecord
:
(
input
:
MakeOptional
<
CreateTokenOwnerRecordAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateTokenOwnerRecordInstructionAsync
>
&
SelfPlanAndSendFunctions
;
depositGoverningTokens
:
(
input
:
MakeOptional
<
DepositGoverningTokensInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getDepositGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
;
executeTransaction
:
(
input
:
ExecuteTransactionInput
,
)
=>
ReturnType
<
typeof
getExecuteTransactionInstruction
>
&
SelfPlanAndSendFunctions
;
finalizeVote
:
(
input
:
FinalizeVoteInput
,
)
=>
ReturnType
<
typeof
getFinalizeVoteInstruction
>
&
SelfPlanAndSendFunctions
;
flagTransactionError
:
(
input
:
FlagTransactionErrorInput
,
)
=>
ReturnType
<
typeof
getFlagTransactionErrorInstruction
>
&
SelfPlanAndSendFunctions
;
insertTransaction
:
(
input
:
MakeOptional
<
InsertTransactionInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInsertTransactionInstruction
>
&
SelfPlanAndSendFunctions
;
legacy1
:
(
input
:
Legacy1Input
,
)
=>
ReturnType
<
typeof
getLegacy1Instruction
>
&
SelfPlanAndSendFunctions
;
refundProposalDeposit
:
(
input
:
RefundProposalDepositInput
,
)
=>
ReturnType
<
typeof
getRefundProposalDepositInstruction
>
&
SelfPlanAndSendFunctions
;
relinquishVote
:
(
input
:
RelinquishVoteInput
,
)
=>
ReturnType
<
typeof
getRelinquishVoteInstruction
>
&
SelfPlanAndSendFunctions
;
removeRequiredSignatory
:
(
input
:
RemoveRequiredSignatoryInput
,
)
=>
ReturnType
<
typeof
getRemoveRequiredSignatoryInstruction
>
&
SelfPlanAndSendFunctions
;
removeTransaction
:
(
input
:
RemoveTransactionInput
,
)
=>
ReturnType
<
typeof
getRemoveTransactionInstruction
>
&
SelfPlanAndSendFunctions
;
revokeGoverningTokens
:
(
input
:
RevokeGoverningTokensInput
,
)
=>
ReturnType
<
typeof
getRevokeGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
;
setGovernanceConfig
:
(
input
:
SetGovernanceConfigInput
,
)
=>
ReturnType
<
typeof
getSetGovernanceConfigInstruction
>
&
SelfPlanAndSendFunctions
;
setGovernanceDelegate
:
(
input
:
SetGovernanceDelegateInput
,
)
=>
ReturnType
<
typeof
getSetGovernanceDelegateInstruction
>
&
SelfPlanAndSendFunctions
;
setRealmAuthority
:
(
input
:
SetRealmAuthorityInput
,
)
=>
ReturnType
<
typeof
getSetRealmAuthorityInstruction
>
&
SelfPlanAndSendFunctions
;
setRealmConfig
:
(
input
:
SetRealmConfigInput
,
)
=>
ReturnType
<
typeof
getSetRealmConfigInstruction
>
&
SelfPlanAndSendFunctions
;
signOffProposal
:
(
input
:
SignOffProposalInput
,
)
=>
ReturnType
<
typeof
getSignOffProposalInstruction
>
&
SelfPlanAndSendFunctions
;
updateProgramMetadata
:
(
input
:
MakeOptional
<
UpdateProgramMetadataInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getUpdateProgramMetadataInstruction
>
&
SelfPlanAndSendFunctions
;
withdrawGoverningTokens
:
(
input
:
WithdrawGoverningTokensInput
,
)
=>
ReturnType
<
typeof
getWithdrawGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
;
}
Index
Properties
add
Required
Signatory
add
Signatory
cancel
Proposal
cast
Vote
complete
Proposal
create
Governance
create
Mint
Governance
create
Native
Treasury
create
Program
Governance
create
Proposal
create
Realm
create
Token
Governance
create
Token
Owner
Record
deposit
Governing
Tokens
execute
Transaction
finalize
Vote
flag
Transaction
Error
insert
Transaction
legacy1
refund
Proposal
Deposit
relinquish
Vote
remove
Required
Signatory
remove
Transaction
revoke
Governing
Tokens
set
Governance
Config
set
Governance
Delegate
set
Realm
Authority
set
Realm
Config
sign
Off
Proposal
update
Program
Metadata
withdraw
Governing
Tokens
Properties
add
Required
Signatory
addRequiredSignatory
:
(
input
:
MakeOptional
<
AddRequiredSignatoryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getAddRequiredSignatoryInstruction
>
&
SelfPlanAndSendFunctions
add
Signatory
addSignatory
:
(
input
:
MakeOptional
<
AddSignatoryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getAddSignatoryInstruction
>
&
SelfPlanAndSendFunctions
cancel
Proposal
cancelProposal
:
(
input
:
CancelProposalInput
,
)
=>
ReturnType
<
typeof
getCancelProposalInstruction
>
&
SelfPlanAndSendFunctions
cast
Vote
castVote
:
(
input
:
MakeOptional
<
CastVoteInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCastVoteInstruction
>
&
SelfPlanAndSendFunctions
complete
Proposal
completeProposal
:
(
input
:
CompleteProposalInput
,
)
=>
ReturnType
<
typeof
getCompleteProposalInstruction
>
&
SelfPlanAndSendFunctions
create
Governance
createGovernance
:
(
input
:
MakeOptional
<
CreateGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateGovernanceInstruction
>
&
SelfPlanAndSendFunctions
create
Mint
Governance
createMintGovernance
:
(
input
:
MakeOptional
<
CreateMintGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateMintGovernanceInstruction
>
&
SelfPlanAndSendFunctions
create
Native
Treasury
createNativeTreasury
:
(
input
:
MakeOptional
<
CreateNativeTreasuryInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateNativeTreasuryInstruction
>
&
SelfPlanAndSendFunctions
create
Program
Governance
createProgramGovernance
:
(
input
:
MakeOptional
<
CreateProgramGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateProgramGovernanceInstruction
>
&
SelfPlanAndSendFunctions
create
Proposal
createProposal
:
(
input
:
MakeOptional
<
CreateProposalInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateProposalInstruction
>
&
SelfPlanAndSendFunctions
create
Realm
createRealm
:
(
input
:
MakeOptional
<
CreateRealmInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateRealmInstruction
>
&
SelfPlanAndSendFunctions
create
Token
Governance
createTokenGovernance
:
(
input
:
MakeOptional
<
CreateTokenGovernanceInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateTokenGovernanceInstruction
>
&
SelfPlanAndSendFunctions
create
Token
Owner
Record
createTokenOwnerRecord
:
(
input
:
MakeOptional
<
CreateTokenOwnerRecordAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreateTokenOwnerRecordInstructionAsync
>
&
SelfPlanAndSendFunctions
deposit
Governing
Tokens
depositGoverningTokens
:
(
input
:
MakeOptional
<
DepositGoverningTokensInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getDepositGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
execute
Transaction
executeTransaction
:
(
input
:
ExecuteTransactionInput
,
)
=>
ReturnType
<
typeof
getExecuteTransactionInstruction
>
&
SelfPlanAndSendFunctions
finalize
Vote
finalizeVote
:
(
input
:
FinalizeVoteInput
,
)
=>
ReturnType
<
typeof
getFinalizeVoteInstruction
>
&
SelfPlanAndSendFunctions
flag
Transaction
Error
flagTransactionError
:
(
input
:
FlagTransactionErrorInput
,
)
=>
ReturnType
<
typeof
getFlagTransactionErrorInstruction
>
&
SelfPlanAndSendFunctions
insert
Transaction
insertTransaction
:
(
input
:
MakeOptional
<
InsertTransactionInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInsertTransactionInstruction
>
&
SelfPlanAndSendFunctions
legacy1
legacy1
:
(
input
:
Legacy1Input
,
)
=>
ReturnType
<
typeof
getLegacy1Instruction
>
&
SelfPlanAndSendFunctions
refund
Proposal
Deposit
refundProposalDeposit
:
(
input
:
RefundProposalDepositInput
,
)
=>
ReturnType
<
typeof
getRefundProposalDepositInstruction
>
&
SelfPlanAndSendFunctions
relinquish
Vote
relinquishVote
:
(
input
:
RelinquishVoteInput
,
)
=>
ReturnType
<
typeof
getRelinquishVoteInstruction
>
&
SelfPlanAndSendFunctions
remove
Required
Signatory
removeRequiredSignatory
:
(
input
:
RemoveRequiredSignatoryInput
,
)
=>
ReturnType
<
typeof
getRemoveRequiredSignatoryInstruction
>
&
SelfPlanAndSendFunctions
remove
Transaction
removeTransaction
:
(
input
:
RemoveTransactionInput
,
)
=>
ReturnType
<
typeof
getRemoveTransactionInstruction
>
&
SelfPlanAndSendFunctions
revoke
Governing
Tokens
revokeGoverningTokens
:
(
input
:
RevokeGoverningTokensInput
,
)
=>
ReturnType
<
typeof
getRevokeGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
set
Governance
Config
setGovernanceConfig
:
(
input
:
SetGovernanceConfigInput
,
)
=>
ReturnType
<
typeof
getSetGovernanceConfigInstruction
>
&
SelfPlanAndSendFunctions
set
Governance
Delegate
setGovernanceDelegate
:
(
input
:
SetGovernanceDelegateInput
,
)
=>
ReturnType
<
typeof
getSetGovernanceDelegateInstruction
>
&
SelfPlanAndSendFunctions
set
Realm
Authority
setRealmAuthority
:
(
input
:
SetRealmAuthorityInput
,
)
=>
ReturnType
<
typeof
getSetRealmAuthorityInstruction
>
&
SelfPlanAndSendFunctions
set
Realm
Config
setRealmConfig
:
(
input
:
SetRealmConfigInput
,
)
=>
ReturnType
<
typeof
getSetRealmConfigInstruction
>
&
SelfPlanAndSendFunctions
sign
Off
Proposal
signOffProposal
:
(
input
:
SignOffProposalInput
,
)
=>
ReturnType
<
typeof
getSignOffProposalInstruction
>
&
SelfPlanAndSendFunctions
update
Program
Metadata
updateProgramMetadata
:
(
input
:
MakeOptional
<
UpdateProgramMetadataInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getUpdateProgramMetadataInstruction
>
&
SelfPlanAndSendFunctions
withdraw
Governing
Tokens
withdrawGoverningTokens
:
(
input
:
WithdrawGoverningTokensInput
,
)
=>
ReturnType
<
typeof
getWithdrawGoverningTokensInstruction
>
&
SelfPlanAndSendFunctions
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
add
Required
Signatory
add
Signatory
cancel
Proposal
cast
Vote
complete
Proposal
create
Governance
create
Mint
Governance
create
Native
Treasury
create
Program
Governance
create
Proposal
create
Realm
create
Token
Governance
create
Token
Owner
Record
deposit
Governing
Tokens
execute
Transaction
finalize
Vote
flag
Transaction
Error
insert
Transaction
legacy1
refund
Proposal
Deposit
relinquish
Vote
remove
Required
Signatory
remove
Transaction
revoke
Governing
Tokens
set
Governance
Config
set
Governance
Delegate
set
Realm
Authority
set
Realm
Config
sign
Off
Proposal
update
Program
Metadata
withdraw
Governing
Tokens
Coda by Ian Macalinao
Loading...