Market class
- Inheritance
-
- Object
- LayoutSerializable
- Market
Constructors
- 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})
-
const
-
Market.fromBuffer(List<
int> data) -
factory
Properties
- description → String
-
final
- endDate → BigInt?
-
final
- fundsCollected → BigInt
-
final
- gatekeeper → GatingConfig?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → StructLayout
-
The layout representing the structure of the object for serialization.
no setteroverride
- marketState → MarketState
-
final
- mutable → bool
-
final
- name → String
-
final
- owner → SolAddress
-
final
- piecesInOneWallet → BigInt?
-
final
- price → BigInt
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sellingResource → SolAddress
-
final
- startDate → BigInt
-
final
- store → SolAddress
-
final
- treasuryHolder → SolAddress
-
final
- treasuryMint → SolAddress
-
final
- treasuryOwner → SolAddress
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the object to a map.
override
-
toBytes(
) → List< int> -
Converts the object to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the object to a hexadecimal string.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited