Function updateCooldownPeriod

  • Update the cooldown period for a given registered stake.

    Returns

    InstructionReturn

    Parameters

    • program: AtlasStakingIDLProgram

      Staking IDL program

    • updateAuthority: AsyncSigner<unknown>

      Authority for the registered stake account

    • registeredStake: PublicKey

      Registered stake account

    • cooldownPeriod: number

      New cooldown period (Amount of time, in seconds, the user must wait before withdrawing their staked tokens)

    Returns InstructionReturn

Generated using TypeDoc