web3wagmi
← All standards

ERC-7750 Decentralized Employment System

ReviewERCcreated 2024-08-04

An employment system that records employment history.

Author: James Savechives (@jamesavechives)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IDecentralizedEmploymentSystem0xf9791d03

Functions this standard introduces (13)

0x5c5316ddcreateContract(uint256,uint256,uint256,uint256,string,string)
0x209f5e1cdepositSalary(uint256)payable
0x4df5f316executeContract(uint256)
0x57d13917getCompany(uint256)view
0x3ec9e3b0getEmploymentHistory(uint256)view
0x9d4a2255getReviews(uint256)view
0x7f778c63mintEmployeeToken(address,string)
0xa5c1674eraiseDispute(uint256)
0x74448ba4registerCompany(string,string)
0xe2c07c7breleaseSalary(uint256)
0x34b25ee2resolveDispute(uint256,bool)
0x9f54b729submitReview(uint256,uint256,string)
0xdbc6ab1fterminateContract(uint256,string)

Events (10)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0xb351636f787e9337f9fe214cf558bb999d38cf480151c89d493b96d6cc5717abCompanyRegistered(uint256,address,string,string)
0xfe23df388289011a917dd0b33e79b3722016ac83c99a4524500902f07fcdf871EmployeeTokenMinted(uint256,address)
0x0e5aa6ddb6b326d3adfadda48e00896a92a03fbc4980455efa757161b9c1e249ContractCreated(uint256,uint256,uint256,uint256,uint256)
0xbc0a5fde0c745493c2c0b1d37c422e54adc427ec1edfeaa3ee99553b142fb0e6ContractExecuted(uint256)
0xfa247746a7be1de5e64b1e507cd45d975809b0499710cb112d2595c90f31e5b1SalaryDeposited(uint256,uint256)
0x7c1483540ba3c01badb405ce078fa03b1ae4db573ddff7351c1d5a6b654c118fSalaryReleased(uint256,address)
0x84a477df8a28a4276ca6dee4458a06c3015f30c477d9c949ede4e13ff8a552b4DisputeRaised(uint256,address)
0x5a87909bff68caaaaf0b3fd9c74eeccc928832f879315e5c6fb7a73612f26c0cDisputeResolved(uint256,bool)
0x1679538ffa1c48f89fe863a0a8dee07edf1ccb895329e34ede2a9edfc96e5b62ContractTerminated(uint256,string)
0x92030733c066a360a4107764fe990e533c55f8b33946b46e366807720d1e9a2aReviewSubmitted(uint256,uint256,string)

What the specification covers

Compare with

Parsed from the canonical specification · discussion