CallArgument

CallArgument

new CallArgument()

Version:
  • 1.0

The CallArgument model module.

Classes

CallArgument

Members

type :String

ABI types. For example uint256, uint32, string, bool, address, uint64[2] and address[] can be used

Type:
  • String

value :Object

parameter value. number, string, array and boolean value type can be used

Type:
  • Object

Methods

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

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

Optional instance to populate.

Returns:

The populated CallArgument instance.

Type
CallArgument