findFreezeEscrowPda static method
ProgramDerivedAddress
findFreezeEscrowPda({
- required SolAddress destination,
- required SolAddress candyGuard,
- required SolAddress candyMachine,
- SolAddress programId = MetaplexCandyMachineCoreProgramConst.candyGuardProgramId,
Implementation
static ProgramDerivedAddress findFreezeEscrowPda(
/// The wallet that will eventually receive the funds
{required SolAddress destination,
/// The address of the Candy Guard account
required SolAddress candyGuard,
/// The address of the Candy Machine account
required SolAddress candyMachine,
SolAddress programId =
MetaplexCandyMachineCoreProgramConst.candyGuardProgramId}) {
return ProgramDerivedAddress.find(seedBytes: [
"freeze_escrow".codeUnits,
destination.toBytes(),
candyGuard.toBytes(),
candyMachine.toBytes()
], programId: programId);
}