Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-mpl-token-auth-rules
ParsedWriteToBufferInstruction
Type Alias ParsedWriteToBufferInstruction<TProgram, TAccountMetas>
type
ParsedWriteToBufferInstruction
<
TProgram
extends
string
=
typeof
MPL_TOKEN_AUTH_RULES_PROGRAM_ADDRESS
,
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
,
>
=
{
accounts
:
{
bufferPda
:
TAccountMetas
[
1
]
;
payer
:
TAccountMetas
[
0
]
;
systemProgram
:
TAccountMetas
[
2
]
;
}
;
data
:
WriteToBufferInstructionData
;
programAddress
:
Address
<
TProgram
>
;
}
Type Parameters
TProgram
extends
string
=
typeof
MPL_TOKEN_AUTH_RULES_PROGRAM_ADDRESS
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
Index
Properties
accounts
data
program
Address
Properties
accounts
accounts
:
{
bufferPda
:
TAccountMetas
[
1
]
;
payer
:
TAccountMetas
[
0
]
;
systemProgram
:
TAccountMetas
[
2
]
;
}
Type Declaration
bufferPda
:
TAccountMetas
[
1
]
The PDA account where the RuleSet buffer is stored
payer
:
TAccountMetas
[
0
]
Payer and creator of the RuleSet
systemProgram
:
TAccountMetas
[
2
]
System program
data
data
:
WriteToBufferInstructionData
program
Address
programAddress
:
Address
<
TProgram
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
accounts
data
program
Address
Coda by Ian Macalinao
Loading...
The PDA account where the RuleSet buffer is stored