CallArgument

CallArgument

new CallArgument()

Version:
  • 1.0

The CallArgument model module.

Classes

CallArgument

Members

type :String

ABI types. Valid types are uint256, uint32, string, bool, address, uint64[2], address[].

Type:
  • String

value :Object

Parameter value. Valid types are number, string, array, boolean.

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