@wharfkit/session - v4.0.1
    Preparing search index...

    Class Symbol

    Interface that should be implemented by ABI serializable objects.

    Implements

    Index
    • Parameters

      Returns Symbol

    value: UInt64
    abiName: string
    maxPrecision: number
    • get name(): string

      Returns string

    • get precision(): number

      Returns number

    • Convert floating point to units according to symbol precision. Note that the value will be rounded to closest precision.

      Parameters

      • float: number

      Returns Int64

    • Convert units to floating point number according to symbol precision.

      Parameters

      Returns number

      If the given units can't be represented in 53 bits.

    • Return true if the object equals the other object passed.

      Parameters

      Returns boolean

    • Called when encoding to json abi format.

      Returns string

    • Returns a string representation of an object.

      Returns string

    • Returns Symbol

    • Parameters

      • name: string
      • precision: number

      Returns Symbol