models

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ParseAbiDataRequestTranscationTypeCommon captures enum value "common"
	ParseAbiDataRequestTranscationTypeCommon string = "common"

	// ParseAbiDataRequestTranscationTypeEthSignTypedDataV4 captures enum value "eth_signTypedData_v4"
	ParseAbiDataRequestTranscationTypeEthSignTypedDataV4 string = "eth_signTypedData_v4"

	// ParseAbiDataRequestTranscationTypePersonalSign captures enum value "personal_sign"
	ParseAbiDataRequestTranscationTypePersonalSign string = "personal_sign"

	// ParseAbiDataRequestTranscationTypeEthSign captures enum value "eth_sign"
	ParseAbiDataRequestTranscationTypeEthSign string = "eth_sign"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AbiAddressInfo

type AbiAddressInfo struct {

	// It describes the contract name if the address is a contract.
	ContractName string `json:"contract_name,omitempty"`

	// It describes whether the address is a contract. "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// 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.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// It describes the token name if the address is an ERC20 contract.
	Name string `json:"name,omitempty"`

	// It describes the standard type of the contract.Example:"erc20".
	Standard string `json:"standard,omitempty"`

	// It describes the token symbol if the address is an ERC20 contract.
	Symbol string `json:"symbol,omitempty"`
}

AbiAddressInfo AbiAddressInfo

swagger:model AbiAddressInfo

func (*AbiAddressInfo) MarshalBinary

func (m *AbiAddressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AbiAddressInfo) UnmarshalBinary

func (m *AbiAddressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AbiAddressInfo) Validate

func (m *AbiAddressInfo) Validate(formats strfmt.Registry) error

Validate validates this abi address info

type AbiParamInfo

type AbiParamInfo struct {

	// It describes the info about the address as a parameter.
	AddressInfo *AbiAddressInfo `json:"address_info,omitempty"`

	// It describes the input data in ABI.
	Input interface{} `json:"input,omitempty"`

	// It describes the parameter name in ABI, for example
	//  "_from", "_to", "_value".
	Name string `json:"name,omitempty"`

	// It describes the parameter type in ABI, for example "address", "uint256", "bool".
	Type string `json:"type,omitempty"`
}

AbiParamInfo AbiParamInfo

swagger:model AbiParamInfo

func (*AbiParamInfo) MarshalBinary

func (m *AbiParamInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AbiParamInfo) UnmarshalBinary

func (m *AbiParamInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AbiParamInfo) Validate

func (m *AbiParamInfo) Validate(formats strfmt.Registry) error

Validate validates this abi param info

type ApproveAddressInfo

type ApproveAddressInfo struct {

	// Spender name
	ContractName string `json:"contract_name,omitempty"`

	// Spender's deployer
	CreatorAddress string `json:"creator_address,omitempty"`

	// Spender's deployed time
	DeployedTime int64 `json:"deployed_time,omitempty"`

	// Whether the spender has a history of malicious behavior or contains high risk.
	DoubtList int32 `json:"doubt_list,omitempty"`

	// Whether the spender is a contract.
	IsContract int32 `json:"is_contract,omitempty"`

	// Whether the spender is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Specific malicious behaviors or risks of this spender.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// Spender tag
	Tag string `json:"tag,omitempty"`

	// Whether the spender is on the whitelist, and can be trusted
	TrustList int32 `json:"trust_list,omitempty"`
}

ApproveAddressInfo ApproveAddressInfo

swagger:model ApproveAddressInfo

func (*ApproveAddressInfo) MarshalBinary

func (m *ApproveAddressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveAddressInfo) UnmarshalBinary

func (m *ApproveAddressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveAddressInfo) Validate

func (m *ApproveAddressInfo) Validate(formats strfmt.Registry) error

Validate validates this approve address info

type ApproveErc1155Result

type ApproveErc1155Result struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveErc1155Result ApproveErc1155Result

swagger:model ApproveErc1155Result

func (*ApproveErc1155Result) MarshalBinary

func (m *ApproveErc1155Result) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveErc1155Result) UnmarshalBinary

func (m *ApproveErc1155Result) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveErc1155Result) Validate

func (m *ApproveErc1155Result) Validate(formats strfmt.Registry) error

Validate validates this approve erc1155 result

type ApproveNFT1155ListResponse

