Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-stake-pool
getSetManagerInstruction
Function getSetManagerInstruction
getSetManagerInstruction
<
TAccountStakePool
extends
InstructionAccountInput
,
TAccountManager
extends
InstructionSignerInput
,
TAccountNewManager
extends
InstructionSignerInput
,
TAccountNewManagerFeeAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
,
>
(
input
:
SetManagerInput
<
TAccountStakePool
,
TAccountManager
,
TAccountNewManager
,
TAccountNewManagerFeeAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SetManagerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountStakePool
,
InstructionAccountInputAddress
<
TAccountStakePool
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountManager
,
InstructionAccountInputAddress
<
TAccountManager
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewManager
,
InstructionAccountInputAddress
<
TAccountNewManager
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewManagerFeeAccount
,
InstructionAccountInputAddress
<
TAccountNewManagerFeeAccount
>
,
>
,
>
(Manager only) Update manager 0.
[w]
Stake pool
[s]
Manager
[s]
New manager
[]
New manager fee account
Type Parameters
TAccountStakePool
extends
InstructionAccountInput
TAccountManager
extends
InstructionSignerInput
TAccountNewManager
extends
InstructionSignerInput
TAccountNewManagerFeeAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
Parameters
input
:
SetManagerInput
<
TAccountStakePool
,
TAccountManager
,
TAccountNewManager
,
TAccountNewManagerFeeAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SetManagerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountStakePool
,
InstructionAccountInputAddress
<
TAccountStakePool
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountManager
,
InstructionAccountInputAddress
<
TAccountManager
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewManager
,
InstructionAccountInputAddress
<
TAccountNewManager
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewManagerFeeAccount
,
InstructionAccountInputAddress
<
TAccountNewManagerFeeAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
(Manager only) Update manager 0.
[w]Stake pool[s]Manager[s]New manager[]New manager fee account