FtLink

FtLink

Version:
  • 1.0

The FtLink model module.

Members

website :String

URL of the contract's website

Type:
  • String

icon :String

Token icon URL

Type:
  • String

Methods

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

Constructs a FtLink 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 FtLink

Optional instance to populate.

Returns:

The populated FtLink instance.

Type
FtLink

FtLink

Constructs a new FtLink.

Parameters:
Name Type Description
website String

URL of the contract's website

icon String

Token icon URL

Members

website :String

URL of the contract's website

Type:
  • String

icon :String

Token icon URL

Type:
  • String

Methods

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

Constructs a FtLink 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 FtLink

Optional instance to populate.

Returns:

The populated FtLink instance.

Type
FtLink