Last active
May 20, 2024 07:43
-
-
Save Aviksaikat/5240288ea65ba8f7768dca23cb1c1805 to your computer and use it in GitHub Desktop.
bytes32 to int(uint256)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from brownie import web3 | |
web3.toInt(bytes32Data) | |
# ape | |
from ape import convert | |
convert(bytes32Data, int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment