Enum spl_token_2022::extension::group_member_pointer::instruction::GroupMemberPointerInstruction
source · #[repr(u8)]pub enum GroupMemberPointerInstruction {
Initialize = 0,
Update = 1,
}
Expand description
Group member pointer extension instructions
Variants§
Initialize = 0
Initialize a new mint with a group member pointer
Fails if the mint has already been initialized, so must be called before
InitializeMint
.
The mint must have exactly enough space allocated for the base mint (82 bytes), plus 83 bytes of padding, 1 byte reserved for the account type, then space required for this extension, plus any others.
Accounts expected by this instruction:
[writable]
The mint to initialize.
Data expected by this instruction:
crate::extension::group_member_pointer::instruction::InitializeInstructionData
Update = 1
Update the group member pointer address. Only supported for mints that
include the GroupMemberPointer
extension.
Accounts expected by this instruction:
- Single authority
[writable]
The mint.[signer]
The group member pointer authority.
- Multisignature authority
[writable]
The mint.[]
The group member pointer authority.- ..2+M
[signer]
M signer accounts.
Data expected by this instruction:
crate::extension::group_member_pointer::instruction::UpdateInstructionData
Trait Implementations§
source§impl Clone for GroupMemberPointerInstruction
impl Clone for GroupMemberPointerInstruction
source§fn clone(&self) -> GroupMemberPointerInstruction
fn clone(&self) -> GroupMemberPointerInstruction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl From<GroupMemberPointerInstruction> for u8
impl From<GroupMemberPointerInstruction> for u8
source§fn from(enum_value: GroupMemberPointerInstruction) -> Self
fn from(enum_value: GroupMemberPointerInstruction) -> Self
source§impl PartialEq for GroupMemberPointerInstruction
impl PartialEq for GroupMemberPointerInstruction
source§fn eq(&self, other: &GroupMemberPointerInstruction) -> bool
fn eq(&self, other: &GroupMemberPointerInstruction) -> bool
self
and other
values to be equal, and is used
by ==
.