Ed25519Program.fromBytes constructor

Ed25519Program.fromBytes({
  1. required List<AccountMeta> keys,
  2. required List<int> instructionBytes,
  3. SolAddress programId = Ed25519ProgramConst.programId,
})

Implementation

factory Ed25519Program.fromBytes({
  required List<AccountMeta> keys,
  required List<int> instructionBytes,
  SolAddress programId = Ed25519ProgramConst.programId,
}) {
  return Ed25519Program._(
      layout: Ed25519ProgramLayout.fromBuffer(instructionBytes),
      keys: keys,
      programId: programId);
}