Options
All
  • Public
  • Public/Protected
  • All
Menu

Handles 64-bit unsigned integers. Used to express nonce, asset amount, etc.

Hierarchy

  • U64

Index

Constructors

constructor

  • new U64(value: number | string | BigNumber): U64

Properties

value

value: BigNumber

Static MAX_VALUE

MAX_VALUE: U64 = new U64(new BigNumber("0xFFFFFFFFFFFFFFFF"))

Methods

eq

gt

gte

idiv

isEqualTo

isGreaterThan

isGreaterThanOrEqualTo

  • isGreaterThanOrEqualTo(rhs: U64Value): boolean

isLessThan

isLessThanOrEqualTo

  • isLessThanOrEqualTo(rhs: U64Value): boolean

lt

lte

minus

mod

plus

rlpBytes

  • rlpBytes(): Buffer

times

toEncodeObject

  • toEncodeObject(): string | number

toJSON

  • toJSON(): string

toLocaleString

  • toLocaleString(): string

toString

  • toString(base?: 10 | 16): string

Static check

  • check(param: any): boolean

Static Private checkString

  • checkString(param: string): boolean

Static ensure

Static fromBytes

  • fromBytes(buffer: Buffer): U64

Static idiv

Static minus

Static mod

Static plus

Static times

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc