feeAcountPDA static method
Finds the PDA of an Auction House's fee account.
Implementation
static ProgramDerivedAddress feeAcountPDA(
{required SolAddress auctionHouse}) {
return ProgramDerivedAddress.find(seedBytes: [
MetaplexAuctionHouseProgramConst.auctionHouseSeed.codeUnits,
auctionHouse.toBytes(),
MetaplexAuctionHouseProgramConst.feePayerSeed.codeUnits,
], programId: MetaplexAuctionHouseProgramConst.programId);
}