MetaplexHydraProgram.removeMember constructor

MetaplexHydraProgram.removeMember({
  1. required SolAddress authority,
  2. required SolAddress member,
  3. required SolAddress fanout,
  4. required SolAddress membershipAccount,
  5. 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: MetaplexHydraRemoveMemberLayout());
}