new MtContractDetail()
- Version:
- 1.0
The MtContractDetail model module.
Classes
Members
address :String
Contract address (20-byte)
Type:
- String
status :String
Labeling status (completed, processing, failed, cancelled)
Type:
- String
createdAt :Number
Labeled (timestamp)
Type:
- Number
updatedAt :Number
Last time label information changed (timestamp)
Type:
- Number
deletedAt :Number
UNIX timestamp of when the label deleted; 0 if not deleted
Type:
- Number
type :String
Contract type (KIP-7, ERC-20)
Type:
- String
Methods
(static) constructFromObject(data, obj) → {MtContractDetail}
Constructs a MtContractDetail
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 |
MtContractDetail | Optional instance to populate. |
Returns:
The populated MtContractDetail
instance.
- Type
- MtContractDetail