Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LidoWithdrawStakePool

Hierarchy

  • LidoWithdrawStakePool

Implements

Index

Constructors

Properties

label: WithdrawStakePoolLabel = "Lido"
mustUseKeypairForSplitStake: boolean = true
programId: PublicKey
solido: null | AccountInfoV2
solidoAddr: PublicKey
stakeAuthorityAddress: PublicKey
validatorsList: null | ValidatorsList
validatorsListAddr: PublicKey
withdrawStakeToken: PublicKey
MAX_WITHDRAW_BUFFER_LAMPORTS: BN = ...
MINIMUM_STAKE_ACCOUNT_BALANCE_LAMPORTS: BN = ...

Methods

  • findStakeAccountAddressStake(param0: ValidatorV2): PublicKey
  • getAccountsForUpdate(): PublicKey[]
  • getHeaviestValidatorStakeAccount(): null | ValidatorV2
  • The one exported by @chorusone/solido.js looks at the actual lamports of the stake accounts. Using the data in this.solido should suffice

    Assumes this.validatorsList already fetched

    Returns null | ValidatorV2

  • update(accountInfoMap: AccountInfoMap): void
  • Parameters

    • accountInfoMap: AccountInfoMap

    Returns void

Generated using TypeDoc