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