MetaplexGumdropProgram.recoverUpdateAuthority constructor
MetaplexGumdropProgram.recoverUpdateAuthority({
- required SolAddress base,
- required SolAddress distributor,
- required SolAddress distributorWallet,
- required SolAddress newUpdateAuthority,
- required SolAddress metadata,
- required SolAddress tokenMetadataProgram,
- required MetaplexGumdropRecoverUpdateAuthorityLayout layout,
- SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexGumdropProgram.recoverUpdateAuthority({
required SolAddress base,
required SolAddress distributor,
required SolAddress distributorWallet,
required SolAddress newUpdateAuthority,
required SolAddress metadata,
required SolAddress tokenMetadataProgram,
required MetaplexGumdropRecoverUpdateAuthorityLayout layout,
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexGumdropProgram(keys: [
base.toSigner(),
distributor.toReadOnly(),
distributorWallet.toReadOnly(),
newUpdateAuthority.toReadOnly(),
metadata.toWritable(),
systemProgram.toReadOnly(),
tokenMetadataProgram.toReadOnly()
], programId: MetaplexGumdropProgramConst.programId, layout: layout);
}