Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/types: add
Address.Big
(ethereum#26132)
Many of the other types have a function to convert the type to a big.Int, but Address was missing this function. It is useful to be able to turn an Address into a big.Int when doing EVM-like computations natively in Go. Sometimes a Solidity address type is casted to a uint256 and having a Big method on the Address type makes this easy.
- Loading branch information