Employee Badge
A deep dive into the various methods in the Employee Badge ERC-721 contract
The following assumes you have installed the required interface package and imported the working contract into your codebase.
mintFor
Used for onboarding new employees. This external
function allows verified employers to add a given wallet to their organisation and define a tokenUri which will contain the ipfs
CID pointer to the json file representing the job details in the standard NFT json schema.
getEmployerId
An easy way to get the current employer id for a give employee NFT id.
burn
As a token holder (employee) or token granter (employer) you can terminate the employment within that organisation at any given time. This is done by burning the employee badge.
Last updated