G
G
Go+ Security API
Search…
⌃K

Contract Security

Method: GET
Request Headers
Parameters
Type
Required
Description
Authorization
String
False
Carrying Token obtained through Get Access Token

Response Parameters

Security items
Parameter
Description
Notice
Open Source
is_open_source
It describes whether this contract is open source.
"1" means true;
"0" means false.
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.
Proxy Contract
is_proxy
It describes whether this contract has a proxy contract. "1" means true;
"0" means false;
No return means unknown.
(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.
Mint Function
is_mintable
It describes whether this contract has the function to mint tokens.
"1" means true;
"0" means false;
No return means unknown.
(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.
Owner Address
owner_address
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.
(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.
Take back Ownership
can_take_back_ownership
It describes whether this contract has the function to take back ownership.
"1" means true;
"0" means false;
No return means unknown.
(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.
Owner Can Change Balance
owner_change_balance
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.
(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.
With hidden owner
hidden_owner
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.
(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.
Self-destruct
selfdestruct
It describes whether this contract can self destruct.
"1" means true;
"0" means false;
No return means unknown.
(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.
With external call
external_call
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.
(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.