new MtContract()
- Version:
- 1.0
The MtContract model module.
Members
address :String
Contract address (20-byte)
Type:
- String
Methods
(static) constructFromObject(data, obj) → {MtContract}
Constructs a MtContract
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 |
MtContract | Optional instance to populate. |
Returns:
The populated MtContract
instance.
- Type
- MtContract