VoteProgramAuthorizeWithSeedLayout constructor

VoteProgramAuthorizeWithSeedLayout({
  1. required SolAddress newAuthorized,
  2. required SolAddress currentAuthorityDerivedKeyOwnerPubkey,
  3. required String currentAuthorityDerivedKeySeed,
  4. required int voteAuthorizationType,
})

Implementation

factory VoteProgramAuthorizeWithSeedLayout(
    {required SolAddress newAuthorized,
    required SolAddress currentAuthorityDerivedKeyOwnerPubkey,
    required String currentAuthorityDerivedKeySeed,
    required int voteAuthorizationType}) {
  return VoteProgramAuthorizeWithSeedLayout._(
      newAuthorized: newAuthorized,
      currentAuthorityDerivedKeyOwnerPubkey:
          currentAuthorityDerivedKeyOwnerPubkey,
      currentAuthorityDerivedKeySeed: currentAuthorityDerivedKeySeed,
      voteAuthorizationType: voteAuthorizationType);
}