omnia_checkRugPull
Returns security details indicating whether the token can generate a Rug pull event or not.
Note: A rug pull event means a massive sell-off of the token by the first holders, often time by it's creators.
Parameters
DATA
, 20 Bytes - contractAddress. The contract address that is checked. REQUIRED
Returns
Object with following details:
Parameter
Description
Notice
owner
(1) owner_name
- the function name of ownership. (2) owner_address
- owner address of the contract.
(3) owner_type
- "blackhole" means the owner is a blackhole address; "contract" means the owner is a contract; "eoa" means the owner is a common address; "multi-address" means the owner is an array/list. null
means the address is not detected. No return means unknown.
When there is no owner function, or the ownership is unreadable or private, it would return empty.
privilege_withdraw
It describes whether the contract owner can withdraw all the assets in the contract, without users' permission. "1" means true; "0" means false; "-1" means unknown.
withdraw_missing
It describes whether the contract lacks a withdrawal method. If it is missing, users will be unable to withdraw the assets they have put in. "1" means true; "0" means false; "-1" means unknown.
is_open_source
It describes whether this contract is open source. "1" means true; "0" means false.
blacklist
It describes whether the contract has a blacklist function that would block users from withdrawing their assets. "1" means true; "0" means false; "-1" means unknown.
contract_name
Name of the contract.
selfdestruct
It describes whether this contract can self-destruct. "1" means true; "0" means false; "-1" means unknown.
approval_abuse
It describes whether the owner can spend the allowance 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.
is_proxy
It describes whether this contract has a proxy contract. "1" means true; "0" means false; "-1" means unknown.
Example
Request
Response
Last updated