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

Contraxt context information #10

Closed
Yhtiyar opened this issue Jul 22, 2021 · 1 comment · Fixed by #18
Closed

Contraxt context information #10

Yhtiyar opened this issue Jul 22, 2021 · 1 comment · Fixed by #18
Assignees

Comments

@Yhtiyar
Copy link
Contributor

Yhtiyar commented Jul 22, 2021

Getting function call information of smart contracts is hard task, however for now we can only show basic information about contract such as:

  • Name of contract (If it is known for us)
  • Link to source code (If it is known for us)
  • ABI of smart contract
  • Estimated gas

Probably I will use python to easily integrate to API.
Ready solutions to use:

UPD:
I crawled function and event signatures from https://www.4byte.directory/. Now we can decode ABI of smart contract bytecode

@Yhtiyar Yhtiyar added this to the Moonstream Alpha milestone Jul 22, 2021
@Yhtiyar Yhtiyar self-assigned this Jul 22, 2021
@Yhtiyar Yhtiyar added this to To do in Bugout.dev via automation Jul 22, 2021
@zomglings
Copy link
Contributor

@Yhtiyar :

For alpha, we will only use ABI decompilation information (using Ethereum Signature Database).

We will use the Etherscan crawl data and GitHub crawl data in subsequent releases.

For now, the priority is on defining the library interface to ABI decompilation information and hooking it up to the API.

Bugout.dev automation moved this from To do to Done Jul 28, 2021
@zomglings zomglings removed this from Done in Bugout.dev Jun 5, 2023
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 a pull request may close this issue.

2 participants