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

accounts/abi, accounts/abi/bind: Extend integer support: int24, int40, int48, int56, uint variants #31291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Exca-DK
Copy link
Contributor

@Exca-DK Exca-DK commented Mar 1, 2025

This PR adds support for additional integer types: int24, int40, int48, int56 and their unsigned counterparts. This PR updates the implementation to use the closest native Go integer type instead of *big.Int

int / uint: Signed and unsigned integers of various sizes. Keywords uint8 to uint256 in steps of 8 (unsigned of 8 up to 256 bits) and int8 to int256. uint and int are aliases for uint256 and int256, respectively.
(https://docs.soliditylang.org/en/latest/types.html#integers)

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.

1 participant