IERC721Expert
Interface Description
License: MIT
The ERC721 token that implements experts functionality, follows EIP-5484
Enums info
BurnAuth
Events info
Issued
Emitted when a soulbound token is issued.
Parameters:
Name | Type | Description |
---|---|---|
from | address | The issuer |
to | address | The receiver |
tokenId | uint256 | The id of the issued token |
burnAuth | enum IERC721Expert.BurnAuth | the BurnAuth struct |
TagsAdded
Emitted when tags are added to the SBT
Parameters:
Name | Type | Description |
---|---|---|
tokenId | uint256 | the token where the tags are added |
tags | string[] | the list of tags |
Functions info
burn (0x89afcb44)
The function to burn the token
Parameters:
Name | Type | Description |
---|---|---|
from | address | the address to burn from (1 to 1 relation) |
isExpert (0x76c535ae)
The function to check of a user is an expert
Parameters:
Name | Type | Description |
---|---|---|
expert | address | the user to check |
Return values:
Name | Type | Description |
---|---|---|
[0] | bool | true if user is an expert |
getIdByExpert (0x6047fb89)
The function to get the SBT id of an expert
Parameters:
Name | Type | Description |
---|---|---|
expert | address | the user to get the SBT id of |
Return values:
Name | Type | Description |
---|---|---|
[0] | uint256 | SBT id of the user |
burnAuth (0x0489b56f)
provides burn authorization of the token id
Parameters:
Name | Type | Description |
---|---|---|
tokenId | uint256 | The identifier for a token |
Return values:
Name | Type | Description |
---|---|---|
[0] | enum IERC721Expert.BurnAuth | the auth |