Function calcScalarWinnings

  • Returns

    Decimal

    Parameters

    • lowerBound: BigNumber

      BigNumber - the lower bound of the scalar market

    • upperBound: BigNumber

      BigNumber - the upper bound of the scalar market

    • resolvedNumber: BigNumber

      BigNumber - the resolved number of the scalar market

    • shortAssetAmount: BigNumber

      BigNumber - the amount of short tokens, usually the users balance for the short token

    • longAssetAmount: BigNumber

      BigNumber - the amount of long tokens, usually the users balance for the long token

    Returns Decimal

Generated using TypeDoc