Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show decoded target address in User operations #2189

Open
k1rill-fedoseev opened this issue Aug 23, 2024 · 0 comments · May be fixed by #2520
Open

Show decoded target address in User operations #2189

k1rill-fedoseev opened this issue Aug 23, 2024 · 0 comments · May be fixed by #2520
Assignees
Labels
enhancement New feature or request

Comments

@k1rill-fedoseev
Copy link
Member

k1rill-fedoseev commented Aug 23, 2024

Design in [Figma](https://www.figma.com/design/ErLH8qySSkpprB87H0onWw/Blockscout_Pages?node-id=25201-110892&t=8ELhWKmyrzObZnYN-4)

Screenshot 2025-01-08 at 7 26 02 PM

Tooltip text: Target smart contract called by the User operation

API route /api/v2/proxy/account-abstraction/operations/<op_hash> may include the following decoded field:

{
//...
  "execute_target": {
        "ens_domain_name": null,
        "hash": "0x017405a2De0613e12cd3D7B67e691BfEfC46Debf",
        "implementations": [],
        "is_contract": true,
        "is_verified": true,
        "metadata": null,
        "name": "Missions"
  },
//...
}

E.g. if the user operation was a USDC-transfer, this contract would a USDC contract address. We should display this field in the UI, if available.

Field is available in the API iff execute_call_data field is present too.

@k1rill-fedoseev k1rill-fedoseev added the need design For issues that wait for design updates label Aug 23, 2024
@tgladilina tgladilina added enhancement New feature or request and removed need design For issues that wait for design updates labels Jan 8, 2025
@isstuev isstuev self-assigned this Jan 13, 2025
@isstuev isstuev linked a pull request Jan 14, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants