Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-mpl-token-auth-rules
ParsedPuffRuleSetInstruction
Type Alias ParsedPuffRuleSetInstruction<TProgram, TAccountMetas>
type
ParsedPuffRuleSetInstruction
<
TProgram
extends
string
=
typeof
MPL_TOKEN_AUTH_RULES_PROGRAM_ADDRESS
,
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
,
>
=
{
accounts
:
{
payer
:
TAccountMetas
[
0
]
;
ruleSetPda
:
TAccountMetas
[
1
]
;
systemProgram
:
TAccountMetas
[
2
]
;
}
;
data
:
PuffRuleSetInstructionData
;
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
:
{
payer
:
TAccountMetas
[
0
]
;
ruleSetPda
:
TAccountMetas
[
1
]
;
systemProgram
:
TAccountMetas
[
2
]
;
}
Type Declaration
payer
:
TAccountMetas
[
0
]
Payer and creator of the RuleSet
ruleSetPda
:
TAccountMetas
[
1
]
The PDA account where the RuleSet is stored
systemProgram
:
TAccountMetas
[
2
]
System program
data
data
:
PuffRuleSetInstructionData
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...
Payer and creator of the RuleSet