WorkClocking

DOCUMENTSUTILITYTOOLS

Exposed Methods

addEmployee owner adds employee's adress to the map

parameter nametypedetails
_addraddressethereum address of the employee

fireEmployee owner removes an employee

parameter nametypedetails
_addraddressethereum address of the employee

clockIN employee calls this function when they arrive at work

clockOut employee calls this function when they leave work

getCountClockIN returns the times an employee clocked in

parameter nametypedetails
_addraddressethereum address of the employee

getCountClockOUT returns the times an employee clocked out

parameter nametypedetails
_addraddressethereum address of the employee

getClockINTime returns the time an employee clocked in at a certain index

parameter nametypedetails
_addraddressethereum address of the employee
_indexuintindex of the time chosen

getClockOUTime returns the time an employee clocked out at a certain index

parameter nametypedetails
_addraddressethereum address of the employee
_indexuintindex of the time chosen
Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract