serialize method
Serializes the program.
Implementation
@override
Map<String, dynamic> serialize() {
return {
'voteInit': {
'nodePubkey': nodePubkey,
'authorizedVoter': authorizedVoter,
'authorizedWithdrawer': authorizedWithdrawer,
'commission': commission
}
};
}