FreezeEscrowAccount class

Inheritance

Constructors

FreezeEscrowAccount({required SolAddress candyGuard, required SolAddress candyMachine, required SolAddress frozenCount, BigInt? firstMintTime, required BigInt freezePeriod, required SolAddress destination, required SolAddress authority})
const
FreezeEscrowAccount.fromBuffer(List<int> data)
factory

Properties

authority SolAddress
The authority that initialized the freeze. This will be the only address able to unlock the funds in case the candy guard account is closed.
final
candyGuard SolAddress
Candy guard address associated with this escrow.
final
candyMachine SolAddress
Candy machine address associated with this escrow.
final
destination SolAddress
The destination address for the frozen fund to go to.
final
firstMintTime BigInt?
The timestamp of the first (frozen) mint. This is used to calculate when the freeze period is over.
final
freezePeriod BigInt
The amount of time (in seconds) for the freeze. The NFTs will be allowed to thaw after this.
final
frozenCount SolAddress
Number of NFTs frozen.
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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