serialize method

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

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "voteAuthorizeWithSeedArgs": {
      "voteAuthorizationType": voteAuthorizationType,
      "currentAuthorityDerivedKeyOwnerPubkey":
          currentAuthorityDerivedKeyOwnerPubkey,
      "currentAuthorityDerivedKeySeed": currentAuthorityDerivedKeySeed,
      "newAuthorized": newAuthorized
    }
  };
}