new MtTransfer()
- Version:
- 1.0
The MtTransfer model module.
Members
contract :MtContract
Type:
operator :String
Operator address (20-byte)
Type:
- String
from :String
Owner address (20-byte)
Type:
- String
to :String
Recipient address (20-byte)
Type:
- String
transaction :Transaction
Type:
transferType :String
Transfer type
Type:
- String
ids :Array.<String>
Array of token IDs (hex)
Type:
- Array.<String>
values :Array.<String>
Array of numbers of tranferring tokens (hex)
Type:
- Array.<String>
Methods
(static) constructFromObject(data, obj) → {MtTransfer}
Constructs a MtTransfer
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 |
MtTransfer | Optional instance to populate. |
Returns:
The populated MtTransfer
instance.
- Type
- MtTransfer