auctionHousePDA static method
ProgramDerivedAddress
auctionHousePDA({
- required SolAddress creator,
- required SolAddress treasuryMint,
Finds the Auction House PDA for a creator and treasury
Implementation
static ProgramDerivedAddress auctionHousePDA(
{required SolAddress creator, required SolAddress treasuryMint}) {
return ProgramDerivedAddress.find(seedBytes: [
MetaplexAuctionHouseProgramConst.auctionHouseSeed.codeUnits,
creator.toBytes(),
treasuryMint.toBytes()
], programId: MetaplexAuctionHouseProgramConst.programId);
}