IERC721Expert

Interface Description

License: MIT

interface IERC721Expert is IERC721Upgradeable

The ERC721 token that implements experts functionality, follows EIP-5484

Enums info

BurnAuth

enum BurnAuth {
	 IssuerOnly,
	 OwnerOnly,
	 Both,
	 Neither
}

Events info

Issued

event Issued(address indexed from, address indexed to, uint256 indexed tokenId, IERC721Expert.BurnAuth burnAuth)

Emitted when a soulbound token is issued.

Parameters:

TagsAdded

event TagsAdded(uint256 indexed tokenId, string[] tags)

Emitted when tags are added to the SBT

Parameters:

Functions info

burn (0x89afcb44)

function burn(address from) external

The function to burn the token

Parameters:

isExpert (0x76c535ae)

function isExpert(address expert) external view returns (bool)

The function to check of a user is an expert

Parameters:

Return values:

getIdByExpert (0x6047fb89)

function getIdByExpert(address expert) external view returns (uint256)

The function to get the SBT id of an expert

Parameters:

Return values:

burnAuth (0x0489b56f)

function burnAuth(
    uint256 tokenId
) external view returns (IERC721Expert.BurnAuth)

provides burn authorization of the token id

Parameters:

Return values: