IHatsEligibility

Git Source

Functions

getWearerStatus

Returns the status of a wearer for a given hat

If standing is false, eligibility MUST also be false

function getWearerStatus(address _wearer, uint256 _hatId) external view returns (bool eligible, bool standing);

Parameters

NameTypeDescription
_weareraddressThe address of the current or prospective Hat wearer
_hatIduint256The id of the hat in question

Returns

NameTypeDescription
eligibleboolWhether the _wearer is eligible to wear the hat
standingboolWhether the _wearer is in goog standing