type ApproveNFT1155ListResponse struct {

	// approved list
	ApprovedList []*ApproveErc1155Result `json:"approved_list"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether NFT is certified on a reputable trading platform.
	IsVerified int32 `json:"is_verified,omitempty"`

	// Whether the NFT is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this NFT.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// NFT address
	NftAddress string `json:"nft_address,omitempty"`

	// NFT name
	NftName string `json:"nft_name,omitempty"`

	// NFT symbol
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ApproveNFT1155ListResponse ApproveNFT1155ListResponse

swagger:model ApproveNFT1155ListResponse

func (*ApproveNFT1155ListResponse) MarshalBinary

func (m *ApproveNFT1155ListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveNFT1155ListResponse) UnmarshalBinary

func (m *ApproveNFT1155ListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveNFT1155ListResponse) Validate

func (m *ApproveNFT1155ListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve n f t1155 list response

type ApproveNFTListResponse

type ApproveNFTListResponse struct {

	// approved list
	ApprovedList []*ApproveResult `json:"approved_list"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether NFT is certified on a reputable trading platform.
	IsVerified int32 `json:"is_verified,omitempty"`

	// Whether the NFT is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this NFT.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// nft address
	NftAddress string `json:"nft_address,omitempty"`

	// NFT name
	NftName string `json:"nft_name,omitempty"`

	// NFT symbol
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ApproveNFTListResponse ApproveNFTListResponse

swagger:model ApproveNFTListResponse

func (*ApproveNFTListResponse) MarshalBinary

func (m *ApproveNFTListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveNFTListResponse) UnmarshalBinary

func (m *ApproveNFTListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveNFTListResponse) Validate

func (m *ApproveNFTListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve n f t list response

type ApproveResult

type ApproveResult struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Approval type: "1" means "approved for all"; "0" means "approved for single NFT"
	ApprovedForAll int32 `json:"approved_for_all,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// NFT token_id
	ApprovedTokenID string `json:"approved_token_id,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveResult ApproveResult

swagger:model ApproveResult

func (*ApproveResult) MarshalBinary

func (m *ApproveResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveResult) UnmarshalBinary

func (m *ApproveResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveResult) Validate

func (m *ApproveResult) Validate(formats strfmt.Registry) error

Validate validates this approve result

type ApproveTokenOutListResponse

type ApproveTokenOutListResponse struct {

	// approved list
	ApprovedList []*ApproveTokenResult `json:"approved_list"`

	// balance
	Balance string `json:"balance,omitempty"`

	// ChainID
	ChainID string `json:"chain_id,omitempty"`

	// decimals
	Decimals int64 `json:"decimals,omitempty"`

	// Whether the contract is verified on blockchain explorer.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether the token is malicious or contains high risk.
	MaliciousAddress int32 `json:"malicious_address,omitempty"`

	// Specific malicious behaviors or risks of this token.
	MaliciousBehavior []string `json:"malicious_behavior"`

	// Token address
	TokenAddress string `json:"token_address,omitempty"`

	// Token name
	TokenName string `json:"token_name,omitempty"`

	// Token symbol
	TokenSymbol string `json:"token_symbol,omitempty"`
}

ApproveTokenOutListResponse ApproveTokenOutListResponse

swagger:model ApproveTokenOutListResponse

func (*ApproveTokenOutListResponse) MarshalBinary

func (m *ApproveTokenOutListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveTokenOutListResponse) UnmarshalBinary

func (m *ApproveTokenOutListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveTokenOutListResponse) Validate

func (m *ApproveTokenOutListResponse) Validate(formats strfmt.Registry) error

Validate validates this approve token out list response

type ApproveTokenResult

type ApproveTokenResult struct {

	// address_info
	AddressInfo *ApproveAddressInfo `json:"address_info,omitempty"`

	// Allowance of the spender
	ApprovedAmount string `json:"approved_amount,omitempty"`

	// Spender Address
	ApprovedContract string `json:"approved_contract,omitempty"`

	// Latest approval time
	ApprovedTime int64 `json:"approved_time,omitempty"`

	// Latest approval hash
	Hash string `json:"hash,omitempty"`

	// Initial approval hash
	InitialApprovalHash string `json:"initial_approval_hash,omitempty"`

	// Initial approval time
	InitialApprovalTime int64 `json:"initial_approval_time,omitempty"`
}

ApproveTokenResult ApproveTokenResult

swagger:model ApproveTokenResult

func (*ApproveTokenResult) MarshalBinary

func (m *ApproveTokenResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveTokenResult) UnmarshalBinary

func (m *ApproveTokenResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveTokenResult) Validate

func (m *ApproveTokenResult) Validate(formats strfmt.Registry) error

Validate validates this approve token result

type AuditInfo

type AuditInfo struct {

	// It describes the firm that audited the dApp.
	AuditFirm string `json:"audit_firm,omitempty"`

	// It describes the website link of the audit report.
	AuditLink string `json:"audit_link,omitempty"`

	// It describes the time shown in the latest audit report.
	AuditTime string `json:"audit_time,omitempty"`
}

AuditInfo AuditInfo

swagger:model AuditInfo

func (*AuditInfo) MarshalBinary

func (m *AuditInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuditInfo) UnmarshalBinary

func (m *AuditInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuditInfo) Validate

func (m *AuditInfo) Validate(formats strfmt.Registry) error

Validate validates this audit info

type ContractApproveResponse

type ContractApproveResponse struct {

	// It describes the approved contract name.
	ContractName string `json:"contract_name,omitempty"`

	// It describes the creator address of the contract.(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the deployed time of the contract.
	// The value is presented as a timestamp.
	// Example: "deployed_time": 1626578345(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	DeployedTime int64 `json:"deployed_time,omitempty"`

	// 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.(Notice:Return "0" does not mean it is safe. Maybe we just haven't found its malicious behavior.)
	DoubtList int32 `json:"doubt_list,omitempty"`

	// It describes whether the address is a contract.
	// "1" means true;
	// "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:When the address is not a contract ("is_contract"=0), it will return "null".)
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// Whether the spender is a proxy contract.
	IsProxy int32 `json:"is_proxy,omitempty"`

	// It describes specific malicious behaviors.
	// "honeypot_related_address" means that the address is related to honeypot tokens or has created scam tokens.
	// "phishing_activities" means that this address has implemented phishing activities.
	// "blackmail_activities" means that this address has implemented blackmail activities.
	// "stealing_attack" means that this address has implemented stealing attacks.
	// "fake_kyc" means that this address is involved in fake KYC.
	// "malicious_mining_activities" means that this address is involved in malicious mining activities.
	// "darkweb_transactions" means that this address is involved in darkweb transactions.
	// "cybercrime" means that this address is involved in cybercrime.
	// "money_laundering" means that this address is involved in money laundering.
	// "financial_crime" means that this address is involved in financial crime.
	// "blacklist_doubt" means that the address is suspected of malicious behavior and is therefore blacklisted.(Notice:Returning an empty array means that no malicious behavior was found at that address.)
	MaliciousBehavior []string `json:"malicious_behavior"`

	// It describes which dapp uses the contract.
	// Example:"tag": "Compound"
	Tag string `json:"tag,omitempty"`

	// It describes whether the address is a famous and trustworthy one.
	// "1" means true;
	// "0" means that we have not included this address in the trusted list;(Notice:Return "0" does not mean the address is not trustworthy. Maybe we just haven't included it yet.)
	TrustList int32 `json:"trust_list,omitempty"`
}

ContractApproveResponse ContractApproveResponse

swagger:model ContractApproveResponse

func (*ContractApproveResponse) MarshalBinary

func (m *ContractApproveResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContractApproveResponse) UnmarshalBinary

func (m *ContractApproveResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContractApproveResponse) Validate

func (m *ContractApproveResponse) Validate(formats strfmt.Registry) error

Validate validates this contract approve response

type Contracts

type Contracts struct {

	// It describes the dAap's contract address.
	ContractAddress string `json:"contract_address,omitempty"`

	// It describes the creator address of the contract.
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the deployed time of the contract.The value is presented as a timestamp.
	// Example: "deployed_time": 1626578345
	DeploymentTime int64 `json:"deployment_time,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// It describes specific malicious behaviors of the contract.
	MaliciousBehavior []interface{} `json:"malicious_behavior"`

	// It describes whether the address is a suspected malicious contract.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this contract.(Notice:"malicious_contract" return "0" does not mean the address is completely safe. Maybe we just haven't found its malicious behavior.)
	MaliciousContract int32 `json:"malicious_contract,omitempty"`

	// It describes whether the creator is a suspected malicious address.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this address.(Notice:"malicious_creator" return "0" does not mean the address is completely safe. Maybe we just haven't found its malicious behavior.)
	MaliciousCreator int32 `json:"malicious_creator,omitempty"`

	// It describes specific malicious behaviors of the contract creator.
	MaliciousCreatorBehavior []interface{} `json:"malicious_creator_behavior"`
}

Contracts Contracts

swagger:model Contracts

func (*Contracts) MarshalBinary

func (m *Contracts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Contracts) UnmarshalBinary

func (m *Contracts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Contracts) Validate

func (m *Contracts) Validate(formats strfmt.Registry) error

Validate validates this contracts

type ContractsSecurity

type ContractsSecurity struct {

	// It describes the chains that contracts are deployed on;"1" means Ethereum;
	// "25" means Cronos;
	// "56" means BSC;
	// "128" means HECO;
	// "137" means Polygon;
	// "250" means Fantom;
	// "42161" means Arbitrum;
	// "43114" means Avalanche.
	ChainID string `json:"chain_id,omitempty"`

	// contract info
	Contracts []*Contracts `json:"contracts"`
}

ContractsSecurity ContractsSecurity

swagger:model ContractsSecurity

func (*ContractsSecurity) MarshalBinary

func (m *ContractsSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContractsSecurity) UnmarshalBinary

func (m *ContractsSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContractsSecurity) Validate

func (m *ContractsSecurity) Validate(formats strfmt.Registry) error

Validate validates this contracts security

type DappContractSecurityResponse

type DappContractSecurityResponse struct {

	// audit info(Notice:When the dApp was not audited, ("is_audit"=0), it will return "null".If there are multiple audit reports, the information of the latest audit report is displayed.)
	AuditInfo []*AuditInfo `json:"audit_info"`

	// contracts security
	ContractsSecurity []*ContractsSecurity `json:"contracts_security"`

	// It describes whether the dApp was audited by a reputable audit firm.
	// "1" means true;
	// "0" means that we have not found audit information for this dApp .(Notice:Return "0" does not mean the dApp was not audited. Maybe we just haven't found audit information for this dApp yet.)
	IsAudit int32 `json:"is_audit,omitempty"`

	// It describes the dApp project name.
	ProjectName string `json:"project_name,omitempty"`

	// It describes whether the dapp is a famous and trustworthy one. "1" means true;
	// "0" means that this dapp is not yet in our trusted list.(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy dapp.
	// (2) "0" return doesn't mean it is risky.)
	TrustList int32 `json:"trust_list,omitempty"`

	// It describes the dApp's website link.
	URL string `json:"url,omitempty"`
}

DappContractSecurityResponse DappContractSecurityResponse

swagger:model DappContractSecurityResponse

func (*DappContractSecurityResponse) MarshalBinary

func (m *DappContractSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DappContractSecurityResponse) UnmarshalBinary

func (m *DappContractSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DappContractSecurityResponse) Validate

func (m *DappContractSecurityResponse) Validate(formats strfmt.Registry) error

Validate validates this dapp contract security response

type GetAccessTokenRequest

type GetAccessTokenRequest struct {

	// app_key
	// Required: true
	AppKey *string `json:"app_key"`

	// Sign Method
	// Concatenate app_key, time, app_secret in turn, and do sha1() .
	// Example
	// app_key = mBOMg20QW11BbtyH4Zh0
	// time = 1647847498
	// app_secret = V6aRfxlPJwN3ViJSIFSCdxPvneajuJsh
	// sign = sha1(mBOMg20QW11BbtyH4Zh01647847498V6aRfxlPJwN3ViJSIFSCdxPvneajuJsh)
	//        = 7293d385b9225b3c3f232b76ba97255d0e21063e
	// Required: true
	Sign *string `json:"sign"`

	// Quest timestamp (Second), should be within +-1000s around current timestamp
	// Required: true
	Time *int64 `json:"time"`
}

GetAccessTokenRequest GetAccessTokenRequest

swagger:model GetAccessTokenRequest

func (*GetAccessTokenRequest) MarshalBinary

func (m *GetAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessTokenRequest) UnmarshalBinary

func (m *GetAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessTokenRequest) Validate

func (m *GetAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this get access token request

type GetAccessTokenResponse

type GetAccessTokenResponse struct {

	// access_token
	AccessToken string `json:"access_token,omitempty"`

	// expires_in
	ExpiresIn int64 `json:"expires_in,omitempty"`
}

GetAccessTokenResponse GetAccessTokenResponse

swagger:model GetAccessTokenResponse

func (*GetAccessTokenResponse) MarshalBinary

func (m *GetAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessTokenResponse) UnmarshalBinary

func (m *GetAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessTokenResponse) Validate

func (m *GetAccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this get access token response

type GetDefiInfoResponse

type GetDefiInfoResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *GetDefiInfoResponseResult `json:"result,omitempty"`
}

GetDefiInfoResponse GetDefiInfoResponse

swagger:model GetDefiInfoResponse

func (*GetDefiInfoResponse) MarshalBinary

func (m *GetDefiInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponse) UnmarshalBinary

func (m *GetDefiInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponse) Validate

func (m *GetDefiInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this get defi info response

type GetDefiInfoResponseResult

type GetDefiInfoResponseResult struct {

	// It describes whether the owner can spend the allowance that obtained by the contract. If so, this function could potentially be abused to steal user assets.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	ApprovalAbuse int32 `json:"approval_abuse,omitempty"`

	// It describes whether the contract has blacklist function that would block user from withdrawing their assets.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	Blacklist int32 `json:"blacklist,omitempty"`

	// Name of the contract.
	ContractName string `json:"contract_name,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// It describes whether this contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	IsProxy int32 `json:"is_proxy,omitempty"`

	// owner
	Owner *GetDefiInfoResponseResultOwner `json:"owner,omitempty"`

	// It descirbes whether the contract owner can withdraw all the assets in the contract, without uses' permission.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	PrivilegeWithdraw int32 `json:"privilege_withdraw,omitempty"`

	// It describes whether this contract can self destruct.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	Selfdestruct int32 `json:"selfdestruct,omitempty"`

	// It describes whether the contract lacks withdrawal method. If it is missing, users will be unable to withdraw the assets they have putted in.
	// "1" means true;
	// "0" means false;
	// "-1" means unknown.
	WithdrawMissing int32 `json:"withdraw_missing,omitempty"`
}

GetDefiInfoResponseResult Response result

swagger:model GetDefiInfoResponseResult

func (*GetDefiInfoResponseResult) MarshalBinary

func (m *GetDefiInfoResponseResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponseResult) UnmarshalBinary

func (m *GetDefiInfoResponseResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponseResult) Validate

func (m *GetDefiInfoResponseResult) Validate(formats strfmt.Registry) error

Validate validates this get defi info response result

type GetDefiInfoResponseResultOwner

type GetDefiInfoResponseResultOwner struct {

	// owner address of the contract.
	// No return means unknown.
	OwnerAddress string `json:"owner_address,omitempty"`

	// the function name of ownership.
	// If there is no return, means unknown.
	OwnerName string `json:"owner_name,omitempty"`

	// 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.
	// No return means unknown.
	OwnerType string `json:"owner_type,omitempty"`
}

GetDefiInfoResponseResultOwner When there is no owner function, or the ownership is unreadable or private, it would return empty. "owner": { }

swagger:model GetDefiInfoResponseResultOwner

func (*GetDefiInfoResponseResultOwner) MarshalBinary

func (m *GetDefiInfoResponseResultOwner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefiInfoResponseResultOwner) UnmarshalBinary

func (m *GetDefiInfoResponseResultOwner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefiInfoResponseResultOwner) Validate

func (m *GetDefiInfoResponseResultOwner) Validate(formats strfmt.Registry) error

Validate validates this get defi info response result owner

type JSONObject

type JSONObject map[string]interface{}

JSONObject JSONObject

swagger:model JSONObject

func (JSONObject) Validate

func (m JSONObject) Validate(formats strfmt.Registry) error

Validate validates this JSON object

type MapStringString

type MapStringString map[string]string

MapStringString MapStringString

swagger:model MapStringString

func (MapStringString) Validate

func (m MapStringString) Validate(formats strfmt.Registry) error

Validate validates this map string string

type ParseAbiDataRequest

type ParseAbiDataRequest struct {

	// Chain id, (ETH: 1, Cronos:25, BSC: 56, Heco: 128, Polygon: 137, Fantom:250, KCC: 321, Arbitrum: 42161, Avalanche: 43114)
	// Required: true
	ChainID *string `json:"chain_id"`

	// Carrying the signer and contract address will help to decode more information.
	ContractAddress string `json:"contract_address,omitempty"`

	// Transaction input
	// Required: true
	Data *string `json:"data"`

	// input info
	Input map[string]interface{} `json:"input,omitempty"`

	// Carrying the signer and contract address will help to decode more information.
	Signer string `json:"signer,omitempty"`

	// Transaction type
	// Enum: [common eth_signTypedData_v4 personal_sign eth_sign]
	TranscationType string `json:"transcation_type,omitempty"`
}

ParseAbiDataRequest ParseAbiDataRequest

swagger:model ParseAbiDataRequest

func (*ParseAbiDataRequest) MarshalBinary

func (m *ParseAbiDataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ParseAbiDataRequest) UnmarshalBinary

func (m *ParseAbiDataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ParseAbiDataRequest) Validate

func (m *ParseAbiDataRequest) Validate(formats strfmt.Registry) error

Validate validates this parse abi data request

type ParseAbiDataResponse

type ParseAbiDataResponse struct {

	// Description of the contract.
	ContractDescription string `json:"contract_description,omitempty"`

	// The name of the contract that the user is interacting with.
	ContractName string `json:"contract_name,omitempty"`

	// It tells if contract that the user is interacting with is malicious contract.
	MaliciousContract int32 `json:"malicious_contract,omitempty"`

	// It describes the method name in ABI, for example "transfer".
	Method string `json:"method,omitempty"`

	// It describes the parameter info
	Params []*AbiParamInfo `json:"params"`

	// 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.)
	Risk string `json:"risk,omitempty"`

	// 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.)
	RiskySignature int32 `json:"risky_signature,omitempty"`

	// It explain the function of the method
	SignatureDetail string `json:"signature_detail,omitempty"`
}

ParseAbiDataResponse ParseAbiDataResponse

swagger:model ParseAbiDataResponse

func (*ParseAbiDataResponse) MarshalBinary

func (m *ParseAbiDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ParseAbiDataResponse) UnmarshalBinary

func (m *ParseAbiDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ParseAbiDataResponse) Validate

func (m *ParseAbiDataResponse) Validate(formats strfmt.Registry) error

Validate validates this parse abi data response

type ResponseWrapperAddressContract

type ResponseWrapperAddressContract struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperAddressContractResult `json:"result,omitempty"`
}

ResponseWrapperAddressContract ResponseWrapperAddressContract

swagger:model ResponseWrapperAddressContract

func (*ResponseWrapperAddressContract) MarshalBinary

func (m *ResponseWrapperAddressContract) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperAddressContract) UnmarshalBinary

