Fanout constructor

const Fanout({
  1. required SolAddress authority,
  2. required String name,
  3. required SolAddress accountKey,
  4. required BigInt totalShares,
  5. required BigInt totalMembers,
  6. required BigInt totalInflow,
  7. required BigInt lastSnapshotAmount,
  8. required int bumpSeed,
  9. required int accountOwnerBumpSeed,
  10. required BigInt totalAvailableShares,
  11. required MembershipModel membershipModel,
  12. SolAddress? membershipMint,
  13. BigInt? totalStakedShares,
})

Implementation

const Fanout(
    {required this.authority,
    required this.name,
    required this.accountKey,
    required this.totalShares,
    required this.totalMembers,
    required this.totalInflow,
    required this.lastSnapshotAmount,
    required this.bumpSeed,
    required this.accountOwnerBumpSeed,
    required this.totalAvailableShares,
    required this.membershipModel,
    this.membershipMint,
    this.totalStakedShares});