Package io.gopluslabs.client.model
Class ResponseWrapperGetNftInfoResultSelfDestruct
- java.lang.Object
-
- io.gopluslabs.client.model.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.)
-
-
Constructor Summary
Constructors Constructor Description ResponseWrapperGetNftInfoResultSelfDestruct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOwnerAddress()Owner_address describes the owner address.StringgetOwnerType()\"blackhole\" : the owner is a blackhole addressIntegergetValue()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.inthashCode()ResponseWrapperGetNftInfoResultSelfDestructownerAddress(String ownerAddress)ResponseWrapperGetNftInfoResultSelfDestructownerType(String ownerType)voidsetOwnerAddress(String ownerAddress)voidsetOwnerType(String ownerType)voidsetValue(Integer value)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()ResponseWrapperGetNftInfoResultSelfDestructvalue(Integer value)
-
-
-
Method Detail
-
ownerAddress
public ResponseWrapperGetNftInfoResultSelfDestruct ownerAddress(String ownerAddress)
-
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)
-
value
public ResponseWrapperGetNftInfoResultSelfDestruct value(Integer value)
-
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)
-
ownerType
public ResponseWrapperGetNftInfoResultSelfDestruct ownerType(String ownerType)
-
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)
-
-