func (m *ResponseWrapperAddressContract) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperAddressContract) Validate

func (m *ResponseWrapperAddressContract) Validate(formats strfmt.Registry) error

Validate validates this response wrapper address contract

type ResponseWrapperAddressContractResult

type ResponseWrapperAddressContractResult struct {

	// It describes whether this address is suspected of malicious behavior.
	// "1" means true;
	// "0" means false.
	BlacklistDoubt string `json:"blacklist_doubt,omitempty"`

	// It describes whether this address has implemented blackmail activities.
	// "1" means true;
	// "0" means false.
	BlackmailActivities string `json:"blackmail_activities,omitempty"`

	// It describes whether this address is a contract address.
	// "1" means true;
	// "0" means false.(Notice:If only the address is sent to the API and not the chain id, the "contract_address" will not be returned (This is because there are cases where the same address is a contract in one public chain but not in other public chains.) Determining the contract address is achieved by calling a third-party blockchain browser interface. Since it takes time for the browser interface to return, the field may be empty on the first request.
	// Solution: the second call around 5s can return whether the address is the value of the contract normally.)
	ContractAddress string `json:"contract_address,omitempty"`

	// It describes whether this address is involved in cybercrime.
	// "1" means true;
	// "0" means false.
	Cybercrime string `json:"cybercrime,omitempty"`

	// It describes whether this address is involved in darkweb transactions.
	// "1" means true;
	// "0" means false.
	DarkwebTransactions string `json:"darkweb_transactions,omitempty"`

	// It describes the data source for this address information.
	// For example: GoPlus/SlowMist
	DataSource string `json:"data_source,omitempty"`

	// It describes whether this address is involved in fake KYC.
	// "1" means true;
	// "0" means false.
	FakeKyc string `json:"fake_kyc,omitempty"`

	// It describes whether this address is involved in financial crime.
	// "1" means true;
	// "0" means false.
	FinancialCrime string `json:"financial_crime,omitempty"`

	// It describes whether this address is related to honeypot tokens or has created scam tokens.
	// "1" means true;
	// "0" means false.(Notice:Addresses related to honeypot mean the creators or owners of the honeypot tokens.
	// This is a dangerous address if the address is ralated to honeypot tokens.)
	HoneypotRelatedAddress string `json:"honeypot_related_address,omitempty"`

	// It describes whether this address is involved in malicious mining activities.
	// "1" means true;
	// "0" means false.
	MaliciousMiningActivities string `json:"malicious_mining_activities,omitempty"`

	// It describes whether this address is coin mixer address.
	// "1" means true;
	// "0" means false.(Notice:Interacting with coin mixer may result in your address being added to the risk list of third-party institutions.)
	Mixer string `json:"mixer,omitempty"`

	// It describes whether this address is involved in money laundering.
	// "1" means true;
	// "0" means false.
	MoneyLaundering string `json:"money_laundering,omitempty"`

	// This parameter describes how many malicious contracts have been created by this address.
	NumberOfMaliciousContractsCreated string `json:"number_of_malicious_contracts_created,omitempty"`

	// It describes whether this address has implemented phishing activities.
	// "1" means true;
	// "0" means false.
	PhishingActivities string `json:"phishing_activities,omitempty"`

	// It describes whether this address is coin sanctioned address.
	// "1" means true;
	// "0" means false.
	Sanctioned string `json:"sanctioned,omitempty"`

	// It describes whether this address has implemented stealing attacks.
	// "1" means true;
	// "0" means false.
	StealingAttack string `json:"stealing_attack,omitempty"`
}

