Coda by Ian Macalinao
Preparing search index...
@macalinao/coda
rootNode
Function rootNode
rootNode
<
TProgram
extends
ProgramNode
<
PdaNode
<
RegisteredPdaSeedNode
[]
>
[]
,
AccountNode
<
NestedTypeNode
<
StructTypeNode
<
StructFieldTypeNode
<
TypeNode
,
StandaloneValueNode
|
undefined
>
[]
,
>
,
>
,
PdaLinkNode
<
ProgramLinkNode
|
undefined
>
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
>
[]
,
InstructionNode
<
InstructionAccountNode
<
InstructionInputValueNode
|
undefined
>
[]
,
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
,
|
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
|
undefined
,
|
InstructionRemainingAccountsNode
<
|
ArgumentValueNode
|
ResolverValueNode
<
(
AccountValueNode
|
ArgumentValueNode
)
[]
>
,
>
[]
|
undefined
,
InstructionByteDeltaNode
<
InstructionByteDeltaNodeValue
>
[]
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
SubInstructionNode
[]
|
undefined
,
>
[]
,
DefinedTypeNode
<
TypeNode
>
[]
,
ErrorNode
[]
,
>
,
const
TAdditionalPrograms
extends
ProgramNode
<
PdaNode
<
RegisteredPdaSeedNode
[]
>
[]
,
AccountNode
<
NestedTypeNode
<
StructTypeNode
<
StructFieldTypeNode
<
TypeNode
,
StandaloneValueNode
|
undefined
>
[]
,
>
,
>
,
PdaLinkNode
<
ProgramLinkNode
|
undefined
>
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
>
[]
,
InstructionNode
<
InstructionAccountNode
<
InstructionInputValueNode
|
undefined
>
[]
,
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
,
|
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
|
undefined
,
|
InstructionRemainingAccountsNode
<
ArgumentValueNode
|
ResolverValueNode
<
((...)
|
(...))
[]
>
,
>
[]
|
undefined
,
InstructionByteDeltaNode
<
InstructionByteDeltaNodeValue
>
[]
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
SubInstructionNode
[]
|
undefined
,
>
[]
,
DefinedTypeNode
<
TypeNode
>
[]
,
ErrorNode
[]
,
>
[]
=
[
]
,
>
(
program
:
TProgram
,
additionalPrograms
?:
TAdditionalPrograms
,
)
:
RootNode
<
TProgram
,
TAdditionalPrograms
>
Type Parameters
TProgram
extends
ProgramNode
<
PdaNode
<
RegisteredPdaSeedNode
[]
>
[]
,
AccountNode
<
NestedTypeNode
<
StructTypeNode
<
StructFieldTypeNode
<
TypeNode
,
StandaloneValueNode
|
undefined
>
[]
,
>
,
>
,
PdaLinkNode
<
ProgramLinkNode
|
undefined
>
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
>
[]
,
InstructionNode
<
InstructionAccountNode
<
InstructionInputValueNode
|
undefined
>
[]
,
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
,
|
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
|
undefined
,
|
InstructionRemainingAccountsNode
<
|
ArgumentValueNode
|
ResolverValueNode
<
(
AccountValueNode
|
ArgumentValueNode
)
[]
>
,
>
[]
|
undefined
,
InstructionByteDeltaNode
<
InstructionByteDeltaNodeValue
>
[]
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
SubInstructionNode
[]
|
undefined
,
>
[]
,
DefinedTypeNode
<
TypeNode
>
[]
,
ErrorNode
[]
,
>
const
TAdditionalPrograms
extends
ProgramNode
<
PdaNode
<
RegisteredPdaSeedNode
[]
>
[]
,
AccountNode
<
NestedTypeNode
<
StructTypeNode
<
StructFieldTypeNode
<
TypeNode
,
StandaloneValueNode
|
undefined
>
[]
,
>
,
>
,
PdaLinkNode
<
ProgramLinkNode
|
undefined
>
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
>
[]
,
InstructionNode
<
InstructionAccountNode
<
InstructionInputValueNode
|
undefined
>
[]
,
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
,
|
InstructionArgumentNode
<
InstructionInputValueNode
|
undefined
>
[]
|
undefined
,
|
InstructionRemainingAccountsNode
<
ArgumentValueNode
|
ResolverValueNode
<
((...)
|
(...))
[]
>
,
>
[]
|
undefined
,
InstructionByteDeltaNode
<
InstructionByteDeltaNodeValue
>
[]
|
undefined
,
RegisteredDiscriminatorNode
[]
|
undefined
,
SubInstructionNode
[]
|
undefined
,
>
[]
,
DefinedTypeNode
<
TypeNode
>
[]
,
ErrorNode
[]
,
>
[]
=
[
]
Parameters
program
:
TProgram
Optional
additionalPrograms
:
TAdditionalPrograms
Returns
RootNode
<
TProgram
,
TAdditionalPrograms
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...