ApproveAllKip17Request

ApproveAllKip17Request

new ApproveAllKip17Request()

Version:
  • 1.0

The ApproveAllKip17Request model module.

Members

from :String

Owner EOA address

Type:
  • String

to :String

EOA address receiving the approval

Type:
  • String

approved :Boolean

Boolean value to set; true for approval, false for revocation

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveAllKip17Request instance.

Type
ApproveAllKip17Request

ApproveAllKip17Request

new ApproveAllKip17Request(from, to, approved)

Constructs a new ApproveAllKip17Request.

Parameters:
Name Type Description
from String

Owner EOA address

to String

EOA address receiving the approval

approved Boolean

Boolean value to set; true for approval, false for revocation

Members

from :String

Owner EOA address

Type:
  • String

to :String

EOA address receiving the approval

Type:
  • String

approved :Boolean

Boolean value to set; true for approval, false for revocation

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ApproveAllKip17Request instance.

Type
ApproveAllKip17Request