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