{"eip":7750,"title":"Decentralized Employment System","description":"An employment system that records employment history.","authors":["James Savechives (@jamesavechives) \u003cjames.walstonn@gmail.com\u003e"],"status":"Review","type":"Standards Track","category":"ERC","created":"2024-08-04","discussionsTo":"https://ethereum-magicians.org/t/erc-7750-decentralized-employment-system-des/20724","repo":"ERCs","label":"ERC-7750","officialUrl":"https://eips.ethereum.org/EIPS/eip-7750","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7750.md","url":"https://eips.huatuo.xyz/eip-7750/","tldr":{"en":"Proposes a standard contract interface for on-chain employment: company registration, soulbound employee tokens, labor contracts with salary escrow, disputes and reviews.","ja":"オンチェーン雇用のための標準コントラクトインターフェースを提案する。企業登録、譲渡不可の従業員トークン、給与エスクロー付きの労働契約、紛争、レビューを扱う。","ko":"온체인 고용을 위한 표준 컨트랙트 인터페이스를 제안한다. 회사 등록, 양도 불가 직원 토큰, 급여 에스크로가 있는 근로 계약, 분쟁, 리뷰를 다룬다.","zh":"提议一个链上雇佣的标准合约接口：公司注册、灵魂绑定的员工代币、带薪资托管的劳动合同、争议和评价。"},"tags":["employment","soulbound","escrow","reputation","erc"],"explainers":{"en":{"lang":"en","tldr":"Proposes a standard contract interface for on-chain employment: company registration, soulbound employee tokens, labor contracts with salary escrow, disputes and reviews.","tags":["employment","soulbound","escrow","reputation","erc"],"related":[5192,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7750/","markdown":"## What problem does it solve?\n\nEmployment records, contracts and payment guarantees normally live in private, centralized systems. The authors of ERC-7750 argue that putting the employment lifecycle on-chain would make records verifiable and tamper-resistant, and make salary payment conditional on contract terms rather than on trust.\n\nThe proposal defines one interface, `IDecentralizedEmploymentSystem`, so that tools built for one implementation work with others.\n\n## How it works\n\nThe interface groups functions by lifecycle stage:\n\n| Stage | Functions | Notes |\n| --- | --- | --- |\n| Company | `registerCompany`, `getCompany` | Caller becomes the company owner |\n| Employee | `mintEmployeeToken`, `getEmploymentHistory` | Employee is represented by a non-transferable (soulbound) token; details live off-chain at a `metadataURI` |\n| Contract | `createContract`, `executeContract` | Salary, duration (in months), responsibilities and termination conditions; becomes active once both parties confirm |\n| Payment | `depositSalary` (payable), `releaseSalary` | Company funds an escrow; salary is released per the schedule or at completion |\n| Dispute | `raiseDispute`, `resolveDispute` | Either party can raise; an assigned moderator decides for or against the employee, which moves the escrow |\n| Termination | `terminateContract` | Company ends the contract with a stated reason |\n| Reviews | `submitReview`, `getReviews` | Both sides can leave a rating and comment per contract |\n\nEach step emits an event (`CompanyRegistered`, `ContractCreated`, `SalaryDeposited`, `DisputeResolved`, and so on). Employment history is the list of contract IDs attached to the employee token and is publicly readable.\n\n## Sample code\n\nTypical flow from a company's point of view (ethers v6, against any implementation of the interface):\n\n```ts\nimport { Contract, parseEther } from \"ethers\";\n\nconst des = new Contract(DES_ADDRESS, [\n  \"function registerCompany(string,string) returns (uint256)\",\n  \"function createContract(uint256,uint256,uint256,uint256,string,string) returns (uint256)\",\n  \"function executeContract(uint256)\",\n  \"function depositSalary(uint256) payable\",\n  \"function getEmploymentHistory(uint256) view returns (uint256[])\",\n], companySigner);\n\nconst companyId = await des.registerCompany.staticCall(\"Example Co\", \"Software\");\nawait (await des.registerCompany(\"Example Co\", \"Software\")).wait();\n\nconst salary = parseEther(\"1\");\nconst contractId = await des.createContract.staticCall(\n  companyId, employeeTokenId, salary, 6, \"Backend development\", \"Per agreement\",\n);\nawait (await des.createContract(companyId, employeeTokenId, salary, 6,\n  \"Backend development\", \"Per agreement\")).wait();\n\nawait (await des.executeContract(contractId)).wait();          // employee confirms too\nawait (await des.depositSalary(contractId, { value: salary })).wait();\n```\n\n## Things to know\n\n- **Status: Review.** The interface may still change, and it leaves important details to implementers: how moderators are chosen, how payment schedules work, and whether salaries are paid in ETH or [ERC-20](/eip-20/) tokens.\n- Everything written to a public chain is permanent and visible to anyone. Contract terms, termination reasons and review comments stored on-chain cannot be deleted. Keep personal data off-chain and consider privacy and employment law before deploying anything like this; get legal review.\n- Soulbound tokens follow the same idea as [ERC-5192](/eip-5192/): the token cannot be transferred, so the record stays tied to one address. Losing that key means losing control of the record.\n- The spec flags review fraud and moderator trust as open risks; only reviews tied to real, completed contracts should count.\n"},"ja":{"lang":"ja","tldr":"オンチェーン雇用のための標準コントラクトインターフェースを提案する。企業登録、譲渡不可の従業員トークン、給与エスクロー付きの労働契約、紛争、レビューを扱う。","tags":["employment","soulbound","escrow","reputation","erc"],"related":[5192,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7750/","markdown":"## 何を解決するのか\n\n雇用記録、契約、支払いの保証は、通常、非公開の中央集権的なシステムの中にあります。ERC-7750 の著者らは、雇用のライフサイクルをオンチェーンに載せれば、記録を検証可能で改ざん耐性のあるものにでき、給与の支払いを信頼ではなく契約条件に基づくものにできると主張しています。\n\nこの提案は `IDecentralizedEmploymentSystem` というインターフェースを 1 つ定義し、ある実装向けに作られたツールが他の実装でも動くようにします。\n\n## 仕組み\n\nこのインターフェースは、ライフサイクルの段階ごとに関数をまとめています。\n\n| 段階 | 関数 | 備考 |\n| --- | --- | --- |\n| 企業 | `registerCompany`, `getCompany` | 呼び出し元が企業のオーナーになる |\n| 従業員 | `mintEmployeeToken`, `getEmploymentHistory` | 従業員は譲渡不可（soulbound）のトークンで表現される。詳細は `metadataURI` のオフチェーンにある |\n| 契約 | `createContract`, `executeContract` | 給与、期間（月数）、職務、解約条件。双方が確認すると有効になる |\n| 支払い | `depositSalary`（payable）, `releaseSalary` | 企業がエスクローに資金を預け、給与はスケジュールに従って、または完了時に支払われる |\n| 紛争 | `raiseDispute`, `resolveDispute` | どちらの当事者も申し立てられる。任命されたモデレーターが従業員に有利か不利かを決定し、エスクローが動く |\n| 終了 | `terminateContract` | 企業が理由を示して契約を終了する |\n| レビュー | `submitReview`, `getReviews` | 双方が契約ごとに評価とコメントを残せる |\n\n各ステップはイベント（`CompanyRegistered`、`ContractCreated`、`SalaryDeposited`、`DisputeResolved` など）を発行します。雇用履歴は従業員トークンに紐づく契約 ID のリストで、誰でも読めます。\n\n## サンプルコード\n\n企業側から見た典型的な流れ（ethers v6、このインターフェースの任意の実装に対して）:\n\n```ts\nimport { Contract, parseEther } from \"ethers\";\n\nconst des = new Contract(DES_ADDRESS, [\n  \"function registerCompany(string,string) returns (uint256)\",\n  \"function createContract(uint256,uint256,uint256,uint256,string,string) returns (uint256)\",\n  \"function executeContract(uint256)\",\n  \"function depositSalary(uint256) payable\",\n  \"function getEmploymentHistory(uint256) view returns (uint256[])\",\n], companySigner);\n\nconst companyId = await des.registerCompany.staticCall(\"Example Co\", \"Software\");\nawait (await des.registerCompany(\"Example Co\", \"Software\")).wait();\n\nconst salary = parseEther(\"1\");\nconst contractId = await des.createContract.staticCall(\n  companyId, employeeTokenId, salary, 6, \"Backend development\", \"Per agreement\",\n);\nawait (await des.createContract(companyId, employeeTokenId, salary, 6,\n  \"Backend development\", \"Per agreement\")).wait();\n\nawait (await des.executeContract(contractId)).wait();          // employee confirms too\nawait (await des.depositSalary(contractId, { value: salary })).wait();\n```\n\n## 知っておくべきこと\n\n- **ステータス: Review。** インターフェースはまだ変わる可能性があり、重要な詳細を実装者に委ねています。モデレーターの選び方、支払いスケジュールの仕組み、給与が ETH で支払われるのか [ERC-20](/eip-20/) トークンで支払われるのか、などです。\n- パブリックチェーンに書き込まれたものはすべて永続的で、誰にでも見えます。オンチェーンに保存された契約条件、終了理由、レビューコメントは削除できません。個人データはオフチェーンに置き、このようなものをデプロイする前にプライバシーと労働法を検討し、法務レビューを受けてください。\n- Soulbound トークンは [ERC-5192](/eip-5192/) と同じ考え方です。トークンは譲渡できないので、記録は 1 つのアドレスに紐づいたままになります。その鍵を失えば、記録の管理権も失います。\n- 仕様は、レビューの不正とモデレーターへの信頼をオープンなリスクとして挙げています。実際に完了した契約に紐づくレビューだけをカウントすべきです。\n"},"ko":{"lang":"ko","tldr":"온체인 고용을 위한 표준 컨트랙트 인터페이스를 제안한다. 회사 등록, 양도 불가 직원 토큰, 급여 에스크로가 있는 근로 계약, 분쟁, 리뷰를 다룬다.","tags":["employment","soulbound","escrow","reputation","erc"],"related":[5192,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7750/","markdown":"## 어떤 문제를 해결하나요?\n\n고용 기록, 계약, 지급 보장은 보통 비공개 중앙화 시스템에 있습니다. ERC-7750의 저자들은 고용 생명주기를 온체인에 올리면 기록을 검증 가능하고 위변조에 강하게 만들 수 있으며, 급여 지급을 신뢰가 아닌 계약 조건에 따르게 할 수 있다고 주장합니다.\n\n이 제안은 `IDecentralizedEmploymentSystem`이라는 인터페이스 하나를 정의하여, 한 구현을 위해 만든 도구가 다른 구현에서도 동작하게 합니다.\n\n## 어떻게 동작하나요?\n\n인터페이스는 생명주기 단계별로 함수를 묶습니다.\n\n| 단계 | 함수 | 비고 |\n| --- | --- | --- |\n| 회사 | `registerCompany`, `getCompany` | 호출자가 회사 소유자가 됨 |\n| 직원 | `mintEmployeeToken`, `getEmploymentHistory` | 직원은 양도 불가(soulbound) 토큰으로 표현되며, 세부 정보는 오프체인의 `metadataURI`에 있음 |\n| 계약 | `createContract`, `executeContract` | 급여, 기간(개월), 업무, 해지 조건. 양측이 확인하면 활성화됨 |\n| 지급 | `depositSalary`(payable), `releaseSalary` | 회사가 에스크로에 자금을 넣고, 급여는 일정에 따라 또는 완료 시 지급됨 |\n| 분쟁 | `raiseDispute`, `resolveDispute` | 어느 쪽이든 제기할 수 있음. 지정된 중재자가 직원에게 유리한지 불리한지 결정하고, 그에 따라 에스크로가 이동함 |\n| 종료 | `terminateContract` | 회사가 사유를 밝히고 계약을 종료함 |\n| 리뷰 | `submitReview`, `getReviews` | 양측이 계약별로 평점과 코멘트를 남길 수 있음 |\n\n각 단계는 이벤트(`CompanyRegistered`, `ContractCreated`, `SalaryDeposited`, `DisputeResolved` 등)를 발생시킵니다. 고용 이력은 직원 토큰에 연결된 계약 ID 목록이며 누구나 읽을 수 있습니다.\n\n## 샘플 코드\n\n회사 관점에서의 일반적인 흐름(ethers v6, 이 인터페이스의 임의 구현에 대해):\n\n```ts\nimport { Contract, parseEther } from \"ethers\";\n\nconst des = new Contract(DES_ADDRESS, [\n  \"function registerCompany(string,string) returns (uint256)\",\n  \"function createContract(uint256,uint256,uint256,uint256,string,string) returns (uint256)\",\n  \"function executeContract(uint256)\",\n  \"function depositSalary(uint256) payable\",\n  \"function getEmploymentHistory(uint256) view returns (uint256[])\",\n], companySigner);\n\nconst companyId = await des.registerCompany.staticCall(\"Example Co\", \"Software\");\nawait (await des.registerCompany(\"Example Co\", \"Software\")).wait();\n\nconst salary = parseEther(\"1\");\nconst contractId = await des.createContract.staticCall(\n  companyId, employeeTokenId, salary, 6, \"Backend development\", \"Per agreement\",\n);\nawait (await des.createContract(companyId, employeeTokenId, salary, 6,\n  \"Backend development\", \"Per agreement\")).wait();\n\nawait (await des.executeContract(contractId)).wait();          // employee confirms too\nawait (await des.depositSalary(contractId, { value: salary })).wait();\n```\n\n## 알아둘 점\n\n- **상태: Review.** 인터페이스는 아직 바뀔 수 있으며, 중요한 세부 사항을 구현자에게 맡깁니다. 중재자를 어떻게 선택하는지, 지급 일정이 어떻게 동작하는지, 급여를 ETH로 지급하는지 [ERC-20](/eip-20/) 토큰으로 지급하는지 등입니다.\n- 퍼블릭 체인에 기록된 모든 것은 영구적이며 누구나 볼 수 있습니다. 온체인에 저장된 계약 조건, 종료 사유, 리뷰 코멘트는 삭제할 수 없습니다. 개인 데이터는 오프체인에 두고, 이와 같은 것을 배포하기 전에 개인정보 보호와 노동법을 검토하고 법률 검토를 받으세요.\n- Soulbound 토큰은 [ERC-5192](/eip-5192/)와 같은 발상입니다. 토큰을 전송할 수 없으므로 기록이 하나의 주소에 묶여 있습니다. 그 키를 잃으면 기록에 대한 통제권도 잃습니다.\n- 명세는 리뷰 조작과 중재자에 대한 신뢰를 해결되지 않은 위험으로 지적합니다. 실제로 완료된 계약에 연결된 리뷰만 인정해야 합니다.\n"},"zh":{"lang":"zh","tldr":"提议一个链上雇佣的标准合约接口：公司注册、灵魂绑定的员工代币、带薪资托管的劳动合同、争议和评价。","tags":["employment","soulbound","escrow","reputation","erc"],"related":[5192,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7750/","markdown":"## 它解决什么问题？\n\n雇佣记录、合同和付款保障通常存放在私有的中心化系统中。ERC-7750 的作者认为，把雇佣生命周期放到链上，可以让记录可验证、防篡改，并让薪资支付取决于合同条款，而不是依赖信任。\n\n该提案定义了一个接口 `IDecentralizedEmploymentSystem`，使为某个实现构建的工具可以与其他实现配合使用。\n\n## 它如何运作\n\n接口按生命周期阶段对函数分组：\n\n| 阶段 | 函数 | 说明 |\n| --- | --- | --- |\n| 公司 | `registerCompany`, `getCompany` | 调用者成为公司所有者 |\n| 员工 | `mintEmployeeToken`, `getEmploymentHistory` | 员工由不可转让（soulbound）的代币表示；详细信息存放在链下的 `metadataURI` |\n| 合同 | `createContract`, `executeContract` | 薪资、期限（以月计）、职责和终止条件；双方确认后生效 |\n| 支付 | `depositSalary`（payable）, `releaseSalary` | 公司向托管存入资金；薪资按计划或在完成时释放 |\n| 争议 | `raiseDispute`, `resolveDispute` | 任一方都可以发起；由指派的仲裁者裁决偏向员工或不偏向员工，托管资金随之转移 |\n| 终止 | `terminateContract` | 公司说明理由后终止合同 |\n| 评价 | `submitReview`, `getReviews` | 双方都可以针对每份合同留下评分和评论 |\n\n每一步都会触发事件（`CompanyRegistered`、`ContractCreated`、`SalaryDeposited`、`DisputeResolved` 等）。雇佣历史就是附着在员工代币上的合同 ID 列表，任何人都可以读取。\n\n## 示例代码\n\n公司视角的典型流程（ethers v6，针对该接口的任意实现）：\n\n```ts\nimport { Contract, parseEther } from \"ethers\";\n\nconst des = new Contract(DES_ADDRESS, [\n  \"function registerCompany(string,string) returns (uint256)\",\n  \"function createContract(uint256,uint256,uint256,uint256,string,string) returns (uint256)\",\n  \"function executeContract(uint256)\",\n  \"function depositSalary(uint256) payable\",\n  \"function getEmploymentHistory(uint256) view returns (uint256[])\",\n], companySigner);\n\nconst companyId = await des.registerCompany.staticCall(\"Example Co\", \"Software\");\nawait (await des.registerCompany(\"Example Co\", \"Software\")).wait();\n\nconst salary = parseEther(\"1\");\nconst contractId = await des.createContract.staticCall(\n  companyId, employeeTokenId, salary, 6, \"Backend development\", \"Per agreement\",\n);\nawait (await des.createContract(companyId, employeeTokenId, salary, 6,\n  \"Backend development\", \"Per agreement\")).wait();\n\nawait (await des.executeContract(contractId)).wait();          // employee confirms too\nawait (await des.depositSalary(contractId, { value: salary })).wait();\n```\n\n## 需要注意\n\n- **状态：Review。** 接口仍可能变化，并且把重要细节留给了实现者：如何选择仲裁者、付款计划如何运作，以及薪资是用 ETH 还是 [ERC-20](/eip-20/) 代币支付。\n- 写入公链的一切都是永久的，任何人都能看到。存储在链上的合同条款、终止理由和评价评论无法删除。请把个人数据留在链下，并在部署此类系统前考虑隐私和劳动法，进行法律审查。\n- 灵魂绑定代币与 [ERC-5192](/eip-5192/) 思路相同：代币不可转让，因此记录始终绑定在一个地址上。丢失该密钥就意味着失去对这份记录的控制。\n- 规范指出评价造假和仲裁者可信度是尚未解决的风险；只有与真实、已完成的合同相关联的评价才应被计入。\n"}}}
