MetaplexHydraProgram.removeMember constructor
MetaplexHydraProgram.removeMember({
- required SolAddress authority,
- required SolAddress member,
- required SolAddress fanout,
- required SolAddress membershipAccount,
- required SolAddress destination,
Implementation
factory MetaplexHydraProgram.removeMember(
{required SolAddress authority,
required SolAddress member,
required SolAddress fanout,
required SolAddress membershipAccount,
required SolAddress destination}) {
return MetaplexHydraProgram(
keys: [
authority.toSignerAndWritable(),
member.toReadOnly(),
fanout.toWritable(),
membershipAccount.toWritable(),
destination.toWritable(),
],
programId: MetaplexHydraProgramConst.programId,
layout: const MetaplexHydraRemoveMemberLayout());
}