auctioneerPDA static method

ProgramDerivedAddress auctioneerPDA({
  1. required SolAddress auctionHouse,
  2. required SolAddress auctioneerAuthority,
})

Finds the Auctioneer PDA of an Auction House

Implementation

static ProgramDerivedAddress auctioneerPDA(
    {required SolAddress auctionHouse,
    required SolAddress auctioneerAuthority}) {
  return ProgramDerivedAddress.find(seedBytes: [
    MetaplexAuctionHouseProgramConst.auctioneerSeed.codeUnits,
    auctionHouse.toBytes(),
    auctioneerAuthority.toBytes()
  ], programId: MetaplexAuctionHouseProgramConst.programId);
}