Links

IHatsEligibility.sol

IHatsEligibility

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
Name
Type
Description
_wearer
address
The address of the current or prospective Hat wearer
_hatId
uint256
The id of the hat in question
Returns
Name
Type
Description
eligible
bool
Whether the _wearer is eligible to wear the hat
standing
bool
Whether the _wearer is in goog standing