Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-governance
getCompleteProposalInstruction
Function getCompleteProposalInstruction
getCompleteProposalInstruction
<
TAccountProposalAccount
extends
InstructionAccountInput
,
TAccountTokenOwnerRecord
extends
InstructionAccountInput
,
TAccountCompleteProposalAuthority
extends
InstructionSignerInput
,
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
,
>
(
input
:
CompleteProposalInput
<
TAccountProposalAccount
,
TAccountTokenOwnerRecord
,
TAccountCompleteProposalAuthority
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
CompleteProposalInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountProposalAccount
,
InstructionAccountInputAddress
<
TAccountProposalAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenOwnerRecord
,
InstructionAccountInputAddress
<
TAccountTokenOwnerRecord
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCompleteProposalAuthority
,
InstructionAccountInputAddress
<
TAccountCompleteProposalAuthority
>
,
>
,
>
Type Parameters
TAccountProposalAccount
extends
InstructionAccountInput
TAccountTokenOwnerRecord
extends
InstructionAccountInput
TAccountCompleteProposalAuthority
extends
InstructionSignerInput
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
Parameters
input
:
CompleteProposalInput
<
TAccountProposalAccount
,
TAccountTokenOwnerRecord
,
TAccountCompleteProposalAuthority
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
CompleteProposalInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountProposalAccount
,
InstructionAccountInputAddress
<
TAccountProposalAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenOwnerRecord
,
InstructionAccountInputAddress
<
TAccountTokenOwnerRecord
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCompleteProposalAuthority
,
InstructionAccountInputAddress
<
TAccountCompleteProposalAuthority
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...