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

Added ABI explanation to transactions page #5603

Merged
merged 8 commits into from
Mar 7, 2022
Merged

Added ABI explanation to transactions page #5603

merged 8 commits into from
Mar 7, 2022

Conversation

qbzzt
Copy link
Contributor

@qbzzt qbzzt commented Mar 6, 2022

Description

Add to the transactions page a description of what calldata means (in most cases)

@gatsby-cloud
Copy link

gatsby-cloud bot commented Mar 6, 2022

Gatsby Cloud Build Report

ethereum-org-website-dev

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 7m

Performance

Lighthouse report

Metric Score
Performance 🔶 20
Accessibility 💚 97
Best Practices 💚 93
SEO 🔶 85

🔗 View full report

src/content/developers/docs/transactions/index.md Outdated Show resolved Hide resolved
src/content/developers/docs/transactions/index.md Outdated Show resolved Hide resolved
The rest of the calldata is the arguments, [encoded as specified in the ABI specs](https://docs.soliditylang.org/en/v0.8.12/abi-spec.html#formal-specification-of-the-encoding).

For example, lets look at [this transaction](https://etherscan.io/tx/0xd0dcbe007569fcfa1902dae0ab8b4e078efe42e231786312289b1eee5590f6a1).
Use **Click to see More** to see the calldata.
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow etherscan capitalising the word more here is giving me bad feels 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Me too, but they can claim it's title case.

000000000000000000000000000000000000000000000000000000003b0559f4
```

According to the specifications integer nunbers, such as addresses, appear in the ABI as 32 byte words.
Copy link
Contributor

Choose a reason for hiding this comment

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

This sentence doesn't make sense @qbzzt, I'm not sure what it is supposed to say?

src/content/developers/docs/transactions/index.md Outdated Show resolved Hide resolved
@minimalsm minimalsm merged commit 0d657a2 into ethereum:dev Mar 7, 2022
@minimalsm minimalsm mentioned this pull request Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants