From 357cb8d0ad3e27ba2278908fda791e1fea50e93d Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt Date: Fri, 26 Jun 2020 12:01:32 -0300 Subject: [PATCH] replace notes by contact_list --- EIPS/eip-2429.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/EIPS/eip-2429.md b/EIPS/eip-2429.md index 497af7ce..e1cffe38 100644 --- a/EIPS/eip-2429.md +++ b/EIPS/eip-2429.md @@ -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