This repository was archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
v2 Display human readable names for "Known" addresses #1866
Copy link
Copy link
Labels
Milestone
Description
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
Refer to v1 (v1 Display human readable names for "Known" addresses #1638) for details – we missed the outgoing and incoming tx details– out of scope, moved to [Known Addresses] Display known address in the recipient field of the Send Funds form #2817
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
- Safe creation - https://gnosis.github.io/safe-client-gateway/docs/models/service/transactions/struct.Creation.html
- Safe setting transactions - https://gnosis.github.io/safe-client-gateway/docs/models/service/transactions/enum.SettingsInfo.html
- Outgoing transactions - https://gnosis.github.io/safe-client-gateway/docs/models/service/transactions/struct.Transfer.html
Reference:
- Design Overview: https://docs.google.com/document/d/12ytKniMH1BpAn8Xqz2QOos2HhnY-JyH8MFA2N2R1d-Q/edit#heading=h.eq8eoqliqxlt
- Implementation: https://docs.google.com/document/d/1if8Sowyj1VhiVcRQojwmzMuDdo48dyndRBFrzIEa6zk/edit#heading=h.t0of4xmer2ue
Not in this version
- Known addresses in addresses in decoded data. This is part of v3.
Misc
- "press release": https://docs.google.com/document/d/11ABA0Nj9gQ_yyCTn-4vgNfJ5XqqputXENTNUcIe03E8/edit
- Mobile ticket: v2 Known Addresses safe#397
- v3: v3 Display human readable names for "Known" addresses #1867
- v1: v1 Display human readable names for "Known" addresses #1638
- client gateway:
Implementation
- The known addresses come from backend
- AB priority
- Use the data in EthHashInfo