Перейти к основному содержанию

ILiquidStorage

Index

Methods

addLiquid

  • addLiquid(liquid: string, amount: number): number
  • Parameters

    • liquid: string
    • amount: number

    Returns number

getAmount

  • getAmount(liquid: string): number
  • Parameters

    • liquid: string

    Returns number

getLimit

  • getLimit(liquid: string): number
  • Parameters

    • liquid: string

    Returns number

getLiquid

  • getLiquid(liquid: string, amount: number): number
  • Parameters

    • liquid: string
    • amount: number

    Returns number

getLiquidStored

  • getLiquidStored(): string
  • Returns string

isEmpty

  • isEmpty(): boolean
  • Returns boolean

isFull

  • isFull(): boolean
  • Returns boolean