Credential
A struct storing a passport credential
struct Credential {
string provider;
bytes32 hash;
uint64 time;
uint64 expirationTime;
}
IGitcoinPassportDecoder
Minimal interface for consuming GitcoinPassportDecoder data
getPassport
function getPassport(address user) external returns (struct Credential[])
getScore
function getScore(address user) external view returns (uint256)
isHuman
function isHuman(address user) external view returns (bool)