IHats.sol

IHats

Git Source

Inherits: IHatsIdUtilities, HatsErrors, HatsEvents

Functions

mintTopHat

function mintTopHat(address _target, string memory _details, string memory _imageURI)
    external
    returns (uint256 topHatId);

createHat

function createHat(
    uint256 _admin,
    string calldata _details,
    uint32 _maxSupply,
    address _eligibility,
    address _toggle,
    bool _mutable,
    string calldata _imageURI
) external returns (uint256 newHatId);

batchCreateHats

getNextId

mintHat

batchMintHats

setHatStatus

checkHatStatus

setHatWearerStatus

checkHatWearerStatus

renounceHat

transferHat

makeHatImmutable

changeHatDetails

changeHatEligibility

changeHatToggle

changeHatImageURI

changeHatMaxSupply

requestLinkTopHatToTree

approveLinkTopHatToTree

unlinkTopHatFromTree

relinkTopHatWithinTree

viewHat

isWearerOfHat

isAdminOfHat

isInGoodStanding

isEligible

getHatEligibilityModule

getHatToggleModule

getHatMaxSupply

hatSupply

getImageURIForHat

balanceOf

balanceOfBatch

uri

Last updated