Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.19 KB

ihatseligibility.sol.md

File metadata and controls

25 lines (14 loc) · 1.19 KB

IHatsEligibility.sol

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