Skip to content

explorer: Transaction Details Enhancement #31

@nortonandreev

Description

@nortonandreev

Description

Currently, under transaction details, from and to fields are displayed (inferred from the transaction payload) – these are linking to the account overview page with the specific to or from address. This is currently applied only for Moonlight transfer transactions.

The improvement involves:

  • Displaying from and to fields independently. If from is available but to is not, only from should be displayed.
  • Supporting contract operations with addresses in formats such as 0200000000000000000000000000000000000000000000000000000000000000.
  • Future-proofing for eventual token address pages for this type of address.

Acceptance Criteria

  • from and to fields are displayed independently based on availability.
  • Contract operations with address formats like 0200000000000000000000000000000000000000000000000000000000000000 are displayed properly (ie. not as links for the time-being).

Additional Context

These changes will enhance the flexibility and robustness of the transaction details display, especially for contract operations and partial payloads.

Implementation Details

  1. Update transaction detail rendering logic to handle from and to fields independently.
  2. Add support for recognizing contract operation addresses.

Tagging @Neotamandua to review, as the issue was initially raised by him.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions