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

Calldata decoding util #26

Merged
merged 5 commits into from
Oct 2, 2024
Merged

Calldata decoding util #26

merged 5 commits into from
Oct 2, 2024

Conversation

raiseerco
Copy link
Collaborator

This utility takes the calldata of a transaction and its abi as a parameter to decode it and show in a human reading way.
Parameters:

  • transactionId: 0x...
  • ABI: string of the actual ABI

@raiseerco raiseerco self-assigned this Sep 17, 2024
package.json Outdated Show resolved Hide resolved
Copy link
Owner

@eternauta1337 eternauta1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move this the interact package, and use the abiPrompt ui extension.

@raiseerco raiseerco force-pushed the onboarding/util-calldata branch from f9d8c11 to 9f65eb3 Compare September 24, 2024 19:43
Copy link
Owner

@eternauta1337 eternauta1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

I just left some comments regarding something I still think you need to grasp: how plugins are completely standalone of their ui extension.

The etherscan abi suggestion logic must not live in the interact package, but instead reside 100% in the interact-ui package.

@eternauta1337 eternauta1337 merged commit d168053 into main Oct 2, 2024
32 checks passed
@eternauta1337 eternauta1337 deleted the onboarding/util-calldata branch October 2, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants