Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

v2 Display human readable names for "Known" addresses #1866

Closed
tschubotz opened this issue Feb 8, 2021 · 11 comments · Fixed by #2816 or #2845
Closed

v2 Display human readable names for "Known" addresses #1866

tschubotz opened this issue Feb 8, 2021 · 11 comments · Fixed by #2816 or #2845
Assignees
Labels
effort-mid Medium-effort issues Feature 👑 New functionality
Milestone

Comments

@tschubotz
Copy link
Member

tschubotz commented Feb 8, 2021

What is this feature about? (1 sentence)

This feature will display human readable when interacting with known contracts/protocols such as Uniswap or Compound.

Why is it needed? What is the value? For whom do we build it?

  • The top problem area that we identified is, that users don't know what they are signing and which protocols they are interacting with.
  • A first step in getting rid of cryptic addresses is displaying human readable names for known contracts.

High-level overview of the feature

Implementation (added by @iamacook after discussion with @liliya-soroka )

Everything inside expanded transaction details regarding: safe creation, safe settings (transactions) and outgoing transactions requires known names added. Priority is given to address book entries, then known addresses returned by the /transactions endpoint.

Structs

Reference:

Not in this version

  • Known addresses in addresses in decoded data. This is part of v3.

Misc

Implementation

  • The known addresses come from backend
  • AB priority
  • Use the data in EthHashInfo
@tschubotz
Copy link
Member Author

@liliya-soroka
Copy link
Member

liliya-soroka commented May 11, 2021

Missed in known addresses v1:

  • The addresses are not taken from the known address list on transaction details. - Outgoing tx /Incoming txs.
    Only custom transaction was covered in known addresses v1

1.Try to send funds to any address from the known addresses list
2. open transaction details
Current result: The logo and name are not taken from the known address list.

  • [ ]" send to " address on review of safe apps - the address should be recognised if it's in known address list or in addressbook
    image

Please, include it into the known addresses v2

@katspaugh katspaugh added the effort-mid Medium-effort issues label May 28, 2021
@katspaugh katspaugh added this to the 3.15.0 milestone Oct 6, 2021
@iamacook iamacook self-assigned this Oct 11, 2021
@katspaugh
Copy link
Member

katspaugh commented Oct 12, 2021

@liliya-soroka Outgoing Txns are out of scope for this ticket, it requires a separate endpoint that backend don't expose atm (thanks Aaron for checking).

Update: made a ticket for that, please see #2817

@liliya-soroka
Copy link
Member

liliya-soroka commented Oct 13, 2021

@iamacook and @francovenica . The feature is returned back to the sprint backlog.
It's expected that in v2 of "known addresses" support for safe settings txs( update mastercopy, enable/disable a module, change fallbackhandler and etc from mastercopy functions ) + safe creation txs will be added
For the details see specification - https://docs.google.com/document/d/1if8Sowyj1VhiVcRQojwmzMuDdo48dyndRBFrzIEa6zk/edit#

@iamacook
Copy link
Member

iamacook commented Oct 13, 2021

@iamacook and @francovenica . The feature is returned back to the sprint backlog. It's expected that in v2 of "known addresses" support for safe settings txs( update mastercopy, enable/disable a module, change fallbackhandler and etc from mastercopy functions ) + safe creation txs will be added For the details see specification - https://docs.google.com/document/d/1if8Sowyj1VhiVcRQojwmzMuDdo48dyndRBFrzIEa6zk/edit#

There needs to be some adjustments in the backend to accomodate for these features and, as such, this ticket was split. Can you add your comments to the ticket @katspaugh added above instead? #2817 @liliya-soroka @francovenica

@francovenica
Copy link
Contributor

Yes. I'll pass it. I don't see issues regarding owners adding/removing/replacing since I believe the objective of showing known addresses is for contracts to show their names and is not that important for regular wallet accounts that could be owners of a safe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.