public class ContractIOType
extends java.lang.Object
Constructor and Description |
---|
ContractIOType()
Creates a ContractIOType instance.
|
ContractIOType(java.lang.String name,
java.lang.String type,
boolean indexed)
Creates a ContractIOType instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Getter function for name
|
java.lang.String |
getType()
Getter function for type
|
boolean |
isIndexed()
Getter function for indexed
|
void |
setIndexed(boolean indexed)
Setter function for indexed
|
void |
setName(java.lang.String name)
Setter function for name
|
void |
setType(java.lang.String type)
Setter function for type.
|
public ContractIOType()
public ContractIOType(java.lang.String name, java.lang.String type, boolean indexed)
name
- The name of the parameter.type
- A solidity type of parameter.indexed
- The location of parameter. True if the field is part of the log’s topics, false if it one of the log’s data segment.public java.lang.String getName()
public java.lang.String getType()
public boolean isIndexed()
public void setName(java.lang.String name)
name
- parameter namepublic void setType(java.lang.String type)
type
- solidity type.public void setIndexed(boolean indexed)
indexed
- The location of parameter. True if the field is part of the log’s topics, false if it one of the log’s data segment.