We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
Assuming, the code can inspect big number, and if ensured it fits into int256 - how to covert it?
I didn't find any example.
The text was updated successfully, but these errors were encountered:
You can just use abi.encodePacked(bn);
I added this to my version of the library for debugging purposes, but it's not necessay.
function toBytes(BigNumber memory n) public pure returns(bytes memory r){ return n.val; }
Sorry, something went wrong.
Hi there, Assuming, the code can inspect big number, and if ensured it fits into int256 - how to covert it? I didn't find any example.
Hi, the conversion functions are indeed lacking. I will take a look at adding more, as it seems there is some demand for this.
No branches or pull requests
Hi there,
Assuming, the code can inspect big number, and if ensured it fits into int256 - how to covert it?
I didn't find any example.
The text was updated successfully, but these errors were encountered: