Class ResponseWrapperGetNftInfoResultSelfDestruct


  • public class ResponseWrapperGetNftInfoResultSelfDestruct
    extends Object
    { value: owner_address: owner_type }It describes whether this NFT contract can self destruct. (Notice:When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.)
    • Field Detail

      • ownerAddress

        @SerializedName("owner_address")
        private String ownerAddress
      • value

        @SerializedName("value")
        private Integer value
      • ownerType

        @SerializedName("owner_type")
        private String ownerType
    • Constructor Detail

      • ResponseWrapperGetNftInfoResultSelfDestruct

        public ResponseWrapperGetNftInfoResultSelfDestruct()
    • Method Detail

      • getOwnerAddress

        public String getOwnerAddress()
        Owner_address describes the owner address. null: the owner address cannot be fetched.
        Returns:
        ownerAddress
      • setOwnerAddress

        public void setOwnerAddress​(String ownerAddress)
      • getValue

        public Integer getValue()
        The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array.
        Returns:
        value
      • setValue

        public void setValue​(Integer value)
      • getOwnerType

        public String getOwnerType()
        \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected.
        Returns:
        ownerType
      • setOwnerType

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