VoteProgram constructor

VoteProgram({
  1. required List<AccountMeta> keys,
  2. required SolAddress programId,
  3. required ProgramLayout layout,
})

Implementation

VoteProgram({
  required List<AccountMeta> keys,
  required SolAddress programId,
  required ProgramLayout layout,
}) : super(keys: keys, data: layout.toBytes(), programId: programId);