NameServiceProgram.fromBytes constructor
NameServiceProgram.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - SolAddress programId = NameServiceProgramConst.programId,
Implementation
factory NameServiceProgram.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
SolAddress programId = NameServiceProgramConst.programId,
}) {
return NameServiceProgram(
layout: NameServiceProgramLayout.fromBytes(instructionBytes),
keys: keys,
programId: programId);
}