MemoProgram constructor
MemoProgram({
- required MemoLayout layout,
- List<
SolAddress> pubKeys = const [],
Constructs a MemoProgram instruction.
Implementation
factory MemoProgram({
required MemoLayout layout,
List<SolAddress> pubKeys = const [],
}) {
return MemoProgram._(
layout: layout,
keys: pubKeys.map((e) => e.toSigner()).toList(),
programId: MemoProgramConst.programId,
);
}