ResponseWrapperAddressContractResult Response result

swagger:model ResponseWrapperAddressContractResult

func (*ResponseWrapperAddressContractResult) MarshalBinary

func (m *ResponseWrapperAddressContractResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperAddressContractResult) UnmarshalBinary

func (m *ResponseWrapperAddressContractResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperAddressContractResult) Validate

Validate validates this response wrapper address contract result

type ResponseWrapperContractApproveResponse

type ResponseWrapperContractApproveResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *ContractApproveResponse `json:"result,omitempty"`
}

ResponseWrapperContractApproveResponse ResponseWrapperContractApproveResponse

swagger:model ResponseWrapperContractApproveResponse

func (*ResponseWrapperContractApproveResponse) MarshalBinary

func (m *ResponseWrapperContractApproveResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperContractApproveResponse) UnmarshalBinary

func (m *ResponseWrapperContractApproveResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperContractApproveResponse) Validate

Validate validates this response wrapper contract approve response

type ResponseWrapperDappContractSecurityResponse

type ResponseWrapperDappContractSecurityResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *DappContractSecurityResponse `json:"result,omitempty"`
}

ResponseWrapperDappContractSecurityResponse ResponseWrapperDappContractSecurityResponse

swagger:model ResponseWrapperDappContractSecurityResponse

func (*ResponseWrapperDappContractSecurityResponse) MarshalBinary

func (m *ResponseWrapperDappContractSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperDappContractSecurityResponse) UnmarshalBinary

func (m *ResponseWrapperDappContractSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperDappContractSecurityResponse) Validate

Validate validates this response wrapper dapp contract security response

type ResponseWrapperGetAccessTokenResponse

type ResponseWrapperGetAccessTokenResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *GetAccessTokenResponse `json:"result,omitempty"`
}

ResponseWrapperGetAccessTokenResponse ResponseWrapperGetAccessTokenResponse

swagger:model ResponseWrapperGetAccessTokenResponse

func (*ResponseWrapperGetAccessTokenResponse) MarshalBinary

func (m *ResponseWrapperGetAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetAccessTokenResponse) UnmarshalBinary

func (m *ResponseWrapperGetAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetAccessTokenResponse) Validate

Validate validates this response wrapper get access token response

type ResponseWrapperGetNftInfo

type ResponseWrapperGetNftInfo struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperGetNftInfoResult `json:"result,omitempty"`
}

ResponseWrapperGetNftInfo ResponseWrapperGetNftInfo

swagger:model ResponseWrapperGetNftInfo

func (*ResponseWrapperGetNftInfo) MarshalBinary

func (m *ResponseWrapperGetNftInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfo) UnmarshalBinary

func (m *ResponseWrapperGetNftInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfo) Validate

func (m *ResponseWrapperGetNftInfo) Validate(formats strfmt.Registry) error

Validate validates this response wrapper get nft info

type ResponseWrapperGetNftInfoResult

