Coda by Ian Macalinao
Preparing search index...
@solana-programs/tribeca
getNewLockerInstruction
Function getNewLockerInstruction
getNewLockerInstruction
<
TAccountBase
extends
InstructionSignerInput
,
TAccountLocker
extends
InstructionAccountInput
,
TAccountTokenMint
extends
InstructionAccountInput
,
TAccountGovernor
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw"
>
,
>
(
input
:
NewLockerInput
<
TAccountBase
,
TAccountLocker
,
TAccountTokenMint
,
TAccountGovernor
,
TAccountPayer
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
NewLockerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLocker
,
InstructionAccountInputAddress
<
TAccountLocker
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Type Parameters
TAccountBase
extends
InstructionSignerInput
TAccountLocker
extends
InstructionAccountInput
TAccountTokenMint
extends
InstructionAccountInput
TAccountGovernor
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw"
>
Parameters
input
:
NewLockerInput
<
TAccountBase
,
TAccountLocker
,
TAccountTokenMint
,
TAccountGovernor
,
TAccountPayer
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
NewLockerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLocker
,
InstructionAccountInputAddress
<
TAccountLocker
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...