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

_wearer

address

The address of the current or prospective Hat wearer

_hatId

uint256

The id of the hat in question

Returns

NameTypeDescription

eligible

bool

Whether the _wearer is eligible to wear the hat

standing

bool

Whether the _wearer is in goog standing

Last updated