Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-governance
SplGovernancePluginInstructions
Interface SplGovernancePluginInstructions
interface
SplGovernancePluginInstructions
{
addRequiredSignatory
:
(
input
:
MakeOptional
<
AddRequiredSignatoryInput
<
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
addSignatory
:
(
input
:
MakeOptional
<
AddSignatoryInput
<
string
,
string
,
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
cancelProposal
:
(
input
:
CancelProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
castVote
:
(
input
:
MakeOptional
<
CastVoteInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
completeProposal
:
(
input
:
CompleteProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createGovernance
:
(
input
:
MakeOptional
<
CreateGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createMintGovernance
:
(
input
:
MakeOptional
<
CreateMintGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createNativeTreasury
:
(
input
:
MakeOptional
<
CreateNativeTreasuryInput
<
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createProgramGovernance
:
(
input
:
MakeOptional
<
CreateProgramGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createProposal
:
(
input
:
MakeOptional
<
CreateProposalInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createRealm
:
(
input
:
MakeOptional
<
CreateRealmInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createTokenGovernance
:
(
input
:
MakeOptional
<
CreateTokenGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
createTokenOwnerRecord
:
(
input
:
MakeOptional
<
CreateTokenOwnerRecordAsyncInput
<
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Promise
<
CreateTokenOwnerRecordInstruction
<
Address
,
string
,
string
,
string
,
string
,
string
,
string
,
[
]
,
>
,
>
&
SelfPlanAndSendFunctions
;
depositGoverningTokens
:
(
input
:
MakeOptional
<
DepositGoverningTokensInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
executeTransaction
:
(
input
:
ExecuteTransactionInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
finalizeVote
:
(
input
:
FinalizeVoteInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
flagTransactionError
:
(
input
:
FlagTransactionErrorInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
insertTransaction
:
(
input
:
MakeOptional
<
InsertTransactionInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
legacy1
:
(
input
:
Legacy1Input
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
]
,
>
&
SelfPlanAndSendFunctions
;
refundProposalDeposit
:
(
input
:
RefundProposalDepositInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
relinquishVote
:
(
input
:
RelinquishVoteInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
removeRequiredSignatory
:
(
input
:
RemoveRequiredSignatoryInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
removeTransaction
:
(
input
:
RemoveTransactionInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
revokeGoverningTokens
:
(
input
:
RevokeGoverningTokensInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
setGovernanceConfig
:
(
input
:
SetGovernanceConfigInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
setGovernanceDelegate
:
(
input
:
SetGovernanceDelegateInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
setRealmAuthority
:
(
input
:
SetRealmAuthorityInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
setRealmConfig
:
(
input
:
SetRealmConfigInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
signOffProposal
:
(
input
:
SignOffProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
updateProgramMetadata
:
(
input
:
MakeOptional
<
UpdateProgramMetadataInput
<
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
;
withdrawGoverningTokens
:
(
input
:
WithdrawGoverningTokensInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
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
<
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
add
Signatory
addSignatory
:
(
input
:
MakeOptional
<
AddSignatoryInput
<
string
,
string
,
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
cancel
Proposal
cancelProposal
:
(
input
:
CancelProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
cast
Vote
castVote
:
(
input
:
MakeOptional
<
CastVoteInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
complete
Proposal
completeProposal
:
(
input
:
CompleteProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Governance
createGovernance
:
(
input
:
MakeOptional
<
CreateGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Mint
Governance
createMintGovernance
:
(
input
:
MakeOptional
<
CreateMintGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Native
Treasury
createNativeTreasury
:
(
input
:
MakeOptional
<
CreateNativeTreasuryInput
<
string
,
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Program
Governance
createProgramGovernance
:
(
input
:
MakeOptional
<
CreateProgramGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Proposal
createProposal
:
(
input
:
MakeOptional
<
CreateProposalInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Realm
createRealm
:
(
input
:
MakeOptional
<
CreateRealmInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Token
Governance
createTokenGovernance
:
(
input
:
MakeOptional
<
CreateTokenGovernanceInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
create
Token
Owner
Record
createTokenOwnerRecord
:
(
input
:
MakeOptional
<
CreateTokenOwnerRecordAsyncInput
<
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Promise
<
CreateTokenOwnerRecordInstruction
<
Address
,
string
,
string
,
string
,
string
,
string
,
string
,
[
]
,
>
,
>
&
SelfPlanAndSendFunctions
deposit
Governing
Tokens
depositGoverningTokens
:
(
input
:
MakeOptional
<
DepositGoverningTokensInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
execute
Transaction
executeTransaction
:
(
input
:
ExecuteTransactionInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
finalize
Vote
finalizeVote
:
(
input
:
FinalizeVoteInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
flag
Transaction
Error
flagTransactionError
:
(
input
:
FlagTransactionErrorInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
insert
Transaction
insertTransaction
:
(
input
:
MakeOptional
<
InsertTransactionInput
<
string
,
string
,
string
,
string
,
string
,
string
,
string
,
string
,
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
legacy1
legacy1
:
(
input
:
Legacy1Input
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
]
,
>
&
SelfPlanAndSendFunctions
refund
Proposal
Deposit
refundProposalDeposit
:
(
input
:
RefundProposalDepositInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
relinquish
Vote
relinquishVote
:
(
input
:
RelinquishVoteInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
remove
Required
Signatory
removeRequiredSignatory
:
(
input
:
RemoveRequiredSignatoryInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
remove
Transaction
removeTransaction
:
(
input
:
RemoveTransactionInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
revoke
Governing
Tokens
revokeGoverningTokens
:
(
input
:
RevokeGoverningTokensInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
set
Governance
Config
setGovernanceConfig
:
(
input
:
SetGovernanceConfigInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
WRITABLE_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
]
,
>
&
SelfPlanAndSendFunctions
set
Governance
Delegate
setGovernanceDelegate
:
(
input
:
SetGovernanceDelegateInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
set
Realm
Authority
setRealmAuthority
:
(
input
:
SetRealmAuthorityInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
set
Realm
Config
setRealmConfig
:
(
input
:
SetRealmConfigInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
sign
Off
Proposal
signOffProposal
:
(
input
:
SignOffProposalInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
update
Program
Metadata
updateProgramMetadata
:
(
input
:
MakeOptional
<
UpdateProgramMetadataInput
<
string
,
string
,
string
>
,
"payer"
,
>
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
SelfPlanAndSendFunctions
withdraw
Governing
Tokens
withdrawGoverningTokens
:
(
input
:
WithdrawGoverningTokensInput
,
)
=>
Instruction
<
Address
,
readonly
(
AccountMeta
<
string
>
|
AccountLookupMeta
<
string
,
string
>
)
[]
,
>
&
InstructionWithData
<
ReadonlyUint8Array
<
ArrayBufferLike
>
>
&
InstructionWithAccounts
<
[
ReadonlyAccount
<
string
>
,
WritableAccount
<
string
>
,
WritableAccount
<
string
>
,
AccountMeta
<
string
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
string
,
TransactionSigner
<
string
>
,
>
,
WritableAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
ReadonlyAccount
<
string
>
,
]
,
>
&
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...