MetaplexTokenEntanglerProgram.updateEntangledPair constructor
MetaplexTokenEntanglerProgram.updateEntangledPair({
- required SolAddress authority,
- required SolAddress newAuthority,
- required SolAddress entangledPair,
- required MetaplexTokenEntanglerUpdateEntangledPairLayout layout,
Implementation
factory MetaplexTokenEntanglerProgram.updateEntangledPair(
{required SolAddress authority,
required SolAddress newAuthority,
required SolAddress entangledPair,
required MetaplexTokenEntanglerUpdateEntangledPairLayout layout}) {
return MetaplexTokenEntanglerProgram(keys: [
authority.toSigner(),
newAuthority.toReadOnly(),
entangledPair.toWritable(),
], programId: MetaplexTokenEntanglerProgramConst.programId, layout: layout);
}