StakePoolProgramUtils class

Constructors

StakePoolProgramUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

findEphemeralStakeProgramAddress({required SolAddress stakePoolAddress, required BigInt seed, SolAddress programId = StakePoolProgramConst.programId}) ProgramDerivedAddress
Generates the ephemeral program address for stake pool redelegation
findMetadataAddress({required SolAddress stakePoolMintAddress}) ProgramDerivedAddress
Generates the metadata program address for the stake pool
findStakeProgramAddress({required SolAddress stakePoolAddress, required SolAddress voteAccountAddress, SolAddress programId = StakePoolProgramConst.programId}) ProgramDerivedAddress
Generates the stake program address for a validator's vote account
findTransientStakeProgramAddress({required SolAddress voteAccountAddress, required SolAddress stakePoolAddress, required BigInt seed, SolAddress programId = StakePoolProgramConst.programId}) ProgramDerivedAddress
Generates the stake program address for a validator's vote account
findWithdrawAuthorityProgramAddress({required SolAddress stakePoolAddress, SolAddress programId = StakePoolProgramConst.programId}) ProgramDerivedAddress
Generates the withdraw authority program address for the stake pool