• Mark Tyneway's avatar
    common/types: add `Address.Big` (#26132) · a609e7b8
    Mark Tyneway authored
    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.
    a609e7b8
types.go 11.7 KB