StakeAuthorizeWithSeedLayout constructor

StakeAuthorizeWithSeedLayout({
  1. required SolAddress newAuthorized,
  2. required int stakeAuthorizationType,
  3. required String authoritySeed,
  4. required SolAddress authorityOwner,
})

Implementation

factory StakeAuthorizeWithSeedLayout(
    {required SolAddress newAuthorized,
    required int stakeAuthorizationType,
    required String authoritySeed,
    required SolAddress authorityOwner}) {
  return StakeAuthorizeWithSeedLayout._(
      newAuthorized: newAuthorized,
      stakeAuthorizationType: stakeAuthorizationType,
      authorityOwner: authorityOwner,
      authoritySeed: authoritySeed);
}