From 254f257dd0cb91aff807190a2b7ddb26ee40f4e9 Mon Sep 17 00:00:00 2001 From: modowilan <30989525+modowilan@users.noreply.github.com> Date: Tue, 23 Sep 2025 09:30:57 +0300 Subject: [PATCH] Create pfox_check.py --- pfox_check.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pfox_check.py diff --git a/pfox_check.py b/pfox_check.py new file mode 100644 index 0000000..bed0b59 --- /dev/null +++ b/pfox_check.py @@ -0,0 +1,27 @@ +from goplus.token import TokenSecurity + +API_KEY = "jYdGGVwATPY2JG7wUz4c" +MINT = "FLYZuFHSo9a2gtLYX3PddRnEKEDzDyXmrbmJz7FJU3AW" # Mint Address لـ PFOX + +result = TokenSecurity.spl(API_KEY, MINT) + +d = result.get("result", {}).get(MINT, {}) + +can_mint = d.get("can_mint") == "1" +can_freeze = d.get("can_freeze") == "1" +lp_locked = d.get("lp_locked") == "1" +buy_tax = d.get("buy_tax", "0") +sell_tax = d.get("sell_tax", "0") + +status = "Safe ✅" +if not lp_locked or can_mint or can_freeze: + status = "High Risk ❌" +elif buy_tax != "0" or sell_tax != "0": + status = "Caution ⚠️" + +print(f"PFOX Security Status: {status}") +print(f"Mint Authority : {'Active ❌' if can_mint else 'Revoked ✅'}") +print(f"Freeze Authority: {'Active ❌' if can_freeze else 'Revoked ✅'}") +print(f"Liquidity Locked: {'Yes ✅' if lp_locked else 'No ❌'}") +print(f"Buy Tax : {buy_tax}%") +print(f"Sell Tax : {sell_tax}%")