replace notes by contact_list

This commit is contained in:
Ricardo Guilherme Schmidt 2020-06-26 12:01:32 -03:00
parent f8ab25d9e2
commit 357cb8d0ad
No known key found for this signature in database
GPG Key ID: 1FD1630B93893608

View File

@ -294,7 +294,7 @@ In case are externally owned accounts, the ecrecover logic applies, but they cou
All needed information for a recovery will be stored in a url-type standard,
```abnf
recovery = erc831_part account_contract [ "@" chain_id ] "/" recovery_contract "/" ( private_hash / secret_type ) "/" address_list [ "?" parameters ] [ "#" notes ]
recovery = erc831_part account_contract [ "@" chain_id ] "/" recovery_contract "/" ( private_hash / secret_type ) "/" address_list [ "?" parameters ] "#" contact_list
erc831_part = "ethereum:recovery-"
account_contract = ADDRESS
chain_id = 1*DIGIT
@ -309,7 +309,11 @@ All needed information for a recovery will be stored in a url-type standard,
parameter = key "=" value
key = STRING
value = STRING
notes = STRING
contact_list = ( guardian_info *( ";" guardian_info )
guardian_info = guardian_pos "@" data_type "=" guardian_data
guardian_pos = UINT
data_type = STRING
guardian_data = STRING
```
`account_contract` required the account contract being recovered. Any account contract can be used, as the recovery contract can execute to any interface or address (like a regular multisig).
@ -328,7 +332,15 @@ All needed information for a recovery will be stored in a url-type standard,
`parameters` may be required by specific `secret_type`.
`notes` can be used for password tips, if apply.
`contact_list` is used to store a contact list of guardians.
`guardian_info` defines details on a `ethereum_address`, so users know who is and where to contact the guardian.
`guardian_pos` defines which `ethereum_address` position is being defined data on. The same guardian can have multiple data attached to it.
`data_type` selects what data type is being defines. Possible values: "NAME", "STATUS_CHATID", "SMS_NUMBER", "EMAIL"
`guardian_data` any data the user configures to attach to the guardian.
#### Reconfiguration