Proof of Position
  • â„šī¸What is POPP?
    • Position Verification
    • Cryptographic Linking of Social Profiles
    • Cryptographic Linking of Communication Channels
    • Access to Exclusive Online Spaces
  • âš™ī¸How does it work?
    • đŸ•´ī¸Employer Badge
      • How do I get one?
    • 🔑Employee Access Card
    • 📃Employee Badge
  • đŸš´â€â™€ī¸Quick Start
    • Employer Badge
    • Employee Access Card
    • Employee Badge
    • Token Gates
  • â›“ī¸Reference
    • Employer Badge
    • Employee Badge
    • Employee Access Card
  • đŸ”ĻCode Audit
  • 🛒POPP Job Marketplace
Powered by GitBook
On this page
  • addToMyEmployer
  • removeFromMyEmployer
  1. Reference

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);

PreviousEmployee BadgeNextCode Audit

Last updated 1 year ago

â›“ī¸