ApproveKip7TokenRequest

ApproveKip7TokenRequest

new ApproveKip7TokenRequest()

Version:
  • 1.0

The ApproveKip7TokenRequest model module.

Members

owner :String

The Klaytn account address to grant the authority. The default value is the deployer's address'.

Type:
  • String

spender :String

The Klaytn account address to be granted authority.

Type:
  • String

amount :String

Approved token amount (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveKip7TokenRequest instance.

Type
ApproveKip7TokenRequest

ApproveKip7TokenRequest

new ApproveKip7TokenRequest(spender, amount)

Constructs a new ApproveKip7TokenRequest.

Parameters:
Name Type Description
spender String

The Klaytn account address to be granted authority.

amount String

Approved token amount (in hex.)

Members

owner :String

The Klaytn account address to grant the authority. The default value is the deployer's address'.

Type:
  • String

spender :String

The Klaytn account address to be granted authority.

Type:
  • String

amount :String

Approved token amount (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveKip7TokenRequest instance.

Type
ApproveKip7TokenRequest