Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StakingContractMethods

Hierarchy

  • StakingContractMethods

Index

Methods

  • changeTokenAddress(_tokenAddress: string): ContractSendMethod
  • createProduct(_startDate: number, _endDate: number, _totalMaxAmount: string | number, _individualMinimumAmount: string | number, _individualMaximumAmount: string | number, _APR: number, _lockedUntilFinalization: boolean): ContractSendMethod
  • Parameters

    • _startDate: number
    • _endDate: number
    • _totalMaxAmount: string | number
    • _individualMinimumAmount: string | number
    • _individualMaximumAmount: string | number
    • _APR: number
    • _lockedUntilFinalization: boolean

    Returns ContractSendMethod

  • getAPRAmount(_APR: number, _startDate: number, _endDate: number, _amount: string | number): ContractCallMethod<number>
  • getProduct(_product_id: number): ContractCallMethod<{ 0: number; 1: number; 10: number[]; 2: number; 3: number; 4: number; 5: number; 6: number; 7: number; 8: boolean; 9: string[] }>
  • getSubscription(_subscription_id: number, _product_id: number): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: number; 4: number; 5: string; 6: number; 7: boolean; 8: number }>
  • products(v1: number): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: number; 4: number; 5: number; 6: number; 7: number; 8: boolean }>
  • safeGuardAllTokens(_address: string): ContractSendMethod
  • subscribeProduct(_product_id: number, _amount: string | number): ContractSendMethod
  • transferOwnership(newOwner: string): ContractSendMethod
  • withdrawSubscription(_product_id: number, _subscription_id: number): ContractSendMethod

Generated using TypeDoc