Function initializeStaking

  • Initializes the staking program, setting the updateAuthority for the RegisteredStake.

    Returns

    InstructionReturn

    Parameters

    • program: AtlasStakingIDLProgram

      Staking IDL program

    • updateAuthority: AsyncSigner<unknown>

      Desired update authority for the RegisteredStake

    Returns InstructionReturn

Generated using TypeDoc