SPLTokenProgram.initializeImmutableOwner constructor
SPLTokenProgram.initializeImmutableOwner({
- required SolAddress account,
- required SolAddress programId,
Initialize the Immutable Owner extension for the given token account
Implementation
factory SPLTokenProgram.initializeImmutableOwner(
{
/// The account to initialize.
required SolAddress account,
required SolAddress programId}) {
return SPLTokenProgram(
layout: SPLTokenInitializeImmutableOwnerLayout(),
keys: [account.toWritable()],
programId: programId);
}