StakePoolReDelegateLayout class
Redelegate active stake on a validator layout.
- Inheritance
-
- Object
- LayoutSerializable
- ProgramLayout
- StakePoolProgramLayout
- StakePoolReDelegateLayout
Constructors
- StakePoolReDelegateLayout({required BigInt lamports, required BigInt sourceTransientStakeSeed, required BigInt ephemeralStakeSeed, required BigInt destinationTransientStakeSeed})
-
StakePoolReDelegateLayout.fromBuffer(List<
int> bytes) -
factory
Properties
- destinationTransientStakeSeed → BigInt
-
Seed used to create destination transient stake account. If there is
already transient stake, this must match the current seed, otherwise
it can be anything
final
- ephemeralStakeSeed → BigInt
-
Seed used to create destination ephemeral account.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → StakePoolProgramInstruction
-
The instruction of the program.
no setteroverride
- lamports → BigInt
-
Amount of lamports to redelegate
final
- layout → StructLayout
-
The layout representing the structure of the program.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceTransientStakeSeed → BigInt
-
Seed used to create source transient stake account
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the program.
override
-
toBytes(
) → List< int> -
Converts the program to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the program to a hexadecimal string.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited