SellingResource class

Inheritance

Constructors

SellingResource({required SolAddress store, required SolAddress owner, required SolAddress resource, required SolAddress vault, required SolAddress vaultOwner, required BigInt supply, BigInt? maxSupply, required SellingResourceState sellingResourceState})
const
SellingResource.fromBuffer(List<int> data)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
layout → StructLayout
The layout representing the structure of the object for serialization.
no setteroverride
maxSupply BigInt?
final
owner SolAddress
final
resource SolAddress
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellingResourceState SellingResourceState
final
store SolAddress
final
supply BigInt
final
vault SolAddress
final
vaultOwner 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