Skip to content

encode-g2-project/solidity-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solidity-contracts

Please see package.json to gauge dependencies used.

JobsCore

Main smart contract that will handle the core functionality of the protocol.

Functions

submit()

Will be called by an employer that wants to create a job. Arguments include, but are not limited to:

  • id: job posting id
  • employer: company creating the job posting
  • applicants: people applying to the role
  • token/ether: send in the bounty within the function
  • amount: token/ether amount
  • paid: whether bounty has been distributed or not
  • title: job title
  • description: job description
  • currentState: whether job is remote, in-person, or hybrid

cancel()

Will be called by an employer to cancel the created job. This will fetch the id created by the seller in order to cancel/remove it.

Improvements?

Will be best to host all job postings using IPFS rather than storing on-chain (expensive). Anyone with experience doing that?

About

Archived solidity smart contracts for web3Jobs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published