Hierarchy

  • Payroll

Constructors

  • Parameters

    • famineTs: BN
    • lastCheckpointTs: BN
    • annualRewardsRate: BN
    • rewardsPerTokenStored: BN
    • totalTokensDeposited: BN

    Returns Payroll

Properties

annualRewardsRate: BN
famineTs: BN
lastCheckpointTs: BN
rewardsPerTokenStored: BN
totalTokensDeposited: BN

Methods

  • Calculates the amount of tokens that this user can receive.

    Returns

    Parameters

    • currentTs: BN

    Returns BN

  • Calculates the amount of tokens that this user can claim.

    Returns

    Parameters

    • currentTs: BN
    • tokensDeposited: BN
    • rewardsPerTokenPaid: BN
    • rewardsEarned: BN

    Returns BN

Generated using TypeDoc