front-doorxyz / web-app

Front Door is a decentralised recruitment referral protocol using Web3 tools and technology to solve a Web2 human coordination problem with a huge size of prize.
https://www.front-door.xyz/
MIT License
1 stars 2 forks source link

Candidate placement #8

Open ppelicano opened 1 year ago

ppelicano commented 1 year ago

Workflow description:

Once a candidate has been placed the hiring company will log into front-door web application and trigger a function to place a given candidate to a job. By doing so a smart contract method must be triggered to record that the candidate is placed in that job.

Smart contract:

For this flow to work we need to create a new method to record the above transaction. This new candidate placement method should record and relate onchain the job and candidate. As input parameters should at least get: jobId, candidate address and candidate starting date (at the job).

Note: the method should not allow for candidate addresses that are not part of referral list for a given job.