Secp256k1Program.fromBytes constructor
Secp256k1Program.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - SolAddress programId = Secp256k1ProgramConst.programId,
Implementation
factory Secp256k1Program.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
SolAddress programId = Secp256k1ProgramConst.programId,
}) {
return Secp256k1Program._(
layout: Secp256k1Layout.fromBuffer(instructionBytes),
keys: keys,
programId: programId);
}