type ResponseWrapperGetNftInfoResult struct {

	// It describes the average price of the NFT in 24h.
	AveragePrice24h float64 `json:"average_price_24h,omitempty"`

	// It describes the number of blocks created for the NFT.
	// Return "null" means that we didn't find the number of blocks created for the NFT.
	CreateBlockNumber int64 `json:"create_block_number,omitempty"`

	// It describes the creator address of the NFT.
	// Example: "creator_address": "0x1ee0af784b96bb55ece98c9b15675726b0da1b6b";
	// Return "null" means that we didn't find the creator address.
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the discord url of the NFT.
	// Return "null" means there is no discord url or didn't find the discord url.
	DiscordURL string `json:"discord_url,omitempty"`

	// It describes the github url of the NFT.
	// Return "null" means there is no github url or didn't find the github url.
	GithubURL string `json:"github_url,omitempty"`

	// It describes the highest price of the NFT.
	HighestPrice float64 `json:"highest_price,omitempty"`

	// It describes the lowest price of the NFT in 24h.
	LowestPrice24h float64 `json:"lowest_price_24h,omitempty"`

	// It describes whether this NFT has performed malicious behaviors.
	// "1" means true;
	// "0" means false.(Notice:Malicious behaviors include random additions, blacklist abuse, falsified transactions, and other high-risk behaviors. Interacting with NFTs flagged as Malicious may contain a high level of risk)
	MaliciousNftContract int32 `json:"malicious_nft_contract,omitempty"`

	// It describes the medium url of the NFT.
	// Return "null" means there is no medium url or didn't find the medium url.
	MediumURL string `json:"medium_url,omitempty"`

	// metadata_frozen
	MetadataFrozen int32 `json:"metadata_frozen,omitempty"`

	// It describes the introduction of the NFT.
	// Return "null" means there is no description of the NFT.
	NftDescription string `json:"nft_description,omitempty"`

	// It describes the ERC protocol of the NFT.
	// Example: "nft_erc": "erc721"
	NftErc string `json:"nft_erc,omitempty"`

	// It describes the numbers of the NFT.
	NftItems int64 `json:"nft_items,omitempty"`

	// nft_name
	NftName string `json:"nft_name,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	NftOpenSource int32 `json:"nft_open_source,omitempty"`

	// It describes the holders of the NFT.
	NftOwnerNumber int64 `json:"nft_owner_number,omitempty"`

	// It describes whether this NFT contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:(1) When "is_open_source": "0", it will return "null".
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.)
	NftProxy int32 `json:"nft_proxy,omitempty"`

	// nft_symbol
	NftSymbol string `json:"nft_symbol,omitempty"`

	// It describes whether the NFT is verified.
	// "1" means that the NFT is verified;
	// "0" means that we did not find any information about whether the NFT is verified.
	NftVerified int32 `json:"nft_verified,omitempty"`

	// It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract - the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.)
	OversupplyMinting int32 `json:"oversupply_minting,omitempty"`

	// privileged burn
	PrivilegedBurn *ResponseWrapperGetNftInfoResultPrivilegedBurn `json:"privileged_burn,omitempty"`

	// privileged minting
	PrivilegedMinting *ResponseWrapperGetNftInfoResultPrivilegedMinting `json:"privileged_minting,omitempty"`

	// red check mark
	RedCheckMark int32 `json:"red_check_mark,omitempty"`

	// It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.)
	RestrictedApproval int32 `json:"restricted_approval,omitempty"`

	// It describes the sales of the NFT in 24h.
	Sales24h float64 `json:"sales_24h,omitempty"`

	// It describes the info of other NFTs with duplicate name and symbol.
	SameNfts []*ResponseWrapperGetNftInfoResultSameNftsItems0 `json:"same_nfts"`

	// self destruct
	SelfDestruct *ResponseWrapperGetNftInfoResultSelfDestruct `json:"self_destruct,omitempty"`

	// It describes the telegram url of the NFT.
	// Return "null" means there is no telegram url or didn't find the telegram url.
	TelegramURL string `json:"telegram_url,omitempty"`

	// token_id
	TokenID string `json:"token_id,omitempty"`

	// token_owner
	TokenOwner string `json:"token_owner,omitempty"`

	// It describes the total volume of the NFT.
	TotalVolume float64 `json:"total_volume,omitempty"`

	// It describes the trading volume of the NFT in 24h.
	TradedVolume24h float64 `json:"traded_volume_24h,omitempty"`

	// transfer without approval
	TransferWithoutApproval *ResponseWrapperGetNftInfoResultTransferWithoutApproval `json:"transfer_without_approval,omitempty"`

	// It describes whether the NFT is a famous and trustworthy one.
	// "1" means true;
	// Return "null" means no result.(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy NFT.
	// (2) Return "null" doesn't mean it is risky.Th)
	TrustList int32 `json:"trust_list,omitempty"`

	// It describes the twitter url of the NFT.
	// Return "null" means there is no twitter url or didn't find the twitter url.
	TwitterURL string `json:"twitter_url,omitempty"`

	// It describes the website url of the NFT.
	// Return "null" means there is no website url or didn't find the website url.
	WebsiteURL string `json:"website_url,omitempty"`
}

ResponseWrapperGetNftInfoResult Response result

swagger:model ResponseWrapperGetNftInfoResult

func (*ResponseWrapperGetNftInfoResult) MarshalBinary

func (m *ResponseWrapperGetNftInfoResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResult) UnmarshalBinary

func (m *ResponseWrapperGetNftInfoResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResult) Validate

Validate validates this response wrapper get nft info result

type ResponseWrapperGetNftInfoResultPrivilegedBurn

type ResponseWrapperGetNftInfoResultPrivilegedBurn struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultPrivilegedBurn It describes whether the NFT owner can burn others NFT.(Notice:Privileged_burn means that the owner can burn others' NFTs directly through the method.)

swagger:model ResponseWrapperGetNftInfoResultPrivilegedBurn

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedBurn) Validate

Validate validates this response wrapper get nft info result privileged burn

type ResponseWrapperGetNftInfoResultPrivilegedMinting

type ResponseWrapperGetNftInfoResultPrivilegedMinting struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultPrivilegedMinting It describes whether the NFT contract has minting methods which can only be triggered by an address with special privileges. (Notice:Some minting methods can only be triggered by an address with special privileges. Generally speaking, these are usually for the owner to mint.)

swagger:model ResponseWrapperGetNftInfoResultPrivilegedMinting

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultPrivilegedMinting) Validate

Validate validates this response wrapper get nft info result privileged minting

type ResponseWrapperGetNftInfoResultSameNftsItems0

type ResponseWrapperGetNftInfoResultSameNftsItems0 struct {

	// describes the number of blocks created for the NFT.
	// Return "null" means no NFTs with duplicate name and symbol.
	CreateBlockNumber int64 `json:"create_block_number,omitempty"`

	// It describes the address of the NFTs;
	NftAddress string `json:"nft_address,omitempty"`

	// It describes the name of the NFT;
	NftName string `json:"nft_name,omitempty"`

	// It describes the holders of the NFT;
	NftOwnerNumber int64 `json:"nft_owner_number,omitempty"`

	// It describes the symbol of the NFT;
	NftSymbol string `json:"nft_symbol,omitempty"`
}

ResponseWrapperGetNftInfoResultSameNftsItems0 response wrapper get nft info result same nfts items0

swagger:model ResponseWrapperGetNftInfoResultSameNftsItems0

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSameNftsItems0) Validate

Validate validates this response wrapper get nft info result same nfts items0

type ResponseWrapperGetNftInfoResultSelfDestruct

type ResponseWrapperGetNftInfoResultSelfDestruct struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultSelfDestruct { 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.)

swagger:model ResponseWrapperGetNftInfoResultSelfDestruct

func (*ResponseWrapperGetNftInfoResultSelfDestruct) MarshalBinary

func (m *ResponseWrapperGetNftInfoResultSelfDestruct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSelfDestruct) UnmarshalBinary

func (m *ResponseWrapperGetNftInfoResultSelfDestruct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultSelfDestruct) Validate

Validate validates this response wrapper get nft info result self destruct

type ResponseWrapperGetNftInfoResultTransferWithoutApproval

type ResponseWrapperGetNftInfoResultTransferWithoutApproval struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperGetNftInfoResultTransferWithoutApproval It describes whether the NFT owner can transfer NFT without approval.(Notice:Transfer_without_approval generally means the scammer does not need to get approvals to transfer another address's NFT. One typical example is sleep_minting. Sleep_minting means that the scammer will first add the NFT to a well-known wallet address and then retrieve the NFT. After the value of the NFT has appreciated , it will be put back on the market.)

swagger:model ResponseWrapperGetNftInfoResultTransferWithoutApproval

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperGetNftInfoResultTransferWithoutApproval) Validate

Validate validates this response wrapper get nft info result transfer without approval

type ResponseWrapperJSONObject

type ResponseWrapperJSONObject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]interface{} `json:"result,omitempty"`
}

ResponseWrapperJSONObject ResponseWrapperJSONObject

swagger:model ResponseWrapperJSONObject

func (*ResponseWrapperJSONObject) MarshalBinary

func (m *ResponseWrapperJSONObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperJSONObject) UnmarshalBinary

func (m *ResponseWrapperJSONObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperJSONObject) Validate

func (m *ResponseWrapperJSONObject) Validate(formats strfmt.Registry) error

Validate validates this response wrapper JSON object

type ResponseWrapperListApproveNFT1155ListResponse

type ResponseWrapperListApproveNFT1155ListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveNFT1155ListResponse `json:"result"`
}

ResponseWrapperListApproveNFT1155ListResponse ResponseWrapperListApproveNFT1155ListResponse

swagger:model ResponseWrapperListApproveNFT1155ListResponse

func (*ResponseWrapperListApproveNFT1155ListResponse) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListApproveNFT1155ListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveNFT1155ListResponse) Validate

Validate validates this response wrapper list approve n f t1155 list response

type ResponseWrapperListApproveNFTListResponse

type ResponseWrapperListApproveNFTListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveNFTListResponse `json:"result"`
}

ResponseWrapperListApproveNFTListResponse ResponseWrapperListApproveNFTListResponse

swagger:model ResponseWrapperListApproveNFTListResponse

func (*ResponseWrapperListApproveNFTListResponse) MarshalBinary

func (m *ResponseWrapperListApproveNFTListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListApproveNFTListResponse) UnmarshalBinary

func (m *ResponseWrapperListApproveNFTListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveNFTListResponse) Validate

Validate validates this response wrapper list approve n f t list response

type ResponseWrapperListApproveTokenOutListResponse

type ResponseWrapperListApproveTokenOutListResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ApproveTokenOutListResponse `json:"result"`
}

ResponseWrapperListApproveTokenOutListResponse ResponseWrapperListApproveTokenOutListResponse

swagger:model ResponseWrapperListApproveTokenOutListResponse

func (*ResponseWrapperListApproveTokenOutListResponse) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListApproveTokenOutListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListApproveTokenOutListResponse) Validate

Validate validates this response wrapper list approve token out list response

type ResponseWrapperListGetChainsList

type ResponseWrapperListGetChainsList struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []*ResponseWrapperListGetChainsListResultItems0 `json:"result"`
}

ResponseWrapperListGetChainsList ResponseWrapperListGetChainsList

swagger:model ResponseWrapperListGetChainsList

func (*ResponseWrapperListGetChainsList) MarshalBinary

func (m *ResponseWrapperListGetChainsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListGetChainsList) UnmarshalBinary

func (m *ResponseWrapperListGetChainsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListGetChainsList) Validate

Validate validates this response wrapper list get chains list

type ResponseWrapperListGetChainsListResultItems0

type ResponseWrapperListGetChainsListResultItems0 struct {

	// chain id
	ID string `json:"id,omitempty"`

	// chain name
	Name string `json:"name,omitempty"`
}

ResponseWrapperListGetChainsListResultItems0 response wrapper list get chains list result items0

swagger:model ResponseWrapperListGetChainsListResultItems0

func (*ResponseWrapperListGetChainsListResultItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperListGetChainsListResultItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperListGetChainsListResultItems0) Validate

Validate validates this response wrapper list get chains list result items0

type ResponseWrapperListJSONObject

type ResponseWrapperListJSONObject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result []JSONObject `json:"result"`
}

ResponseWrapperListJSONObject ResponseWrapperListJSONObject

swagger:model ResponseWrapperListJSONObject

func (*ResponseWrapperListJSONObject) MarshalBinary

func (m *ResponseWrapperListJSONObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperListJSONObject) UnmarshalBinary

func (m *ResponseWrapperListJSONObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperListJSONObject) Validate

func (m *ResponseWrapperListJSONObject) Validate(formats strfmt.Registry) error

Validate validates this response wrapper list JSON object

type ResponseWrapperMapStringString

type ResponseWrapperMapStringString struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]string `json:"result,omitempty"`
}

ResponseWrapperMapStringString ResponseWrapperMapStringString

swagger:model ResponseWrapperMapStringString

func (*ResponseWrapperMapStringString) MarshalBinary

func (m *ResponseWrapperMapStringString) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperMapStringString) UnmarshalBinary

func (m *ResponseWrapperMapStringString) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperMapStringString) Validate

func (m *ResponseWrapperMapStringString) Validate(formats strfmt.Registry) error

Validate validates this response wrapper map string string

type ResponseWrapperParseAbiDataResponse

type ResponseWrapperParseAbiDataResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *ParseAbiDataResponse `json:"result,omitempty"`
}

ResponseWrapperParseAbiDataResponse ResponseWrapperParseAbiDataResponse

swagger:model ResponseWrapperParseAbiDataResponse

func (*ResponseWrapperParseAbiDataResponse) MarshalBinary

func (m *ResponseWrapperParseAbiDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperParseAbiDataResponse) UnmarshalBinary

func (m *ResponseWrapperParseAbiDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperParseAbiDataResponse) Validate

Validate validates this response wrapper parse abi data response

type ResponseWrapperPhishingSite

type ResponseWrapperPhishingSite struct {

	// Code 1:Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// result
	Result *ResponseWrapperPhishingSiteResult `json:"result,omitempty"`
}

ResponseWrapperPhishingSite ResponseWrapperPhishingSite

swagger:model ResponseWrapperPhishingSite

func (*ResponseWrapperPhishingSite) MarshalBinary

func (m *ResponseWrapperPhishingSite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSite) UnmarshalBinary

func (m *ResponseWrapperPhishingSite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSite) Validate

func (m *ResponseWrapperPhishingSite) Validate(formats strfmt.Registry) error

Validate validates this response wrapper phishing site

type ResponseWrapperPhishingSiteResult

type ResponseWrapperPhishingSiteResult struct {

	// It means whether the website is a phishing site.
	// "1" means true;
	// "0" means that we have not found malicious behavior of this website.
	PhishingSite int32 `json:"phishing_site,omitempty"`

	// website contract security
	WebsiteContractSecurity []*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 `json:"website_contract_security"`
}

ResponseWrapperPhishingSiteResult Response result

swagger:model ResponseWrapperPhishingSiteResult

func (*ResponseWrapperPhishingSiteResult) MarshalBinary

func (m *ResponseWrapperPhishingSiteResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResult) UnmarshalBinary

func (m *ResponseWrapperPhishingSiteResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResult) Validate

Validate validates this response wrapper phishing site result

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 struct {

	// address risk
	AddressRisk []string `json:"address_risk"`

	// contract address
	Contract string `json:"contract,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	IsOpenSource int32 `json:"is_open_source,omitempty"`

	// nft risk
	NftRisk *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk `json:"nft_risk,omitempty"`

	// contract type(erc20, erc721, erc1155)
	Standard string `json:"standard,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0 response wrapper phishing site result website contract security items0

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk struct {

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	NftOpenSource int32 `json:"nft_open_source,omitempty"`

	// It describes whether this NFT contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:(1) When "is_open_source":"0", it will return "null".
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.)
	NftProxy int32 `json:"nft_proxy,omitempty"`

	// It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract - the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.)
	OversupplyMinting int32 `json:"oversupply_minting,omitempty"`

	// privileged burn
	PrivilegedBurn *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn `json:"privileged_burn,omitempty"`

	// privileged minting
	PrivilegedMinting *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting `json:"privileged_minting,omitempty"`

	// It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX.
	// "1" means true;
	// "0" means false;
	// "Null" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.)
	RestrictedApproval int32 `json:"restricted_approval,omitempty"`

	// self destruct
	SelfDestruct *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct `json:"self_destruct,omitempty"`

	// transfer without approval
	TransferWithoutApproval *ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval `json:"transfer_without_approval,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk nft check risk

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRisk) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn It describes whether the NFT owner can burn others NFT.(Notice:Privileged_burn means that the owner can burn others' NFTs directly through the method.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedBurn) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk privileged burn

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting It describes whether the NFT contract has minting methods which can only be triggered by an address with special privileges. (Notice:Some minting methods can only be triggered by an address with special privileges. Generally speaking, these are usually for the owner to mint.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskPrivilegedMinting) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk privileged minting

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct { 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.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskSelfDestruct) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk self destruct

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval added in v1.2.3

type ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval struct {

	// Owner_address describes the owner address.
	// null: the owner address cannot be fetched.
	OwnerAddress string `json:"owner_address,omitempty"`

	// "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.
	OwnerType string `json:"owner_type,omitempty"`

	// 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.
	//
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval It describes whether the NFT owner can transfer NFT without approval.(Notice:Transfer_without_approval generally means the scammer does not need to get approvals to transfer another address's NFT. One typical example is sleep_minting. Sleep_minting means that the scammer will first add the NFT to a well-known wallet address and then retrieve the NFT. After the value of the NFT has appreciated , it will be put back on the market.)

swagger:model ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) MarshalBinary added in v1.2.3

MarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) UnmarshalBinary added in v1.2.3

UnmarshalBinary interface implementation

func (*ResponseWrapperPhishingSiteResultWebsiteContractSecurityItems0NftRiskTransferWithoutApproval) Validate added in v1.2.3

Validate validates this response wrapper phishing site result website contract security items0 nft risk transfer without approval

type ResponseWrapperTaTokenSecurityResponse

type ResponseWrapperTaTokenSecurityResponse struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result *TaTokenSecurityResponse `json:"result,omitempty"`
}

