Class ParseAbiDataResponse


  • public class ParseAbiDataResponse
    extends Object
    ParseAbiDataResponse
    • Field Detail

      • contractDescription

        @SerializedName("contract_description")
        private String contractDescription
      • contractName

        @SerializedName("contract_name")
        private String contractName
      • maliciousContract

        @SerializedName("malicious_contract")
        private Integer maliciousContract
      • method

        @SerializedName("method")
        private String method
      • risk

        @SerializedName("risk")
        private String risk
      • riskySignature

        @SerializedName("risky_signature")
        private Integer riskySignature
      • signatureDetail

        @SerializedName("signature_detail")
        private String signatureDetail
    • Constructor Detail

      • ParseAbiDataResponse

        public ParseAbiDataResponse()
    • Method Detail

      • getContractDescription

        public String getContractDescription()
        Description of the contract.
        Returns:
        contractDescription
      • setContractDescription

        public void setContractDescription​(String contractDescription)
      • getContractName

        public String getContractName()
        The name of the contract that the user is interacting with.
        Returns:
        contractName
      • setContractName

        public void setContractName​(String contractName)
      • getMaliciousContract

        public Integer getMaliciousContract()
        It tells if contract that the user is interacting with is malicious contract.
        Returns:
        maliciousContract
      • setMaliciousContract

        public void setMaliciousContract​(Integer maliciousContract)
      • getMethod

        public String getMethod()
        It describes the method name in ABI, for example \"transfer\".
        Returns:
        method
      • setMethod

        public void setMethod​(String method)
      • getParams

        public List<AbiParamInfo> getParams()
        It describes the parameter info
        Returns:
        params
      • getRisk

        public String getRisk()
        It explains why the transaction that users are signing contains risk.(Notice:Even non-malicious, commonly used, well-known contracts can be highly risky if not used properly.)
        Returns:
        risk
      • setRisk

        public void setRisk​(String risk)
      • getRiskySignature

        public Integer getRiskySignature()
        It tells if the transaction that users are signing contains risk.(Notice:Even non-malicious, commonly used, well-known contracts can be highly risky if not used properly.)
        Returns:
        riskySignature
      • setRiskySignature

        public void setRiskySignature​(Integer riskySignature)
      • getSignatureDetail

        public String getSignatureDetail()
        It explain the function of the method
        Returns:
        signatureDetail
      • setSignatureDetail

        public void setSignatureDetail​(String signatureDetail)
      • 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).