EntangledPair class
- Inheritance
-
- Object
- LayoutSerializable
- EntangledPair
Constructors
- EntangledPair({required SolAddress treasuryMint, required SolAddress mintA, required SolAddress mintB, required SolAddress tokenAEscrow, required SolAddress tokenBEscrow, required SolAddress authority, required int bump, required int tokenAEscrowBump, required int tokenBEscrowBump, required BigInt price, required bool paid, required bool paysEveryTime})
-
const
-
EntangledPair.fromBuffer(List<
int> data) -
factory
Properties
-
final
- bump → int
-
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
- mintA → SolAddress
-
final
- mintB → SolAddress
-
final
- paid → bool
-
final
- paysEveryTime → bool
-
final
- price → BigInt
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenAEscrow → SolAddress
-
final
- tokenAEscrowBump → int
-
final
- tokenBEscrow → SolAddress
-
final
- tokenBEscrowBump → int
-
final
- treasuryMint → 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