Proof of concept smart contracts

Job ID: 34880269

Budget: $30 – $250 CAD

Solidity + python
Tax calculation

• Given an employee list
• Given multiple employers
• wage calculated on every 2 weeks , 26 periods in one year
• employee has a number of working hours per period
• employee have a hourly rate
• we have 3 tax deductions
• tax percentage is variable we can change it every year
• employer enter every employee data ( unique id?, number of hours, hourly rate)
• the system calculate tax deductions and record it on blockchain
• calculations must be in smart contract
• there is maximum amount of each tax deduction if reached no tax will be deducted
• an employee can get the list of his salary and tax deductions by period
• an employee can get the total of salary and tax deduction in one year

The front ends are the bare minimum , no css , no validation , just minimum functional input and display

Frontend 1:
• employer enter employee information: hourly rate, number of worked hours
• smart contract calculate the salary, tax ,
• if maximum amount of deduction for this employee is reached no tax will be calculated
• the data is recorded in blockchain
• the data is displayed
• employer can list recorded data for his employees

frontend 2:
• employee can list the periods recorded for him between for a given year
• employee can display the data for a given period
• a summary of total salary and total tax is displayed

frontend 3:
• a special user (contract owner?) can list data for all employees
• he can query the data for an employee : display a summary of total salary and total tax
• he can query data for employer
Related categories: Python Smart Contracts