Compliance Suite

The smart contract (ZKMEVerifyUpgradeable) is used for eligibility checks. verify function provides yes/no answers to a list of predetermined eligibility questions for each credential verified, hasApproved function provides information on whether the user has authorized the SBT.

View Methods

hasApproved()

This method verifies both that the user has authorized their SBT and that the user meets the project's KYC requirements. According to our design logic, users can only authorize their SBT to a project if their KYC meets the specified requirements. Therefore, a successfully authorized user, indicated by hasApproved() returning true, is one who meets your KYC settings.

function hasApproved(
    address cooperator, 
    address user
) public view returns (bool)

Parameters

NameTypeRequiredDescription

cooperator

address

Yes

Account address of Program

user

address

Yes

User's wallet address

Note

You can get cooperator after finishing Create Program on zkMe Dashboard.


Resources

Smart Contract Address

Please check zkMe Protocol Smart Contract.

ABI

You can download the following file or install it from npm.

16KB
zkmeverify.abi.json

Last updated