ResponseWrapperTaTokenSecurityResponse ResponseWrapperTaTokenSecurityResponse

swagger:model ResponseWrapperTaTokenSecurityResponse

func (*ResponseWrapperTaTokenSecurityResponse) MarshalBinary

func (m *ResponseWrapperTaTokenSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTaTokenSecurityResponse) UnmarshalBinary

func (m *ResponseWrapperTaTokenSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTaTokenSecurityResponse) Validate

Validate validates this response wrapper ta token security response

type ResponseWrapperTokenSecurity

type ResponseWrapperTokenSecurity struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result map[string]ResponseWrapperTokenSecurityResultAnon `json:"result,omitempty"`
}

ResponseWrapperTokenSecurity ResponseWrapperTokenSecurity

swagger:model ResponseWrapperTokenSecurity

func (*ResponseWrapperTokenSecurity) MarshalBinary

func (m *ResponseWrapperTokenSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurity) UnmarshalBinary

func (m *ResponseWrapperTokenSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurity) Validate

func (m *ResponseWrapperTokenSecurity) Validate(formats strfmt.Registry) error

Validate validates this response wrapper token security

type ResponseWrapperTokenSecurityResultAnon

type ResponseWrapperTokenSecurityResultAnon struct {

	// It describes whether the contract has the function to modify the maximum amount of transactions or the maximum token position.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3)When the anti whale value is set to a very small value, all tradinge would fail.)
	AntiWhaleModifiable string `json:"anti_whale_modifiable,omitempty"`

	// It describes the tax when buying the token.
	// Example: "buy_tax": 0.1%.
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) Buy tax will cause the actual value received when buying a token to be less than expected, and too much buy tax may lead to heavy losses.
	// (3) When "buy_tax": "1", it means buy tax is 100% or cannot buy.
	// (4) Sometimes token's anti-bot mechanism would affect our sandbox system, leading to "cannoy_buy": "1",  causing the display of "buy_tax": "1".
	// (5)Some of the token is deisgned not for sale, leading to "cannot_buy":1, causing the display of "buy_tax": "1".)
	BuyTax string `json:"buy_tax,omitempty"`

	// It describes whether this contract has the function to take back ownership.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklsit, etc.
	// When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.)
	CanTakeBackOwnership string `json:"can_take_back_ownership,omitempty"`

	// It deiscribes whether the Token can be bought.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) Generally, "cannot_buy": "1" would be found in Reward Tokens. Such Tokens are issued as rewards for some on-chain applications and cannot be bought directly by users.
	// (2) Sometimes token's anti-bot mechanism would affect our sandbox system, causing the display of "buy_tax": "1".
	// (3) When "cannot_buy": "1", our sandbox system might be bloked, causing the display of "buy_tax": "1" and "sell_tax": "1")
	CannotBuy string `json:"cannot_buy,omitempty"`

	// It describes whether the contract has the function restricting token holder selling all the token.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) This feature means that you will not be able to sell all your tokens in a single sale. Sometimes you need to leave a certain percentage of the token, e.g. 10%, sometimes you need to leave a fixed number of token, such as 10 token.
	// (3) When "buy_tax": "1", there will be no return.)
	CannotSellAll string `json:"cannot_sell_all,omitempty"`

	// It describes this contract's owner address.
	// Example: "creator_address": "0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5";
	CreatorAddress string `json:"creator_address,omitempty"`

	// It describes the balance of the contract owner.
	// Example:"owner_balance": 100000000.
	CreatorBalance string `json:"creator_balance,omitempty"`

	// It describes the percentage of tokens held by the contract owner. Example:"owner_balance": 0.1.(Notice:1 means 100% here.)
	CreatorPercent string `json:"creator_percent,omitempty"`

	// It describes Dex information of where the token that can be traded.(Notice:When "is_in_dex": "0", there will be empty array. )
	Dex []*ResponseWrapperTokenSecurityResultAnonDexItems0 `json:"dex"`

	// It describes whether the contract would call functions of other contracts when primary methods are executed.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) External call would cause the implementation of this contract to be highly dependent on other external contracts, which may be a potential risk.)
	ExternalCall string `json:"external_call,omitempty"`

	// fake token
	FakeToken *ResponseWrapperTokenSecurityResultAnonFakeToken `json:"fake_token,omitempty"`

	// It describes whether the contract has hidden owners. For contract with a hidden owner, developer can still manipulate the contract even if the ownership has been abandoned.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Hidden owner is often used by developers to hide ownership and is often accompanied by malicious functionality. When the hidden owner exists, it is assumed that ownership has not been abandoned.)
	HiddenOwner string `json:"hidden_owner,omitempty"`

	// It describes the number of token holders.
	// Example:"holder_count": "4342"
	HolderCount string `json:"holder_count,omitempty"`

	// Top10 holders info
	Holders []*ResponseWrapperTokenSecurityResultAnonHoldersItems0 `json:"holders"`

	// It describes the number of honeypot tokens created by this creator.
	HoneypotWithSameCreator string `json:"honeypot_with_same_creator,omitempty"`

	// It describes whether the token is an airdrop scam.
	// "1" means true;
	// "0" means false;
	// None means no result (Because We did not find conclusive information on whether token is an airdrop scam).(Notice:Only "is_airdrop_scam": "1" means it is an airdrop scam.)
	IsAirdropScam string `json:"is_airdrop_scam,omitempty"`

	// It describes whether the contract has the function to limit the maximum amount of transactions or the maximum token position that for single address.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return. )
	IsAntiWhale string `json:"is_anti_whale,omitempty"`

	// It describes whether the blacklist function is not included in the contract. If there is a blacklist, some addresses may not be able to trade normally.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0",  there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) The contract owner may add any address into the blacklist, and the token holder in blacklist will not be able to trade. Abuse of the blacklist function will lead to great risks.
	// (4) For contracts without an owner (or the owner is a black hole address), the blacklist will not be able to get updated. However, the existing blacklist is still in effect.)
	IsBlacklisted string `json:"is_blacklisted,omitempty"`

	// It describes whether the token is a honeypot. "HoneyPot" means that the token maybe cannot be sold because of the token contract's function, Or the token contains malicious code.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Hight risk, definitely scam.)
	IsHoneypot string `json:"is_honeypot,omitempty"`

	// It describes whether the token can be traded on the main Dex.
	// "1" means true;
	// "0" means false(Notice:It only counts when the token has a marketing pair with mainstream coins/tokens.)
	IsInDex string `json:"is_in_dex,omitempty"`

	// It describes whether this contract has the function to mint tokens.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Mint function will directly trigger a massive sell-off, causing the coin price to plummet. It is extremely risky.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	IsMintable string `json:"is_mintable,omitempty"`

	// It describes whether this contract is open source.
	// "1" means true;
	// "0" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.)
	IsOpenSource string `json:"is_open_source,omitempty"`

	// It describes whether this contract has a proxy contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk. When the contract is a Proxy, we will stop detecting other risk items.)
	IsProxy string `json:"is_proxy,omitempty"`

	// It describes whether the token is true or fake.
	// "1" means true token;
	// "0" means fake token;
	// None means no result (Because we did not find decisive information about the truth or falsity)(Notice:Only "is_true_token": "0" means it is a fake token.)
	IsTrueToken string `json:"is_true_token,omitempty"`

	// It describes whether the whitelist function is not included in the contract. If there is a whitelist, some addresses may not be able to trade normally.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Whitelisting is mostly used to allow specific addresses to make early transactions, tax-free, and not affected by transaction suspension.
	// (4) For contracts without an owner (or the owner is a black hole address), the whitelist will not be able to get updated. However, the existing whitelist is still in effect.)
	IsWhitelisted string `json:"is_whitelisted,omitempty"`

	// It describes the number of LP token holders.
	// Example:"lp_holder_count": "4342".
	// No return means no LP.(Notice:When "is_in_dex": "0", there will be no return.)
	LpHolderCount string `json:"lp_holder_count,omitempty"`

	// Top10 LP token holders info(Notice:When "is_in_dex": "0", there will be no return. )
	LpHolders []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 `json:"lp_holders"`

	// It describes the supply number of the LP token.
	// Example:"lp_total_supply": "100000000".
	// No return means no LP.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) It is LP token number, NOT token number)
	LpTotalSupply string `json:"lp_total_supply,omitempty"`

	// It describes whether the contract has other things investors need to know.
	// Example:
	// "note": "Contract owner is a multisign contract."(Notice:(1) If we haven't found any other thing which is valuable yet, there will be no return.
	// (2) Type: string.)
	Note string `json:"note,omitempty"`

	// It describes whether the contract has other potential risks.
	// Example:
	// "other_potential_risks": "Owner can set different transaction taxes for each user, which can trigger serious losses."(Notice:(1) If we haven't found any other potential risk yet, there will be no return.
	// (2) Type: string.)
	OtherPotentialRisks string `json:"other_potential_risks,omitempty"`

	// It describes this contract's owner address.
	// Example: "owner_address": "0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5";
	// No return means unknown; Return empty means there is no ownership or can't find ownership.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklist, etc.
	// When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.)
	OwnerAddress string `json:"owner_address,omitempty"`

	// It describes the balance of the contract owner.
	// Example: "owner_balance": "100000000".
	// No return or return empty means there is no ownership or can't find ownership.(Notice:When "owner_address" returns empty, or no return, there will be no return.)
	OwnerBalance string `json:"owner_balance,omitempty"`

	// It describes whether the contract owner has the authority to change the balance of any token holder.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Token with this feature means that the owner can modify anyone's balance, resulting in an asset straight to zero or a massive minting and sell-off.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	OwnerChangeBalance string `json:"owner_change_balance,omitempty"`

	// It describes the percentage of tokens held by the contract owner.
	// Example:"owner_balance": "0.1".
	// No return or return empty means there is no ownership or can't find ownership.(Notice:(1) 1 means 100% here.
	// (2) When "owner_address" returns empty, or no return, there will be no return.)
	OwnerPercent string `json:"owner_percent,omitempty"`

	// It describes whether the owner can set a different tax rate for every assigned address.
	// "1" means ture;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0",  there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) The contract owner may set a very outrageous tax rate for assigned address to block it from trading. Abuse of this funtcion will lead to great risks.
	// (4) For contracts without an owner (or the owner is a black hole address), this function would not able to be used. However, the existing tax rate would be still in effect.)
	PersonalSlippageModifiable string `json:"personal_slippage_modifiable,omitempty"`

	// It describes whether this contract can self destruct.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.)
	Selfdestruct string `json:"selfdestruct,omitempty"`

	// It describes the tax when selling the token.
	// Example: "sell_tax": 0.1%.
	// No return means unknown.(Notice:(1) When "is_in_dex": "0", there will be no return.
	// (2) Sell tax will cause the actual value received when selling a token to be less than expected, and too much buy tax may lead to large losses.
	// (3) When "sell_tax": "1", it means sell-tax is 100% or this token cannot be sold.
	// (4) Sometimes token's  trading-cool-down mechanism would affect our sandbox system. When "trading_cooldown": "1", "sell_tax" may return "1".)
	SellTax string `json:"sell_tax,omitempty"`

	// It describes whether the trading tax can be modifiable by token contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) Token with modifiable tax means that the contract owner can modify the buy tax or sell tax of the token. This may cause some losses, especially since some contracts have unlimited modifiable tax rates, which would make the token untradeable.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	SlippageModifiable string `json:"slippage_modifiable,omitempty"`

	// Token Name
	TokenName string `json:"token_name,omitempty"`

	// Token Symbol
	TokenSymbol string `json:"token_symbol,omitempty"`

	// It describes the supply number of the token.
	// Example:"total_supply": 100000000
	TotalSupply string `json:"total_supply,omitempty"`

	// It describes whether the contract has trading-cool-down mechanism which can limits the minimum time between two transactions.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return. )
	TradingCooldown string `json:"trading_cooldown,omitempty"`

	// It describes whether trading can be pausable by token contract.
	// "1" means true;
	// "0" means false;
	// No return means unknown.(Notice:(1) When "is_open_source": "0", there will be no return.
	// (2) Sometimes, when "is_proxy": "1", there will be no return.
	// (3) This feature means that the contract owner will be able to suspend trading at any time, after that anyone will not be able to sell, except those who have special authority.
	// (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.)
	TransferPausable string `json:"transfer_pausable,omitempty"`

	// It describes whether the token is a famous and trustworthy one. "1" means true; No return no result (Because We did not find conclusive information on whether token is a airdrop scam).(Notice:(1) Only "trust_list": "1" means it is a famous and trustworthy token.
	// (2) No return doesn't mean it is risky.)
	TrustList string `json:"trust_list,omitempty"`
}

