VoteProgramAuthorizeWithSeedLayout constructor
VoteProgramAuthorizeWithSeedLayout({
- required SolAddress newAuthorized,
- required SolAddress currentAuthorityDerivedKeyOwnerPubkey,
- required String currentAuthorityDerivedKeySeed,
- 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);
}