Constructor
new Address(hex)
Parameters:
| Name | Type | Description |
|---|---|---|
hex |
string | Hexadecimal representation of address. |
- Source:
Members
hex :string
Hexadecimal representation.
Type:
- string
- Source:
tainted :boolean
Has any taint.
Type:
- boolean
- Source:
taints :Set.<module:primitives/taint.Taint>
All collected taint.
Type:
- Source:
Methods
addTaint(taint) → {module:primitives/address.Address}
Add taint item.
Parameters:
| Name | Type | Description |
|---|---|---|
taint |
module:primitives/taint.Taint | Taint item. |
- Source:
Returns:
This instance for chaining.
hasTaint(taint) → {boolean}
Check whether has taint item.
Parameters:
| Name | Type | Description |
|---|---|---|
taint |
module:primitives/taint.Taint | Taint item. |
- Source:
Returns:
Whether has taint item.
- Type
- boolean