ResponseWrapperTokenSecurityResultAnon key is contract address

swagger:model ResponseWrapperTokenSecurityResultAnon

func (*ResponseWrapperTokenSecurityResultAnon) MarshalBinary

func (m *ResponseWrapperTokenSecurityResultAnon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnon) UnmarshalBinary

func (m *ResponseWrapperTokenSecurityResultAnon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnon) Validate

Validate validates this response wrapper token security result anon

type ResponseWrapperTokenSecurityResultAnonDexItems0

type ResponseWrapperTokenSecurityResultAnonDexItems0 struct {

	// Liquidity is converted to USDT denomination.
	Liquidity string `json:"liquidity,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	//  It only counts when the token has a marketing pair with mainstream
	Pair string `json:"pair,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonDexItems0 response wrapper token security result anon dex items0

swagger:model ResponseWrapperTokenSecurityResultAnonDexItems0

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonDexItems0) Validate

Validate validates this response wrapper token security result anon dex items0

type ResponseWrapperTokenSecurityResultAnonFakeToken added in v1.2.2

type ResponseWrapperTokenSecurityResultAnonFakeToken struct {

	// If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas.
	TrueTokenAddress string `json:"true_token_address,omitempty"`

	// If the value is set to 1, and true_token_address is the address of the authentic mainstream asset that the token is imitating on this public chain. If there are multiple mainstream assets with the same name, they will be separated by commas.
	Value int32 `json:"value,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonFakeToken It indicates whether the token is a counterfeit of a mainstream asset. (If there is no evidence indicating that it is a counterfeit asset, there will be no return.)

swagger:model ResponseWrapperTokenSecurityResultAnonFakeToken

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) MarshalBinary added in v1.2.2

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) UnmarshalBinary added in v1.2.2

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonFakeToken) Validate added in v1.2.2

Validate validates this response wrapper token security result anon fake token

type ResponseWrapperTokenSecurityResultAnonHoldersItems0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0 struct {

	// It describes the holder address;
	Address string `json:"address,omitempty"`

	// It describes the balance of the holder.
	Balance string `json:"balance,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether the tokens owned by the holder are locked "1" means true; "0" means false;
	// (3) "tag" describes the address's public tag. Example:Burn (Notice:About "locked": We only support the token lock addresses or black hole addresses that we have included. )
	IsLocked int32 `json:"is_locked,omitempty"`

	// It is an array, decribes lock position info of this holder, only shows when "locked": 1. This Array may contain multiple objects for multiple locking info. (Notice:When "locked":0, or lock address is a black hole address,  "locked_detail" will be no return.)
	LockedDetail []*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 `json:"locked_detail"`

	// It  describes the percentage of tokens held by this holder (Notice:About "percent": 1 means 100% here.)
	Percent string `json:"percent,omitempty"`

	// It describes the address's public tag. Example:Burn Address/Deployer;
	Tag string `json:"tag,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonHoldersItems0 response wrapper token security result anon holders items0

swagger:model ResponseWrapperTokenSecurityResultAnonHoldersItems0

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0) Validate

Validate validates this response wrapper token security result anon holders items0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 added in v1.2.0

type ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 struct {

	// "amount" describes the number of token locked
	Amount string `json:"amount,omitempty"`

	// "end_time" describes when the token will be unlocked
	EndTime string `json:"end_time,omitempty"`

	// "opt_time" describes when the token was locked
	OptTime string `json:"opt_time,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0 response wrapper token security result anon holders items0 locked detail items0

swagger:model ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) MarshalBinary added in v1.2.0

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) UnmarshalBinary added in v1.2.0

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonHoldersItems0LockedDetailItems0) Validate added in v1.2.0

