FtContractDetail

FtContractDetail

new FtContractDetail()

Version:
  • 1.0

The FtContractDetail model module.

Classes

FtContractDetail

Members

address :String

Contract address (20-byte)

Type:
  • String

decimals :Number

Number of token digits

Type:
  • Number

name :String

Token name

Type:
  • String

symbol :String

Token symbol

Type:
  • String

status :String

Contract labeling status (completed, processing, failed, cancelled)

Type:
  • String

totalSupply :String

Total issue count (in hexadecimal)

Type:
  • String

createdAt :Number

Time of labeling (timestamp)

Type:
  • Number

updatedAt :Number

Time when labeling information was last changed (timestamp)

Type:
  • Number

deletedAt :Number

Time when labeling was deleted (timestamp); 0 if it was not removed

Type:
  • Number
Type:

type :String

Contract type (KIP-7, KIP-17, ERC-20, ERC-721)

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {FtContractDetail}

Constructs a FtContractDetail from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj FtContractDetail

Optional instance to populate.

Returns:

The populated FtContractDetail instance.

Type
FtContractDetail