Skip to content
Verified contractPartial

Employee

Address0x476245fdbcd496bb039856c06af05eaba1b6495d
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.3.6

 

Same code

58 more contracts

 

Details

Compiler
solc 0.3.6+commit.3fc68da5
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
2,060,136
Creation transaction
0x3ea0636a2f…e458b83782

Employee.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Employee {
    uint salary;
    string industry;
    string state;
    string premium;
    uint reimbursement;
    bool employed;

    function Employee(uint _salary, string _industry, string _state, uint _reimbursement, string _premium) {
        salary = _salary;
        industry = _industry;
        state = _state;
        reimbursement = _reimbursement;
        premium = _premium;
        employed = true;
    }

    function GetSalary() returns (uint) { return salary; }
    function IsEmployed() returns (bool) { return employed; }
    function GetReimbursement() returns (uint) { return reimbursement; }
    function GetState() returns (string) { return state; }
    function SubmitClaim() { employed = false; }
    function GetIndustry() returns (string) { return industry; }
    function GetPremium() returns (string) { return premium; }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.