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