MetaplexAuctionHouseProgram.updateAuctioneer constructor

MetaplexAuctionHouseProgram.updateAuctioneer({
  1. required SolAddress auctionHouse,
  2. required SolAddress authority,
  3. required SolAddress auctioneerAuthority,
  4. required SolAddress ahAuctioneerPda,
  5. required MetaplexAuctionHouseUpdateAuctioneerLayout layout,
  6. SolAddress systemProgram = SystemProgramConst.programId,
})

Implementation

factory MetaplexAuctionHouseProgram.updateAuctioneer({
  required SolAddress auctionHouse,
  required SolAddress authority,
  required SolAddress auctioneerAuthority,
  required SolAddress ahAuctioneerPda,
  required MetaplexAuctionHouseUpdateAuctioneerLayout layout,
  SolAddress systemProgram = SystemProgramConst.programId,
}) {
  return MetaplexAuctionHouseProgram(keys: [
    auctionHouse.toWritable(),
    authority.toSignerAndWritable(),
    auctioneerAuthority.toReadOnly(),
    ahAuctioneerPda.toWritable(),
    systemProgram.toReadOnly(),
  ], programId: MetaplexAuctionHouseProgramConst.programId, layout: layout);
}