Function processRegisterClaimStake

  • Register a new claim stake mint and configure its reward rates and max reserves

    Returns

    InstructionReturn

    Parameters

    • program: ClaimStakeIDLProgram

      Claim Stake Anchor program

    • updateAuthorityAccount: AsyncSigner<unknown>

      Claim stake update authority as defined in the program code on initialization

    • claimStakeMint: PublicKey

      The mint to create staking variables for

    • rewardRates: AnchorTypeDef<Object, Record<string, never>>

      Reward rate values as a multiple of REWARD_MULTIPLIER

    • maxReserves: AnchorTypeDef<Object, Record<string, never>>

      Max reserve values as a multiple of REWARD_MULTIPLIER

    Returns InstructionReturn

Generated using TypeDoc