ApproveAllKip37ContractRequest

ApproveAllKip37ContractRequest

new ApproveAllKip37ContractRequest()

Version:
  • 1.0

The ApproveAllKip37ContractRequest model module.

Members

from :String

The Klaytn account address of the owner

Type:
  • String

to :String

The Klaytn account address to be authrorized for token transfer

Type:
  • String

approved :Boolean

Authorization granted/cancelled. The default value is true.

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveAllKip37ContractRequest instance.

Type
ApproveAllKip37ContractRequest

ApproveAllKip37ContractRequest

new ApproveAllKip37ContractRequest(from, to)

Constructs a new ApproveAllKip37ContractRequest.

Parameters:
Name Type Description
from String

The Klaytn account address of the owner

to String

The Klaytn account address to be authrorized for token transfer

Members

from :String

The Klaytn account address of the owner

Type:
  • String

to :String

The Klaytn account address to be authrorized for token transfer

Type:
  • String

approved :Boolean

Authorization granted/cancelled. The default value is true.

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveAllKip37ContractRequest instance.

Type
ApproveAllKip37ContractRequest