
Contract purpose
The purpose of the contract is keep record of the employees register and their TimeIn-TimeOut
Parameters:
ownerAddress: the owner address
Exposed methods
addEmployee adds new employee address
parameter name | type | details |
---|---|---|
address | address | the address of new employee |
disableEmployee disable an employee address
parameter name | type | details |
---|---|---|
address | address | the address of disabled employee |
employeeTimeIn sets employee time-in
employeeTimeOut sets employee time-out
enableEmployee enable a disable employee
parameter name | type | details |
---|---|---|
address | address | the address of enabled employee |
getIsEmployee gets if address is an employee
parameter name | type | details |
---|---|---|
address | address | the address of checked employee |
employees gets the employee list
timeSheetTimeIn gets the time-in list per employee
parameter name | type | details |
---|---|---|
address | address | the address of employee |
timeSheetTimeOut gets the time-out list per employee
parameter name | type | details |
---|---|---|
address | address | the address of employee |