Skip to main content

encode_initialize_pointer

Function encode_initialize_pointer 

Source
pub fn encode_initialize_pointer(
    family: u8,
    authority: Option<&Address>,
    target: Option<&Address>,
) -> Result<Bytes<66>, ProgramError>
Expand description

[family][0][authority: nullable 32][target: nullable 32], the shape shared by the transfer hook (36), metadata pointer (39), group pointer (40), and group member pointer (41) initializers.