-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello!
Extended keys (array
of uint256
) are presently used in the following way:
extendedKeys_[0]
is the validated Tier
extendedKeys_[1]
is the maximum accepted purchase amount in CHF
extendedKeys_[2]
has reserved use for AML recovery
Could it be relevant to add two keys (non-personal data):
extendedKeys_[4]
as a uint256
encoding the user's country of residence
extendedKeys_[5]
as a uint256
encoding the user's nationality
Regarding encoding, first intuition was to use international phone country code (e.g. 41 for Switzerland) unfortunately some countries have the good idea to share codes (e.g. 1 for both Canada and the US). It looks more convenient to use UN codes or encoded ISO 3166-1.
I'm also thinking of other parameters which are useful in a user context:
- seeded hash of ID picture
- seeded hash of signed TPA (or digital signature)
- internal mongoDB identifier