-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support showing all contract source code #1330
Labels
documentation
Improvements or additions to documentation
Comments
Front-end PR: Magickbase/godwoken-explorer-ui#923 |
Merged
exmaple: query {
smart_contracts(
input: { sorter: [{ sort_type: ASC, sort_value: EX_TX_COUNT }] }
) {
entries {
name
account_id
account {
eth_address
}
contract_source_code
sourcify_metadata
}
metadata {
total_count
after
before
}
}
} |
The field including all files is |
Verified. |
@sunchengzhu This feature has been deployed on the mainnet and testnet, as shown at https://v1.gwscan.com/account/0x1f92717dba177dac187cbd4139bec50205c54453?tab=contract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now only the most outside contract will be displayed in the contract tab on the account page(https://v1.testnet.gwscan.com/account/0x2998dcc6c7a8f7ecc6aa72cf75a88de6824f3ae6?tab=contract). It would be facilitating to list all base contracts so some inherited methods could be viewed, as etherscan does.
But the contract viewer of etherscan is powerful and requires much work. At this stage, listing all code is enough.
All the codes can be found on sourcify because it's used for verification.
Please add some detail about this feature so we can start improving the contract viewer graduately.
The text was updated successfully, but these errors were encountered: