Function getTokenAmountToTeachTargetStat

  • Gets the token amount required to reach a target cargo pod stat value

    You can use this to get how much tokens are required to fill up the pod capacity or to determine how many tokens will take a given amount of cargo space

    Returns

    amount of tokens needed to ge to targetCargoSpace

    Parameters

    • cargoType: CargoType

      the Cargo Type account

    • targetCargoSpace: BN

      the target cargo space amount (aka target cargo stat)

    Returns BN

Generated using TypeDoc