Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • calculator

Index

Constructors

Properties

client: TFClient

Methods

  • calCU(options: CUModel): Promise<number>
  • calSU(options: SUModel): Promise<number>
  • calculate(options: CalculatorModel): Promise<{ dedicatedPackage: string; dedicatedPrice: number; sharedPackage: string; sharedPrice: number }>
  • calculateWithMyBalance(options: CalculatorModel): Promise<{ dedicatedPackage: string; dedicatedPrice: number; sharedPackage: string; sharedPrice: number }>
  • getPrices(): Promise<PricingPolicy>
  • pricing(options: CalculatorModel): Promise<{ dedicatedDiscount: number; musd_month: number }>
  • tftPrice(): Promise<number>

Generated using TypeDoc