VoteProgramInitializeAccountLayout constructor

const VoteProgramInitializeAccountLayout({
  1. required SolAddress nodePubkey,
  2. required SolAddress authorizedVoter,
  3. required SolAddress authorizedWithdrawer,
  4. required int commission,
})

Implementation

const VoteProgramInitializeAccountLayout(
    {required this.nodePubkey,
    required this.authorizedVoter,
    required this.authorizedWithdrawer,
    required this.commission});