Skip to main content
Version: v2.0_alpha

MockGitcoinPassportDecoder

A mock contract to test the GitcoinPassportDecoder gatekeeper

score

uint256 score

getScore

function getScore(address _user) external returns (uint256)

Get the score of a user's passport

Parameters

NameTypeDescription
_useraddressThe address of the user

changeScore

function changeScore(uint256 newScore) external

Change the return value of getScore