Identity
The Identity contract controls addresses that are whitelisted to "Claim" UBI.
Face Verification GoodDollar currently whitelists users based on a user proving "uniqueness" by signing up with a live and unique face. All image data and details are anonymized in order to allow the user to create a new account in case he is unable to recover his wallet. Facial details are deleted after
authenticationPeriod
and users are required to perform face verification again everyauthenticationPeriod
days.Social Profile Each blockchain address is linked to the user's public profile as created in the wallet. The DID is the node id in the public p2p GunDB database. Mappings from wallet address to DID are held in
addrToDID
.
Events
BlacklistAdded
Emitted when the address is added to blacklist.
BlacklistRemoved
Emitted when the address is removed from blacklist.
WhitelistedRemoved
Emitted when the address is removed from whitelist.
WhitelistedAdded
Emitted when the address is added to whitelist.
ContractAdded
Emitted when the contract address is added to whitelist.
ContractRemoved
Emitted when the contract address is removed from whitelist.
isWhitelisted
The function checks if given address has been added to whitelist.
Returns: a boolean indicating weather the address is present in whitelist.
lastAuthenticated
Function that gives the date the given user was added.
Returns: the date the address was added.
authenticationPeriod
Field that contains the number of days an authentication is valid for.
Returns: a time duration in days.
addrToDID
Function that gives the DID representation for given address.
Returns: the string representation of DID
Last updated