Market constructor
const
Market({
- required SolAddress store,
- required SolAddress sellingResource,
- required SolAddress treasuryMint,
- required SolAddress treasuryHolder,
- required SolAddress treasuryOwner,
- required SolAddress owner,
- required String name,
- required String description,
- required bool mutable,
- required BigInt price,
- BigInt? piecesInOneWallet,
- required BigInt startDate,
- BigInt? endDate,
- required MarketState marketState,
- required BigInt fundsCollected,
- GatingConfig? gatekeeper,
Implementation
const Market(
{required this.store,
required this.sellingResource,
required this.treasuryMint,
required this.treasuryHolder,
required this.treasuryOwner,
required this.owner,
required this.name,
required this.description,
required this.mutable,
required this.price,
this.piecesInOneWallet,
required this.startDate,
this.endDate,
required this.marketState,
required this.fundsCollected,
this.gatekeeper});