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.
account
The address of the account to add.
BlacklistRemoved
Emitted when the address is removed from blacklist.
account
The address of the account to remove.
WhitelistedRemoved
Emitted when the address is removed from whitelist.
account
The address of the account to remove.
WhitelistedAdded
Emitted when the address is added to whitelist.
account
The address of the account to add.
ContractAdded
Emitted when the contract address is added to whitelist.
account
The address of the contract to add.
ContractRemoved
Emitted when the contract address is removed from whitelist.
account
The address of the contract to add.
isWhitelisted
The function checks if given address has been added to whitelist.
account
The address to check.
Returns: a boolean indicating weather the address is present in whitelist.
lastAuthenticated
Function that gives the date the given user was added.
account
The address to check.
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.
account
The address to check.
Returns: the string representation of DID
Last updated