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

Invocations Section #548

Open
picarodias opened this issue Apr 6, 2022 · 0 comments
Open

Invocations Section #548

picarodias opened this issue Apr 6, 2022 · 0 comments
Assignees
Labels
blocked Development currently blocked by some other factor

Comments

@picarodias
Copy link

picarodias commented Apr 6, 2022

What is to be done?

  • Implement the new Invocations section.

Designs

Transaction Information Screen

Technical Notes

  • It seems like Invocations are not returned by neither of the used endpoints.
  • Joe mentioned we could only fetch the Entry Invocation, but I'm not sure if there's a different endpoint for that.
    • Maybe we're supposed to read the invocation from the disassembled Invocation script?
    • I'll leave the Invocations Section blocked for now.

Requirements

Invocations

Pending backend source confirmation

New Section
Same interface for Invocations.

  • section title: Notifications

For each Notification (expandable, starts closed):

  • text: Contract Name
  • label: HASH
    • hash: Contract Hash
    • button: Copy
      • On Click: Copies Hash to the Clipboard
  • text: Method Name
  • for each Parameter in the Invocation:
    • number: Parameter Index
    • text: Parameter Name
    • label: Parameter Type
    • dropdown: Toggle Type
    • text: Parameter Value
    • button: Copy
      • On Click: Copies Parameter Value to the clipboard

If Parameter is an Array:

  • Render items in the array as nested parameters.
    • Check design.
  • For nested parameters, don't render
    • Parameter Name
    • Parameter Type
  • If any item in the Array is another Array, just render it's content as a string.
@picarodias picarodias added the blocked Development currently blocked by some other factor label Apr 6, 2022
@picarodias picarodias assigned picarodias and unassigned melanke Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Development currently blocked by some other factor
Projects
None yet
Development

No branches or pull requests

2 participants