Hierarchy (view full)

Constructors

Properties

chainID: string
contract: SmartContract
env: string
networkProvider: ApiNetworkProvider

Methods

  • Builds a claimRewards transaction

    Parameters

    • senderAddress: IAddress

      address of the sender

    Returns Transaction

  • Builds a stakeRewards transaction

    Parameters

    • senderAddress: IAddress

      address of the sender

    • tokenIdentifier: string = ...

      the token identifier of the Data Nft [default is the Data Nft token identifier based on EnvironmentsEnum]

    Returns Transaction

  • Returns a BigNumber.Value representing the claimable rewards

    Parameters

    • address: IAddress

      address to check claimable rewards

    • bypass_liveliness_check: boolean = false

      boolean value to bypass liveliness check

    Returns Promise<Value>