{"eip":8376,"title":"Token Launch Abuse Detection and Remediation","description":"Attested detection of rug pulls and other deployer abuse, with escrowed proceeds enabling pro-rata refunds and bonded restitution.","authors":["Leigh Cronian (@cybercentry) \u003cleigh.cronian@cybercentry.co.uk\u003e","Chris Johnson \u003cchris@virtuals.io\u003e"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2026-08-07","requires":[20,165,214],"discussionsTo":"https://ethereum-magicians.org/t/erc-8376-token-launch-abuse-detection-and-remediation/29359","repo":"ERCs","label":"ERC-8376","officialUrl":"https://eips.ethereum.org/EIPS/eip-8376","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-8376.md","url":"https://eips.huatuo.xyz/eip-8376/","tldr":{"en":"A framework for launchpads to check bonded abuse reports on token deployers, show the score to buyers, escrow sale proceeds, and refund buyers pro rata if a rug-pull claim is upheld.","ja":"ローンチパッドが、トークンのデプロイヤーに関する担保付きの不正報告を確認し、そのスコアを購入者に表示し、販売代金をエスクローし、ラグプルの主張が認められた場合に購入者へ按分返金するためのフレームワーク。","ko":"런치패드가 토큰 배포자에 대한 보증금이 걸린 악용 신고를 확인하고, 점수를 구매자에게 보여 주고, 판매 대금을 에스크로하며, 러그풀 주장이 인정되면 구매자에게 비례 환불하는 프레임워크.","zh":"一个框架，供 launchpad 查看针对代币部署者的有保证金的滥用举报、向买家展示评分、托管销售所得，并在 rug-pull 指控成立时按比例向买家退款。"},"tags":["launchpad","rug-pull","escrow","refunds","security"],"explainers":{"en":{"lang":"en","tldr":"A framework for launchpads to check bonded abuse reports on token deployers, show the score to buyers, escrow sale proceeds, and refund buyers pro rata if a rug-pull claim is upheld.","tags":["launchpad","rug-pull","escrow","refunds","security"],"related":[20,165,214],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8376/","markdown":"## What problem does it solve?\n\nMany token buyers lose money not to market moves but to the person who launched the token: liquidity pulled after the raise, a hidden mint function, supply quietly given to the deployer's own wallets, a honeypot that blocks selling. The relevant facts are often visible on-chain, but nobody publishes them in a comparable form at the moment of purchase, sale proceeds settle instantly, and buyers have no recourse against a pseudonymous deployer.\n\nERC-8376 is addressed to the **venue** (launchpad, bonding curve or sale contract), which sits between deployer and buyer and records every purchase. It standardizes how to consult abuse detection before a sale, disclose it, hold proceeds for a while, and return money that has not yet left.\n\n## How it works\n\n- **Roles.** Deployer, buyer, venue, **detector** (publishes reports) and **adjudicator** (resolves contested claims).\n- **Detection.** A detector computes a versioned base vector of twelve signals about the *deployer's conduct*, such as supply share held, liquidity locked or removed, share of the raise withdrawn, privileged functions retained, and links to earlier upheld claims. Price decline and buyer losses are explicitly forbidden as scored signals. These map to eleven named patterns (`erc.launch.hard-rug`, `soft-rug`, `honeypot`, `mint-dilution`, and so on), and produce an `abuseScore` and a `confidence`, each 0-100, published as a **bonded** report with chain-verifiable evidence.\n- **Guard.** `ILaunchGuard.checkLaunch(launchId)` is a non-reverting `view` call returning a containment action, the score and the report ID. A failing guard must be treated as \"no action\", never as a reason to block purchases.\n- **Containment ladder.** Score and confidence together map to `None`, `Flag`, `ExtendSchedule`, `SuspendRelease` or `Freeze`. `Refund` is never automatic; it requires an upheld claim.\n- **Escrow.** Proceeds are released linearly (recommended over 30 days, at most 90), every purchase is recorded, and the remediation contract can freeze release during a claim.\n- **Remediation.** Deployers post a bond. A claim (score ≥ 61) freezes the launch; the deployer may contest (72 h recommended) or settle. If upheld, a refund pool of escrowed proceeds plus bond opens and buyers **pull** a share proportional to their net contribution (minus what they already got back by selling).\n- **Three conformance levels.** *Consumer* (call the guard and disclose; nothing deployed), *Detection* (adds a directory and report registry), *Full* (adds escrow and remediation, the only level that can refund).\n\n## Sample code\n\nA venue at consumer level consulting the guard safely before a purchase:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\nenum ContainmentAction { None, Flag, ExtendSchedule, SuspendRelease, Freeze, Refund }\n\ninterface ILaunchGuard {\n    function checkLaunch(bytes32 launchId)\n        external view returns (ContainmentAction action, uint8 abuseScore, bytes32 reportId);\n}\n\ncontract Venue {\n    ILaunchGuard public immutable guard;\n    event Disclosed(bytes32 indexed launchId, ContainmentAction action, uint8 score, bytes32 reportId);\n\n    constructor(ILaunchGuard g) { guard = g; }\n\n    function _consult(bytes32 launchId) internal returns (ContainmentAction action) {\n        // view call -\u003e STATICCALL; any failure is treated as None, never a revert\n        try guard.checkLaunch{gas: 100_000}(launchId) returns (ContainmentAction a, uint8 s, bytes32 r) {\n            emit Disclosed(launchId, a, s, r);\n            return a;\n        } catch {\n            return ContainmentAction.None; // present to the buyer as \"unknown\", not \"safe\"\n        }\n    }\n}\n```\n\n## Things to know\n\n- **Status: Draft.** The spec is long and still evolving; signal definitions, thresholds and interfaces may change.\n- It protects buyers only at venues that adopt it. Consumer and detection levels must not advertise refunds or \"protection\".\n- A missing report must be shown as unknown, never as safe. A score is a bonded claim by an accountable detector, not an established fact.\n- Taking a deployer's proceeds always requires adjudication with a right to contest. The adjudicator address is fixed on-chain, and conflicts of interest must be disclosed.\n- The venue itself is trusted and potentially conflicted; review its escrow and adjudication setup before relying on it.\n"},"ja":{"lang":"ja","tldr":"ローンチパッドが、トークンのデプロイヤーに関する担保付きの不正報告を確認し、そのスコアを購入者に表示し、販売代金をエスクローし、ラグプルの主張が認められた場合に購入者へ按分返金するためのフレームワーク。","tags":["launchpad","rug-pull","escrow","refunds","security"],"related":[20,165,214],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8376/","markdown":"## 何を解決するのか\n\n多くのトークン購入者が損をするのは、市場の値動きではなく、トークンをローンチした人物のせいです。資金調達後に流動性が引き抜かれる、隠された mint 関数、デプロイヤー自身のウォレットにひそかに供給量が渡る、売却を妨げるハニーポットなどです。関連する事実はオンチェーンで見えることが多いのに、購入の時点で比較可能な形で公開している人はおらず、販売代金は即座に決済され、購入者は匿名のデプロイヤーに対して何の救済手段も持ちません。\n\nERC-8376 が対象とするのは、デプロイヤーと購入者の間にあってすべての購入を記録する**ベニュー**（ローンチパッド、ボンディングカーブ、販売コントラクト）です。販売の前に不正検知を参照し、それを開示し、代金をしばらく保留し、まだ出ていっていない資金を返す方法を標準化します。\n\n## 仕組み\n\n- **ロール。** デプロイヤー、購入者、ベニュー、**ディテクター**（報告を公開）、**アジュディケーター**（争われた主張を裁定）。\n- **検知。** ディテクターは、*デプロイヤーの行動*に関する 12 個のシグナルからなるバージョン付きのベースベクトルを計算します。たとえば、保有する供給量の割合、ロックまたは引き抜かれた流動性、引き出された調達額の割合、保持された特権関数、過去に認められた主張へのリンクなどです。価格の下落と購入者の損失は、スコアに使うシグナルとして明示的に禁止されています。これらは 11 個の名前付きパターン（`erc.launch.hard-rug`、`soft-rug`、`honeypot`、`mint-dilution` など）に対応し、それぞれ 0〜100 の `abuseScore` と `confidence` を生成して、チェーン上で検証可能な証拠とともに**担保付き**の報告として公開されます。\n- **ガード。** `ILaunchGuard.checkLaunch(launchId)` は、revert しない `view` 呼び出しで、封じ込めアクション、スコア、報告 ID を返します。失敗したガードは「アクションなし」として扱わなければならず、購入をブロックする理由にしてはいけません。\n- **封じ込めのラダー。** スコアと信頼度を合わせて、`None`、`Flag`、`ExtendSchedule`、`SuspendRelease`、`Freeze` のいずれかに対応づけます。`Refund` は決して自動では行われず、認められた主張が必要です。\n- **エスクロー。** 代金は線形に放出され（30 日が推奨、最大 90 日）、すべての購入が記録され、救済コントラクトは主張の間、放出を凍結できます。\n- **救済。** デプロイヤーは担保を預けます。主張（スコア 61 以上）はローンチを凍結し、デプロイヤーは異議を申し立てる（72 時間を推奨）か、和解できます。認められた場合、エスクローされた代金と担保からなる返金プールが開き、購入者は純拠出額（売却ですでに戻った分を差し引いたもの）に比例した分を**プル**します。\n- **3 つの準拠レベル。** *Consumer*（ガードを呼び出して開示する。デプロイするものはなし）、*Detection*（ディレクトリと報告レジストリを追加）、*Full*（エスクローと救済を追加。返金できる唯一のレベル）。\n\n## サンプルコード\n\nConsumer レベルのベニューが、購入の前に安全にガードを参照する例:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\nenum ContainmentAction { None, Flag, ExtendSchedule, SuspendRelease, Freeze, Refund }\n\ninterface ILaunchGuard {\n    function checkLaunch(bytes32 launchId)\n        external view returns (ContainmentAction action, uint8 abuseScore, bytes32 reportId);\n}\n\ncontract Venue {\n    ILaunchGuard public immutable guard;\n    event Disclosed(bytes32 indexed launchId, ContainmentAction action, uint8 score, bytes32 reportId);\n\n    constructor(ILaunchGuard g) { guard = g; }\n\n    function _consult(bytes32 launchId) internal returns (ContainmentAction action) {\n        // view call -\u003e STATICCALL; any failure is treated as None, never a revert\n        try guard.checkLaunch{gas: 100_000}(launchId) returns (ContainmentAction a, uint8 s, bytes32 r) {\n            emit Disclosed(launchId, a, s, r);\n            return a;\n        } catch {\n            return ContainmentAction.None; // present to the buyer as \"unknown\", not \"safe\"\n        }\n    }\n}\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** 仕様は長く、今も進化中です。シグナルの定義、しきい値、インターフェースは変わる可能性があります。\n- 保護されるのは、これを採用したベニューの購入者だけです。Consumer と Detection のレベルは、返金や「保護」を宣伝してはいけません。\n- 報告がない場合は「不明」として表示しなければならず、「安全」としてはいけません。スコアは、責任を負うディテクターによる担保付きの主張であり、確立した事実ではありません。\n- デプロイヤーの代金を取り上げるには、異議申し立ての権利を伴う裁定が常に必要です。アジュディケーターのアドレスはオンチェーンで固定され、利益相反は開示されなければなりません。\n- ベニュー自体は信頼され、利益相反の可能性もあります。頼る前に、そのエスクローと裁定の設定を確認してください。\n"},"ko":{"lang":"ko","tldr":"런치패드가 토큰 배포자에 대한 보증금이 걸린 악용 신고를 확인하고, 점수를 구매자에게 보여 주고, 판매 대금을 에스크로하며, 러그풀 주장이 인정되면 구매자에게 비례 환불하는 프레임워크.","tags":["launchpad","rug-pull","escrow","refunds","security"],"related":[20,165,214],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8376/","markdown":"## 어떤 문제를 해결하나요?\n\n많은 토큰 구매자가 돈을 잃는 이유는 시장 움직임이 아니라 토큰을 런칭한 사람 때문입니다. 모금 뒤에 유동성을 빼 가거나, 숨겨진 mint 함수, 배포자 본인 지갑으로 몰래 넘어간 공급량, 매도를 막는 허니팟 같은 경우입니다. 관련 사실은 온체인에서 보이는 경우가 많지만, 구매 시점에 비교 가능한 형태로 공개하는 사람은 없고, 판매 대금은 즉시 정산되며, 구매자는 익명의 배포자에게 구제를 청구할 수단이 없습니다.\n\nERC-8376은 배포자와 구매자 사이에 있으면서 모든 구매를 기록하는 **베뉴**(런치패드, 본딩 커브, 판매 컨트랙트)를 대상으로 합니다. 판매 전에 악용 탐지를 조회하고, 이를 공개하고, 대금을 한동안 보유하고, 아직 나가지 않은 돈을 돌려주는 방법을 표준화합니다.\n\n## 어떻게 동작하나요?\n\n- **역할.** 배포자, 구매자, 베뉴, **디텍터**(리포트 게시), **판정자**(분쟁이 된 주장 판정).\n- **탐지.** 디텍터는 *배포자의 행동*에 관한 12개 신호로 이루어진 버전 있는 기본 벡터를 계산합니다. 예를 들어 보유한 공급량 비율, 잠겼거나 빠져나간 유동성, 인출된 모금액 비율, 유지된 특권 함수, 이전에 인정된 주장에 대한 링크 등입니다. 가격 하락과 구매자 손실은 점수에 쓰는 신호로 명시적으로 금지됩니다. 이 신호들은 11개의 이름 붙은 패턴(`erc.launch.hard-rug`, `soft-rug`, `honeypot`, `mint-dilution` 등)에 대응하며, 각각 0-100인 `abuseScore`와 `confidence`를 만들어 체인에서 검증 가능한 증거와 함께 **보증금이 걸린** 리포트로 게시됩니다.\n- **가드.** `ILaunchGuard.checkLaunch(launchId)`는 revert하지 않는 `view` 호출로 봉쇄 조치, 점수, 리포트 ID를 반환합니다. 실패한 가드는 \"조치 없음\"으로 취급해야 하며, 구매를 막는 이유로 써서는 안 됩니다.\n- **봉쇄 단계.** 점수와 신뢰도를 합쳐 `None`, `Flag`, `ExtendSchedule`, `SuspendRelease`, `Freeze` 중 하나에 대응시킵니다. `Refund`는 자동으로 일어나지 않으며 인정된 주장이 필요합니다.\n- **에스크로.** 대금은 선형으로 방출되고(30일 권장, 최대 90일), 모든 구매가 기록되며, 구제 컨트랙트는 주장이 진행되는 동안 방출을 동결할 수 있습니다.\n- **구제.** 배포자는 보증금을 예치합니다. 주장(점수 61 이상)은 런칭을 동결하고, 배포자는 이의를 제기(72시간 권장)하거나 합의할 수 있습니다. 인정되면 에스크로된 대금과 보증금으로 환불 풀이 열리고, 구매자는 순기여분(이미 매도로 돌려받은 만큼은 제외)에 비례하는 몫을 **직접 가져갑니다(pull)**.\n- **세 가지 적합성 수준.** *Consumer*(가드를 호출하고 공개. 배포할 것 없음), *Detection*(디렉터리와 리포트 레지스트리 추가), *Full*(에스크로와 구제 추가. 환불할 수 있는 유일한 수준).\n\n## 샘플 코드\n\nConsumer 수준의 베뉴가 구매 전에 가드를 안전하게 조회하는 예:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\nenum ContainmentAction { None, Flag, ExtendSchedule, SuspendRelease, Freeze, Refund }\n\ninterface ILaunchGuard {\n    function checkLaunch(bytes32 launchId)\n        external view returns (ContainmentAction action, uint8 abuseScore, bytes32 reportId);\n}\n\ncontract Venue {\n    ILaunchGuard public immutable guard;\n    event Disclosed(bytes32 indexed launchId, ContainmentAction action, uint8 score, bytes32 reportId);\n\n    constructor(ILaunchGuard g) { guard = g; }\n\n    function _consult(bytes32 launchId) internal returns (ContainmentAction action) {\n        // view call -\u003e STATICCALL; any failure is treated as None, never a revert\n        try guard.checkLaunch{gas: 100_000}(launchId) returns (ContainmentAction a, uint8 s, bytes32 r) {\n            emit Disclosed(launchId, a, s, r);\n            return a;\n        } catch {\n            return ContainmentAction.None; // present to the buyer as \"unknown\", not \"safe\"\n        }\n    }\n}\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 스펙은 길고 아직 발전하고 있습니다. 신호 정의, 임계값, 인터페이스는 바뀔 수 있습니다.\n- 이를 채택한 베뉴에서만 구매자를 보호합니다. Consumer와 Detection 수준은 환불이나 \"보호\"를 내세워서는 안 됩니다.\n- 리포트가 없으면 안전이 아니라 알 수 없음으로 표시해야 합니다. 점수는 책임을 지는 디텍터가 보증금을 걸고 하는 주장이지 확립된 사실이 아닙니다.\n- 배포자의 대금을 가져가려면 항상 이의 제기권이 있는 판정이 필요합니다. 판정자 주소는 온체인에 고정되며, 이해 상충은 공개되어야 합니다.\n- 베뉴 자체는 신뢰의 대상이며 이해 상충이 있을 수도 있습니다. 의존하기 전에 에스크로와 판정 설정을 검토하세요.\n"},"zh":{"lang":"zh","tldr":"一个框架，供 launchpad 查看针对代币部署者的有保证金的滥用举报、向买家展示评分、托管销售所得，并在 rug-pull 指控成立时按比例向买家退款。","tags":["launchpad","rug-pull","escrow","refunds","security"],"related":[20,165,214],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8376/","markdown":"## 它解决什么问题？\n\n许多代币买家亏钱，并不是因为市场波动，而是因为发行代币的人：募资后撤走流动性、隐藏的 mint 函数、供应量被悄悄转给部署者自己的钱包、阻止卖出的蜜罐。相关事实往往在链上可见，但在购买的那一刻没有人以可比较的形式公布它们，销售所得即时结算，买家对匿名的部署者也无从追索。\n\nERC-8376 面向的是**场所（venue）**（launchpad、联合曲线或销售合约），它位于部署者与买家之间，并记录每一笔购买。它标准化了如何在销售前查询滥用检测、披露结果、将所得暂时托管一段时间，以及退还尚未转出的资金。\n\n## 它如何运作\n\n- **角色。** 部署者、买家、场所、**检测者**（发布报告）和**裁决者**（裁决有争议的指控）。\n- **检测。** 检测者针对*部署者的行为*计算一个带版本的、包含十二个信号的基础向量，例如持有的供应份额、被锁定或撤走的流动性、被提走的募资比例、保留的特权函数，以及指向此前已成立指控的链接。价格下跌和买家损失被明确禁止作为评分信号。这些信号对应十一种命名模式（`erc.launch.hard-rug`、`soft-rug`、`honeypot`、`mint-dilution` 等），并产生各为 0-100 的 `abuseScore` 和 `confidence`，作为带保证金的报告连同可在链上验证的证据一起发布。\n- **Guard。** `ILaunchGuard.checkLaunch(launchId)` 是一个不会 revert 的 `view` 调用，返回遏制动作、评分和报告 ID。失败的 guard 必须被视为“不采取行动”，绝不能成为阻止购买的理由。\n- **遏制阶梯。** 评分与置信度共同映射到 `None`、`Flag`、`ExtendSchedule`、`SuspendRelease` 或 `Freeze`。`Refund` 绝不会自动触发；它需要一项成立的指控。\n- **托管。** 所得线性释放（建议 30 天，最长 90 天），每笔购买都被记录，补救合约可以在指控期间冻结释放。\n- **补救。** 部署者缴纳保证金。一项指控（评分 ≥ 61）会冻结该发行；部署者可以提出异议（建议 72 小时）或和解。若指控成立，就会开启一个由托管所得加保证金组成的退款池，买家按其净投入（减去已通过卖出收回的部分）**拉取**相应比例的份额。\n- **三个合规级别。** *Consumer*（调用 guard 并披露；无需部署任何东西）、*Detection*（增加目录和报告注册表）、*Full*（增加托管和补救，是唯一能够退款的级别）。\n\n## 示例代码\n\nConsumer 级别的场所在购买前安全地查询 guard：\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\nenum ContainmentAction { None, Flag, ExtendSchedule, SuspendRelease, Freeze, Refund }\n\ninterface ILaunchGuard {\n    function checkLaunch(bytes32 launchId)\n        external view returns (ContainmentAction action, uint8 abuseScore, bytes32 reportId);\n}\n\ncontract Venue {\n    ILaunchGuard public immutable guard;\n    event Disclosed(bytes32 indexed launchId, ContainmentAction action, uint8 score, bytes32 reportId);\n\n    constructor(ILaunchGuard g) { guard = g; }\n\n    function _consult(bytes32 launchId) internal returns (ContainmentAction action) {\n        // view call -\u003e STATICCALL; any failure is treated as None, never a revert\n        try guard.checkLaunch{gas: 100_000}(launchId) returns (ContainmentAction a, uint8 s, bytes32 r) {\n            emit Disclosed(launchId, a, s, r);\n            return a;\n        } catch {\n            return ContainmentAction.None; // present to the buyer as \"unknown\", not \"safe\"\n        }\n    }\n}\n```\n\n## 需要注意\n\n- **状态：Draft。** 规范篇幅很长且仍在演进；信号定义、阈值和接口都可能改变。\n- 它只在采用它的场所保护买家。Consumer 和 Detection 级别不得宣传退款或“保护”。\n- 缺少报告必须显示为未知，绝不能显示为安全。评分是由有问责的检测者给出的、带保证金的主张，而不是既定事实。\n- 动用部署者的所得始终需要有异议权的裁决。裁决者地址在链上固定，利益冲突必须披露。\n- 场所本身是被信任的，也可能存在利益冲突；在依赖它之前，请审查其托管和裁决的设置。\n"}}}
