Class AbiAddressInfo


  • public class AbiAddressInfo
    extends Object
    AbiAddressInfo
    • 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
    • Constructor Detail

      • AbiAddressInfo

        public AbiAddressInfo()
    • Method Detail

      • getContractName

        public String getContractName()
        It describes the contract name if the address is a contract.
        Returns:
        contractName
      • setContractName

        public void setContractName​(String contractName)
      • 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)
      • 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)
      • getName

        public String getName()
        It describes the token name if the address is an ERC20 contract.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getStandard

        public String getStandard()
        It describes the standard type of the contract.Example:\"erc20\".
        Returns:
        standard
      • setStandard

        public void setStandard​(String standard)
      • getSymbol

        public String getSymbol()
        It describes the token symbol if the address is an ERC20 contract.
        Returns:
        symbol
      • setSymbol

        public void setSymbol​(String symbol)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toIndentedString

        private String toIndentedString​(Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).