mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-13 23:36:34 +00:00
replace notes by contact_list
This commit is contained in:
parent
f8ab25d9e2
commit
357cb8d0ad
@ -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,
|
All needed information for a recovery will be stored in a url-type standard,
|
||||||
|
|
||||||
```abnf
|
```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-"
|
erc831_part = "ethereum:recovery-"
|
||||||
account_contract = ADDRESS
|
account_contract = ADDRESS
|
||||||
chain_id = 1*DIGIT
|
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
|
parameter = key "=" value
|
||||||
key = STRING
|
key = STRING
|
||||||
value = 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).
|
`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`.
|
`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
|
#### Reconfiguration
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user