Employee Access Card

A deep dive into the various methods in the Employee Access Card ERC-1155 contract

The following assumes you have installed the required interface package and imported the working contract into your codebase.

addToMyEmployer

This external function allows verified employers to onboard new employees by granting the their pre-configured ERC-1155 Access Card.

uint256 _tokenId = employerSft.addToMyEmployer(_employee);

removeFromMyEmployer

A verified employer can, at any time, off-board an employee in their organisation. This will subsequently burn the ERC-1155, thus revoking ownership.

employerSft.removeFromMyEmployer(_newEmployerWallet);

Last updated