serialize method

  1. @override
Map<String, dynamic> serialize()
override

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "voteInit": {
      "nodePubkey": nodePubkey,
      "authorizedVoter": authorizedVoter,
      "authorizedWithdrawer": authorizedWithdrawer,
      "commission": commission
    }
  };
}