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