MetaplexGumdropProgram.newDistributor constructor
MetaplexGumdropProgram.newDistributor({
- required SolAddress base,
- required SolAddress distributor,
- required SolAddress payer,
- required MetaplexGumdropNewDistributorLayout layout,
- SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexGumdropProgram.newDistributor({
required SolAddress base,
required SolAddress distributor,
required SolAddress payer,
required MetaplexGumdropNewDistributorLayout layout,
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexGumdropProgram(keys: [
base.toSigner(),
distributor.toWritable(),
payer.toSignerAndWritable(),
systemProgram.toReadOnly()
], programId: MetaplexGumdropProgramConst.programId, layout: layout);
}