ĀutID
AutID.sol
The AutID
contract manages the Aut Protocol's identity system, implementing an ERC721 token standard.
Key Functions:
mint(uint256 role, uint8 commitmentLevel, address hub, string memory username, string memory optionalURI)
: Mints a new AutID token.createRecordAndJoinHub(uint256 role, uint8 commitmentLevel, address hub, string memory username, string memory optionalURI)
: Creates a new AutID record and joins a hub.joinHub(uint256 role, uint8 commitmentLevel, address hub)
: Allows an existing AutID holder to join a hub.
Important Concepts:
AutID tokens are non-transferable.
Each AutID is associated with a unique username and can be linked to multiple hubs.
Last updated