Validate validates this response wrapper token security result anon holders items0 locked detail items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 struct {

	// It is an array, decribes nft list
	NFTList []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 `json:"NFT_list"`

	// It describes the holder address;
	Address string `json:"address,omitempty"`

	// It describes the balance of the holder.
	Balance string `json:"balance,omitempty"`

	// It describes whether the holder is a contract "1" means true; "0" means false.
	IsContract int32 `json:"is_contract,omitempty"`

	// It describes whether the tokens owned by the holder are locked "1" means true; "0" means false;
	// (3) "tag" describes the address's public tag. Example:Burn (Notice:About "locked": We only support the token lock addresses or black hole addresses that we have included. )
	IsLocked int32 `json:"is_locked,omitempty"`

	// It is an array, decribes lock position info of this holder, only shows when "locked": 1. This Array may contain multiple objects for multiple locking info. (Notice:When "locked":0, or lock address is a black hole address,  "locked_detail" will be no return.)
	LockedDetail []*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 `json:"locked_detail"`

	// It  describes the percentage of tokens held by this holder (Notice:About "percent": 1 means 100% here.)
	Percent string `json:"percent,omitempty"`

	// It describes the address's public tag. Example:Burn Address/Deployer;
	Tag string `json:"tag,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0 response wrapper token security result anon lp holders items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) MarshalBinary

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0) Validate

Validate validates this response wrapper token security result anon lp holders items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 added in v1.2.0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 struct {

	// "amount" describes the number of token locked
	Amount string `json:"amount,omitempty"`

	// "end_time" describes when the token will be unlocked
	EndTime string `json:"end_time,omitempty"`

	// "opt_time" describes when the token was locked
	OptTime string `json:"opt_time,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0 response wrapper token security result anon lp holders items0 locked detail items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) MarshalBinary added in v1.2.0

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) UnmarshalBinary added in v1.2.0

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0LockedDetailItems0) Validate added in v1.2.0

Validate validates this response wrapper token security result anon lp holders items0 locked detail items0

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 added in v1.2.2

type ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 struct {

	// "NFT_id" is the NFTID corresponding to that NFT.
	NFTID string `json:"NFT_id,omitempty"`

	// "NFT_percentage" represents the proportion of that NFT in the total liquidity.
	// When the LP holder is a lockup address, this information will also appear in the "locked_detail" section.
	NFTPercentage string `json:"NFT_percentage,omitempty"`

	// "amount" is the liquidity quantity corresponding to the NFT.
	Amount string `json:"amount,omitempty"`

	// "in_effect" indicates whether the liquidity corresponding to that NFT is effective at the current price.
	InEffect string `json:"in_effect,omitempty"`

	// "value" is the total USD value corresponding to the NFT.
	Value string `json:"value,omitempty"`
}

ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0 response wrapper token security result anon lp holders items0 n f t list items0

swagger:model ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) MarshalBinary added in v1.2.2

MarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) UnmarshalBinary added in v1.2.2

UnmarshalBinary interface implementation

func (*ResponseWrapperTokenSecurityResultAnonLpHoldersItems0NFTListItems0) Validate added in v1.2.2

Validate validates this response wrapper token security result anon lp holders items0 n f t list items0

type ResponseWrapperobject

type ResponseWrapperobject struct {

	// Code 1: Success
	Code int32 `json:"code,omitempty"`

	// Response message
	Message string `json:"message,omitempty"`

	// Response result
	Result interface{} `json:"result,omitempty"`
}

ResponseWrapperobject ResponseWrapperobject

swagger:model ResponseWrapperobject

func (*ResponseWrapperobject) MarshalBinary

func (m *ResponseWrapperobject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseWrapperobject) UnmarshalBinary

func (m *ResponseWrapperobject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseWrapperobject) Validate

func (m *ResponseWrapperobject) Validate(formats strfmt.Registry) error

Validate validates this response wrapperobject

type TaTokenSecurityResponse

type TaTokenSecurityResponse struct {

	// data
	Data map[string]map[string]interface{} `json:"data,omitempty"`
}

TaTokenSecurityResponse TaTokenSecurityResponse

swagger:model TaTokenSecurityResponse

func (*TaTokenSecurityResponse) MarshalBinary

func (m *TaTokenSecurityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaTokenSecurityResponse) UnmarshalBinary

func (m *TaTokenSecurityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaTokenSecurityResponse) Validate

func (m *TaTokenSecurityResponse) Validate(formats strfmt.Registry) error

Validate validates this ta token security response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL