MetaplexHydraProgram.transferShares constructor
MetaplexHydraProgram.transferShares({
Implementation
factory MetaplexHydraProgram.transferShares({
required SolAddress authority,
required SolAddress fromMember,
required SolAddress toMember,
required SolAddress fanout,
required SolAddress fromMembershipAccount,
required SolAddress toMembershipAccount,
required MetaplexHydraTransferSharesLayout layout,
}) {
return MetaplexHydraProgram(keys: [
authority.toSigner(),
fromMember.toReadOnly(),
toMember.toReadOnly(),
fanout.toWritable(),
fromMembershipAccount.toWritable(),
toMembershipAccount.toWritable(),
], programId: MetaplexHydraProgramConst.programId, layout: layout);
}