Package io.gopluslabs.client.model
Class AbiAddressInfo
- java.lang.Object
-
- io.gopluslabs.client.model.AbiAddressInfo
-
public class AbiAddressInfo extends Object
AbiAddressInfo
-
-
Field Summary
Fields Modifier and Type Field Description private StringcontractNameprivate IntegerisContractprivate IntegermaliciousAddressprivate Stringnameprivate Stringstandardprivate Stringsymbol
-
Constructor Summary
Constructors Constructor Description AbiAddressInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbiAddressInfocontractName(String contractName)booleanequals(Object o)StringgetContractName()It describes the contract name if the address is a contract.IntegergetIsContract()It describes whether the address is a contractIntegergetMaliciousAddress()It describes whether the address is a suspected malicious contractStringgetName()It describes the token name if the address is an ERC20 contract.StringgetStandard()It describes the standard type of the contract.Example:\"erc20\".StringgetSymbol()It describes the token symbol if the address is an ERC20 contract.inthashCode()AbiAddressInfoisContract(Integer isContract)AbiAddressInfomaliciousAddress(Integer maliciousAddress)AbiAddressInfoname(String name)voidsetContractName(String contractName)voidsetIsContract(Integer isContract)voidsetMaliciousAddress(Integer maliciousAddress)voidsetName(String name)voidsetStandard(String standard)voidsetSymbol(String symbol)AbiAddressInfostandard(String standard)AbiAddressInfosymbol(String symbol)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()
-
-
-
Field Detail
-
contractName
@SerializedName("contract_name") private String contractName
-
isContract
@SerializedName("is_contract") private Integer isContract
-
maliciousAddress
@SerializedName("malicious_address") private Integer maliciousAddress
-
name
@SerializedName("name") private String name
-
standard
@SerializedName("standard") private String standard
-
symbol
@SerializedName("symbol") private String symbol
-
-
Method Detail
-
contractName
public AbiAddressInfo contractName(String contractName)
-
getContractName
public String getContractName()
It describes the contract name if the address is a contract.- Returns:
- contractName
-
setContractName
public void setContractName(String contractName)
-
isContract
public AbiAddressInfo isContract(Integer isContract)
-
getIsContract
public Integer getIsContract()
It describes whether the address is a contract. \"1\" means true; \"0\" means false.- Returns:
- isContract
-
setIsContract
public void setIsContract(Integer isContract)
-
maliciousAddress
public AbiAddressInfo maliciousAddress(Integer maliciousAddress)
-
getMaliciousAddress
public Integer getMaliciousAddress()
It describes whether the address is a suspected malicious contract.\"1\" means true; \"0\" means that we have not found malicious behavior of this address.- Returns:
- maliciousAddress
-
setMaliciousAddress
public void setMaliciousAddress(Integer maliciousAddress)
-
name
public AbiAddressInfo name(String name)
-
getName
public String getName()
It describes the token name if the address is an ERC20 contract.- Returns:
- name
-
setName
public void setName(String name)
-
standard
public AbiAddressInfo standard(String standard)
-
getStandard
public String getStandard()
It describes the standard type of the contract.Example:\"erc20\".- Returns:
- standard
-
setStandard
public void setStandard(String standard)
-
symbol
public AbiAddressInfo symbol(String symbol)
-
getSymbol
public String getSymbol()
It describes the token symbol if the address is an ERC20 contract.- Returns:
- symbol
-
setSymbol
public void setSymbol(String symbol)
-
-